tx · Aqmuci6fL5PojJrf43RGNjGPNmvUYNQaiDF2kMgcfgD8

3MwK6nw9HMwuKbXxu6J1rfecvePPd3JyAje:  -0.02900000 Waves

2022.12.01 15:22 [2341267] smart account 3MwK6nw9HMwuKbXxu6J1rfecvePPd3JyAje > SELF 0.00000000 Waves

{ "type": 13, "id": "Aqmuci6fL5PojJrf43RGNjGPNmvUYNQaiDF2kMgcfgD8", "fee": 2900000, "feeAssetId": null, "timestamp": 1669897416092, "version": 1, "sender": "3MwK6nw9HMwuKbXxu6J1rfecvePPd3JyAje", "senderPublicKey": "8JB75GXEKqxmpXc6KVtT9UNqJ3BBSUZDodYD4DU7CUUB", "proofs": [ "rCH1m1dzwxfSM2eaNeGqLcGTU292uzXA9b8eswJM2UwuDENWmc6cDcYYPKtZvCFcKA76DfLU9BAN8uy9aqEvjX2" ], "script": "base64:AAIFAAAAAAAAEMsIAhIJCgcBAQEBAQgBEgASBAoCCAgSAwoBCBIECgIICBIECgIICBIDCgEIEgAiD2dldFN0cmluZ09yRmFpbCIDa2V5IgNTRVAiCEJVRlNDQUxFIgZzY2FsZTgiCHRocm93RXJyIgNtc2ciCGFzU3RyaW5nIgN2YWwiByRtYXRjaDAiBnZhbFN0ciIdY29udmVydFByaWNlQXNzZXRJbnRvSWRvQXNzZXQiEHByaWNlQXNzZXRBbW91bnQiDnByaWNlQXNzZXRNVUxUIgVwcmljZSIJcHJpY2VNVUxUIgxpZG9Bc3NldE1VTFQiD2JQcmljZUFzc2V0TVVMVCINYklkb0Fzc2V0TVVMVCIOYlByaWNlQXNzZXRCVUYiD2JBbW91bnRBc3NldEJVRiIOSWR4Q2ZnSWRvU3RhcnQiEUlkeENmZ0lkb0R1cmF0aW9uIhBJZHhDZmdDbGFpbVN0YXJ0IhNJZHhDZmdDbGFpbUR1cmF0aW9uIgtJZHhDZmdQcmljZSIPSWR4Q2ZnUHJpY2VNdWx0IhBJZHhDZmdJZG9Bc3NldElkIhJJZHhDZmdJZG9Bc3NldE11bH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AAAEAAAACZHQBAAAAAmR1AAAAAAQAAAACZHYEAAAAAWoJAQAAAAJjagAAAAADCQAAAQAAAAIFAAAAAWoCAAAACkJ5dGVWZWN0b3IEAAAAAmNwBQAAAAFqBQAAAAJjcAMJAAABAAAAAgUAAAABagIAAAAEVW5pdAgFAAAAAmR0AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACZHQAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJkdAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmR2JEhJ4Q==", "chainId": 84, "height": 2341267, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9Mx9R9aNdJeFJSvvdTZWcgdBHgmTEUQhBRQMw9fafGWz Next: 3qVpbLgH1XXgcJv1KY7LFWoBpPTjSKgeoHaH79jeWWjq Diff:
OldNewDifferences
511511 if ((evaluateResult == evaluateResult))
512512 then {
513513 let periodMinAvailableToClaim = parseIntValue(evaluateResult[2])
514- let check = if ((periodMinAvailableToClaim == 0))
514+ let checkUnclaimedAssets = if ((periodMinAvailableToClaim == 0))
515515 then true
516516 else throwErr("user have unclaimed assets")
517- if ((check == check))
517+ if ((checkUnclaimedAssets == checkUnclaimedAssets))
518518 then {
519519 let investor = split(value(getString(keyInvestor(userAddress58))), SEP)
520520 let investorTotalAmount = parseIntValue(investor[IdxInvTotalAmount])
571571 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
572572 let priceAssetBalanceIdoDecimals = (priceAssetBalance * 100)
573573 let availableIdoAmountToClaimWithPriceAssetBalance = (availableIdoAmountToClaim + priceAssetBalanceIdoDecimals)
574- let $t03058831000 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
575- let periodMinAvailableToClaim = $t03058831000._1
576- let periodTotalAvailableToClaim = $t03058831000._2
577- let periodUserAvailableToClaim = $t03058831000._3
578- let totalUserAvailableToClaim = $t03058831000._4
579- let usdtPriceAssetAllowableRatio = $t03058831000._5
580- let currentUsdtPriceAssetRatio = $t03058831000._6
581- let endPeriodBlocksLeft = $t03058831000._7
582- let updatedCurrentPeriod = $t03058831000._8
583- let periodStart = $t03058831000._9
584- let periodEnd = $t03058831000._10
574+ let $t03060331015 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
575+ let periodMinAvailableToClaim = $t03060331015._1
576+ let periodTotalAvailableToClaim = $t03060331015._2
577+ let periodUserAvailableToClaim = $t03060331015._3
578+ let totalUserAvailableToClaim = $t03060331015._4
579+ let usdtPriceAssetAllowableRatio = $t03060331015._5
580+ let currentUsdtPriceAssetRatio = $t03060331015._6
581+ let endPeriodBlocksLeft = $t03060331015._7
582+ let updatedCurrentPeriod = $t03060331015._8
583+ let periodStart = $t03060331015._9
584+ let periodEnd = $t03060331015._10
585585 let currentPeriodEndHeight = valueOrElse(getInteger(keyPeriodEndHeight(updatedCurrentPeriod)), 0)
586586 let userTotalPriceAssetClaimed = (parseIntValue(readInvestorArrayOrFail(userAddress58)[IdxInvClaimedPriceAssetAmount]) - priceAssetBalance)
587587 let resultString = if ((height > currentPeriodEndHeight))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined"))
55
66
77 let SEP = "__"
88
99 let BUFSCALE = toBigInt(1000000000000000000)
1010
1111 let scale8 = 100000000
1212
1313 func throwErr (msg) = throw(makeString(["ido.ride:", msg], " "))
1414
1515
1616 func asString (val) = match val {
1717 case valStr: String =>
1818 valStr
1919 case _ =>
2020 throw("fail to cast into String")
2121 }
2222
2323
2424 func convertPriceAssetIntoIdoAsset (priceAssetAmount,priceAssetMULT,price,priceMULT,idoAssetMULT) = {
2525 let bPriceAssetMULT = toBigInt(priceAssetMULT)
2626 let bIdoAssetMULT = toBigInt(idoAssetMULT)
2727 let bPriceAssetBUF = fraction(toBigInt(priceAssetAmount), BUFSCALE, bPriceAssetMULT)
2828 let bAmountAssetBUF = fraction(bPriceAssetBUF, toBigInt(priceMULT), toBigInt(price))
2929 toInt(fraction(bAmountAssetBUF, toBigInt(idoAssetMULT), BUFSCALE))
3030 }
3131
3232
3333 let IdxCfgIdoStart = 1
3434
3535 let IdxCfgIdoDuration = 2
3636
3737 let IdxCfgClaimStart = 3
3838
3939 let IdxCfgClaimDuration = 4
4040
4141 let IdxCfgPrice = 5
4242
4343 let IdxCfgPriceMult = 6
4444
4545 let IdxCfgIdoAssetId = 7
4646
4747 let IdxCfgIdoAssetMult = 8
4848
4949 let IdxCfgPriceAssetId = 9
5050
5151 let IdxCfgPriceAssetMult = 10
5252
5353 let IdxCfgMinInvestAmount = 11
5454
5555 func fromatConfigS (idoStart,idoDuration,claimStart,claimDuration,price,priceMult,idoAssetId58,idoAssetMult,priceAssetId58,priceAssetMult,minInvestAmount,totalIdoAssetToSell) = makeString(["%d%d%d%d%d%d%s%d%s%d%d%d", idoStart, idoDuration, claimStart, claimDuration, price, priceMult, idoAssetId58, idoAssetMult, priceAssetId58, priceAssetMult, minInvestAmount, totalIdoAssetToSell], SEP)
5656
5757
5858 func fromatConfig (idoStart,idoDuration,claimStart,claimDuration,price,priceMult,idoAssetId58,idoAssetMult,priceAssetId58,priceAssetMult,minInvestAmount,totalIdoAssetToSell) = fromatConfigS(toString(idoStart), toString(idoDuration), toString(claimStart), toString(claimDuration), toString(price), toString(priceMult), idoAssetId58, toString(idoAssetMult), priceAssetId58, toString(priceAssetMult), toString(minInvestAmount), toString(totalIdoAssetToSell))
5959
6060
6161 let IdxInvTotalAmount = 1
6262
6363 let IdxInvRemainingAmount = 2
6464
6565 let IdxInvClaimedPriceAssetAmount = 3
6666
6767 let IdxInvClaimedIdoAssetAmount = 4
6868
6969 let IdxInvLastClaimedHeight = 5
7070
7171 func formatInvestorS (totalAmount,remainingAmount,claimedPriceAssetAmount,claimedIdoAssetAmount,lastClaimedHeight) = makeString(["%d%d%d%d%d", totalAmount, remainingAmount, claimedPriceAssetAmount, claimedIdoAssetAmount, lastClaimedHeight], SEP)
7272
7373
7474 func formatInvestor (totalAmount,remainingAmount,claimedPriceAssetAmount,claimedIdoAssetAmount,lastClaimedHeight) = formatInvestorS(toString(totalAmount), toString(remainingAmount), toString(claimedPriceAssetAmount), toString(claimedIdoAssetAmount), toString(lastClaimedHeight))
7575
7676
7777 func formatHistoryRecord (priceAssetAmount,idoAssetAmount) = makeString(["%d%d%d%d", toString(height), toString(lastBlock.timestamp), toString(priceAssetAmount), toString(idoAssetAmount)], SEP)
7878
7979
8080 func keyConfig () = "%s__config"
8181
8282
8383 func keyInvestor (userAddress) = ("%s__" + userAddress)
8484
8585
8686 func keyTotals () = "%s__totals"
8787
8888
8989 func keyOperationHistoryRecord (type,userAddress,txId58) = makeString(["%s%s%s%s__history", type, userAddress, txId58], SEP)
9090
9191
9292 func keyUSDNClaimDisabled () = "%s__usdnClaimDisabled"
9393
9494
9595 func keyUSDNClaimEndHeight () = "%s__usdnClaimEndHeight"
9696
9797
9898 func keyPeriodLength () = makeString(["%s", "periodLength"], SEP)
9999
100100
101101 func keyCurrentPeriod () = makeString(["%s", "currentPeriod"], SEP)
102102
103103
104104 func keyPeriodStartHeight (periodNum) = makeString(["%s%s", "periodStartHeight", toString(periodNum)], SEP)
105105
106106
107107 func keyPeriodEndHeight (periodNum) = makeString(["%s%s", "periodEndHeight", toString(periodNum)], SEP)
108108
109109
110110 func keyUsdtPriceAssetAllowableRatio () = makeString(["%s", "usdtPriceAssetAllowableRatio"], SEP)
111111
112112
113113 func keyTotalPeriodAllowance (assetId) = makeString(["%s%s", "totalPeriodAllowance", assetId], SEP)
114114
115115
116116 func keyUserPeriodAllowance (assetId) = makeString(["%s%s", "userPeriodAllowance", assetId], SEP)
117117
118118
119119 func keyPeriodTotalAvailableToClaim (assetId,periodNum) = makeString(["%s%s%s", "periodTotalAvailableToClaim", assetId, toString(periodNum)], SEP)
120120
121121
122122 func keyPeriodUserAvailableToClaim (assetId,periodNum,userAddress) = makeString(["%s%s%s%s", "periodUserAvailableToClaim", assetId, toString(periodNum), userAddress], SEP)
123123
124124
125125 func keyUsdtPriceAssetStablePool () = makeString(["%s", "usdtPriceAssetStablePool"], SEP)
126126
127127
128128 func keyUsdtAssetId () = makeString(["%s", "usdtAssetId"], SEP)
129129
130130
131131 func keyPriceAssetBalance (address) = makeString(["%s%s", "priceAssetBalance", address], SEP)
132132
133133
134134 func keyManagerPublicKey () = "%s__managerPublicKey"
135135
136136
137137 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
138138
139139
140140 func readConfigArray () = split(getStringOrFail(keyConfig()), SEP)
141141
142142
143143 func readTotalsArrayOrDefaultByCustomKey (customKey) = split(valueOrElse(getString(customKey), formatInvestorS("0", "0", "0", "0", "0")), SEP)
144144
145145
146146 func readTotalsArrayOrDefault () = readTotalsArrayOrDefaultByCustomKey(keyTotals())
147147
148148
149149 func readInvestorArrayOrDefault (userAddress) = readTotalsArrayOrDefaultByCustomKey(keyInvestor(userAddress))
150150
151151
152152 func readInvestorArrayOrFail (userAddress) = split(getStringOrFail(keyInvestor(userAddress)), SEP)
153153
154154
155155 let IdxDiffTotalIncrement = 0
156156
157157 let IdxDiffRemainingPriceAmountIncrement = 1
158158
159159 let IdxDiffClaimedPriceAmountIncrement = 2
160160
161161 let IdxDiffClaimedIdoAssetAmountIncrement = 3
162162
163163 func TotalsEntry (key,origArray,incrementDiff,newLastClaimedHeight,priceAssetBalance) = {
164164 let totalAmount = parseIntValue(origArray[IdxInvTotalAmount])
165165 let remainingAmount = parseIntValue(origArray[IdxInvRemainingAmount])
166166 let claimedPriceAssetAmount = parseIntValue(origArray[IdxInvClaimedPriceAssetAmount])
167167 let claimedIdoAssetAmount = parseIntValue(origArray[IdxInvClaimedIdoAssetAmount])
168168 let lastClaimedHeight = parseIntValue(origArray[IdxInvLastClaimedHeight])
169169 let newTotalAmount = (totalAmount + incrementDiff[IdxDiffTotalIncrement])
170170 let newRemainingAmount = (remainingAmount + incrementDiff[IdxDiffRemainingPriceAmountIncrement])
171171 let cfgArray = readConfigArray()
172172 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
173173 let priceAssetDecimals = value(assetInfo(fromBase58String(priceAssetId58))).decimals
174174 let priceAssetBalancePriceAssetDecimals = fraction(priceAssetBalance, scale8, pow(10, 0, priceAssetDecimals, 0, 0, DOWN))
175175 let newClaimedPriceAssetAmount = ((claimedPriceAssetAmount + incrementDiff[IdxDiffClaimedPriceAmountIncrement]) - priceAssetBalance)
176176 let newClaimedIdoAssetAmount = ((claimedIdoAssetAmount + incrementDiff[IdxDiffClaimedIdoAssetAmountIncrement]) + priceAssetBalancePriceAssetDecimals)
177177 let entries = if ((0 > newRemainingAmount))
178178 then {
179179 let diff = ((newTotalAmount - newClaimedPriceAssetAmount) - newClaimedIdoAssetAmount)
180180 let newLogicRemainingAmount = if ((0 > diff))
181181 then 0
182182 else diff
183183 StringEntry(key, formatInvestor(newTotalAmount, newLogicRemainingAmount, newClaimedPriceAssetAmount, newClaimedIdoAssetAmount, newLastClaimedHeight))
184184 }
185185 else StringEntry(key, formatInvestor(newTotalAmount, newRemainingAmount, newClaimedPriceAssetAmount, newClaimedIdoAssetAmount, newLastClaimedHeight))
186186 entries
187187 }
188188
189189
190190 func InvestOperationHistoryEntry (userAddress,priceAssetAmount,idoAssetAmount,txId) = StringEntry(keyOperationHistoryRecord("invest", userAddress, toBase58String(txId)), formatHistoryRecord(priceAssetAmount, idoAssetAmount))
191191
192192
193193 func ClaimOperationHistoryEntry (userAddress,priceAssetAmount,idoAssetAmount,txId) = StringEntry(keyOperationHistoryRecord("claim", userAddress, toBase58String(txId)), formatHistoryRecord(priceAssetAmount, idoAssetAmount))
194194
195195
196196 func internalClaim (claimedAssetId58,userAddress,txId) = {
197197 let cfgArray = readConfigArray()
198198 let claimStart = parseIntValue(cfgArray[IdxCfgClaimStart])
199199 let claimDuration = parseIntValue(cfgArray[IdxCfgClaimDuration])
200200 let claimEnd = (claimStart + claimDuration)
201201 let price = parseIntValue(cfgArray[IdxCfgPrice])
202202 let priceMult = parseIntValue(cfgArray[IdxCfgPriceMult])
203203 let idoAssetId58 = cfgArray[IdxCfgIdoAssetId]
204204 let idoAssetId = fromBase58String(idoAssetId58)
205205 let idoAssetMult = parseIntValue(cfgArray[IdxCfgIdoAssetMult])
206206 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
207207 let priceAssetId = fromBase58String(priceAssetId58)
208208 let priceAssetMult = parseIntValue(cfgArray[IdxCfgPriceAssetMult])
209209 let userAddress58 = toString(userAddress)
210210 let origInvestArray = readInvestorArrayOrFail(userAddress58)
211211 let investTotalAmount = parseIntValue(origInvestArray[IdxInvTotalAmount])
212212 let investLastClaimedHeightTMP = parseIntValue(origInvestArray[IdxInvLastClaimedHeight])
213213 let investLastClaimedHeight = if ((claimStart >= investLastClaimedHeightTMP))
214214 then claimStart
215215 else investLastClaimedHeightTMP
216216 let newClaimPeriodHeight = if ((height > claimEnd))
217217 then claimEnd
218218 else if ((claimStart > height))
219219 then claimStart
220220 else height
221221 let claimingBlocks = (newClaimPeriodHeight - investLastClaimedHeight)
222222 let claimingPriceAssetAmount = fraction(investTotalAmount, claimingBlocks, claimDuration)
223223 let claimingIdoAssetAmount = convertPriceAssetIntoIdoAsset(claimingPriceAssetAmount, priceAssetMult, price, priceMult, idoAssetMult)
224224 let isUSDN = (claimedAssetId58 == priceAssetId58)
225225 let isUSDNClaimDisabled = valueOrElse(getBoolean(keyUSDNClaimDisabled()), false)
226226 let checks = [if (!(if (isUSDN)
227227 then isUSDNClaimDisabled
228228 else false))
229229 then true
230230 else throw("USDN claim is disabled")]
231231 if ((checks == checks))
232232 then if ((claimedAssetId58 == priceAssetId58))
233233 then $Tuple6([0, -(claimingPriceAssetAmount), claimingPriceAssetAmount, 0], claimingPriceAssetAmount, priceAssetId, origInvestArray, newClaimPeriodHeight, [claimingPriceAssetAmount, claimingIdoAssetAmount])
234234 else if ((claimedAssetId58 == idoAssetId58))
235235 then $Tuple6([0, -(claimingPriceAssetAmount), 0, claimingIdoAssetAmount], claimingIdoAssetAmount, idoAssetId, origInvestArray, newClaimPeriodHeight, [claimingPriceAssetAmount, claimingIdoAssetAmount])
236236 else throw(("unsupported assetId: " + claimedAssetId58))
237237 else throw("Strict value is not equal to itself.")
238238 }
239239
240240
241241 func internalClaimV2 (priceAssetId58,userAddress58,outAmount,totalUserAvailableToClaim) = {
242242 let totalPeriodPriceAssetAllowance = value(getInteger(keyTotalPeriodAllowance(priceAssetId58)))
243243 let userPeriodPriceAssetAllowance = value(getInteger(keyUserPeriodAllowance(priceAssetId58)))
244244 let periodLength = value(getInteger(keyPeriodLength()))
245245 let currentPeriod = valueOrElse(getInteger(keyCurrentPeriod()), 0)
246246 let zeroPeriodEndHeighIsDefined = isDefined(getInteger(keyPeriodEndHeight(0)))
247247 let $t01279414664 = if ((currentPeriod > 0))
248248 then {
249249 let lastPeriodStartHeight = value(getInteger(keyPeriodStartHeight(currentPeriod)))
250250 let lastPeriodEndHeight = value(getInteger(keyPeriodEndHeight(currentPeriod)))
251251 let $t01305413759 = if ((height > lastPeriodEndHeight))
252252 then {
253253 let updatedCurrentPeriod = (currentPeriod + 1)
254254 let periodStart = if ((height > (lastPeriodEndHeight + periodLength)))
255255 then {
256256 let blocksToLastPeriodStart = ((height - lastPeriodEndHeight) % periodLength)
257257 if ((blocksToLastPeriodStart == 0))
258258 then ((height - periodLength) + 1)
259259 else (height - blocksToLastPeriodStart)
260260 }
261261 else (lastPeriodEndHeight + 1)
262262 let periodEnd = ((periodStart + periodLength) - 1)
263263 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
264264 }
265265 else $Tuple3(currentPeriod, lastPeriodStartHeight, lastPeriodEndHeight)
266266 let updatedCurrentPeriod = $t01305413759._1
267267 let periodStart = $t01305413759._2
268268 let periodEnd = $t01305413759._3
269269 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
270270 }
271271 else if (zeroPeriodEndHeighIsDefined)
272272 then {
273273 let zeroPeriodStartHeight = value(getInteger(keyPeriodStartHeight(0)))
274274 let zeroPeriodEndHeight = value(getInteger(keyPeriodEndHeight(0)))
275275 let $t01401414396 = if ((height > zeroPeriodEndHeight))
276276 then {
277277 let updatedCurrentPeriod = (currentPeriod + 1)
278278 let periodStart = (zeroPeriodEndHeight + 1)
279279 let periodEnd = ((periodStart + periodLength) - 1)
280280 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
281281 }
282282 else $Tuple3(currentPeriod, zeroPeriodStartHeight, zeroPeriodEndHeight)
283283 let updatedCurrentPeriod = $t01401414396._1
284284 let periodStart = $t01401414396._2
285285 let periodEnd = $t01401414396._3
286286 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
287287 }
288288 else $Tuple3(currentPeriod, valueOrElse(getInteger(keyPeriodStartHeight(currentPeriod)), height), valueOrElse(getInteger(keyPeriodEndHeight(currentPeriod)), ((height + periodLength) - 1)))
289289 let updatedCurrentPeriod = $t01279414664._1
290290 let periodStart = $t01279414664._2
291291 let periodEnd = $t01279414664._3
292292 let periodTotalAvailableToClaim = valueOrElse(getInteger(keyPeriodTotalAvailableToClaim(priceAssetId58, updatedCurrentPeriod)), totalPeriodPriceAssetAllowance)
293293 let periodUserAvailableToClaim = valueOrElse(getInteger(keyPeriodUserAvailableToClaim(priceAssetId58, updatedCurrentPeriod, userAddress58)), userPeriodPriceAssetAllowance)
294294 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
295295 let periodMinAvailableToClaim = min([(outAmount + priceAssetBalance), periodTotalAvailableToClaim, periodUserAvailableToClaim])
296296 let usdtPriceAssetAllowableRatio = value(getInteger(keyUsdtPriceAssetAllowableRatio()))
297297 let putOneTknV2PriceAssetAmount = scale8
298298 let $t01541915672 = {
299299 let @ = invoke(addressFromStringValue(value(getString(keyUsdtPriceAssetStablePool()))), "putOneTknV2WithoutTakeFeeREADONLY", [putOneTknV2PriceAssetAmount, priceAssetId58], nil)
300300 if ($isInstanceOf(@, "(Int, Int, Int)"))
301301 then @
302302 else throw("Couldn't cast Any to (Int, Int, Int)")
303303 }
304304 if (($t01541915672 == $t01541915672))
305305 then {
306306 let bonus = $t01541915672._3
307307 let feeAmount = $t01541915672._2
308308 let lpAmount = $t01541915672._1
309309 let usdtAssetId = value(getString(keyUsdtAssetId()))
310310 let $t01573415952 = {
311311 let @ = invoke(addressFromStringValue(value(getString(keyUsdtPriceAssetStablePool()))), "getOneTknV2READONLY", [usdtAssetId, lpAmount], nil)
312312 if ($isInstanceOf(@, "(Int, Int)"))
313313 then @
314314 else throw("Couldn't cast Any to (Int, Int)")
315315 }
316316 if (($t01573415952 == $t01573415952))
317317 then {
318318 let getOneTknV2FeeAmount = $t01573415952._2
319319 let usdtAmount = $t01573415952._1
320320 let currentUsdtPriceAssetRatio = fraction(putOneTknV2PriceAssetAmount, scale8, usdtAmount)
321321 let endPeriodBlocksLeft = (periodEnd - height)
322322 $Tuple10(periodMinAvailableToClaim, periodTotalAvailableToClaim, periodUserAvailableToClaim, totalUserAvailableToClaim, usdtPriceAssetAllowableRatio, currentUsdtPriceAssetRatio, endPeriodBlocksLeft, updatedCurrentPeriod, periodStart, periodEnd)
323323 }
324324 else throw("Strict value is not equal to itself.")
325325 }
326326 else throw("Strict value is not equal to itself.")
327327 }
328328
329329
330330 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
331331 case s: String =>
332332 fromBase58String(s)
333333 case _: Unit =>
334334 unit
335335 case _ =>
336336 throw("Match error")
337337 }
338338
339339
340340 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
341341 case s: String =>
342342 fromBase58String(s)
343343 case _: Unit =>
344344 unit
345345 case _ =>
346346 throw("Match error")
347347 }
348348
349349
350350 func mustManager (i) = {
351351 let pd = throw("Permission denied")
352352 match managerPublicKeyOrUnit() {
353353 case pk: ByteVector =>
354354 if ((i.callerPublicKey == pk))
355355 then true
356356 else pd
357357 case _: Unit =>
358358 if ((i.caller == this))
359359 then true
360360 else pd
361361 case _ =>
362362 throw("Match error")
363363 }
364364 }
365365
366366
367367 @Callable(i)
368368 func constructor (idoStart,idoDuration,claimStart,claimDuration,price,priceAssetId58,minInvestAmount) = {
369369 let priceMult = ((100 * 1000) * 1000)
370370 let idoEnd = (idoStart + idoDuration)
371371 if (isDefined(getString(keyConfig())))
372372 then throw("already initialized")
373373 else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(i.caller)))
374374 then throw("not authorized")
375375 else if ((size(i.payments) != 1))
376376 then throw("exactly 1 payment must be attached")
377377 else if ((idoEnd >= claimStart))
378378 then throw("claimStart must be greater than idoEnd")
379379 else {
380380 let pmt = value(i.payments[0])
381381 let idoAssetId = value(pmt.assetId)
382382 let idoAssetInfo = valueOrErrorMessage(assetInfo(idoAssetId), "fail to load ido asset info")
383383 let idoAssetId58 = toBase58String(idoAssetId)
384384 let idoAssetMult = pow(10, 0, idoAssetInfo.decimals, 0, 0, DOWN)
385385 let priceAssetId = fromBase58String(priceAssetId58)
386386 let priceAssetInfo = valueOrErrorMessage(assetInfo(priceAssetId), "fail to load price asset info")
387387 let priceAssetMult = pow(10, 0, priceAssetInfo.decimals, 0, 0, DOWN)
388388 let origTotalsArray = readTotalsArrayOrDefault()
389389 let totalsDiff = [0, 0, 0, 0]
390390 [StringEntry(keyConfig(), fromatConfig(idoStart, idoDuration, claimStart, claimDuration, price, priceMult, idoAssetId58, idoAssetMult, priceAssetId58, priceAssetMult, minInvestAmount, pmt.amount)), TotalsEntry(keyTotals(), origTotalsArray, totalsDiff, claimStart, 0)]
391391 }
392392 }
393393
394394
395395
396396 @Callable(i)
397397 func invest () = {
398398 let cfgArray = readConfigArray()
399399 let idoStart = parseIntValue(cfgArray[IdxCfgIdoStart])
400400 let idoDuration = parseIntValue(cfgArray[IdxCfgIdoDuration])
401401 let idoEnd = (idoStart + idoDuration)
402402 let claimStart = parseIntValue(cfgArray[IdxCfgClaimStart])
403403 let claimDuration = parseIntValue(cfgArray[IdxCfgClaimDuration])
404404 let price = parseIntValue(cfgArray[IdxCfgPrice])
405405 let priceMult = parseIntValue(cfgArray[IdxCfgPriceMult])
406406 let idoAssetId58 = cfgArray[IdxCfgIdoAssetId]
407407 let idoAssetId = fromBase58String(idoAssetId58)
408408 let idoAssetMult = parseIntValue(cfgArray[IdxCfgIdoAssetMult])
409409 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
410410 let priceAssetId = fromBase58String(priceAssetId58)
411411 let priceAssetMult = parseIntValue(cfgArray[IdxCfgPriceAssetMult])
412412 let minIvestAmount = parseIntValue(cfgArray[IdxCfgMinInvestAmount])
413413 let userAddress = toString(i.caller)
414414 if ((idoStart > height))
415415 then throw("ido has not been started yet")
416416 else if ((height > idoEnd))
417417 then throw("ido has been already ended")
418418 else if ((size(i.payments) != 1))
419419 then throw("exactly 1 payment is expected")
420420 else {
421421 let pmt = value(i.payments[0])
422422 let pmtAssetId = value(pmt.assetId)
423423 let pmtAmount = pmt.amount
424424 if ((pmtAssetId != priceAssetId))
425425 then throw((("invalid payment asset id: " + toBase58String(pmtAssetId)) + " is expected"))
426426 else {
427427 let origInvestorArray = readInvestorArrayOrDefault(userAddress)
428428 let origTotalsArray = readTotalsArrayOrDefault()
429429 let newPriceTotalAmount = (parseIntValue(origTotalsArray[IdxInvTotalAmount]) + pmtAmount)
430430 let requiredIdoAssetAmount = (newPriceTotalAmount * 100)
431431 if ((requiredIdoAssetAmount > assetBalance(this, idoAssetId)))
432432 then throw("IDO asset has been - sold consider to use smaller payment")
433433 else {
434434 let totalsDiff = [pmtAmount, pmtAmount, 0, 0]
435435 [TotalsEntry(keyInvestor(userAddress), origInvestorArray, totalsDiff, claimStart, 0), TotalsEntry(keyTotals(), origTotalsArray, totalsDiff, claimStart, 0), InvestOperationHistoryEntry(userAddress, pmtAmount, 0, i.transactionId)]
436436 }
437437 }
438438 }
439439 }
440440
441441
442442
443443 @Callable(i)
444444 func claim (claimedAssetId58,userAddress58) = {
445445 let callerAddress58 = toString(i.caller)
446446 if ((userAddress58 != callerAddress58))
447447 then throw("not authorized")
448448 else {
449449 let cfgArray = readConfigArray()
450450 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
451451 let claimResultTuple = internalClaim(claimedAssetId58, i.caller, i.transactionId)
452452 let totalsDiff = claimResultTuple._1
453453 let outAmount = claimResultTuple._2
454454 let outAssetId = claimResultTuple._3
455455 let origInvestArray = claimResultTuple._4
456456 let newClaimPeriodHeight = claimResultTuple._5
457457 let claimedPriceAmountFromDiff = totalsDiff[IdxDiffClaimedPriceAmountIncrement]
458458 let claimedIdoAssetAmountFromDiff = totalsDiff[IdxDiffClaimedIdoAssetAmountIncrement]
459459 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
460460 let priceAssetDecimals = value(assetInfo(fromBase58String(priceAssetId58))).decimals
461461 let entries = if ((claimedAssetId58 == priceAssetId58))
462462 then {
463463 let $t02186122305 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
464464 let periodMinAvailableToClaim = $t02186122305._1
465465 let periodTotalAvailableToClaim = $t02186122305._2
466466 let periodUserAvailableToClaim = $t02186122305._3
467467 let totalUserAvailableToClaim = $t02186122305._4
468468 let usdtPriceAssetAllowableRatio = $t02186122305._5
469469 let currentUsdtPriceAssetRatio = $t02186122305._6
470470 let endPeriodBlocksLeft = $t02186122305._7
471471 let updatedCurrentPeriod = $t02186122305._8
472472 let periodStart = $t02186122305._9
473473 let periodEnd = $t02186122305._10
474474 let checks = [if ((periodUserAvailableToClaim > 0))
475475 then true
476476 else throwErr("unavailable to claim because user period allowance reached"), if ((periodTotalAvailableToClaim > 0))
477477 then true
478478 else throwErr("unavailable to claim because total period allowance reached"), if ((periodMinAvailableToClaim > 0))
479479 then true
480480 else throwErr("nothing to claim"), if ((usdtPriceAssetAllowableRatio > currentUsdtPriceAssetRatio))
481481 then true
482482 else throwErr("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio")]
483483 if ((checks == checks))
484484 then {
485485 let updatedPeriodTotalAvailableToClaim = (periodTotalAvailableToClaim - periodMinAvailableToClaim)
486486 let updatedPeriodUserAvailableToClaim = (periodUserAvailableToClaim - periodMinAvailableToClaim)
487487 let entries = if ((priceAssetBalance >= periodMinAvailableToClaim))
488488 then [ScriptTransfer(i.caller, periodMinAvailableToClaim, outAssetId), IntegerEntry(keyPriceAssetBalance(userAddress58), (priceAssetBalance - periodMinAvailableToClaim))]
489489 else {
490490 let updatedPriceAssetBalance = ((priceAssetBalance + outAmount) - periodMinAvailableToClaim)
491491 [ScriptTransfer(i.caller, periodMinAvailableToClaim, outAssetId), TotalsEntry(keyInvestor(userAddress58), origInvestArray, totalsDiff, newClaimPeriodHeight, 0), TotalsEntry(keyTotals(), readTotalsArrayOrDefault(), totalsDiff, newClaimPeriodHeight, 0), IntegerEntry(keyPriceAssetBalance(userAddress58), updatedPriceAssetBalance)]
492492 }
493493 $Tuple2(([IntegerEntry(keyCurrentPeriod(), updatedCurrentPeriod), IntegerEntry(keyPeriodStartHeight(updatedCurrentPeriod), periodStart), IntegerEntry(keyPeriodEndHeight(updatedCurrentPeriod), periodEnd), IntegerEntry(keyPeriodTotalAvailableToClaim(priceAssetId58, updatedCurrentPeriod), updatedPeriodTotalAvailableToClaim), IntegerEntry(keyPeriodUserAvailableToClaim(priceAssetId58, updatedCurrentPeriod, userAddress58), updatedPeriodUserAvailableToClaim), ClaimOperationHistoryEntry(userAddress58, periodMinAvailableToClaim, claimedIdoAssetAmountFromDiff, i.transactionId)] ++ entries), unit)
494494 }
495495 else throw("Strict value is not equal to itself.")
496496 }
497497 else {
498498 let priceAssetBalanceIdoDecimals = fraction(priceAssetBalance, scale8, pow(10, 0, priceAssetDecimals, 0, 0, DOWN))
499499 $Tuple2([ScriptTransfer(i.caller, (outAmount + priceAssetBalanceIdoDecimals), outAssetId), IntegerEntry(keyPriceAssetBalance(userAddress58), 0), TotalsEntry(keyInvestor(userAddress58), origInvestArray, totalsDiff, newClaimPeriodHeight, priceAssetBalance), TotalsEntry(keyTotals(), readTotalsArrayOrDefault(), totalsDiff, newClaimPeriodHeight, priceAssetBalance), ClaimOperationHistoryEntry(userAddress58, claimedPriceAmountFromDiff, (claimedIdoAssetAmountFromDiff + priceAssetBalanceIdoDecimals), i.transactionId)], unit)
500500 }
501501 entries
502502 }
503503 }
504504
505505
506506
507507 @Callable(i)
508508 func cleanRemaingAmount (userAddress58) = {
509509 let priceAssetId58 = readConfigArray()[IdxCfgPriceAssetId]
510510 let evaluateResult = split(asString(invoke(this, "claimV2READONLY", [priceAssetId58, userAddress58], nil)), SEP)
511511 if ((evaluateResult == evaluateResult))
512512 then {
513513 let periodMinAvailableToClaim = parseIntValue(evaluateResult[2])
514- let check = if ((periodMinAvailableToClaim == 0))
514+ let checkUnclaimedAssets = if ((periodMinAvailableToClaim == 0))
515515 then true
516516 else throwErr("user have unclaimed assets")
517- if ((check == check))
517+ if ((checkUnclaimedAssets == checkUnclaimedAssets))
518518 then {
519519 let investor = split(value(getString(keyInvestor(userAddress58))), SEP)
520520 let investorTotalAmount = parseIntValue(investor[IdxInvTotalAmount])
521521 let investorRemainingAmount = parseIntValue(investor[IdxInvRemainingAmount])
522522 let investorPriceAssetBalance = parseIntValue(investor[IdxInvClaimedPriceAssetAmount])
523523 let investorIdoAssetBalance = parseIntValue(investor[IdxInvClaimedIdoAssetAmount])
524524 let investorLastClaimedHeight = parseIntValue(investor[IdxInvLastClaimedHeight])
525525 let newInvestor = makeString([toString(investorTotalAmount), "0", toString(investorPriceAssetBalance), toString(investorIdoAssetBalance), toString(investorLastClaimedHeight)], SEP)
526526 let totals = split(value(getString(keyTotals())), SEP)
527527 let totalsTotalAmount = parseIntValue(totals[IdxInvTotalAmount])
528528 let totalsRemainingAmount = parseIntValue(totals[IdxInvRemainingAmount])
529529 let totalsClaimedPriceAssetAmount = parseIntValue(totals[IdxInvRemainingAmount])
530530 let totalsClaimedIdoAssetAmount = parseIntValue(totals[IdxInvClaimedPriceAssetAmount])
531531 let totalsLastClaimedHeight = parseIntValue(totals[IdxInvLastClaimedHeight])
532532 let newTotals = makeString([toString(totalsTotalAmount), toString((totalsRemainingAmount - investorRemainingAmount)), toString(totalsClaimedPriceAssetAmount), toString(totalsClaimedIdoAssetAmount), toString(totalsLastClaimedHeight)], SEP)
533533 [StringEntry(keyInvestor(userAddress58), newInvestor), StringEntry(keyTotals(), newTotals)]
534534 }
535535 else throw("Strict value is not equal to itself.")
536536 }
537537 else throw("Strict value is not equal to itself.")
538538 }
539539
540540
541541
542542 @Callable(i)
543543 func claimREADONLY (claimedAssetId58,userAddress58) = {
544544 let claimResultTuple = internalClaim(claimedAssetId58, addressFromStringValue(userAddress58), fromBase58String(""))
545545 let totalsDiff = claimResultTuple._1
546546 let outAmount = claimResultTuple._2
547547 let outAssetId = claimResultTuple._3
548548 let origInvestArray = claimResultTuple._4
549549 let newClaimPeriodHeight = claimResultTuple._5
550550 let availableToClaimArray = claimResultTuple._6
551551 let availablePriceAmountToClaim = availableToClaimArray[0]
552552 let availableIdoAmountToClaim = availableToClaimArray[1]
553553 $Tuple2(nil, makeString(["%s%d%d", userAddress58, toString(availablePriceAmountToClaim), toString(availableIdoAmountToClaim)], SEP))
554554 }
555555
556556
557557
558558 @Callable(i)
559559 func claimV2READONLY (claimedAssetId58,userAddress58) = {
560560 let claimResultTuple = internalClaim(claimedAssetId58, addressFromStringValue(userAddress58), fromBase58String(""))
561561 let totalsDiff = claimResultTuple._1
562562 let outAmount = claimResultTuple._2
563563 let outAssetId = claimResultTuple._3
564564 let origInvestArray = claimResultTuple._4
565565 let newClaimPeriodHeight = claimResultTuple._5
566566 let availableToClaimArray = claimResultTuple._6
567567 let availablePriceAmountToClaim = availableToClaimArray[0]
568568 let availableIdoAmountToClaim = availableToClaimArray[1]
569569 let cfgArray = readConfigArray()
570570 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
571571 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
572572 let priceAssetBalanceIdoDecimals = (priceAssetBalance * 100)
573573 let availableIdoAmountToClaimWithPriceAssetBalance = (availableIdoAmountToClaim + priceAssetBalanceIdoDecimals)
574- let $t03058831000 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
575- let periodMinAvailableToClaim = $t03058831000._1
576- let periodTotalAvailableToClaim = $t03058831000._2
577- let periodUserAvailableToClaim = $t03058831000._3
578- let totalUserAvailableToClaim = $t03058831000._4
579- let usdtPriceAssetAllowableRatio = $t03058831000._5
580- let currentUsdtPriceAssetRatio = $t03058831000._6
581- let endPeriodBlocksLeft = $t03058831000._7
582- let updatedCurrentPeriod = $t03058831000._8
583- let periodStart = $t03058831000._9
584- let periodEnd = $t03058831000._10
574+ let $t03060331015 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
575+ let periodMinAvailableToClaim = $t03060331015._1
576+ let periodTotalAvailableToClaim = $t03060331015._2
577+ let periodUserAvailableToClaim = $t03060331015._3
578+ let totalUserAvailableToClaim = $t03060331015._4
579+ let usdtPriceAssetAllowableRatio = $t03060331015._5
580+ let currentUsdtPriceAssetRatio = $t03060331015._6
581+ let endPeriodBlocksLeft = $t03060331015._7
582+ let updatedCurrentPeriod = $t03060331015._8
583+ let periodStart = $t03060331015._9
584+ let periodEnd = $t03060331015._10
585585 let currentPeriodEndHeight = valueOrElse(getInteger(keyPeriodEndHeight(updatedCurrentPeriod)), 0)
586586 let userTotalPriceAssetClaimed = (parseIntValue(readInvestorArrayOrFail(userAddress58)[IdxInvClaimedPriceAssetAmount]) - priceAssetBalance)
587587 let resultString = if ((height > currentPeriodEndHeight))
588588 then {
589589 let periodLenght = value(getInteger(keyPeriodLength()))
590590 let userPeriodAllowance = value(getInteger(keyUserPeriodAllowance(priceAssetId58)))
591591 let totalPeriodAllowance = value(getInteger(keyTotalPeriodAllowance(priceAssetId58)))
592592 makeString(["%d%d%d%d%d%d", toString(availableIdoAmountToClaimWithPriceAssetBalance), toString(userPeriodAllowance), toString(totalPeriodAllowance), toString(usdtPriceAssetAllowableRatio), toString(currentUsdtPriceAssetRatio), toString(periodLenght), toString(userTotalPriceAssetClaimed)], SEP)
593593 }
594594 else makeString(["%d%d%d%d%d%d", toString(availableIdoAmountToClaimWithPriceAssetBalance), toString(periodMinAvailableToClaim), toString(periodTotalAvailableToClaim), toString(usdtPriceAssetAllowableRatio), toString(currentUsdtPriceAssetRatio), toString(endPeriodBlocksLeft), toString(userTotalPriceAssetClaimed)], SEP)
595595 $Tuple2(nil, resultString)
596596 }
597597
598598
599599
600600 @Callable(i)
601601 func setManager (pendingManagerPublicKey) = {
602602 let checkCaller = mustManager(i)
603603 if ((checkCaller == checkCaller))
604604 then {
605605 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
606606 if ((checkManagerPublicKey == checkManagerPublicKey))
607607 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
608608 else throw("Strict value is not equal to itself.")
609609 }
610610 else throw("Strict value is not equal to itself.")
611611 }
612612
613613
614614
615615 @Callable(i)
616616 func confirmManager () = {
617617 let pm = pendingManagerPublicKeyOrUnit()
618618 let hasPM = if (isDefined(pm))
619619 then true
620620 else throw("No pending manager")
621621 if ((hasPM == hasPM))
622622 then {
623623 let checkPM = if ((i.callerPublicKey == value(pm)))
624624 then true
625625 else throw("You are not pending manager")
626626 if ((checkPM == checkPM))
627627 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
628628 else throw("Strict value is not equal to itself.")
629629 }
630630 else throw("Strict value is not equal to itself.")
631631 }
632632
633633
634634 @Verifier(tx)
635635 func verify () = {
636636 let targetPublicKey = match managerPublicKeyOrUnit() {
637637 case pk: ByteVector =>
638638 pk
639639 case _: Unit =>
640640 tx.senderPublicKey
641641 case _ =>
642642 throw("Match error")
643643 }
644644 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
645645 }
646646

github/deemru/w8io/026f985 
133.44 ms