tx · G8eWeq8EnQwFWZSmKqeqRVCycJeTx2bRyA8zeGjs2iz

3N6HSS7Toat1RhyEsyqVGgVSRzH19W1FTbP:  -0.01400000 Waves

2023.06.13 10:06 [2620583] smart account 3N6HSS7Toat1RhyEsyqVGgVSRzH19W1FTbP > SELF 0.00000000 Waves

{ "type": 13, "id": "G8eWeq8EnQwFWZSmKqeqRVCycJeTx2bRyA8zeGjs2iz", "fee": 1400000, "feeAssetId": null, "timestamp": 1686640021533, "version": 2, "chainId": 84, "sender": "3N6HSS7Toat1RhyEsyqVGgVSRzH19W1FTbP", "senderPublicKey": "AoKo4segKHU4DeJnxXQYJj2u7J6XJeux6r8KLW52cd2Q", "proofs": [ "41SGpyqkx8NE7QQgeC31h3QRvAWKamHqARxtJnDpUBhvTrV83uUi1DB4bfbUSGhjMBYFzkiD2Tb9Y9kstBqXTvPf" ], "script": "base64:BwIqCAISAwoBAhIGCgQBAQEBEgMKAQISAwoBAhIECgICAhIECgICAhIDCgECHwADU0VQAgJfXwANQ09OVFJBQ1RfTkFNRQIPY2FsY3VsYXRvci5yaWRlAAZTQ0FMRTgAgMLXLwAHUEVORElORwIHUEVORElORwAIRklOSVNIRUQCCEZJTklTSEVEAQd3cmFwRXJyAQFzCQCsAgIJAKwCAgUNQ09OVFJBQ1RfTkFNRQICOiAFAXMBCHRocm93RXJyAQFzCQACAQkBB3dyYXBFcnIBBQFzARFrZXlGYWN0b3J5QWRkcmVzcwAJALkJAgkAzAgCAgIlcwkAzAgCAgdmYWN0b3J5BQNuaWwFA1NFUAEMa2V5THBBc3NldElkAAkAuQkCCQDMCAICAiVzCQDMCAICCWxwQXNzZXRJZAUDbmlsBQNTRVABEmtleVRyZWFzdXJ5QWRkcmVzcwAJALkJAgkAzAgCAgIlcwkAzAgCAgh0cmVhc3VyeQUDbmlsBQNTRVABDGtleUF2YWlsYWJsZQELdXNlckFkZHJlc3MJALkJAgkAzAgCAgQlcyVzCQDMCAICCWF2YWlsYWJsZQkAzAgCCQClC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J5QWRkcmVzc09yRmFpbAIMaW50ZWdlckVudHJ5CQDMCAIJARVrZXlOZXh0QmxvY2tUb1Byb2Nlc3MACQDMCAIJAGQCBRJuZXh0QmxvY2tUb1Byb2Nlc3MFGWJsb2Nrc1Byb2Nlc3NpbmdCYXRjaFNpemUFA25pbAUDbmlsBQNuaWwDCQAAAgUHYWN0aW9ucwUHYWN0aW9ucwkAlAoCBQNuaWwFBHVuaXQJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5CfV1xQ==", "height": 2620583, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: tz3nT9mcifBtGM9EHoqUNR7EHkDqBzesv7z1o9jpRhv Next: APaDdYrnKcKN8UP4qsNRHFQwgpYxe6jDGUXofWumxoyL Diff:
OldNewDifferences
274274 then {
275275 let userAddress = Address(userAddressBytes)
276276 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
277- let $t087058818 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
278- let status = $t087058818._1
279- let lpAssetAmount = $t087058818._2
280- let targetPeriod = $t087058818._3
281- let claimTxId = $t087058818._4
277+ let $t086788791 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
278+ let status = $t086788791._1
279+ let lpAssetAmount = $t086788791._2
280+ let targetPeriod = $t086788791._3
281+ let claimTxId = $t086788791._4
282282 if ((status == PENDING))
283283 then {
284284 let factoryActions = [invoke(factoryAddressOrFail, "deleteEntry", [keyWithdrawalRequest(userAddress, txId)], nil), invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, lpAssetAmount, lpAssetIdOrFail], nil)]
301301 let userAddress = Address(userAddressBytes)
302302 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
303303 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
304- let $t096899802 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
305- let status = $t096899802._1
306- let lpAssetAmount = $t096899802._2
307- let targetPeriod = $t096899802._3
308- let claimTxId = $t096899802._4
304+ let $t096629775 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
305+ let status = $t096629775._1
306+ let lpAssetAmount = $t096629775._2
307+ let targetPeriod = $t096629775._3
308+ let claimTxId = $t096629775._4
309309 if ((status == FINISHED))
310310 then throwErr("invalid withdrawal request status")
311311 else if ((targetPeriod > currentPeriodOrFail))
357357 let treasuryRewardOrFail = valueOrErrorMessage(rewardForOption(targetBlockInfo.rewards, treasuryAddressOrFail), wrapErr(("invalid treasury reward for height " + toString(targetBlockHeight))))
358358 let generator = targetBlockInfo.generator
359359 let available = valueOrElse(getInteger(factoryAddressOrFail, keyAvailable(generator)), 0)
360- let lpAssetAmount = if ((currentPriceOrFail > 0))
361- then fraction((treasuryRewardOrFail - blockProcessingRewardByGenerator), SCALE8, currentPriceOrFail)
362- else 0
363360 let callerReward = if ((inc == (blocksProcessingBatchSize - 1)))
364361 then (blockProcessingRewardByGenerator + blockProcessingRewardByGeneratorRemainder)
365362 else blockProcessingRewardByGenerator
363+ let lpAssetAmount = if ((currentPriceOrFail > 0))
364+ then fraction((treasuryRewardOrFail - callerReward), SCALE8, currentPriceOrFail)
365+ else 0
366366 let factoryActionsSingle = [invoke(factoryAddressOrFail, "stringEntry", [keyBlockProcessed(targetBlockHeight), makeString([toBase58String(i.transactionId), toBase58String(userAddressBytes), toString(treasuryRewardOrFail), toString(callerReward), toString(lpAssetAmount)], SEP)], nil), invoke(factoryAddressOrFail, "integerEntry", [keyAvailable(generator), (available + lpAssetAmount)], nil)]
367367 if ((factoryActionsSingle == factoryActionsSingle))
368- then (acc + callerReward)
368+ then (acc + lpAssetAmount)
369369 else throw("Strict value is not equal to itself.")
370370 }
371371
372372 let list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39]
373- let callerReward = {
373+ let lpAssetAmountTotal = {
374374 let $l = list
375375 let $s = size($l)
376376 let $acc0 = 0
384384
385385 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
386386 }
387- if ((callerReward == callerReward))
387+ if ((lpAssetAmountTotal == lpAssetAmountTotal))
388388 then {
389- let actions = [invoke(factoryAddressOrFail, "transferWaves", [userAddressBytes, callerReward], nil), invoke(factoryAddressOrFail, "integerEntry", [keyNextBlockToProcess(), (nextBlockToProcess + blocksProcessingBatchSize)], nil)]
389+ let actions = [invoke(factoryAddressOrFail, "transferWaves", [userAddressBytes, blockProcessingReward], nil), invoke(factoryAddressOrFail, "reissue", [lpAssetAmountTotal], nil), invoke(factoryAddressOrFail, "integerEntry", [keyNextBlockToProcess(), (nextBlockToProcess + blocksProcessingBatchSize)], nil)]
390390 if ((actions == actions))
391391 then $Tuple2(nil, unit)
392392 else throw("Strict value is not equal to itself.")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SEP = "__"
55
66 let CONTRACT_NAME = "calculator.ride"
77
88 let SCALE8 = 100000000
99
1010 let PENDING = "PENDING"
1111
1212 let FINISHED = "FINISHED"
1313
1414 func wrapErr (s) = ((CONTRACT_NAME + ": ") + s)
1515
1616
1717 func throwErr (s) = throw(wrapErr(s))
1818
1919
2020 func keyFactoryAddress () = makeString(["%s", "factory"], SEP)
2121
2222
2323 func keyLpAssetId () = makeString(["%s", "lpAssetId"], SEP)
2424
2525
2626 func keyTreasuryAddress () = makeString(["%s", "treasury"], SEP)
2727
2828
2929 func keyAvailable (userAddress) = makeString(["%s%s", "available", toString(userAddress)], SEP)
3030
3131
3232 func keyClaimed (userAddress) = makeString(["%s%s", "claimed", toString(userAddress)], SEP)
3333
3434
3535 func keyCurrentPeriod () = makeString(["%s", "currentPeriod"], SEP)
3636
3737
3838 func keyPriceForPeriod (period) = makeString(["%s%d", "price", toString(period)], SEP)
3939
4040
4141 func keyStartHeight (period) = makeString(["%s%d", "startHeight", toString(period)], SEP)
4242
4343
4444 func keyPeriodLength () = "%s__periodLength"
4545
4646
4747 func keyBlockProcessingReward () = "%s__blockProcessingReward"
4848
4949
5050 func keyNextBlockToProcess () = "%s__nextBlockToProcess"
5151
5252
5353 func keyBlockProcessed (height) = makeString(["%s%d", "blockProcessed", toString(height)], SEP)
5454
5555
5656 func keyWithdrawalRequest (userAddress,txId) = makeString(["%s%s%s", "withdrawal", toString(userAddress), toBase58String(txId)], SEP)
5757
5858
5959 func valueWithdrawalRequest (status,lpAssetAmount,targetPeriod,claimTxId) = {
6060 let claimTxIdStr = match claimTxId {
6161 case b: ByteVector =>
6262 toBase58String(b)
6363 case _: Unit =>
6464 "SOON"
6565 case _ =>
6666 throw("Match error")
6767 }
6868 makeString(["%s%d%d%s", status, toString(lpAssetAmount), toString(targetPeriod), claimTxIdStr], SEP)
6969 }
7070
7171
7272 func parseWithdrawalRequestValueOrFail (s) = {
7373 let parts = split(s, SEP)
7474 if ((size(parts) == 5))
7575 then {
7676 let status = parts[1]
7777 let lpAssetAmount = valueOrErrorMessage(parseInt(parts[2]), wrapErr("invalid lpAssetAmount"))
7878 let targetPeriod = valueOrErrorMessage(parseInt(parts[3]), wrapErr("invalid targetPeriod"))
7979 let claimTxId = parts[4]
8080 $Tuple4(status, lpAssetAmount, targetPeriod, claimTxId)
8181 }
8282 else throwErr("invalid withdrawal request value")
8383 }
8484
8585
8686 let factoryAddressOption = match getString(this, keyFactoryAddress()) {
8787 case s: String =>
8888 addressFromString(s)
8989 case _: Unit =>
9090 unit
9191 case _ =>
9292 throw("Match error")
9393 }
9494
9595 let factoryAddressOrFail = valueOrErrorMessage(factoryAddressOption, wrapErr("invalid factory address"))
9696
9797 let lpAssetIdOption = match factoryAddressOption {
9898 case a: Address =>
9999 match getString(a, keyLpAssetId()) {
100100 case s: String =>
101101 fromBase58String(s)
102102 case _: Unit =>
103103 unit
104104 case _ =>
105105 throw("Match error")
106106 }
107107 case _: Unit =>
108108 unit
109109 case _ =>
110110 throw("Match error")
111111 }
112112
113113 let lpAssetIdOrFail = valueOrErrorMessage(lpAssetIdOption, wrapErr("invalid lpAssetId"))
114114
115115 let treasuryAddressOption = match factoryAddressOption {
116116 case a: Address =>
117117 match getString(a, keyTreasuryAddress()) {
118118 case s: String =>
119119 addressFromString(s)
120120 case _: Unit =>
121121 unit
122122 case _ =>
123123 throw("Match error")
124124 }
125125 case _: Unit =>
126126 unit
127127 case _ =>
128128 throw("Match error")
129129 }
130130
131131 let treasuryAddressOrFail = valueOrErrorMessage(treasuryAddressOption, wrapErr("invalid treasury address"))
132132
133133 func onlyAddress (i,address) = if ((i.caller == address))
134134 then true
135135 else throwErr("permission denied")
136136
137137
138138 func onlyFactory (i) = onlyAddress(i, factoryAddressOrFail)
139139
140140
141141 func rewardForOption (rewards,target) = {
142142 let s = size(rewards)
143143 let $t033473372 = rewards[0]
144144 let a0 = $t033473372._1
145145 let r0 = $t033473372._2
146146 let $t033753400 = rewards[1]
147147 let a1 = $t033753400._1
148148 let r1 = $t033753400._2
149149 let $t034033428 = rewards[2]
150150 let a2 = $t034033428._1
151151 let r2 = $t034033428._2
152152 if (if ((s > 0))
153153 then (a0 == target)
154154 else false)
155155 then r0
156156 else if (if ((s > 1))
157157 then (a1 == target)
158158 else false)
159159 then r1
160160 else if (if ((s > 2))
161161 then (a2 == target)
162162 else false)
163163 then r2
164164 else unit
165165 }
166166
167167
168168 @Callable(i)
169169 func claimLP (userAddressBytes) = {
170170 let checkCaller = onlyFactory(i)
171171 if ((checkCaller == checkCaller))
172172 then {
173173 let userAddress = Address(userAddressBytes)
174174 let available = valueOrElse(getInteger(factoryAddressOrFail, keyAvailable(userAddress)), 0)
175175 let claimed = valueOrElse(getInteger(factoryAddressOrFail, keyClaimed(userAddress)), 0)
176176 let factoryActions = if ((available > 0))
177177 then [invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, available, lpAssetIdOrFail], nil), invoke(factoryAddressOrFail, "integerEntry", [keyAvailable(userAddress), 0], nil), invoke(factoryAddressOrFail, "stringEntry", [keyClaimed(userAddress), (claimed + available)], nil)]
178178 else throwErr("nothing to claim")
179179 $Tuple2(nil, factoryActions)
180180 }
181181 else throw("Strict value is not equal to itself.")
182182 }
183183
184184
185185
186186 @Callable(i)
187187 func finalize (newTreasuryVolumeInWaves,xtnPrice,pwrManagersBonus,treasuryVolumeDiffAllocationCoef) = {
188188 let checks = [if ((i.originCaller == factoryAddressOrFail))
189189 then true
190190 else throwErr("permission denied"), if ((newTreasuryVolumeInWaves >= 0))
191191 then true
192192 else throwErr("invalid new treasury volume"), if ((xtnPrice >= 0))
193193 then true
194194 else throwErr("invalid XTN price"), if (if ((pwrManagersBonus >= 0))
195195 then (SCALE8 >= pwrManagersBonus)
196196 else false)
197197 then true
198198 else throwErr("invalid PWR managers bonus"), if (if ((treasuryVolumeDiffAllocationCoef >= -(SCALE8)))
199199 then (SCALE8 >= treasuryVolumeDiffAllocationCoef)
200200 else false)
201201 then true
202202 else throwErr("invalid treasury volume diff allocation coefficient")]
203203 if ((checks == checks))
204204 then {
205205 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
206206 let newPeriod = (currentPeriodOrFail + 1)
207207 let newPrice = SCALE8
208208 let lpAssetAmountToBurn = 0
209209 let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyCurrentPeriod(), newPeriod], nil), invoke(factoryAddressOrFail, "integerEntry", [keyPriceForPeriod(newPeriod), newPrice], nil), invoke(factoryAddressOrFail, "burn", [lpAssetAmountToBurn], nil)]
210210 $Tuple2(nil, factoryActions)
211211 }
212212 else throw("Strict value is not equal to itself.")
213213 }
214214
215215
216216
217217 @Callable(i)
218218 func invest (userAddressBytes) = {
219219 let checkCaller = onlyFactory(i)
220220 if ((checkCaller == checkCaller))
221221 then {
222222 let userAddress = Address(userAddressBytes)
223223 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
224224 let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price"))
225225 let payment = if ((size(i.payments) == 1))
226226 then i.payments[0]
227227 else throwErr("invalid payments")
228228 let paymentAmount = if (if ((payment.assetId == unit))
229229 then (payment.amount > 0)
230230 else false)
231231 then payment.amount
232232 else throwErr("invalid payment amount")
233233 let lpAssetAmount = if ((currentPriceOrFail > 0))
234234 then fraction(paymentAmount, SCALE8, currentPriceOrFail)
235235 else 0
236236 let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", ["invested__WAVES", 0], nil), invoke(factoryAddressOrFail, "reissue", [lpAssetAmount], nil), invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, lpAssetAmount, lpAssetIdOrFail], nil), invoke(factoryAddressOrFail, "transferWaves", [treasuryAddressOrFail.bytes, paymentAmount], [AttachedPayment(unit, paymentAmount)])]
237237 $Tuple2(nil, factoryActions)
238238 }
239239 else throw("Strict value is not equal to itself.")
240240 }
241241
242242
243243
244244 @Callable(i)
245245 func withdraw (userAddressBytes) = {
246246 let checkCaller = onlyFactory(i)
247247 if ((checkCaller == checkCaller))
248248 then {
249249 let userAddress = Address(userAddressBytes)
250250 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
251251 let payment = if ((size(i.payments) == 1))
252252 then i.payments[0]
253253 else throwErr(wrapErr("invalid payments"))
254254 let paymentAssetId = if ((payment.assetId == lpAssetIdOrFail))
255255 then lpAssetIdOrFail
256256 else throwErr("invalid payment asset")
257257 let paymentAmount = if ((payment.amount > 0))
258258 then payment.amount
259259 else throwErr("invalid payment amount")
260260 let factoryActions = [invoke(factoryAddressOrFail, "stringEntry", [keyWithdrawalRequest(userAddress, i.transactionId), valueWithdrawalRequest(PENDING, paymentAmount, (currentPeriodOrFail + 1), unit)], nil)]
261261 if ((factoryActions == factoryActions))
262262 then $Tuple2([ScriptTransfer(factoryAddressOrFail, paymentAmount, paymentAssetId)], factoryActions)
263263 else throw("Strict value is not equal to itself.")
264264 }
265265 else throw("Strict value is not equal to itself.")
266266 }
267267
268268
269269
270270 @Callable(i)
271271 func cancelWithdraw (userAddressBytes,txId) = {
272272 let checkCaller = onlyFactory(i)
273273 if ((checkCaller == checkCaller))
274274 then {
275275 let userAddress = Address(userAddressBytes)
276276 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
277- let $t087058818 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
278- let status = $t087058818._1
279- let lpAssetAmount = $t087058818._2
280- let targetPeriod = $t087058818._3
281- let claimTxId = $t087058818._4
277+ let $t086788791 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
278+ let status = $t086788791._1
279+ let lpAssetAmount = $t086788791._2
280+ let targetPeriod = $t086788791._3
281+ let claimTxId = $t086788791._4
282282 if ((status == PENDING))
283283 then {
284284 let factoryActions = [invoke(factoryAddressOrFail, "deleteEntry", [keyWithdrawalRequest(userAddress, txId)], nil), invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, lpAssetAmount, lpAssetIdOrFail], nil)]
285285 if ((factoryActions == factoryActions))
286286 then $Tuple2(nil, factoryActions)
287287 else throw("Strict value is not equal to itself.")
288288 }
289289 else throwErr("invalid withdrawal request status")
290290 }
291291 else throw("Strict value is not equal to itself.")
292292 }
293293
294294
295295
296296 @Callable(i)
297297 func claimWaves (userAddressBytes,txId) = {
298298 let checkCaller = onlyFactory(i)
299299 if ((checkCaller == checkCaller))
300300 then {
301301 let userAddress = Address(userAddressBytes)
302302 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
303303 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
304- let $t096899802 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
305- let status = $t096899802._1
306- let lpAssetAmount = $t096899802._2
307- let targetPeriod = $t096899802._3
308- let claimTxId = $t096899802._4
304+ let $t096629775 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
305+ let status = $t096629775._1
306+ let lpAssetAmount = $t096629775._2
307+ let targetPeriod = $t096629775._3
308+ let claimTxId = $t096629775._4
309309 if ((status == FINISHED))
310310 then throwErr("invalid withdrawal request status")
311311 else if ((targetPeriod > currentPeriodOrFail))
312312 then throwErr("invalid withdrawal request period")
313313 else {
314314 let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price"))
315315 let amount = if ((currentPriceOrFail > 0))
316316 then fraction(lpAssetAmount, currentPriceOrFail, SCALE8)
317317 else 0
318318 let factoryActions = [invoke(factoryAddressOrFail, "stringEntry", [keyWithdrawalRequest(userAddress, txId), valueWithdrawalRequest(FINISHED, lpAssetAmount, targetPeriod, i.transactionId)], nil), invoke(factoryAddressOrFail, "burn", [lpAssetAmount], nil), invoke(factoryAddressOrFail, "transferWaves", [userAddressBytes, amount], nil)]
319319 $Tuple2(nil, factoryActions)
320320 }
321321 }
322322 else throw("Strict value is not equal to itself.")
323323 }
324324
325325
326326
327327 @Callable(i)
328328 func processBlocks (userAddressBytes) = {
329329 let checkCaller = onlyFactory(i)
330330 if ((checkCaller == checkCaller))
331331 then {
332332 let userAddress = Address(userAddressBytes)
333333 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
334334 let periodLength = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPeriodLength()), wrapErr("invalid period length"))
335335 let currentStartHeight = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyStartHeight(currentPeriodOrFail)), wrapErr("invalid start height"))
336336 let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price"))
337337 let nextBlockToProcess = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyNextBlockToProcess()), wrapErr("invalid next block to process"))
338338 let periodEndHeight = ((currentStartHeight + periodLength) - 1)
339339 let blocksProcessingBatchSizeMax = 40
340340 let blocksProcessingBatchSize = if (if (if ((height >= nextBlockToProcess))
341341 then if ((nextBlockToProcess >= currentStartHeight))
342342 then true
343343 else (currentPeriodOrFail == 0)
344344 else false)
345345 then (periodEndHeight >= nextBlockToProcess)
346346 else false)
347347 then min([((periodEndHeight - nextBlockToProcess) + 1), blocksProcessingBatchSizeMax])
348348 else throwErr(wrapErr("invalid target block"))
349349 let blockProcessingReward = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyBlockProcessingReward()), wrapErr("invalid block processing reward"))
350350 let blockProcessingRewardByGenerator = (blockProcessingReward / blocksProcessingBatchSize)
351351 let blockProcessingRewardByGeneratorRemainder = (blockProcessingReward - (blockProcessingRewardByGenerator * blocksProcessingBatchSize))
352352 func map (acc,inc) = if ((inc >= blocksProcessingBatchSize))
353353 then acc
354354 else {
355355 let targetBlockHeight = (nextBlockToProcess + inc)
356356 let targetBlockInfo = valueOrErrorMessage(blockInfoByHeight(targetBlockHeight), wrapErr("invalid block info"))
357357 let treasuryRewardOrFail = valueOrErrorMessage(rewardForOption(targetBlockInfo.rewards, treasuryAddressOrFail), wrapErr(("invalid treasury reward for height " + toString(targetBlockHeight))))
358358 let generator = targetBlockInfo.generator
359359 let available = valueOrElse(getInteger(factoryAddressOrFail, keyAvailable(generator)), 0)
360- let lpAssetAmount = if ((currentPriceOrFail > 0))
361- then fraction((treasuryRewardOrFail - blockProcessingRewardByGenerator), SCALE8, currentPriceOrFail)
362- else 0
363360 let callerReward = if ((inc == (blocksProcessingBatchSize - 1)))
364361 then (blockProcessingRewardByGenerator + blockProcessingRewardByGeneratorRemainder)
365362 else blockProcessingRewardByGenerator
363+ let lpAssetAmount = if ((currentPriceOrFail > 0))
364+ then fraction((treasuryRewardOrFail - callerReward), SCALE8, currentPriceOrFail)
365+ else 0
366366 let factoryActionsSingle = [invoke(factoryAddressOrFail, "stringEntry", [keyBlockProcessed(targetBlockHeight), makeString([toBase58String(i.transactionId), toBase58String(userAddressBytes), toString(treasuryRewardOrFail), toString(callerReward), toString(lpAssetAmount)], SEP)], nil), invoke(factoryAddressOrFail, "integerEntry", [keyAvailable(generator), (available + lpAssetAmount)], nil)]
367367 if ((factoryActionsSingle == factoryActionsSingle))
368- then (acc + callerReward)
368+ then (acc + lpAssetAmount)
369369 else throw("Strict value is not equal to itself.")
370370 }
371371
372372 let list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39]
373- let callerReward = {
373+ let lpAssetAmountTotal = {
374374 let $l = list
375375 let $s = size($l)
376376 let $acc0 = 0
377377 func $f0_1 ($a,$i) = if (($i >= $s))
378378 then $a
379379 else map($a, $l[$i])
380380
381381 func $f0_2 ($a,$i) = if (($i >= $s))
382382 then $a
383383 else throw("List size exceeds 40")
384384
385385 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
386386 }
387- if ((callerReward == callerReward))
387+ if ((lpAssetAmountTotal == lpAssetAmountTotal))
388388 then {
389- let actions = [invoke(factoryAddressOrFail, "transferWaves", [userAddressBytes, callerReward], nil), invoke(factoryAddressOrFail, "integerEntry", [keyNextBlockToProcess(), (nextBlockToProcess + blocksProcessingBatchSize)], nil)]
389+ let actions = [invoke(factoryAddressOrFail, "transferWaves", [userAddressBytes, blockProcessingReward], nil), invoke(factoryAddressOrFail, "reissue", [lpAssetAmountTotal], nil), invoke(factoryAddressOrFail, "integerEntry", [keyNextBlockToProcess(), (nextBlockToProcess + blocksProcessingBatchSize)], nil)]
390390 if ((actions == actions))
391391 then $Tuple2(nil, unit)
392392 else throw("Strict value is not equal to itself.")
393393 }
394394 else throw("Strict value is not equal to itself.")
395395 }
396396 else throw("Strict value is not equal to itself.")
397397 }
398398
399399
400400 @Verifier(tx)
401401 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
402402

github/deemru/w8io/169f3d6 
52.11 ms