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:BwIxCAISAwoBAhIGCgQCAQEBEgUKAwEBARIDCgECEgMKAQISBAoCAgISBAoCAgISAwoBAiwAA1NFUAICX18ADUNPTlRSQUNUX05BTUUCD2NhbGN1bGF0b3IucmlkZQAGU0NBTEU4AIDC1y8AB1BFTkRJTkcCB1BFTkRJTkcACEZJTklTSEVEAghGSU5JU0hFRAAFV0FWRVMCBVdBVkVTAQd3cmFwRXJyAQFzCQCsAgIJAKwCAgUNQ09OVFJBQ1RfTkFNRQICOiAFAXMBCHRocm93RXJyAQFzCQACAQkBB3dyYXBFcnIBBQFzAQ9hc3NldElkVG9TdHJpbmcBB2Fzc2V0SWQEByRtYXRjaDAFB2Fzc2V0SWQDCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQBYgUHJG1hdGNoMAkA2AQBBQFiAwkAAQIFByRtYXRjaDACBFVuaXQFBVdBVkVTCQACAQILTWF0Y2ggZXJyb3IBA2FicwEBbgMJAGYCAAAFAW4JAQEtAQUBbgUBbgERa2V5RmFjdG9yeUFkZHJlc3MACQC5CQIJAMwIAgICJXMJAMwIAgIHZmFjdG9yeQUDbmlsBQNTR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View: original | compacted Prev: 2LTc4ktSWPxw6eYsLdCjMxgkDVmckBbHiHUA9qVpt7jh Next: none Diff:
Old | New | Differences | |
---|---|---|---|
341 | 341 | else if (if ((paymentOption != unit)) | |
342 | 342 | then (paymentAssetId == unit) | |
343 | 343 | else false) | |
344 | - | then (paymentAmount | |
344 | + | then (paymentAmount == paymentAmountMin) | |
345 | 345 | else false) | |
346 | 346 | then true | |
347 | - | else throwErr(("invalid payments, payment amount | |
347 | + | else throwErr(("invalid payments, payment amount should be: " + toString(paymentAmountMin))) | |
348 | 348 | if ((checkPayment == checkPayment)) | |
349 | 349 | then { | |
350 | 350 | let actions = if ((paymentOption != unit)) | |
399 | 399 | let payment = if ((size(i.payments) == 1)) | |
400 | 400 | then i.payments[0] | |
401 | 401 | else throwErr("invalid payments") | |
402 | - | let $ | |
402 | + | let $t01441214589 = if (if ((payment.assetId == unit)) | |
403 | 403 | then (payment.amount > 0) | |
404 | 404 | else false) | |
405 | 405 | then $Tuple2(payment.amount, payment.assetId) | |
406 | 406 | else throwErr("invalid payment amount") | |
407 | - | let paymentAmount = $ | |
408 | - | let paymentAssetId = $ | |
407 | + | let paymentAmount = $t01441214589._1 | |
408 | + | let paymentAssetId = $t01441214589._2 | |
409 | 409 | let lpAssetAmount = if ((currentPriceOrFail > 0)) | |
410 | 410 | then fraction(paymentAmount, SCALE8, currentPriceOrFail) | |
411 | 411 | else 0 | |
455 | 455 | let userAddress = Address(userAddressBytes) | |
456 | 456 | let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request")) | |
457 | 457 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
458 | - | let $ | |
459 | - | let status = $ | |
460 | - | let lpAssetAmount = $ | |
461 | - | let targetPeriod = $ | |
462 | - | let claimTxId = $ | |
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 | |
463 | 463 | let checks = [if ((status == PENDING)) | |
464 | 464 | then true | |
465 | 465 | else throwErr("invalid withdrawal request status"), if ((targetPeriod > currentPeriodOrFail)) | |
490 | 490 | let userAddress = Address(userAddressBytes) | |
491 | 491 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
492 | 492 | let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request")) | |
493 | - | let $ | |
494 | - | let status = $ | |
495 | - | let lpAssetAmount = $ | |
496 | - | let targetPeriod = $ | |
497 | - | let claimTxId = $ | |
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 | |
498 | 498 | if ((status == FINISHED)) | |
499 | 499 | then throwErr("invalid withdrawal request status") | |
500 | 500 | else if ((targetPeriod > currentPeriodOrFail)) | |
555 | 555 | 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)] | |
556 | 556 | if ((factoryActionsSingle == factoryActionsSingle)) | |
557 | 557 | then { | |
558 | - | let $ | |
559 | - | let lpAssetAcc = $ | |
560 | - | let rewardAcc = $ | |
558 | + | let $t02279022823 = acc | |
559 | + | let lpAssetAcc = $t02279022823._1 | |
560 | + | let rewardAcc = $t02279022823._2 | |
561 | 561 | $Tuple2((lpAssetAcc + lpAssetAmount), (rewardAcc + treasuryRewardOrFail)) | |
562 | 562 | } | |
563 | 563 | else throw("Strict value is not equal to itself.") | |
564 | 564 | } | |
565 | 565 | ||
566 | 566 | 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 $ | |
567 | + | let $t02309023166 = { | |
568 | 568 | let $l = list | |
569 | 569 | let $s = size($l) | |
570 | 570 | let $acc0 = $Tuple2(0, 0) | |
578 | 578 | ||
579 | 579 | $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) | |
580 | 580 | } | |
581 | - | if (($ | |
581 | + | if (($t02309023166 == $t02309023166)) | |
582 | 582 | then { | |
583 | - | let rewardAmountTotal = $ | |
584 | - | let lpAssetAmountTotal = $ | |
583 | + | let rewardAmountTotal = $t02309023166._2 | |
584 | + | let lpAssetAmountTotal = $t02309023166._1 | |
585 | 585 | let rewardToMainTreasuryAmount = (rewardAmountTotal - blockProcessingReward) | |
586 | 586 | let invested = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0) | |
587 | 587 | 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)] |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 7 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SEP = "__" | |
5 | 5 | ||
6 | 6 | let CONTRACT_NAME = "calculator.ride" | |
7 | 7 | ||
8 | 8 | let SCALE8 = 100000000 | |
9 | 9 | ||
10 | 10 | let PENDING = "PENDING" | |
11 | 11 | ||
12 | 12 | let FINISHED = "FINISHED" | |
13 | 13 | ||
14 | 14 | let WAVES = "WAVES" | |
15 | 15 | ||
16 | 16 | func wrapErr (s) = ((CONTRACT_NAME + ": ") + s) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func throwErr (s) = throw(wrapErr(s)) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func assetIdToString (assetId) = match assetId { | |
23 | 23 | case b: ByteVector => | |
24 | 24 | toBase58String(b) | |
25 | 25 | case _: Unit => | |
26 | 26 | WAVES | |
27 | 27 | case _ => | |
28 | 28 | throw("Match error") | |
29 | 29 | } | |
30 | 30 | ||
31 | 31 | ||
32 | 32 | func abs (n) = if ((0 > n)) | |
33 | 33 | then -(n) | |
34 | 34 | else n | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func keyFactoryAddress () = makeString(["%s", "factory"], SEP) | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func keyManagerPublicKey () = makeString(["%s", "managerPublicKey"], SEP) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func keyLpAssetId () = makeString(["%s", "lpAssetId"], SEP) | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func keyProxyTreasuryAddress () = makeString(["%s", "proxyTreasury"], SEP) | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func keyMainTreasuryAddress () = makeString(["%s", "mainTreasury"], SEP) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func keyInvested (assetId) = makeString(["%s%s", "invested", assetIdToString(assetId)], SEP) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func keyDonated (assetId) = makeString(["%s%s", "donated", assetIdToString(assetId)], SEP) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func keyAvailable (userAddress) = makeString(["%s%s", "available", toString(userAddress)], SEP) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func keyClaimed (userAddress) = makeString(["%s%s", "claimed", toString(userAddress)], SEP) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func keyCurrentPeriod () = makeString(["%s", "currentPeriod"], SEP) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func keyPriceForPeriod (period) = makeString(["%s%d", "price", toString(period)], SEP) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func keyStartHeight (period) = makeString(["%s%d", "startHeight", toString(period)], SEP) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func keyPowerManagerBonus (period) = makeString(["%s%d", "powerManagerBonus", toString(period)], SEP) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func keyPeriodLength () = "%s__periodLength" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func keyBlockProcessingReward () = "%s__blockProcessingReward" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func keyNextBlockToProcess () = "%s__nextBlockToProcess" | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func keyBlockProcessed (height) = makeString(["%s%d", "blockProcessed", toString(height)], SEP) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func keyWithdrawal () = "%s__withdrawal" | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func keyWithdrawalRequest (userAddress,txId) = makeString(["%s%s%s", "withdrawal", toString(userAddress), toBase58String(txId)], SEP) | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func valueWithdrawalRequest (status,lpAssetAmount,targetPeriod,claimTxId) = { | |
95 | 95 | let claimTxIdStr = match claimTxId { | |
96 | 96 | case b: ByteVector => | |
97 | 97 | toBase58String(b) | |
98 | 98 | case _: Unit => | |
99 | 99 | "SOON" | |
100 | 100 | case _ => | |
101 | 101 | throw("Match error") | |
102 | 102 | } | |
103 | 103 | makeString(["%s%d%d%s", status, toString(lpAssetAmount), toString(targetPeriod), claimTxIdStr], SEP) | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func parseWithdrawalRequestValueOrFail (s) = { | |
108 | 108 | let parts = split(s, SEP) | |
109 | 109 | if ((size(parts) == 5)) | |
110 | 110 | then { | |
111 | 111 | let status = parts[1] | |
112 | 112 | let lpAssetAmount = valueOrErrorMessage(parseInt(parts[2]), wrapErr("invalid lpAssetAmount")) | |
113 | 113 | let targetPeriod = valueOrErrorMessage(parseInt(parts[3]), wrapErr("invalid targetPeriod")) | |
114 | 114 | let claimTxId = parts[4] | |
115 | 115 | $Tuple4(status, lpAssetAmount, targetPeriod, claimTxId) | |
116 | 116 | } | |
117 | 117 | else throwErr("invalid withdrawal request value") | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | let factoryAddressOption = match getString(this, keyFactoryAddress()) { | |
122 | 122 | case s: String => | |
123 | 123 | addressFromString(s) | |
124 | 124 | case _: Unit => | |
125 | 125 | unit | |
126 | 126 | case _ => | |
127 | 127 | throw("Match error") | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | let factoryAddressOrFail = valueOrErrorMessage(factoryAddressOption, wrapErr("invalid factory address")) | |
131 | 131 | ||
132 | 132 | let lpAssetIdOption = match factoryAddressOption { | |
133 | 133 | case a: Address => | |
134 | 134 | match getString(a, keyLpAssetId()) { | |
135 | 135 | case s: String => | |
136 | 136 | fromBase58String(s) | |
137 | 137 | case _: Unit => | |
138 | 138 | unit | |
139 | 139 | case _ => | |
140 | 140 | throw("Match error") | |
141 | 141 | } | |
142 | 142 | case _: Unit => | |
143 | 143 | unit | |
144 | 144 | case _ => | |
145 | 145 | throw("Match error") | |
146 | 146 | } | |
147 | 147 | ||
148 | 148 | let lpAssetIdOrFail = valueOrErrorMessage(lpAssetIdOption, wrapErr("invalid lpAssetId")) | |
149 | 149 | ||
150 | 150 | let proxyTreasuryAddressOption = match factoryAddressOption { | |
151 | 151 | case a: Address => | |
152 | 152 | match getString(a, keyProxyTreasuryAddress()) { | |
153 | 153 | case s: String => | |
154 | 154 | addressFromString(s) | |
155 | 155 | case _: Unit => | |
156 | 156 | unit | |
157 | 157 | case _ => | |
158 | 158 | throw("Match error") | |
159 | 159 | } | |
160 | 160 | case _: Unit => | |
161 | 161 | unit | |
162 | 162 | case _ => | |
163 | 163 | throw("Match error") | |
164 | 164 | } | |
165 | 165 | ||
166 | 166 | let proxyTreasuryAddressOrFail = valueOrErrorMessage(proxyTreasuryAddressOption, wrapErr("invalid proxy treasury address")) | |
167 | 167 | ||
168 | 168 | let mainTreasuryAddressOption = match factoryAddressOption { | |
169 | 169 | case a: Address => | |
170 | 170 | match getString(a, keyMainTreasuryAddress()) { | |
171 | 171 | case s: String => | |
172 | 172 | addressFromString(s) | |
173 | 173 | case _: Unit => | |
174 | 174 | unit | |
175 | 175 | case _ => | |
176 | 176 | throw("Match error") | |
177 | 177 | } | |
178 | 178 | case _: Unit => | |
179 | 179 | unit | |
180 | 180 | case _ => | |
181 | 181 | throw("Match error") | |
182 | 182 | } | |
183 | 183 | ||
184 | 184 | let mainTreasuryAddressOrFail = valueOrErrorMessage(mainTreasuryAddressOption, wrapErr("invalid main treasury address")) | |
185 | 185 | ||
186 | 186 | func getManagerPublicKeyOrUnit () = match factoryAddressOption { | |
187 | 187 | case fa: Address => | |
188 | 188 | match getString(fa, keyManagerPublicKey()) { | |
189 | 189 | case pub: String => | |
190 | 190 | fromBase58String(pub) | |
191 | 191 | case _ => | |
192 | 192 | unit | |
193 | 193 | } | |
194 | 194 | case _ => | |
195 | 195 | unit | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func onlyAddress (i,address) = if ((i.caller == address)) | |
200 | 200 | then true | |
201 | 201 | else throwErr("permission denied") | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func onlyFactory (i) = onlyAddress(i, factoryAddressOrFail) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func rewardForOption (rewards,target) = { | |
208 | 208 | let s = size(rewards) | |
209 | 209 | let $t047354760 = rewards[0] | |
210 | 210 | let a0 = $t047354760._1 | |
211 | 211 | let r0 = $t047354760._2 | |
212 | 212 | let $t047634788 = rewards[1] | |
213 | 213 | let a1 = $t047634788._1 | |
214 | 214 | let r1 = $t047634788._2 | |
215 | 215 | let $t047914816 = rewards[2] | |
216 | 216 | let a2 = $t047914816._1 | |
217 | 217 | let r2 = $t047914816._2 | |
218 | 218 | if (if ((s > 0)) | |
219 | 219 | then (a0 == target) | |
220 | 220 | else false) | |
221 | 221 | then r0 | |
222 | 222 | else if (if ((s > 1)) | |
223 | 223 | then (a1 == target) | |
224 | 224 | else false) | |
225 | 225 | then r1 | |
226 | 226 | else if (if ((s > 2)) | |
227 | 227 | then (a2 == target) | |
228 | 228 | else false) | |
229 | 229 | then r2 | |
230 | 230 | else unit | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func finalizeINTERNAL (newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = { | |
235 | 235 | let donatedWavesAmount = valueOrElse(getInteger(factoryAddressOrFail, keyDonated(unit)), 0) | |
236 | 236 | let investedWavesAmount = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0) | |
237 | 237 | let currentTreasuryVolumeInWaves = (donatedWavesAmount + investedWavesAmount) | |
238 | 238 | let profitRaw = (newTreasuryVolumeInWaves - currentTreasuryVolumeInWaves) | |
239 | 239 | let pwrManagersBonusAmount = if (if ((profitRaw >= pwrManagersBonusInWaves)) | |
240 | 240 | then true | |
241 | 241 | else (pwrManagersBonusInWaves == 0)) | |
242 | 242 | then pwrManagersBonusInWaves | |
243 | 243 | else throwErr("power bonus is more than profit") | |
244 | 244 | let profit = (profitRaw - pwrManagersBonusAmount) | |
245 | 245 | let donationPart = if ((currentTreasuryVolumeInWaves > 0)) | |
246 | 246 | then fraction(donatedWavesAmount, SCALE8, currentTreasuryVolumeInWaves) | |
247 | 247 | else 0 | |
248 | 248 | let donationProfitPartRaw = fraction(profit, donationPart, SCALE8) | |
249 | 249 | let investmentProfitPartRaw = (profit - donationProfitPartRaw) | |
250 | 250 | let treasuryVolumeDiffAllocationCoefAbs = abs(treasuryVolumeDiffAllocationCoef) | |
251 | 251 | let amountToDonation = fraction(investmentProfitPartRaw, if ((0 > treasuryVolumeDiffAllocationCoef)) | |
252 | 252 | then treasuryVolumeDiffAllocationCoefAbs | |
253 | 253 | else 0, SCALE8) | |
254 | 254 | let amountToInvestment = fraction(donationProfitPartRaw, if ((treasuryVolumeDiffAllocationCoef > 0)) | |
255 | 255 | then treasuryVolumeDiffAllocationCoefAbs | |
256 | 256 | else 0, SCALE8) | |
257 | 257 | let donationProfitPart = ((donationProfitPartRaw - amountToInvestment) + amountToDonation) | |
258 | 258 | let investmentProfitPart = ((investmentProfitPartRaw - amountToDonation) + amountToInvestment) | |
259 | 259 | let donatedWavesAmountNewRaw = (donatedWavesAmount + donationProfitPart) | |
260 | 260 | let investedWavesAmountNewRaw = (investedWavesAmount + investmentProfitPart) | |
261 | 261 | let donatedPartDebt = min([0, donatedWavesAmountNewRaw]) | |
262 | 262 | let investedPartDebt = min([0, investedWavesAmountNewRaw]) | |
263 | 263 | let donatedWavesAmountNew = (max([0, donatedWavesAmountNewRaw]) + investedPartDebt) | |
264 | 264 | let investedWavesAmountNew = (max([0, investedWavesAmountNewRaw]) + donatedPartDebt) | |
265 | 265 | let lpAssetQuantity = valueOrErrorMessage(assetInfo(lpAssetIdOrFail), wrapErr("invalid lpAsset info")).quantity | |
266 | 266 | let newPrice = fraction(investedWavesAmountNew, SCALE8, lpAssetQuantity) | |
267 | 267 | let checkIfPriceNotZero = if ((newPrice != 0)) | |
268 | 268 | then true | |
269 | 269 | else throwErr("LP price cannot be 0") | |
270 | 270 | if ((checkIfPriceNotZero == checkIfPriceNotZero)) | |
271 | 271 | then { | |
272 | 272 | let lpAssetAmountToBurn = valueOrElse(getInteger(factoryAddressOrFail, keyWithdrawal()), 0) | |
273 | 273 | let paymentAmountMin = max([0, fraction(lpAssetAmountToBurn, newPrice, SCALE8)]) | |
274 | 274 | let finalInvestedWavesAmount = (investedWavesAmountNew - paymentAmountMin) | |
275 | 275 | let lpAssetFinalQuantity = (lpAssetQuantity - lpAssetAmountToBurn) | |
276 | 276 | $Tuple6(paymentAmountMin, finalInvestedWavesAmount, donatedWavesAmountNew, newPrice, lpAssetAmountToBurn, lpAssetFinalQuantity) | |
277 | 277 | } | |
278 | 278 | else throw("Strict value is not equal to itself.") | |
279 | 279 | } | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | @Callable(i) | |
283 | 283 | func claimLP (userAddressBytes) = { | |
284 | 284 | let checkCaller = onlyFactory(i) | |
285 | 285 | if ((checkCaller == checkCaller)) | |
286 | 286 | then { | |
287 | 287 | let userAddress = Address(userAddressBytes) | |
288 | 288 | let available = valueOrElse(getInteger(factoryAddressOrFail, keyAvailable(userAddress)), 0) | |
289 | 289 | let claimed = valueOrElse(getInteger(factoryAddressOrFail, keyClaimed(userAddress)), 0) | |
290 | 290 | let factoryActions = if ((available > 0)) | |
291 | 291 | then [invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, available, lpAssetIdOrFail], nil), invoke(factoryAddressOrFail, "integerEntry", [keyAvailable(userAddress), 0], nil), invoke(factoryAddressOrFail, "integerEntry", [keyClaimed(userAddress), (claimed + available)], nil)] | |
292 | 292 | else throwErr("nothing to claim") | |
293 | 293 | $Tuple2(nil, factoryActions) | |
294 | 294 | } | |
295 | 295 | else throw("Strict value is not equal to itself.") | |
296 | 296 | } | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | ||
300 | 300 | @Callable(i) | |
301 | 301 | func finalize (userAddressBytes,newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = { | |
302 | 302 | let checkCaller = onlyFactory(i) | |
303 | 303 | if ((checkCaller == checkCaller)) | |
304 | 304 | then { | |
305 | 305 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
306 | 306 | let periodLength = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPeriodLength()), wrapErr("invalid period length")) | |
307 | 307 | let currentStartHeight = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyStartHeight(currentPeriodOrFail)), wrapErr("invalid start height")) | |
308 | 308 | let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price")) | |
309 | 309 | let nextBlockToProcess = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyNextBlockToProcess()), wrapErr("invalid next block to process")) | |
310 | 310 | let periodEndHeight = ((currentStartHeight + periodLength) - 1) | |
311 | 311 | let checks = [if ((i.originCaller == mainTreasuryAddressOrFail)) | |
312 | 312 | then true | |
313 | 313 | else throwErr("permission denied"), if ((nextBlockToProcess > periodEndHeight)) | |
314 | 314 | then true | |
315 | 315 | else throwErr("unprocessed blocks"), if ((newTreasuryVolumeInWaves >= 0)) | |
316 | 316 | then true | |
317 | 317 | else throwErr("invalid new treasury volume"), if ((pwrManagersBonusInWaves >= 0)) | |
318 | 318 | then true | |
319 | 319 | else throwErr("invalid PWR managers bonus"), if (if ((treasuryVolumeDiffAllocationCoef >= -(SCALE8))) | |
320 | 320 | then (SCALE8 >= treasuryVolumeDiffAllocationCoef) | |
321 | 321 | else false) | |
322 | 322 | then true | |
323 | 323 | else throwErr("invalid treasury volume diff allocation coefficient")] | |
324 | 324 | if ((checks == checks)) | |
325 | 325 | then { | |
326 | 326 | let $t01028210543 = finalizeINTERNAL(newTreasuryVolumeInWaves, pwrManagersBonusInWaves, treasuryVolumeDiffAllocationCoef) | |
327 | 327 | let paymentAmountMin = $t01028210543._1 | |
328 | 328 | let finalInvestedWavesAmount = $t01028210543._2 | |
329 | 329 | let donatedWavesAmountNew = $t01028210543._3 | |
330 | 330 | let newPrice = $t01028210543._4 | |
331 | 331 | let lpAssetAmountToBurn = $t01028210543._5 | |
332 | 332 | let lpAssetFinalQuantity = $t01028210543._6 | |
333 | 333 | let newPeriod = (currentPeriodOrFail + 1) | |
334 | 334 | let paymentOption = if ((size(i.payments) > 0)) | |
335 | 335 | then i.payments[0] | |
336 | 336 | else unit | |
337 | 337 | let paymentAmount = value(paymentOption).amount | |
338 | 338 | let paymentAssetId = value(paymentOption).assetId | |
339 | 339 | let checkPayment = if (if ((paymentAmountMin == 0)) | |
340 | 340 | then true | |
341 | 341 | else if (if ((paymentOption != unit)) | |
342 | 342 | then (paymentAssetId == unit) | |
343 | 343 | else false) | |
344 | - | then (paymentAmount | |
344 | + | then (paymentAmount == paymentAmountMin) | |
345 | 345 | else false) | |
346 | 346 | then true | |
347 | - | else throwErr(("invalid payments, payment amount | |
347 | + | else throwErr(("invalid payments, payment amount should be: " + toString(paymentAmountMin))) | |
348 | 348 | if ((checkPayment == checkPayment)) | |
349 | 349 | then { | |
350 | 350 | let actions = if ((paymentOption != unit)) | |
351 | 351 | then [ScriptTransfer(factoryAddressOrFail, paymentAmount, paymentAssetId)] | |
352 | 352 | else nil | |
353 | 353 | 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)] | |
354 | 354 | $Tuple2(actions, factoryActions) | |
355 | 355 | } | |
356 | 356 | else throw("Strict value is not equal to itself.") | |
357 | 357 | } | |
358 | 358 | else throw("Strict value is not equal to itself.") | |
359 | 359 | } | |
360 | 360 | else throw("Strict value is not equal to itself.") | |
361 | 361 | } | |
362 | 362 | ||
363 | 363 | ||
364 | 364 | ||
365 | 365 | @Callable(i) | |
366 | 366 | func finalizeREADONLY (newTreasuryVolumeInWaves,pwrManagersBonusInWaves,treasuryVolumeDiffAllocationCoef) = { | |
367 | 367 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
368 | 368 | let periodLength = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPeriodLength()), wrapErr("invalid period length")) | |
369 | 369 | let currentStartHeight = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyStartHeight(currentPeriodOrFail)), wrapErr("invalid start height")) | |
370 | 370 | let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price")) | |
371 | 371 | let nextBlockToProcess = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyNextBlockToProcess()), wrapErr("invalid next block to process")) | |
372 | 372 | let periodEndHeight = ((currentStartHeight + periodLength) - 1) | |
373 | 373 | let checks = [if ((nextBlockToProcess > periodEndHeight)) | |
374 | 374 | then true | |
375 | 375 | else throwErr("unprocessed blocks"), if ((newTreasuryVolumeInWaves >= 0)) | |
376 | 376 | then true | |
377 | 377 | else throwErr("invalid new treasury volume"), if ((pwrManagersBonusInWaves >= 0)) | |
378 | 378 | then true | |
379 | 379 | else throwErr("invalid PWR managers bonus"), if (if ((treasuryVolumeDiffAllocationCoef >= -(SCALE8))) | |
380 | 380 | then (SCALE8 >= treasuryVolumeDiffAllocationCoef) | |
381 | 381 | else false) | |
382 | 382 | then true | |
383 | 383 | else throwErr("invalid treasury volume diff allocation coefficient")] | |
384 | 384 | if ((checks == checks)) | |
385 | 385 | then $Tuple2(nil, finalizeINTERNAL(newTreasuryVolumeInWaves, pwrManagersBonusInWaves, treasuryVolumeDiffAllocationCoef)) | |
386 | 386 | else throw("Strict value is not equal to itself.") | |
387 | 387 | } | |
388 | 388 | ||
389 | 389 | ||
390 | 390 | ||
391 | 391 | @Callable(i) | |
392 | 392 | func invest (userAddressBytes) = { | |
393 | 393 | let checkCaller = onlyFactory(i) | |
394 | 394 | if ((checkCaller == checkCaller)) | |
395 | 395 | then { | |
396 | 396 | let userAddress = Address(userAddressBytes) | |
397 | 397 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
398 | 398 | let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price")) | |
399 | 399 | let payment = if ((size(i.payments) == 1)) | |
400 | 400 | then i.payments[0] | |
401 | 401 | else throwErr("invalid payments") | |
402 | - | let $ | |
402 | + | let $t01441214589 = if (if ((payment.assetId == unit)) | |
403 | 403 | then (payment.amount > 0) | |
404 | 404 | else false) | |
405 | 405 | then $Tuple2(payment.amount, payment.assetId) | |
406 | 406 | else throwErr("invalid payment amount") | |
407 | - | let paymentAmount = $ | |
408 | - | let paymentAssetId = $ | |
407 | + | let paymentAmount = $t01441214589._1 | |
408 | + | let paymentAssetId = $t01441214589._2 | |
409 | 409 | let lpAssetAmount = if ((currentPriceOrFail > 0)) | |
410 | 410 | then fraction(paymentAmount, SCALE8, currentPriceOrFail) | |
411 | 411 | else 0 | |
412 | 412 | let invested = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0) | |
413 | 413 | let actions = [ScriptTransfer(mainTreasuryAddressOrFail, paymentAmount, paymentAssetId)] | |
414 | 414 | let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyInvested(unit), (invested + paymentAmount)], nil), invoke(factoryAddressOrFail, "reissue", [lpAssetAmount], nil), invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, lpAssetAmount, lpAssetIdOrFail], nil)] | |
415 | 415 | $Tuple2(actions, factoryActions) | |
416 | 416 | } | |
417 | 417 | else throw("Strict value is not equal to itself.") | |
418 | 418 | } | |
419 | 419 | ||
420 | 420 | ||
421 | 421 | ||
422 | 422 | @Callable(i) | |
423 | 423 | func withdraw (userAddressBytes) = { | |
424 | 424 | let checkCaller = onlyFactory(i) | |
425 | 425 | if ((checkCaller == checkCaller)) | |
426 | 426 | then { | |
427 | 427 | let userAddress = Address(userAddressBytes) | |
428 | 428 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
429 | 429 | let payment = if ((size(i.payments) == 1)) | |
430 | 430 | then i.payments[0] | |
431 | 431 | else throwErr(wrapErr("invalid payments")) | |
432 | 432 | let paymentAssetId = if ((payment.assetId == lpAssetIdOrFail)) | |
433 | 433 | then lpAssetIdOrFail | |
434 | 434 | else throwErr("invalid payment asset") | |
435 | 435 | let paymentAmount = if ((payment.amount > 0)) | |
436 | 436 | then payment.amount | |
437 | 437 | else throwErr("invalid payment amount") | |
438 | 438 | let withdrawal = valueOrElse(getInteger(factoryAddressOrFail, keyWithdrawal()), 0) | |
439 | 439 | let actions = [ScriptTransfer(factoryAddressOrFail, paymentAmount, paymentAssetId)] | |
440 | 440 | let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyWithdrawal(), (withdrawal + paymentAmount)], nil), invoke(factoryAddressOrFail, "stringEntry", [keyWithdrawalRequest(userAddress, i.transactionId), valueWithdrawalRequest(PENDING, paymentAmount, (currentPeriodOrFail + 1), unit)], nil)] | |
441 | 441 | if ((factoryActions == factoryActions)) | |
442 | 442 | then $Tuple2(actions, factoryActions) | |
443 | 443 | else throw("Strict value is not equal to itself.") | |
444 | 444 | } | |
445 | 445 | else throw("Strict value is not equal to itself.") | |
446 | 446 | } | |
447 | 447 | ||
448 | 448 | ||
449 | 449 | ||
450 | 450 | @Callable(i) | |
451 | 451 | func cancelWithdraw (userAddressBytes,txId) = { | |
452 | 452 | let checkCaller = onlyFactory(i) | |
453 | 453 | if ((checkCaller == checkCaller)) | |
454 | 454 | then { | |
455 | 455 | let userAddress = Address(userAddressBytes) | |
456 | 456 | let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request")) | |
457 | 457 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
458 | - | let $ | |
459 | - | let status = $ | |
460 | - | let lpAssetAmount = $ | |
461 | - | let targetPeriod = $ | |
462 | - | let claimTxId = $ | |
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 | |
463 | 463 | let checks = [if ((status == PENDING)) | |
464 | 464 | then true | |
465 | 465 | else throwErr("invalid withdrawal request status"), if ((targetPeriod > currentPeriodOrFail)) | |
466 | 466 | then true | |
467 | 467 | else throwErr("invalid withdrawal request period")] | |
468 | 468 | if ((checks == checks)) | |
469 | 469 | then { | |
470 | 470 | let withdrawal = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyWithdrawal()), wrapErr("invalid total withdrawal amount")) | |
471 | 471 | let factoryActions = [invoke(factoryAddressOrFail, "integerEntry", [keyWithdrawal(), if ((withdrawal >= lpAssetAmount)) | |
472 | 472 | then (withdrawal - lpAssetAmount) | |
473 | 473 | else throwErr("invalid withdrawal amount")], nil), invoke(factoryAddressOrFail, "deleteEntry", [keyWithdrawalRequest(userAddress, txId)], nil), invoke(factoryAddressOrFail, "transferAsset", [userAddressBytes, lpAssetAmount, lpAssetIdOrFail], nil)] | |
474 | 474 | if ((factoryActions == factoryActions)) | |
475 | 475 | then $Tuple2(nil, factoryActions) | |
476 | 476 | else throw("Strict value is not equal to itself.") | |
477 | 477 | } | |
478 | 478 | else throw("Strict value is not equal to itself.") | |
479 | 479 | } | |
480 | 480 | else throw("Strict value is not equal to itself.") | |
481 | 481 | } | |
482 | 482 | ||
483 | 483 | ||
484 | 484 | ||
485 | 485 | @Callable(i) | |
486 | 486 | func claimWaves (userAddressBytes,txId) = { | |
487 | 487 | let checkCaller = onlyFactory(i) | |
488 | 488 | if ((checkCaller == checkCaller)) | |
489 | 489 | then { | |
490 | 490 | let userAddress = Address(userAddressBytes) | |
491 | 491 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
492 | 492 | let withdrawalRequestOption = valueOrErrorMessage(getString(factoryAddressOrFail, keyWithdrawalRequest(userAddress, txId)), wrapErr("invalid withdrawal request")) | |
493 | - | let $ | |
494 | - | let status = $ | |
495 | - | let lpAssetAmount = $ | |
496 | - | let targetPeriod = $ | |
497 | - | let claimTxId = $ | |
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 | |
498 | 498 | if ((status == FINISHED)) | |
499 | 499 | then throwErr("invalid withdrawal request status") | |
500 | 500 | else if ((targetPeriod > currentPeriodOrFail)) | |
501 | 501 | then throwErr("invalid withdrawal request period") | |
502 | 502 | else { | |
503 | 503 | let priceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(targetPeriod)), wrapErr("invalid price")) | |
504 | 504 | let amount = if ((priceOrFail > 0)) | |
505 | 505 | then fraction(lpAssetAmount, priceOrFail, SCALE8) | |
506 | 506 | else 0 | |
507 | 507 | let factoryActions = [invoke(factoryAddressOrFail, "stringEntry", [keyWithdrawalRequest(userAddress, txId), valueWithdrawalRequest(FINISHED, lpAssetAmount, targetPeriod, i.transactionId)], nil), invoke(factoryAddressOrFail, "transferWaves", [userAddressBytes, amount], nil)] | |
508 | 508 | $Tuple2(nil, factoryActions) | |
509 | 509 | } | |
510 | 510 | } | |
511 | 511 | else throw("Strict value is not equal to itself.") | |
512 | 512 | } | |
513 | 513 | ||
514 | 514 | ||
515 | 515 | ||
516 | 516 | @Callable(i) | |
517 | 517 | func processBlocks (userAddressBytes) = { | |
518 | 518 | let checkCaller = onlyFactory(i) | |
519 | 519 | if ((checkCaller == checkCaller)) | |
520 | 520 | then { | |
521 | 521 | let userAddress = Address(userAddressBytes) | |
522 | 522 | let currentPeriodOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyCurrentPeriod()), wrapErr("invalid period")) | |
523 | 523 | let periodLength = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPeriodLength()), wrapErr("invalid period length")) | |
524 | 524 | let currentStartHeight = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyStartHeight(currentPeriodOrFail)), wrapErr("invalid start height")) | |
525 | 525 | let currentPriceOrFail = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyPriceForPeriod(currentPeriodOrFail)), wrapErr("invalid price")) | |
526 | 526 | let nextBlockToProcess = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyNextBlockToProcess()), wrapErr("invalid next block to process")) | |
527 | 527 | let periodEndHeight = ((currentStartHeight + periodLength) - 1) | |
528 | 528 | let blocksProcessingBatchSizeMax = 40 | |
529 | 529 | let blocksProcessingBatchSize = if (if (if ((height >= nextBlockToProcess)) | |
530 | 530 | then if ((nextBlockToProcess >= currentStartHeight)) | |
531 | 531 | then true | |
532 | 532 | else (currentPeriodOrFail == 0) | |
533 | 533 | else false) | |
534 | 534 | then (periodEndHeight >= nextBlockToProcess) | |
535 | 535 | else false) | |
536 | 536 | then min([((periodEndHeight - nextBlockToProcess) + 1), blocksProcessingBatchSizeMax]) | |
537 | 537 | else throwErr(wrapErr("invalid target block")) | |
538 | 538 | let blockProcessingReward = valueOrErrorMessage(getInteger(factoryAddressOrFail, keyBlockProcessingReward()), wrapErr("invalid block processing reward")) | |
539 | 539 | let blockProcessingRewardByGenerator = (blockProcessingReward / blocksProcessingBatchSize) | |
540 | 540 | let blockProcessingRewardByGeneratorRemainder = (blockProcessingReward - (blockProcessingRewardByGenerator * blocksProcessingBatchSize)) | |
541 | 541 | func map (acc,inc) = if ((inc >= blocksProcessingBatchSize)) | |
542 | 542 | then acc | |
543 | 543 | else { | |
544 | 544 | let targetBlockHeight = (nextBlockToProcess + inc) | |
545 | 545 | let targetBlockInfo = valueOrErrorMessage(blockInfoByHeight(targetBlockHeight), wrapErr("invalid block info")) | |
546 | 546 | let treasuryRewardOrFail = valueOrErrorMessage(rewardForOption(targetBlockInfo.rewards, proxyTreasuryAddressOrFail), wrapErr(("invalid treasury reward for height " + toString(targetBlockHeight)))) | |
547 | 547 | let generator = targetBlockInfo.generator | |
548 | 548 | let available = valueOrElse(getInteger(factoryAddressOrFail, keyAvailable(generator)), 0) | |
549 | 549 | let callerReward = if ((inc == (blocksProcessingBatchSize - 1))) | |
550 | 550 | then (blockProcessingRewardByGenerator + blockProcessingRewardByGeneratorRemainder) | |
551 | 551 | else blockProcessingRewardByGenerator | |
552 | 552 | let lpAssetAmount = if ((currentPriceOrFail > 0)) | |
553 | 553 | then fraction((treasuryRewardOrFail - callerReward), SCALE8, currentPriceOrFail) | |
554 | 554 | else 0 | |
555 | 555 | 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)] | |
556 | 556 | if ((factoryActionsSingle == factoryActionsSingle)) | |
557 | 557 | then { | |
558 | - | let $ | |
559 | - | let lpAssetAcc = $ | |
560 | - | let rewardAcc = $ | |
558 | + | let $t02279022823 = acc | |
559 | + | let lpAssetAcc = $t02279022823._1 | |
560 | + | let rewardAcc = $t02279022823._2 | |
561 | 561 | $Tuple2((lpAssetAcc + lpAssetAmount), (rewardAcc + treasuryRewardOrFail)) | |
562 | 562 | } | |
563 | 563 | else throw("Strict value is not equal to itself.") | |
564 | 564 | } | |
565 | 565 | ||
566 | 566 | 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 $ | |
567 | + | let $t02309023166 = { | |
568 | 568 | let $l = list | |
569 | 569 | let $s = size($l) | |
570 | 570 | let $acc0 = $Tuple2(0, 0) | |
571 | 571 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
572 | 572 | then $a | |
573 | 573 | else map($a, $l[$i]) | |
574 | 574 | ||
575 | 575 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
576 | 576 | then $a | |
577 | 577 | else throw("List size exceeds 40") | |
578 | 578 | ||
579 | 579 | $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) | |
580 | 580 | } | |
581 | - | if (($ | |
581 | + | if (($t02309023166 == $t02309023166)) | |
582 | 582 | then { | |
583 | - | let rewardAmountTotal = $ | |
584 | - | let lpAssetAmountTotal = $ | |
583 | + | let rewardAmountTotal = $t02309023166._2 | |
584 | + | let lpAssetAmountTotal = $t02309023166._1 | |
585 | 585 | let rewardToMainTreasuryAmount = (rewardAmountTotal - blockProcessingReward) | |
586 | 586 | let invested = valueOrElse(getInteger(factoryAddressOrFail, keyInvested(unit)), 0) | |
587 | 587 | 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)] | |
588 | 588 | if ((actions == actions)) | |
589 | 589 | then $Tuple2(nil, unit) | |
590 | 590 | else throw("Strict value is not equal to itself.") | |
591 | 591 | } | |
592 | 592 | else throw("Strict value is not equal to itself.") | |
593 | 593 | } | |
594 | 594 | else throw("Strict value is not equal to itself.") | |
595 | 595 | } | |
596 | 596 | ||
597 | 597 | ||
598 | 598 | @Verifier(tx) | |
599 | 599 | func verify () = { | |
600 | 600 | let publicKey = match getManagerPublicKeyOrUnit() { | |
601 | 601 | case pub: ByteVector => | |
602 | 602 | pub | |
603 | 603 | case _ => | |
604 | 604 | tx.senderPublicKey | |
605 | 605 | } | |
606 | 606 | sigVerify(tx.bodyBytes, tx.proofs[0], publicKey) | |
607 | 607 | } | |
608 | 608 |
github/deemru/w8io/026f985 114.63 ms ◑