tx · Fmk17va81cA8ffFnFAvcFabPoAfSrdAH5SUnak4Cf5y3

3N4QFkEYPsR9D54c1pHRQzqRARjubXcbGuA:  -0.02700000 Waves

2023.07.06 12:31 [2653866] smart account 3N4QFkEYPsR9D54c1pHRQzqRARjubXcbGuA > SELF 0.00000000 Waves

{ "type": 13, "id": "Fmk17va81cA8ffFnFAvcFabPoAfSrdAH5SUnak4Cf5y3", "fee": 2700000, "feeAssetId": null, "timestamp": 1688635866760, "version": 1, "sender": "3N4QFkEYPsR9D54c1pHRQzqRARjubXcbGuA", "senderPublicKey": "8nr9XxGKmrRg6E6Zss6YPynBYEFbCf39Z2D9WvVuUgzY", "proofs": [ "2H56tiCGBJF7JAKNiXkmyiB8X99foNnMTkZU8Rx8r6r3xrCtECUnZkhYr2rUUhC7bAj9V5pUeaXHhhMFUqFGym4w" ], "script": "base64:BwIxCAISAwoBAhIGCgQCAQEBEgUKAwEBARIDCgECEgMKAQISBAoCAgISBAoCAgISAwoBAiwAA1NFUAICX18ADUNPTlRSQUNUX05BTUUCD2NhbGN1bGF0b3IucmlkZQAGU0NBTEU4AIDC1y8AB1BFTkRJTkcCB1BFTkRJTkcACEZJTklTSEVEAghGSU5JU0hFRAAFV0FWRVMCBVdBVkVTAQd3cmFwRXJyAQFzCQCsAgIJAKwCAgUNQ09OVFJBQ1RfTkFNRQICOiAFAXMBCHRocm93RXJyAQFzCQACAQkBB3dyYXBFcnIBBQFzAQ9hc3NldElkVG9TdHJpbmcBB2Fzc2V0SWQEByRtYXRjaDAFB2Fzc2V0SWQDCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQBYgUHJG1hdGNoMAkA2AQBBQFiAwkAAQIFByRtYXRjaDACBFVuaXQFBVdBVkVTCQACAQILTWF0Y2ggZXJyb3IBA2FicwEBbgMJAGYCAAAFAW4JAQEtAQUBbgUBbgERa2V5RmFjdG9yeUFkZHJlc3MACQC5CQIJAMwIAgICJXMJAMwIAgIHZmFjdG9yeQUDbmlsBQNT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} View: original | compacted Prev: 2LTc4ktSWPxw6eYsLdCjMxgkDVmckBbHiHUA9qVpt7jh Next: none Diff:
OldNewDifferences
341341 else if (if ((paymentOption != unit))
342342 then (paymentAssetId == unit)
343343 else false)
344- then (paymentAmount >= paymentAmountMin)
344+ then (paymentAmount == paymentAmountMin)
345345 else false)
346346 then true
347- else throwErr(("invalid payments, payment amount min: " + toString(paymentAmountMin)))
347+ else throwErr(("invalid payments, payment amount should be: " + toString(paymentAmountMin)))
348348 if ((checkPayment == checkPayment))
349349 then {
350350 let actions = if ((paymentOption != unit))
399399 let payment = if ((size(i.payments) == 1))
400400 then i.payments[0]
401401 else throwErr("invalid payments")
402- let $t01421814395 = if (if ((payment.assetId == unit))
402+ let $t01441214589 = if (if ((payment.assetId == unit))
403403 then (payment.amount > 0)
404404 else false)
405405 then $Tuple2(payment.amount, payment.assetId)
406406 else throwErr("invalid payment amount")
407- let paymentAmount = $t01421814395._1
408- let paymentAssetId = $t01421814395._2
407+ let paymentAmount = $t01441214589._1
408+ let paymentAssetId = $t01441214589._2
409409 let lpAssetAmount = if ((currentPriceOrFail > 0))
410410 then fraction(paymentAmount, SCALE8, currentPriceOrFail)
411411 else 0
455455 let userAddress = Address(userAddressBytes)
456456 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
457457 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
458- let $t01680216915 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
459- let status = $t01680216915._1
460- let lpAssetAmount = $t01680216915._2
461- let targetPeriod = $t01680216915._3
462- let claimTxId = $t01680216915._4
458+ let $t01699617109 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
459+ let status = $t01699617109._1
460+ let lpAssetAmount = $t01699617109._2
461+ let targetPeriod = $t01699617109._3
462+ let claimTxId = $t01699617109._4
463463 let checks = [if ((status == PENDING))
464464 then true
465465 else throwErr("invalid withdrawal request status"), if ((targetPeriod > currentPeriodOrFail))
490490 let userAddress = Address(userAddressBytes)
491491 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
492492 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
493- let $t01824718360 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
494- let status = $t01824718360._1
495- let lpAssetAmount = $t01824718360._2
496- let targetPeriod = $t01824718360._3
497- let claimTxId = $t01824718360._4
493+ let $t01844118554 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
494+ let status = $t01844118554._1
495+ let lpAssetAmount = $t01844118554._2
496+ let targetPeriod = $t01844118554._3
497+ let claimTxId = $t01844118554._4
498498 if ((status == FINISHED))
499499 then throwErr("invalid withdrawal request status")
500500 else if ((targetPeriod > currentPeriodOrFail))
555555 let factoryActionsSingle = [invoke(factoryAddressOrFail, "stringEntry", [keyBlockProcessed(targetBlockHeight), makeString([toBase58String(i.transactionId), toString(currentPeriodOrFail), toString(generator), toBase58String(userAddressBytes), toString(treasuryRewardOrFail), toString(callerReward), toString(lpAssetAmount)], SEP)], nil), invoke(factoryAddressOrFail, "integerEntry", [keyAvailable(generator), (available + lpAssetAmount)], nil)]
556556 if ((factoryActionsSingle == factoryActionsSingle))
557557 then {
558- let $t02259622629 = acc
559- let lpAssetAcc = $t02259622629._1
560- let rewardAcc = $t02259622629._2
558+ let $t02279022823 = acc
559+ let lpAssetAcc = $t02279022823._1
560+ let rewardAcc = $t02279022823._2
561561 $Tuple2((lpAssetAcc + lpAssetAmount), (rewardAcc + treasuryRewardOrFail))
562562 }
563563 else throw("Strict value is not equal to itself.")
564564 }
565565
566566 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]
567- let $t02289622972 = {
567+ let $t02309023166 = {
568568 let $l = list
569569 let $s = size($l)
570570 let $acc0 = $Tuple2(0, 0)
578578
579579 $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)
580580 }
581- if (($t02289622972 == $t02289622972))
581+ if (($t02309023166 == $t02309023166))
582582 then {
583- let rewardAmountTotal = $t02289622972._2
584- let lpAssetAmountTotal = $t02289622972._1
583+ let rewardAmountTotal = $t02309023166._2
584+ let lpAssetAmountTotal = $t02309023166._1
585585 let rewardToMainTreasuryAmount = (rewardAmountTotal - blockProcessingReward)
586586 let invested = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0)
587587 let actions = [invoke(factoryAddressOrFail, "reissue", [lpAssetAmountTotal], nil), invoke(factoryAddressOrFail, "integerEntry", [keyNextBlockToProcess(), (nextBlockToProcess + blocksProcessingBatchSize)], nil), invoke(factoryAddressOrFail, "transferFromProxyTreasury", [mainTreasuryAddressOrFail.bytes, rewardToMainTreasuryAmount], nil), invoke(factoryAddressOrFail, "transferFromProxyTreasury", [userAddressBytes, blockProcessingReward], nil), invoke(factoryAddressOrFail, "integerEntry", [keyInvested(unit), (invested + rewardToMainTreasuryAmount)], nil)]
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 let WAVES = "WAVES"
1515
1616 func wrapErr (s) = ((CONTRACT_NAME + ": ") + s)
1717
1818
1919 func throwErr (s) = throw(wrapErr(s))
2020
2121
2222 func assetIdToString (assetId) = match assetId {
2323 case b: ByteVector =>
2424 toBase58String(b)
2525 case _: Unit =>
2626 WAVES
2727 case _ =>
2828 throw("Match error")
2929 }
3030
3131
3232 func abs (n) = if ((0 > n))
3333 then -(n)
3434 else n
3535
3636
3737 func keyFactoryAddress () = makeString(["%s", "factory"], SEP)
3838
3939
4040 func keyManagerPublicKey () = makeString(["%s", "managerPublicKey"], SEP)
4141
4242
4343 func keyLpAssetId () = makeString(["%s", "lpAssetId"], SEP)
4444
4545
4646 func keyProxyTreasuryAddress () = makeString(["%s", "proxyTreasury"], SEP)
4747
4848
4949 func keyMainTreasuryAddress () = makeString(["%s", "mainTreasury"], SEP)
5050
5151
5252 func keyInvested (assetId) = makeString(["%s%s", "invested", assetIdToString(assetId)], SEP)
5353
5454
5555 func keyDonated (assetId) = makeString(["%s%s", "donated", assetIdToString(assetId)], SEP)
5656
5757
5858 func keyAvailable (userAddress) = makeString(["%s%s", "available", toString(userAddress)], SEP)
5959
6060
6161 func keyClaimed (userAddress) = makeString(["%s%s", "claimed", toString(userAddress)], SEP)
6262
6363
6464 func keyCurrentPeriod () = makeString(["%s", "currentPeriod"], SEP)
6565
6666
6767 func keyPriceForPeriod (period) = makeString(["%s%d", "price", toString(period)], SEP)
6868
6969
7070 func keyStartHeight (period) = makeString(["%s%d", "startHeight", toString(period)], SEP)
7171
7272
7373 func keyPowerManagerBonus (period) = makeString(["%s%d", "powerManagerBonus", toString(period)], SEP)
7474
7575
7676 func keyPeriodLength () = "%s__periodLength"
7777
7878
7979 func keyBlockProcessingReward () = "%s__blockProcessingReward"
8080
8181
8282 func keyNextBlockToProcess () = "%s__nextBlockToProcess"
8383
8484
8585 func keyBlockProcessed (height) = makeString(["%s%d", "blockProcessed", toString(height)], SEP)
8686
8787
8888 func keyWithdrawal () = "%s__withdrawal"
8989
9090
9191 func keyWithdrawalRequest (userAddress,txId) = makeString(["%s%s%s", "withdrawal", toString(userAddress), toBase58String(txId)], SEP)
9292
9393
9494 func valueWithdrawalRequest (status,lpAssetAmount,targetPeriod,claimTxId) = {
9595 let claimTxIdStr = match claimTxId {
9696 case b: ByteVector =>
9797 toBase58String(b)
9898 case _: Unit =>
9999 "SOON"
100100 case _ =>
101101 throw("Match error")
102102 }
103103 makeString(["%s%d%d%s", status, toString(lpAssetAmount), toString(targetPeriod), claimTxIdStr], SEP)
104104 }
105105
106106
107107 func parseWithdrawalRequestValueOrFail (s) = {
108108 let parts = split(s, SEP)
109109 if ((size(parts) == 5))
110110 then {
111111 let status = parts[1]
112112 let lpAssetAmount = valueOrErrorMessage(parseInt(parts[2]), wrapErr("invalid lpAssetAmount"))
113113 let targetPeriod = valueOrErrorMessage(parseInt(parts[3]), wrapErr("invalid targetPeriod"))
114114 let claimTxId = parts[4]
115115 $Tuple4(status, lpAssetAmount, targetPeriod, claimTxId)
116116 }
117117 else throwErr("invalid withdrawal request value")
118118 }
119119
120120
121121 let factoryAddressOption = match getString(this, keyFactoryAddress()) {
122122 case s: String =>
123123 addressFromString(s)
124124 case _: Unit =>
125125 unit
126126 case _ =>
127127 throw("Match error")
128128 }
129129
130130 let factoryAddressOrFail = valueOrErrorMessage(factoryAddressOption, wrapErr("invalid factory address"))
131131
132132 let lpAssetIdOption = match factoryAddressOption {
133133 case a: Address =>
134134 match getString(a, keyLpAssetId()) {
135135 case s: String =>
136136 fromBase58String(s)
137137 case _: Unit =>
138138 unit
139139 case _ =>
140140 throw("Match error")
141141 }
142142 case _: Unit =>
143143 unit
144144 case _ =>
145145 throw("Match error")
146146 }
147147
148148 let lpAssetIdOrFail = valueOrErrorMessage(lpAssetIdOption, wrapErr("invalid lpAssetId"))
149149
150150 let proxyTreasuryAddressOption = match factoryAddressOption {
151151 case a: Address =>
152152 match getString(a, keyProxyTreasuryAddress()) {
153153 case s: String =>
154154 addressFromString(s)
155155 case _: Unit =>
156156 unit
157157 case _ =>
158158 throw("Match error")
159159 }
160160 case _: Unit =>
161161 unit
162162 case _ =>
163163 throw("Match error")
164164 }
165165
166166 let proxyTreasuryAddressOrFail = valueOrErrorMessage(proxyTreasuryAddressOption, wrapErr("invalid proxy treasury address"))
167167
168168 let mainTreasuryAddressOption = match factoryAddressOption {
169169 case a: Address =>
170170 match getString(a, keyMainTreasuryAddress()) {
171171 case s: String =>
172172 addressFromString(s)
173173 case _: Unit =>
174174 unit
175175 case _ =>
176176 throw("Match error")
177177 }
178178 case _: Unit =>
179179 unit
180180 case _ =>
181181 throw("Match error")
182182 }
183183
184184 let mainTreasuryAddressOrFail = valueOrErrorMessage(mainTreasuryAddressOption, wrapErr("invalid main treasury address"))
185185
186186 func getManagerPublicKeyOrUnit () = match factoryAddressOption {
187187 case fa: Address =>
188188 match getString(fa, keyManagerPublicKey()) {
189189 case pub: String =>
190190 fromBase58String(pub)
191191 case _ =>
192192 unit
193193 }
194194 case _ =>
195195 unit
196196 }
197197
198198
199199 func onlyAddress (i,address) = if ((i.caller == address))
200200 then true
201201 else throwErr("permission denied")
202202
203203
204204 func onlyFactory (i) = onlyAddress(i, factoryAddressOrFail)
205205
206206
207207 func rewardForOption (rewards,target) = {
208208 let s = size(rewards)
209209 let $t047354760 = rewards[0]
210210 let a0 = $t047354760._1
211211 let r0 = $t047354760._2
212212 let $t047634788 = rewards[1]
213213 let a1 = $t047634788._1
214214 let r1 = $t047634788._2
215215 let $t047914816 = rewards[2]
216216 let a2 = $t047914816._1
217217 let r2 = $t047914816._2
218218 if (if ((s > 0))
219219 then (a0 == target)
220220 else false)
221221 then r0
222222 else if (if ((s > 1))
223223 then (a1 == target)
224224 else false)
225225 then r1
226226 else if (if ((s > 2))
227227 then (a2 == target)
228228 else false)
229229 then r2
230230 else unit
231231 }
232232
233233
234234 func finalizeINTERNAL (newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = {
235235 let donatedWavesAmount = valueOrElse(getInteger(factoryAddressOrFail, keyDonated(unit)), 0)
236236 let investedWavesAmount = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0)
237237 let currentTreasuryVolumeInWaves = (donatedWavesAmount + investedWavesAmount)
238238 let profitRaw = (newTreasuryVolumeInWaves - currentTreasuryVolumeInWaves)
239239 let pwrManagersBonusAmount = if (if ((profitRaw >= pwrManagersBonusInWaves))
240240 then true
241241 else (pwrManagersBonusInWaves == 0))
242242 then pwrManagersBonusInWaves
243243 else throwErr("power bonus is more than profit")
244244 let profit = (profitRaw - pwrManagersBonusAmount)
245245 let donationPart = if ((currentTreasuryVolumeInWaves > 0))
246246 then fraction(donatedWavesAmount, SCALE8, currentTreasuryVolumeInWaves)
247247 else 0
248248 let donationProfitPartRaw = fraction(profit, donationPart, SCALE8)
249249 let investmentProfitPartRaw = (profit - donationProfitPartRaw)
250250 let treasuryVolumeDiffAllocationCoefAbs = abs(treasuryVolumeDiffAllocationCoef)
251251 let amountToDonation = fraction(investmentProfitPartRaw, if ((0 > treasuryVolumeDiffAllocationCoef))
252252 then treasuryVolumeDiffAllocationCoefAbs
253253 else 0, SCALE8)
254254 let amountToInvestment = fraction(donationProfitPartRaw, if ((treasuryVolumeDiffAllocationCoef > 0))
255255 then treasuryVolumeDiffAllocationCoefAbs
256256 else 0, SCALE8)
257257 let donationProfitPart = ((donationProfitPartRaw - amountToInvestment) + amountToDonation)
258258 let investmentProfitPart = ((investmentProfitPartRaw - amountToDonation) + amountToInvestment)
259259 let donatedWavesAmountNewRaw = (donatedWavesAmount + donationProfitPart)
260260 let investedWavesAmountNewRaw = (investedWavesAmount + investmentProfitPart)
261261 let donatedPartDebt = min([0, donatedWavesAmountNewRaw])
262262 let investedPartDebt = min([0, investedWavesAmountNewRaw])
263263 let donatedWavesAmountNew = (max([0, donatedWavesAmountNewRaw]) + investedPartDebt)
264264 let investedWavesAmountNew = (max([0, investedWavesAmountNewRaw]) + donatedPartDebt)
265265 let lpAssetQuantity = valueOrErrorMessage(assetInfo(lpAssetIdOrFail), wrapErr("invalid lpAsset info")).quantity
266266 let newPrice = fraction(investedWavesAmountNew, SCALE8, lpAssetQuantity)
267267 let checkIfPriceNotZero = if ((newPrice != 0))
268268 then true
269269 else throwErr("LP price cannot be 0")
270270 if ((checkIfPriceNotZero == checkIfPriceNotZero))
271271 then {
272272 let lpAssetAmountToBurn = valueOrElse(getInteger(factoryAddressOrFail, keyWithdrawal()), 0)
273273 let paymentAmountMin = max([0, fraction(lpAssetAmountToBurn, newPrice, SCALE8)])
274274 let finalInvestedWavesAmount = (investedWavesAmountNew - paymentAmountMin)
275275 let lpAssetFinalQuantity = (lpAssetQuantity - lpAssetAmountToBurn)
276276 $Tuple6(paymentAmountMin, finalInvestedWavesAmount, donatedWavesAmountNew, newPrice, lpAssetAmountToBurn, lpAssetFinalQuantity)
277277 }
278278 else throw("Strict value is not equal to itself.")
279279 }
280280
281281
282282 @Callable(i)
283283 func claimLP (userAddressBytes) = {
284284 let checkCaller = onlyFactory(i)
285285 if ((checkCaller == checkCaller))
286286 then {
287287 let userAddress = Address(userAddressBytes)
288288 let available = valueOrElse(getInteger(factoryAddressOrFail, keyAvailable(userAddress)), 0)
289289 let claimed = valueOrElse(getInteger(factoryAddressOrFail, keyClaimed(userAddress)), 0)
290290 let factoryActions = if ((available > 0))
291291 then [invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, available, lpAssetIdOrFail], nil), invoke(factoryAddressOrFail, "integerEntry", [keyAvailable(userAddress), 0], nil), invoke(factoryAddressOrFail, "integerEntry", [keyClaimed(userAddress), (claimed + available)], nil)]
292292 else throwErr("nothing to claim")
293293 $Tuple2(nil, factoryActions)
294294 }
295295 else throw("Strict value is not equal to itself.")
296296 }
297297
298298
299299
300300 @Callable(i)
301301 func finalize (userAddressBytes,newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = {
302302 let checkCaller = onlyFactory(i)
303303 if ((checkCaller == checkCaller))
304304 then {
305305 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
306306 let periodLength = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPeriodLength()), wrapErr("invalid period length"))
307307 let currentStartHeight = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyStartHeight(currentPeriodOrFail)), wrapErr("invalid start height"))
308308 let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price"))
309309 let nextBlockToProcess = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyNextBlockToProcess()), wrapErr("invalid next block to process"))
310310 let periodEndHeight = ((currentStartHeight + periodLength) - 1)
311311 let checks = [if ((i.originCaller == mainTreasuryAddressOrFail))
312312 then true
313313 else throwErr("permission denied"), if ((nextBlockToProcess > periodEndHeight))
314314 then true
315315 else throwErr("unprocessed blocks"), if ((newTreasuryVolumeInWaves >= 0))
316316 then true
317317 else throwErr("invalid new treasury volume"), if ((pwrManagersBonusInWaves >= 0))
318318 then true
319319 else throwErr("invalid PWR managers bonus"), if (if ((treasuryVolumeDiffAllocationCoef >= -(SCALE8)))
320320 then (SCALE8 >= treasuryVolumeDiffAllocationCoef)
321321 else false)
322322 then true
323323 else throwErr("invalid treasury volume diff allocation coefficient")]
324324 if ((checks == checks))
325325 then {
326326 let $t01028210543 = finalizeINTERNAL(newTreasuryVolumeInWaves, pwrManagersBonusInWaves, treasuryVolumeDiffAllocationCoef)
327327 let paymentAmountMin = $t01028210543._1
328328 let finalInvestedWavesAmount = $t01028210543._2
329329 let donatedWavesAmountNew = $t01028210543._3
330330 let newPrice = $t01028210543._4
331331 let lpAssetAmountToBurn = $t01028210543._5
332332 let lpAssetFinalQuantity = $t01028210543._6
333333 let newPeriod = (currentPeriodOrFail + 1)
334334 let paymentOption = if ((size(i.payments) > 0))
335335 then i.payments[0]
336336 else unit
337337 let paymentAmount = value(paymentOption).amount
338338 let paymentAssetId = value(paymentOption).assetId
339339 let checkPayment = if (if ((paymentAmountMin == 0))
340340 then true
341341 else if (if ((paymentOption != unit))
342342 then (paymentAssetId == unit)
343343 else false)
344- then (paymentAmount >= paymentAmountMin)
344+ then (paymentAmount == paymentAmountMin)
345345 else false)
346346 then true
347- else throwErr(("invalid payments, payment amount min: " + toString(paymentAmountMin)))
347+ else throwErr(("invalid payments, payment amount should be: " + toString(paymentAmountMin)))
348348 if ((checkPayment == checkPayment))
349349 then {
350350 let actions = if ((paymentOption != unit))
351351 then [ScriptTransfer(factoryAddressOrFail, paymentAmount, paymentAssetId)]
352352 else nil
353353 let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyPowerManagerBonus(currentPeriodOrFail), pwrManagersBonusInWaves], nil), invoke(factoryAddressOrFail, "integerEntry", [keyCurrentPeriod(), newPeriod], nil), invoke(factoryAddressOrFail, "integerEntry", [keyPriceForPeriod(newPeriod), newPrice], nil), invoke(factoryAddressOrFail, "integerEntry", [keyStartHeight(newPeriod), (periodEndHeight + 1)], nil), invoke(factoryAddressOrFail, "burn", [lpAssetAmountToBurn], nil), invoke(factoryAddressOrFail, "integerEntry", [keyWithdrawal(), 0], nil), invoke(factoryAddressOrFail, "integerEntry", [keyInvested(unit), finalInvestedWavesAmount], nil), invoke(factoryAddressOrFail, "integerEntry", [keyDonated(unit), donatedWavesAmountNew], nil)]
354354 $Tuple2(actions, factoryActions)
355355 }
356356 else throw("Strict value is not equal to itself.")
357357 }
358358 else throw("Strict value is not equal to itself.")
359359 }
360360 else throw("Strict value is not equal to itself.")
361361 }
362362
363363
364364
365365 @Callable(i)
366366 func finalizeREADONLY (newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = {
367367 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
368368 let periodLength = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPeriodLength()), wrapErr("invalid period length"))
369369 let currentStartHeight = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyStartHeight(currentPeriodOrFail)), wrapErr("invalid start height"))
370370 let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price"))
371371 let nextBlockToProcess = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyNextBlockToProcess()), wrapErr("invalid next block to process"))
372372 let periodEndHeight = ((currentStartHeight + periodLength) - 1)
373373 let checks = [if ((nextBlockToProcess > periodEndHeight))
374374 then true
375375 else throwErr("unprocessed blocks"), if ((newTreasuryVolumeInWaves >= 0))
376376 then true
377377 else throwErr("invalid new treasury volume"), if ((pwrManagersBonusInWaves >= 0))
378378 then true
379379 else throwErr("invalid PWR managers bonus"), if (if ((treasuryVolumeDiffAllocationCoef >= -(SCALE8)))
380380 then (SCALE8 >= treasuryVolumeDiffAllocationCoef)
381381 else false)
382382 then true
383383 else throwErr("invalid treasury volume diff allocation coefficient")]
384384 if ((checks == checks))
385385 then $Tuple2(nil, finalizeINTERNAL(newTreasuryVolumeInWaves, pwrManagersBonusInWaves, treasuryVolumeDiffAllocationCoef))
386386 else throw("Strict value is not equal to itself.")
387387 }
388388
389389
390390
391391 @Callable(i)
392392 func invest (userAddressBytes) = {
393393 let checkCaller = onlyFactory(i)
394394 if ((checkCaller == checkCaller))
395395 then {
396396 let userAddress = Address(userAddressBytes)
397397 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
398398 let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price"))
399399 let payment = if ((size(i.payments) == 1))
400400 then i.payments[0]
401401 else throwErr("invalid payments")
402- let $t01421814395 = if (if ((payment.assetId == unit))
402+ let $t01441214589 = if (if ((payment.assetId == unit))
403403 then (payment.amount > 0)
404404 else false)
405405 then $Tuple2(payment.amount, payment.assetId)
406406 else throwErr("invalid payment amount")
407- let paymentAmount = $t01421814395._1
408- let paymentAssetId = $t01421814395._2
407+ let paymentAmount = $t01441214589._1
408+ let paymentAssetId = $t01441214589._2
409409 let lpAssetAmount = if ((currentPriceOrFail > 0))
410410 then fraction(paymentAmount, SCALE8, currentPriceOrFail)
411411 else 0
412412 let invested = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0)
413413 let actions = [ScriptTransfer(mainTreasuryAddressOrFail, paymentAmount, paymentAssetId)]
414414 let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyInvested(unit), (invested + paymentAmount)], nil), invoke(factoryAddressOrFail, "reissue", [lpAssetAmount], nil), invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, lpAssetAmount, lpAssetIdOrFail], nil)]
415415 $Tuple2(actions, factoryActions)
416416 }
417417 else throw("Strict value is not equal to itself.")
418418 }
419419
420420
421421
422422 @Callable(i)
423423 func withdraw (userAddressBytes) = {
424424 let checkCaller = onlyFactory(i)
425425 if ((checkCaller == checkCaller))
426426 then {
427427 let userAddress = Address(userAddressBytes)
428428 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
429429 let payment = if ((size(i.payments) == 1))
430430 then i.payments[0]
431431 else throwErr(wrapErr("invalid payments"))
432432 let paymentAssetId = if ((payment.assetId == lpAssetIdOrFail))
433433 then lpAssetIdOrFail
434434 else throwErr("invalid payment asset")
435435 let paymentAmount = if ((payment.amount > 0))
436436 then payment.amount
437437 else throwErr("invalid payment amount")
438438 let withdrawal = valueOrElse(getInteger(factoryAddressOrFail, keyWithdrawal()), 0)
439439 let actions = [ScriptTransfer(factoryAddressOrFail, paymentAmount, paymentAssetId)]
440440 let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyWithdrawal(), (withdrawal + paymentAmount)], nil), invoke(factoryAddressOrFail, "stringEntry", [keyWithdrawalRequest(userAddress, i.transactionId), valueWithdrawalRequest(PENDING, paymentAmount, (currentPeriodOrFail + 1), unit)], nil)]
441441 if ((factoryActions == factoryActions))
442442 then $Tuple2(actions, factoryActions)
443443 else throw("Strict value is not equal to itself.")
444444 }
445445 else throw("Strict value is not equal to itself.")
446446 }
447447
448448
449449
450450 @Callable(i)
451451 func cancelWithdraw (userAddressBytes,txId) = {
452452 let checkCaller = onlyFactory(i)
453453 if ((checkCaller == checkCaller))
454454 then {
455455 let userAddress = Address(userAddressBytes)
456456 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
457457 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
458- let $t01680216915 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
459- let status = $t01680216915._1
460- let lpAssetAmount = $t01680216915._2
461- let targetPeriod = $t01680216915._3
462- let claimTxId = $t01680216915._4
458+ let $t01699617109 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
459+ let status = $t01699617109._1
460+ let lpAssetAmount = $t01699617109._2
461+ let targetPeriod = $t01699617109._3
462+ let claimTxId = $t01699617109._4
463463 let checks = [if ((status == PENDING))
464464 then true
465465 else throwErr("invalid withdrawal request status"), if ((targetPeriod > currentPeriodOrFail))
466466 then true
467467 else throwErr("invalid withdrawal request period")]
468468 if ((checks == checks))
469469 then {
470470 let withdrawal = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyWithdrawal()), wrapErr("invalid total withdrawal amount"))
471471 let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyWithdrawal(), if ((withdrawal >= lpAssetAmount))
472472 then (withdrawal - lpAssetAmount)
473473 else throwErr("invalid withdrawal amount")], nil), invoke(factoryAddressOrFail, "deleteEntry", [keyWithdrawalRequest(userAddress, txId)], nil), invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, lpAssetAmount, lpAssetIdOrFail], nil)]
474474 if ((factoryActions == factoryActions))
475475 then $Tuple2(nil, factoryActions)
476476 else throw("Strict value is not equal to itself.")
477477 }
478478 else throw("Strict value is not equal to itself.")
479479 }
480480 else throw("Strict value is not equal to itself.")
481481 }
482482
483483
484484
485485 @Callable(i)
486486 func claimWaves (userAddressBytes,txId) = {
487487 let checkCaller = onlyFactory(i)
488488 if ((checkCaller == checkCaller))
489489 then {
490490 let userAddress = Address(userAddressBytes)
491491 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
492492 let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request"))
493- let $t01824718360 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
494- let status = $t01824718360._1
495- let lpAssetAmount = $t01824718360._2
496- let targetPeriod = $t01824718360._3
497- let claimTxId = $t01824718360._4
493+ let $t01844118554 = parseWithdrawalRequestValueOrFail(withdrawalRequestOption)
494+ let status = $t01844118554._1
495+ let lpAssetAmount = $t01844118554._2
496+ let targetPeriod = $t01844118554._3
497+ let claimTxId = $t01844118554._4
498498 if ((status == FINISHED))
499499 then throwErr("invalid withdrawal request status")
500500 else if ((targetPeriod > currentPeriodOrFail))
501501 then throwErr("invalid withdrawal request period")
502502 else {
503503 let priceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(targetPeriod)), wrapErr("invalid price"))
504504 let amount = if ((priceOrFail > 0))
505505 then fraction(lpAssetAmount, priceOrFail, SCALE8)
506506 else 0
507507 let factoryActions = [invoke(factoryAddressOrFail, "stringEntry", [keyWithdrawalRequest(userAddress, txId), valueWithdrawalRequest(FINISHED, lpAssetAmount, targetPeriod, i.transactionId)], nil), invoke(factoryAddressOrFail, "transferWaves", [userAddressBytes, amount], nil)]
508508 $Tuple2(nil, factoryActions)
509509 }
510510 }
511511 else throw("Strict value is not equal to itself.")
512512 }
513513
514514
515515
516516 @Callable(i)
517517 func processBlocks (userAddressBytes) = {
518518 let checkCaller = onlyFactory(i)
519519 if ((checkCaller == checkCaller))
520520 then {
521521 let userAddress = Address(userAddressBytes)
522522 let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period"))
523523 let periodLength = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPeriodLength()), wrapErr("invalid period length"))
524524 let currentStartHeight = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyStartHeight(currentPeriodOrFail)), wrapErr("invalid start height"))
525525 let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price"))
526526 let nextBlockToProcess = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyNextBlockToProcess()), wrapErr("invalid next block to process"))
527527 let periodEndHeight = ((currentStartHeight + periodLength) - 1)
528528 let blocksProcessingBatchSizeMax = 40
529529 let blocksProcessingBatchSize = if (if (if ((height >= nextBlockToProcess))
530530 then if ((nextBlockToProcess >= currentStartHeight))
531531 then true
532532 else (currentPeriodOrFail == 0)
533533 else false)
534534 then (periodEndHeight >= nextBlockToProcess)
535535 else false)
536536 then min([((periodEndHeight - nextBlockToProcess) + 1), blocksProcessingBatchSizeMax])
537537 else throwErr(wrapErr("invalid target block"))
538538 let blockProcessingReward = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyBlockProcessingReward()), wrapErr("invalid block processing reward"))
539539 let blockProcessingRewardByGenerator = (blockProcessingReward / blocksProcessingBatchSize)
540540 let blockProcessingRewardByGeneratorRemainder = (blockProcessingReward - (blockProcessingRewardByGenerator * blocksProcessingBatchSize))
541541 func map (acc,inc) = if ((inc >= blocksProcessingBatchSize))
542542 then acc
543543 else {
544544 let targetBlockHeight = (nextBlockToProcess + inc)
545545 let targetBlockInfo = valueOrErrorMessage(blockInfoByHeight(targetBlockHeight), wrapErr("invalid block info"))
546546 let treasuryRewardOrFail = valueOrErrorMessage(rewardForOption(targetBlockInfo.rewards, proxyTreasuryAddressOrFail), wrapErr(("invalid treasury reward for height " + toString(targetBlockHeight))))
547547 let generator = targetBlockInfo.generator
548548 let available = valueOrElse(getInteger(factoryAddressOrFail, keyAvailable(generator)), 0)
549549 let callerReward = if ((inc == (blocksProcessingBatchSize - 1)))
550550 then (blockProcessingRewardByGenerator + blockProcessingRewardByGeneratorRemainder)
551551 else blockProcessingRewardByGenerator
552552 let lpAssetAmount = if ((currentPriceOrFail > 0))
553553 then fraction((treasuryRewardOrFail - callerReward), SCALE8, currentPriceOrFail)
554554 else 0
555555 let factoryActionsSingle = [invoke(factoryAddressOrFail, "stringEntry", [keyBlockProcessed(targetBlockHeight), makeString([toBase58String(i.transactionId), toString(currentPeriodOrFail), toString(generator), toBase58String(userAddressBytes), toString(treasuryRewardOrFail), toString(callerReward), toString(lpAssetAmount)], SEP)], nil), invoke(factoryAddressOrFail, "integerEntry", [keyAvailable(generator), (available + lpAssetAmount)], nil)]
556556 if ((factoryActionsSingle == factoryActionsSingle))
557557 then {
558- let $t02259622629 = acc
559- let lpAssetAcc = $t02259622629._1
560- let rewardAcc = $t02259622629._2
558+ let $t02279022823 = acc
559+ let lpAssetAcc = $t02279022823._1
560+ let rewardAcc = $t02279022823._2
561561 $Tuple2((lpAssetAcc + lpAssetAmount), (rewardAcc + treasuryRewardOrFail))
562562 }
563563 else throw("Strict value is not equal to itself.")
564564 }
565565
566566 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]
567- let $t02289622972 = {
567+ let $t02309023166 = {
568568 let $l = list
569569 let $s = size($l)
570570 let $acc0 = $Tuple2(0, 0)
571571 func $f0_1 ($a,$i) = if (($i >= $s))
572572 then $a
573573 else map($a, $l[$i])
574574
575575 func $f0_2 ($a,$i) = if (($i >= $s))
576576 then $a
577577 else throw("List size exceeds 40")
578578
579579 $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)
580580 }
581- if (($t02289622972 == $t02289622972))
581+ if (($t02309023166 == $t02309023166))
582582 then {
583- let rewardAmountTotal = $t02289622972._2
584- let lpAssetAmountTotal = $t02289622972._1
583+ let rewardAmountTotal = $t02309023166._2
584+ let lpAssetAmountTotal = $t02309023166._1
585585 let rewardToMainTreasuryAmount = (rewardAmountTotal - blockProcessingReward)
586586 let invested = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0)
587587 let actions = [invoke(factoryAddressOrFail, "reissue", [lpAssetAmountTotal], nil), invoke(factoryAddressOrFail, "integerEntry", [keyNextBlockToProcess(), (nextBlockToProcess + blocksProcessingBatchSize)], nil), invoke(factoryAddressOrFail, "transferFromProxyTreasury", [mainTreasuryAddressOrFail.bytes, rewardToMainTreasuryAmount], nil), invoke(factoryAddressOrFail, "transferFromProxyTreasury", [userAddressBytes, blockProcessingReward], nil), invoke(factoryAddressOrFail, "integerEntry", [keyInvested(unit), (invested + rewardToMainTreasuryAmount)], nil)]
588588 if ((actions == actions))
589589 then $Tuple2(nil, unit)
590590 else throw("Strict value is not equal to itself.")
591591 }
592592 else throw("Strict value is not equal to itself.")
593593 }
594594 else throw("Strict value is not equal to itself.")
595595 }
596596
597597
598598 @Verifier(tx)
599599 func verify () = {
600600 let publicKey = match getManagerPublicKeyOrUnit() {
601601 case pub: ByteVector =>
602602 pub
603603 case _ =>
604604 tx.senderPublicKey
605605 }
606606 sigVerify(tx.bodyBytes, tx.proofs[0], publicKey)
607607 }
608608

github/deemru/w8io/026f985 
114.63 ms