tx · 528wb7FSneirrj9ZyAHU95JDK2Y5Knni8fLaYBuBkvPM

3MptKi7f3jwXjzqhHpvLLzsSpEQdZiwAo5c:  -0.05000000 Waves

2024.01.15 16:41 [2932712] smart account 3MptKi7f3jwXjzqhHpvLLzsSpEQdZiwAo5c > SELF 0.00000000 Waves

{ "type": 13, "id": "528wb7FSneirrj9ZyAHU95JDK2Y5Knni8fLaYBuBkvPM", "fee": 5000000, "feeAssetId": null, "timestamp": 1705326139399, "version": 2, "chainId": 84, "sender": "3MptKi7f3jwXjzqhHpvLLzsSpEQdZiwAo5c", "senderPublicKey": "44kjsoExo76qSrM51NMhbG8FtdLkcPtyJxEDrwDyT8kz", "proofs": [ "3de78WaYhLa8R8Hy97FuDCtTKFqqPSTkBdJkYeEP479WnDmefsbgWiSGCJRtD28mBCYxEXFQ5LTQhcuGbRGjBmUq" ], "script": "base64:BgIrCAISCQoHAQEBAQEIARIAEgQKAggIEgMKAQgSAwoBGBIECgIICBIECgIICEYBD2dldFN0cmluZ09yRmFpbAEDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAKIIAQUDa2V5CQCsAgIJAKwCAgIPbWFuZGF0b3J5IHRoaXMuBQNrZXkCDyBpcyBub3QgZGVmaW5lZAADU0VQAgJfXwAIQlVGU0NBTEUJALYCAQCAgJC7utat8A0ABnNjYWxlOACAwtcvAQh0aHJvd0VycgEDbXNnCQACAQkAuQkCCQDMCAICCWlkby5yaWRlOgkAzAgCBQNtc2cFA25pbAIBIAEIYXNTdHJpbmcBA3ZhbAQHJG1hdGNoMAUDdmFsAwkAAQIFByRtYXRjaDACBlN0cmluZwQGdmFsU3RyBQckbWF0Y2gwBQZ2YWxTdHIJAAIBAhhmYWlsIHRvIGNhc3QgaW50byBTdHJpbmcBHWNvbnZlcnRQcmljZUFzc2V0SW50b0lkb0Fzc2V0BRBwcmljZUFzc2V0QW1vdW50DnByaWNlQXNzZXRNVUxUBXByaWNlCXByaWNlTVVMVAxpZG9Bc3NldE1V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GFuY2UJAMwIAgkApAMBBRlwZXJpb2RNaW5BdmFpbGFibGVUb0NsYWltCQDMCAIJAKQDAQUbcGVyaW9kVG90YWxBdmFpbGFibGVUb0NsYWltCQDMCAIJAKQDAQUcdXNkdFByaWNlQXNzZXRBbGxvd2FibGVSYXRpbwkAzAgCCQCkAwEFGmN1cnJlbnRVc2R0UHJpY2VBc3NldFJhdGlvCQDMCAIJAKQDAQUTZW5kUGVyaW9kQmxvY2tzTGVmdAkAzAgCCQCkAwEFGnVzZXJUb3RhbFByaWNlQXNzZXRDbGFpbWVkBQNuaWwFA1NFUAkAlAoCBQNuaWwFDHJlc3VsdFN0cmluZwECdHgBBnZlcmlmeQAED3RhcmdldFB1YmxpY0tleQQHJG1hdGNoMAkBFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAwkAAQIFByRtYXRjaDACCkJ5dGVWZWN0b3IEAnBrBQckbWF0Y2gwBQJwawMJAAECBQckbWF0Y2gwAgRVbml0CAUCdHgPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tled3Oa1w=", "height": 2932712, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ETq1VHhbzKfFGMrJrT9oQ4WHhtLT4V25pWAERT9MSRHT Next: Bk9Gy6Vg9BaKkSvbCv2rv5DAVVrU6KTNujuDi2jr5o9B Diff:
OldNewDifferences
652652 }
653653 let allActions = $t03503035089._1
654654 let sum = $t03503035089._2
655- let totalsAction = TotalsEntry(keyTotals(), readTotalsArrayOrDefault(), [0, (-(sum) / 100), 0, sum], height, 0)
656- (allActions :+ totalsAction)
655+ let totalsAction = if ((sum != 0))
656+ then [TotalsEntry(keyTotals(), readTotalsArrayOrDefault(), [0, (-(sum) / 100), 0, sum], height, 0)]
657+ else nil
658+ (allActions ++ totalsAction)
657659 }
658660
659661
690692 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
691693 let priceAssetBalanceIdoDecimals = (priceAssetBalance * 100)
692694 let availableIdoAmountToClaimWithPriceAssetBalance = (availableIdoAmountToClaim + priceAssetBalanceIdoDecimals)
693- let $t03702737439 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
694- let periodMinAvailableToClaim = $t03702737439._1
695- let periodTotalAvailableToClaim = $t03702737439._2
696- let periodUserAvailableToClaim = $t03702737439._3
697- let totalUserAvailableToClaim = $t03702737439._4
698- let usdtPriceAssetAllowableRatio = $t03702737439._5
699- let currentUsdtPriceAssetRatio = $t03702737439._6
700- let endPeriodBlocksLeft = $t03702737439._7
701- let updatedCurrentPeriod = $t03702737439._8
702- let periodStart = $t03702737439._9
703- let periodEnd = $t03702737439._10
695+ let $t03705537467 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
696+ let periodMinAvailableToClaim = $t03705537467._1
697+ let periodTotalAvailableToClaim = $t03705537467._2
698+ let periodUserAvailableToClaim = $t03705537467._3
699+ let totalUserAvailableToClaim = $t03705537467._4
700+ let usdtPriceAssetAllowableRatio = $t03705537467._5
701+ let currentUsdtPriceAssetRatio = $t03705537467._6
702+ let endPeriodBlocksLeft = $t03705537467._7
703+ let updatedCurrentPeriod = $t03705537467._8
704+ let periodStart = $t03705537467._9
705+ let periodEnd = $t03705537467._10
704706 let currentPeriodEndHeight = valueOrElse(getInteger(keyPeriodEndHeight(updatedCurrentPeriod)), 0)
705707 let userTotalPriceAssetClaimed = (parseIntValue(readInvestorArrayOrFail(userAddress58)[IdxInvClaimedPriceAssetAmount]) - priceAssetBalance)
706708 let resultString = if ((height > currentPeriodEndHeight))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
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 keyInvestorRemainingAmount (address) = makeString(["%s%s", "investorRemainingAmount", address], SEP)
135135
136136
137137 func keyTotalRemainingAmount () = makeString(["%s", "totalRemainingAmount"], SEP)
138138
139139
140140 func keyManagerPublicKey () = "%s__managerPublicKey"
141141
142142
143143 func keyManagerVaultAddress () = "%s__managerVaultAddress"
144144
145145
146146 func keyClaimClosingHeight () = "%s__claimClosingHeight"
147147
148148
149149 let claimClosingHeight = valueOrElse(getInteger(this, keyClaimClosingHeight()), 0)
150150
151151 func readConfigArray () = split(getStringOrFail(keyConfig()), SEP)
152152
153153
154154 func readTotalsArrayOrDefaultByCustomKey (customKey) = split(valueOrElse(getString(customKey), formatInvestorS("0", "0", "0", "0", "0")), SEP)
155155
156156
157157 func readTotalsArrayOrDefault () = readTotalsArrayOrDefaultByCustomKey(keyTotals())
158158
159159
160160 func readInvestorArrayOrDefault (userAddress) = readTotalsArrayOrDefaultByCustomKey(keyInvestor(userAddress))
161161
162162
163163 func readInvestorArrayOrFail (userAddress) = split(getStringOrFail(keyInvestor(userAddress)), SEP)
164164
165165
166166 func getManagerVaultAddressOrThis () = match getString(keyManagerVaultAddress()) {
167167 case s: String =>
168168 addressFromStringValue(s)
169169 case _ =>
170170 this
171171 }
172172
173173
174174 let IdxDiffTotalIncrement = 0
175175
176176 let IdxDiffRemainingPriceAmountIncrement = 1
177177
178178 let IdxDiffClaimedPriceAmountIncrement = 2
179179
180180 let IdxDiffClaimedIdoAssetAmountIncrement = 3
181181
182182 func TotalsEntry (key,origArray,incrementDiff,newLastClaimedHeight,priceAssetBalance) = {
183183 let totalAmount = parseIntValue(origArray[IdxInvTotalAmount])
184184 let remainingAmount = parseIntValue(origArray[IdxInvRemainingAmount])
185185 let claimedPriceAssetAmount = parseIntValue(origArray[IdxInvClaimedPriceAssetAmount])
186186 let claimedIdoAssetAmount = parseIntValue(origArray[IdxInvClaimedIdoAssetAmount])
187187 let lastClaimedHeight = parseIntValue(origArray[IdxInvLastClaimedHeight])
188188 let newTotalAmount = (totalAmount + incrementDiff[IdxDiffTotalIncrement])
189189 let newRemainingAmount = (remainingAmount + incrementDiff[IdxDiffRemainingPriceAmountIncrement])
190190 let cfgArray = readConfigArray()
191191 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
192192 let priceAssetDecimals = value(assetInfo(fromBase58String(priceAssetId58))).decimals
193193 let priceAssetBalancePriceAssetDecimals = fraction(priceAssetBalance, scale8, pow(10, 0, priceAssetDecimals, 0, 0, DOWN))
194194 let newClaimedPriceAssetAmount = ((claimedPriceAssetAmount + incrementDiff[IdxDiffClaimedPriceAmountIncrement]) - priceAssetBalance)
195195 let newClaimedIdoAssetAmount = ((claimedIdoAssetAmount + incrementDiff[IdxDiffClaimedIdoAssetAmountIncrement]) + priceAssetBalancePriceAssetDecimals)
196196 let entries = if ((0 > newRemainingAmount))
197197 then {
198198 let diff = ((newTotalAmount - newClaimedPriceAssetAmount) - newClaimedIdoAssetAmount)
199199 let newLogicRemainingAmount = if ((0 > diff))
200200 then 0
201201 else diff
202202 StringEntry(key, formatInvestor(newTotalAmount, newLogicRemainingAmount, newClaimedPriceAssetAmount, newClaimedIdoAssetAmount, newLastClaimedHeight))
203203 }
204204 else StringEntry(key, formatInvestor(newTotalAmount, newRemainingAmount, newClaimedPriceAssetAmount, newClaimedIdoAssetAmount, newLastClaimedHeight))
205205 entries
206206 }
207207
208208
209209 func InvestOperationHistoryEntry (userAddress,priceAssetAmount,idoAssetAmount,txId) = StringEntry(keyOperationHistoryRecord("invest", userAddress, toBase58String(txId)), formatHistoryRecord(priceAssetAmount, idoAssetAmount))
210210
211211
212212 func ClaimOperationHistoryEntry (userAddress,priceAssetAmount,idoAssetAmount,txId) = StringEntry(keyOperationHistoryRecord("claim", userAddress, toBase58String(txId)), formatHistoryRecord(priceAssetAmount, idoAssetAmount))
213213
214214
215215 func internalClaim (claimedAssetId58,userAddress,txId) = {
216216 let cfgArray = readConfigArray()
217217 let claimStart = parseIntValue(cfgArray[IdxCfgClaimStart])
218218 let claimDuration = parseIntValue(cfgArray[IdxCfgClaimDuration])
219219 let claimEnd = (claimStart + claimDuration)
220220 let price = parseIntValue(cfgArray[IdxCfgPrice])
221221 let priceMult = parseIntValue(cfgArray[IdxCfgPriceMult])
222222 let idoAssetId58 = cfgArray[IdxCfgIdoAssetId]
223223 let idoAssetId = fromBase58String(idoAssetId58)
224224 let idoAssetMult = parseIntValue(cfgArray[IdxCfgIdoAssetMult])
225225 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
226226 let priceAssetId = fromBase58String(priceAssetId58)
227227 let priceAssetMult = parseIntValue(cfgArray[IdxCfgPriceAssetMult])
228228 let userAddress58 = toString(userAddress)
229229 let origInvestArray = readInvestorArrayOrFail(userAddress58)
230230 let investTotalAmount = parseIntValue(origInvestArray[IdxInvTotalAmount])
231231 let investLastClaimedHeightTMP = parseIntValue(origInvestArray[IdxInvLastClaimedHeight])
232232 let investLastClaimedHeight = if ((claimStart >= investLastClaimedHeightTMP))
233233 then claimStart
234234 else investLastClaimedHeightTMP
235235 let newClaimPeriodHeight = if ((height > claimEnd))
236236 then claimEnd
237237 else if ((claimStart > height))
238238 then claimStart
239239 else height
240240 let claimingBlocks = (newClaimPeriodHeight - investLastClaimedHeight)
241241 let claimingPriceAssetAmount = fraction(investTotalAmount, claimingBlocks, claimDuration)
242242 let claimingIdoAssetAmount = convertPriceAssetIntoIdoAsset(claimingPriceAssetAmount, priceAssetMult, price, priceMult, idoAssetMult)
243243 let isUSDN = (claimedAssetId58 == priceAssetId58)
244244 let isUSDNClaimDisabled = valueOrElse(getBoolean(keyUSDNClaimDisabled()), false)
245245 let checks = [if (!(if (isUSDN)
246246 then isUSDNClaimDisabled
247247 else false))
248248 then true
249249 else throw("USDN claim is disabled")]
250250 if ((checks == checks))
251251 then if ((claimedAssetId58 == priceAssetId58))
252252 then $Tuple6([0, -(claimingPriceAssetAmount), claimingPriceAssetAmount, 0], claimingPriceAssetAmount, priceAssetId, origInvestArray, newClaimPeriodHeight, [claimingPriceAssetAmount, claimingIdoAssetAmount])
253253 else if ((claimedAssetId58 == idoAssetId58))
254254 then $Tuple6([0, -(claimingPriceAssetAmount), 0, claimingIdoAssetAmount], claimingIdoAssetAmount, idoAssetId, origInvestArray, newClaimPeriodHeight, [claimingPriceAssetAmount, claimingIdoAssetAmount])
255255 else throw(("unsupported assetId: " + claimedAssetId58))
256256 else throw("Strict value is not equal to itself.")
257257 }
258258
259259
260260 func internalClaimV2 (priceAssetId58,userAddress58,outAmount,totalUserAvailableToClaim) = {
261261 let totalPeriodPriceAssetAllowance = value(getInteger(keyTotalPeriodAllowance(priceAssetId58)))
262262 let userPeriodPriceAssetAllowance = value(getInteger(keyUserPeriodAllowance(priceAssetId58)))
263263 let periodLength = value(getInteger(keyPeriodLength()))
264264 let currentPeriod = valueOrElse(getInteger(keyCurrentPeriod()), 0)
265265 let zeroPeriodEndHeighIsDefined = isDefined(getInteger(keyPeriodEndHeight(0)))
266266 let $t01327415144 = if ((currentPeriod > 0))
267267 then {
268268 let lastPeriodStartHeight = value(getInteger(keyPeriodStartHeight(currentPeriod)))
269269 let lastPeriodEndHeight = value(getInteger(keyPeriodEndHeight(currentPeriod)))
270270 let $t01353414239 = if ((height > lastPeriodEndHeight))
271271 then {
272272 let updatedCurrentPeriod = (currentPeriod + 1)
273273 let periodStart = if ((height > (lastPeriodEndHeight + periodLength)))
274274 then {
275275 let blocksToLastPeriodStart = ((height - lastPeriodEndHeight) % periodLength)
276276 if ((blocksToLastPeriodStart == 0))
277277 then ((height - periodLength) + 1)
278278 else (height - blocksToLastPeriodStart)
279279 }
280280 else (lastPeriodEndHeight + 1)
281281 let periodEnd = ((periodStart + periodLength) - 1)
282282 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
283283 }
284284 else $Tuple3(currentPeriod, lastPeriodStartHeight, lastPeriodEndHeight)
285285 let updatedCurrentPeriod = $t01353414239._1
286286 let periodStart = $t01353414239._2
287287 let periodEnd = $t01353414239._3
288288 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
289289 }
290290 else if (zeroPeriodEndHeighIsDefined)
291291 then {
292292 let zeroPeriodStartHeight = value(getInteger(keyPeriodStartHeight(0)))
293293 let zeroPeriodEndHeight = value(getInteger(keyPeriodEndHeight(0)))
294294 let $t01449414876 = if ((height > zeroPeriodEndHeight))
295295 then {
296296 let updatedCurrentPeriod = (currentPeriod + 1)
297297 let periodStart = (zeroPeriodEndHeight + 1)
298298 let periodEnd = ((periodStart + periodLength) - 1)
299299 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
300300 }
301301 else $Tuple3(currentPeriod, zeroPeriodStartHeight, zeroPeriodEndHeight)
302302 let updatedCurrentPeriod = $t01449414876._1
303303 let periodStart = $t01449414876._2
304304 let periodEnd = $t01449414876._3
305305 $Tuple3(updatedCurrentPeriod, periodStart, periodEnd)
306306 }
307307 else $Tuple3(currentPeriod, valueOrElse(getInteger(keyPeriodStartHeight(currentPeriod)), height), valueOrElse(getInteger(keyPeriodEndHeight(currentPeriod)), ((height + periodLength) - 1)))
308308 let updatedCurrentPeriod = $t01327415144._1
309309 let periodStart = $t01327415144._2
310310 let periodEnd = $t01327415144._3
311311 let periodTotalAvailableToClaim = valueOrElse(getInteger(keyPeriodTotalAvailableToClaim(priceAssetId58, updatedCurrentPeriod)), totalPeriodPriceAssetAllowance)
312312 let periodUserAvailableToClaim = valueOrElse(getInteger(keyPeriodUserAvailableToClaim(priceAssetId58, updatedCurrentPeriod, userAddress58)), userPeriodPriceAssetAllowance)
313313 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
314314 let periodMinAvailableToClaim = min([(outAmount + priceAssetBalance), periodTotalAvailableToClaim, periodUserAvailableToClaim])
315315 let usdtPriceAssetAllowableRatio = value(getInteger(keyUsdtPriceAssetAllowableRatio()))
316316 let putOneTknV2PriceAssetAmount = scale8
317317 let $t01589916152 = {
318318 let @ = invoke(addressFromStringValue(value(getString(keyUsdtPriceAssetStablePool()))), "putOneTknV2WithoutTakeFeeREADONLY", [putOneTknV2PriceAssetAmount, priceAssetId58], nil)
319319 if ($isInstanceOf(@, "(Int, Int, Int)"))
320320 then @
321321 else throw(($getType(@) + " couldn't be cast to (Int, Int, Int)"))
322322 }
323323 if (($t01589916152 == $t01589916152))
324324 then {
325325 let bonus = $t01589916152._3
326326 let feeAmount = $t01589916152._2
327327 let lpAmount = $t01589916152._1
328328 let usdtAssetId = value(getString(keyUsdtAssetId()))
329329 let $t01621416432 = {
330330 let @ = invoke(addressFromStringValue(value(getString(keyUsdtPriceAssetStablePool()))), "getOneTknV2READONLY", [usdtAssetId, lpAmount], nil)
331331 if ($isInstanceOf(@, "(Int, Int)"))
332332 then @
333333 else throw(($getType(@) + " couldn't be cast to (Int, Int)"))
334334 }
335335 if (($t01621416432 == $t01621416432))
336336 then {
337337 let getOneTknV2FeeAmount = $t01621416432._2
338338 let usdtAmount = $t01621416432._1
339339 let currentUsdtPriceAssetRatio = fraction(putOneTknV2PriceAssetAmount, scale8, usdtAmount)
340340 let endPeriodBlocksLeft = (periodEnd - height)
341341 $Tuple10(periodMinAvailableToClaim, periodTotalAvailableToClaim, periodUserAvailableToClaim, totalUserAvailableToClaim, usdtPriceAssetAllowableRatio, currentUsdtPriceAssetRatio, endPeriodBlocksLeft, updatedCurrentPeriod, periodStart, periodEnd)
342342 }
343343 else throw("Strict value is not equal to itself.")
344344 }
345345 else throw("Strict value is not equal to itself.")
346346 }
347347
348348
349349 func managerPublicKeyOrUnit () = {
350350 let managerVaultAddress = getManagerVaultAddressOrThis()
351351 match getString(managerVaultAddress, keyManagerPublicKey()) {
352352 case s: String =>
353353 fromBase58String(s)
354354 case _: Unit =>
355355 unit
356356 case _ =>
357357 throw("Match error")
358358 }
359359 }
360360
361361
362362 func mustManager (i) = {
363363 let pd = throw("Permission denied")
364364 match managerPublicKeyOrUnit() {
365365 case pk: ByteVector =>
366366 if ((i.callerPublicKey == pk))
367367 then true
368368 else pd
369369 case _: Unit =>
370370 if ((i.caller == this))
371371 then true
372372 else pd
373373 case _ =>
374374 throw("Match error")
375375 }
376376 }
377377
378378
379379 func getClaimForActions (userAddress58,txId) = {
380380 let idoAssetId58 = readConfigArray()[IdxCfgIdoAssetId]
381381 let fallback = makeString(["%d%d%d%d%d", "0", "0", "0", "0", "0"], SEP)
382382 let investor = split(valueOrElse(getString(keyInvestor(userAddress58)), fallback), SEP)
383383 let investorTotalAmount = parseIntValue(investor[IdxInvTotalAmount])
384384 let investorRemainingAmount = parseIntValue(investor[IdxInvRemainingAmount])
385385 let investorPriceAssetBalance = parseIntValue(investor[IdxInvClaimedPriceAssetAmount])
386386 let investorIdoAssetBalance = parseIntValue(investor[IdxInvClaimedIdoAssetAmount])
387387 let investorLastClaimedHeight = parseIntValue(investor[IdxInvLastClaimedHeight])
388388 let priceAssetAmount = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
389389 let priceAssetActions = if ((priceAssetAmount != 0))
390390 then [IntegerEntry(keyPriceAssetBalance(userAddress58), 0)]
391391 else nil
392392 let investorKeyRemainingAmount = parseIntValue(valueOrElse(getString(keyInvestorRemainingAmount(userAddress58)), "0"))
393393 let investorKeyRemainingActions = if ((investorKeyRemainingAmount != 0))
394394 then [StringEntry(keyInvestorRemainingAmount(userAddress58), "0")]
395395 else nil
396396 let totalIdoAssetSendAmount = (((investorRemainingAmount + priceAssetAmount) + investorKeyRemainingAmount) * 100)
397397 let totalIdoAssetForInvestorData = ((investorRemainingAmount + investorKeyRemainingAmount) * 100)
398398 let newInvestor = makeString(["%d%d%d%d%d", toString(investorTotalAmount), "0", toString(investorPriceAssetBalance), toString((investorIdoAssetBalance + totalIdoAssetForInvestorData)), toString(height)], SEP)
399399 let investorDataActions = if ((totalIdoAssetForInvestorData != 0))
400400 then [StringEntry(keyInvestor(userAddress58), newInvestor)]
401401 else nil
402402 let sendIdoAssetActions = if ((totalIdoAssetSendAmount != 0))
403403 then [ScriptTransfer(addressFromStringValue(userAddress58), totalIdoAssetSendAmount, fromBase58String(idoAssetId58)), ClaimOperationHistoryEntry(userAddress58, 0, totalIdoAssetSendAmount, txId)]
404404 else nil
405405 $Tuple4(investorRemainingAmount, priceAssetAmount, investorKeyRemainingAmount, (((sendIdoAssetActions ++ investorDataActions) ++ investorKeyRemainingActions) ++ priceAssetActions))
406406 }
407407
408408
409409 @Callable(i)
410410 func constructor (idoStart,idoDuration,claimStart,claimDuration,price,priceAssetId58,minInvestAmount) = {
411411 let priceMult = ((100 * 1000) * 1000)
412412 let idoEnd = (idoStart + idoDuration)
413413 if (isDefined(getString(keyConfig())))
414414 then throw("already initialized")
415415 else if (("3PMEHLx1j6zerarZTYfsGqDeeZqQoMpxq5S" != toString(i.caller)))
416416 then throw("not authorized")
417417 else if ((size(i.payments) != 1))
418418 then throw("exactly 1 payment must be attached")
419419 else if ((idoEnd >= claimStart))
420420 then throw("claimStart must be greater than idoEnd")
421421 else {
422422 let pmt = value(i.payments[0])
423423 let idoAssetId = value(pmt.assetId)
424424 let idoAssetInfo = valueOrErrorMessage(assetInfo(idoAssetId), "fail to load ido asset info")
425425 let idoAssetId58 = toBase58String(idoAssetId)
426426 let idoAssetMult = pow(10, 0, idoAssetInfo.decimals, 0, 0, DOWN)
427427 let priceAssetId = fromBase58String(priceAssetId58)
428428 let priceAssetInfo = valueOrErrorMessage(assetInfo(priceAssetId), "fail to load price asset info")
429429 let priceAssetMult = pow(10, 0, priceAssetInfo.decimals, 0, 0, DOWN)
430430 let origTotalsArray = readTotalsArrayOrDefault()
431431 let totalsDiff = [0, 0, 0, 0]
432432 [StringEntry(keyConfig(), fromatConfig(idoStart, idoDuration, claimStart, claimDuration, price, priceMult, idoAssetId58, idoAssetMult, priceAssetId58, priceAssetMult, minInvestAmount, pmt.amount)), TotalsEntry(keyTotals(), origTotalsArray, totalsDiff, claimStart, 0)]
433433 }
434434 }
435435
436436
437437
438438 @Callable(i)
439439 func invest () = {
440440 let cfgArray = readConfigArray()
441441 let idoStart = parseIntValue(cfgArray[IdxCfgIdoStart])
442442 let idoDuration = parseIntValue(cfgArray[IdxCfgIdoDuration])
443443 let idoEnd = (idoStart + idoDuration)
444444 let claimStart = parseIntValue(cfgArray[IdxCfgClaimStart])
445445 let claimDuration = parseIntValue(cfgArray[IdxCfgClaimDuration])
446446 let price = parseIntValue(cfgArray[IdxCfgPrice])
447447 let priceMult = parseIntValue(cfgArray[IdxCfgPriceMult])
448448 let idoAssetId58 = cfgArray[IdxCfgIdoAssetId]
449449 let idoAssetId = fromBase58String(idoAssetId58)
450450 let idoAssetMult = parseIntValue(cfgArray[IdxCfgIdoAssetMult])
451451 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
452452 let priceAssetId = fromBase58String(priceAssetId58)
453453 let priceAssetMult = parseIntValue(cfgArray[IdxCfgPriceAssetMult])
454454 let minIvestAmount = parseIntValue(cfgArray[IdxCfgMinInvestAmount])
455455 let userAddress = toString(i.caller)
456456 if ((idoStart > height))
457457 then throw("ido has not been started yet")
458458 else if ((height > idoEnd))
459459 then throw("ido has been already ended")
460460 else if ((size(i.payments) != 1))
461461 then throw("exactly 1 payment is expected")
462462 else {
463463 let pmt = value(i.payments[0])
464464 let pmtAssetId = value(pmt.assetId)
465465 let pmtAmount = pmt.amount
466466 if ((pmtAssetId != priceAssetId))
467467 then throw((("invalid payment asset id: " + toBase58String(pmtAssetId)) + " is expected"))
468468 else {
469469 let origInvestorArray = readInvestorArrayOrDefault(userAddress)
470470 let origTotalsArray = readTotalsArrayOrDefault()
471471 let newPriceTotalAmount = (parseIntValue(origTotalsArray[IdxInvTotalAmount]) + pmtAmount)
472472 let requiredIdoAssetAmount = (newPriceTotalAmount * 100)
473473 if ((requiredIdoAssetAmount > assetBalance(this, idoAssetId)))
474474 then throw("IDO asset has been - sold consider to use smaller payment")
475475 else {
476476 let totalsDiff = [pmtAmount, pmtAmount, 0, 0]
477477 [TotalsEntry(keyInvestor(userAddress), origInvestorArray, totalsDiff, claimStart, 0), TotalsEntry(keyTotals(), origTotalsArray, totalsDiff, claimStart, 0), InvestOperationHistoryEntry(userAddress, pmtAmount, 0, i.transactionId)]
478478 }
479479 }
480480 }
481481 }
482482
483483
484484
485485 @Callable(i)
486486 func claim (claimedAssetId58,userAddress58) = {
487487 let callerAddress58 = toString(i.caller)
488488 if ((userAddress58 != callerAddress58))
489489 then throw("not authorized")
490490 else {
491491 let cfgArray = readConfigArray()
492492 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
493493 let claimResultTuple = internalClaim(claimedAssetId58, i.caller, i.transactionId)
494494 let totalsDiff = claimResultTuple._1
495495 let outAmount = claimResultTuple._2
496496 let outAssetId = claimResultTuple._3
497497 let origInvestArray = claimResultTuple._4
498498 let newClaimPeriodHeight = claimResultTuple._5
499499 let claimedPriceAmountFromDiff = totalsDiff[IdxDiffClaimedPriceAmountIncrement]
500500 let claimedIdoAssetAmountFromDiff = totalsDiff[IdxDiffClaimedIdoAssetAmountIncrement]
501501 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
502502 let priceAssetDecimals = value(assetInfo(fromBase58String(priceAssetId58))).decimals
503503 let entries = if ((claimedAssetId58 == priceAssetId58))
504504 then {
505505 let $t02456225006 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
506506 let periodMinAvailableToClaim = $t02456225006._1
507507 let periodTotalAvailableToClaim = $t02456225006._2
508508 let periodUserAvailableToClaim = $t02456225006._3
509509 let totalUserAvailableToClaim = $t02456225006._4
510510 let usdtPriceAssetAllowableRatio = $t02456225006._5
511511 let currentUsdtPriceAssetRatio = $t02456225006._6
512512 let endPeriodBlocksLeft = $t02456225006._7
513513 let updatedCurrentPeriod = $t02456225006._8
514514 let periodStart = $t02456225006._9
515515 let periodEnd = $t02456225006._10
516516 let checks = [if ((periodUserAvailableToClaim > 0))
517517 then true
518518 else throwErr("unavailable to claim because user period allowance reached"), if ((periodTotalAvailableToClaim > 0))
519519 then true
520520 else throwErr("unavailable to claim because total period allowance reached"), if ((periodMinAvailableToClaim > 0))
521521 then true
522522 else throwErr("nothing to claim"), if ((usdtPriceAssetAllowableRatio > currentUsdtPriceAssetRatio))
523523 then true
524524 else throwErr("unavailable to claim because usdn price lower than usdtPriceAssetAllowableRatio"), if (if (if ((claimedAssetId58 != priceAssetId58))
525525 then true
526526 else (claimClosingHeight == 0))
527527 then true
528528 else (claimClosingHeight > height))
529529 then true
530530 else throwErr("Claim is disabled")]
531531 if ((checks == checks))
532532 then {
533533 let updatedPeriodTotalAvailableToClaim = (periodTotalAvailableToClaim - periodMinAvailableToClaim)
534534 let updatedPeriodUserAvailableToClaim = (periodUserAvailableToClaim - periodMinAvailableToClaim)
535535 let entries = if ((priceAssetBalance > periodMinAvailableToClaim))
536536 then [ScriptTransfer(i.caller, periodMinAvailableToClaim, outAssetId), IntegerEntry(keyPriceAssetBalance(userAddress58), (priceAssetBalance - periodMinAvailableToClaim))]
537537 else {
538538 let evaluateResult = split(asString(invoke(this, "claimREADONLY", [priceAssetId58, userAddress58], nil)), SEP)
539539 if ((evaluateResult == evaluateResult))
540540 then {
541541 let availablePriceAmountToClaim = parseIntValue(evaluateResult[3])
542542 let lastClaimEntries = if ((availablePriceAmountToClaim == periodMinAvailableToClaim))
543543 then {
544544 let investorTotalAmount = parseIntValue(origInvestArray[IdxInvTotalAmount])
545545 let investorRemainingAmount = parseIntValue(origInvestArray[IdxInvRemainingAmount])
546546 let investorPriceAssetBalance = parseIntValue(origInvestArray[IdxInvClaimedPriceAssetAmount])
547547 let investorIdoAssetBalance = parseIntValue(origInvestArray[IdxInvClaimedIdoAssetAmount])
548548 let investorLastClaimedHeight = parseIntValue(origInvestArray[IdxInvLastClaimedHeight])
549549 let newInvestArray = [toString(investorTotalAmount), "0", toString(investorPriceAssetBalance), toString(investorIdoAssetBalance), toString(investorLastClaimedHeight)]
550550 let totals = readTotalsArrayOrDefault()
551551 let totalsTotalAmount = parseIntValue(totals[IdxInvTotalAmount])
552552 let totalsRemainingAmount = parseIntValue(totals[IdxInvRemainingAmount])
553553 let totalsClaimedPriceAssetAmount = parseIntValue(totals[IdxInvClaimedPriceAssetAmount])
554554 let totalsClaimedIdoAssetAmount = parseIntValue(totals[IdxInvClaimedIdoAssetAmount])
555555 let totalsLastClaimedHeight = parseIntValue(totals[IdxInvLastClaimedHeight])
556556 let newTotalsRemainingAmount = (totalsRemainingAmount - investorRemainingAmount)
557557 let newTotalArray = [toString(totalsTotalAmount), toString(newTotalsRemainingAmount), toString(totalsClaimedPriceAssetAmount), toString(totalsClaimedIdoAssetAmount), toString(totalsLastClaimedHeight)]
558558 let newTotalRemainingAmount = (valueOrElse(getInteger(keyTotalRemainingAmount()), 0) + investorRemainingAmount)
559559 [StringEntry(keyInvestorRemainingAmount(userAddress58), toString(investorRemainingAmount)), StringEntry(keyTotalRemainingAmount(), toString(newTotalRemainingAmount)), TotalsEntry(keyInvestor(userAddress58), newInvestArray, totalsDiff, newClaimPeriodHeight, 0), TotalsEntry(keyTotals(), newTotalArray, totalsDiff, newClaimPeriodHeight, 0)]
560560 }
561561 else [TotalsEntry(keyInvestor(userAddress58), origInvestArray, totalsDiff, newClaimPeriodHeight, 0), TotalsEntry(keyTotals(), readTotalsArrayOrDefault(), totalsDiff, newClaimPeriodHeight, 0)]
562562 let updatedPriceAssetBalance = ((priceAssetBalance + outAmount) - periodMinAvailableToClaim)
563563 ([ScriptTransfer(i.caller, periodMinAvailableToClaim, outAssetId), IntegerEntry(keyPriceAssetBalance(userAddress58), updatedPriceAssetBalance)] ++ lastClaimEntries)
564564 }
565565 else throw("Strict value is not equal to itself.")
566566 }
567567 $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)
568568 }
569569 else throw("Strict value is not equal to itself.")
570570 }
571571 else {
572572 let priceAssetBalanceIdoDecimals = fraction(priceAssetBalance, scale8, pow(10, 0, priceAssetDecimals, 0, 0, DOWN))
573573 $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)
574574 }
575575 entries
576576 }
577577 }
578578
579579
580580
581581 @Callable(i)
582582 func cleanRemaingAmount (userAddress58) = {
583583 let priceAssetId58 = readConfigArray()[IdxCfgPriceAssetId]
584584 let evaluateResult = split(asString(invoke(this, "claimREADONLY", [priceAssetId58, userAddress58], nil)), SEP)
585585 if ((evaluateResult == evaluateResult))
586586 then {
587587 let availablePriceAmountToClaim = parseIntValue(evaluateResult[2])
588588 let checkUnclaimedAssets = if ((availablePriceAmountToClaim == 0))
589589 then true
590590 else throwErr("user have unclaimed assets")
591591 if ((checkUnclaimedAssets == checkUnclaimedAssets))
592592 then {
593593 let investor = split(value(getString(keyInvestor(userAddress58))), SEP)
594594 let investorTotalAmount = parseIntValue(investor[IdxInvTotalAmount])
595595 let investorRemainingAmount = parseIntValue(investor[IdxInvRemainingAmount])
596596 let investorPriceAssetBalance = parseIntValue(investor[IdxInvClaimedPriceAssetAmount])
597597 let investorIdoAssetBalance = parseIntValue(investor[IdxInvClaimedIdoAssetAmount])
598598 let investorLastClaimedHeight = parseIntValue(investor[IdxInvLastClaimedHeight])
599599 let investorRemainingAmountCheck = if ((investorRemainingAmount != 0))
600600 then true
601601 else throwErr("investorRemainingAmount already zero")
602602 if ((investorRemainingAmountCheck == investorRemainingAmountCheck))
603603 then {
604604 let newInvestor = makeString(["%d%d%d%d%d", toString(investorTotalAmount), "0", toString(investorPriceAssetBalance), toString(investorIdoAssetBalance), toString(investorLastClaimedHeight)], SEP)
605605 let totals = split(value(getString(keyTotals())), SEP)
606606 let totalsTotalAmount = parseIntValue(totals[IdxInvTotalAmount])
607607 let totalsRemainingAmount = parseIntValue(totals[IdxInvRemainingAmount])
608608 let totalsClaimedPriceAssetAmount = parseIntValue(totals[IdxInvClaimedPriceAssetAmount])
609609 let totalsClaimedIdoAssetAmount = parseIntValue(totals[IdxInvClaimedIdoAssetAmount])
610610 let totalsLastClaimedHeight = parseIntValue(totals[IdxInvLastClaimedHeight])
611611 let newTotals = makeString(["%d%d%d%d%d", toString(totalsTotalAmount), toString((totalsRemainingAmount - investorRemainingAmount)), toString(totalsClaimedPriceAssetAmount), toString(totalsClaimedIdoAssetAmount), toString(totalsLastClaimedHeight)], SEP)
612612 let newTotalRemainingAmount = (valueOrElse(getInteger(keyTotalRemainingAmount()), 0) + investorRemainingAmount)
613613 [StringEntry(keyInvestorRemainingAmount(userAddress58), toString(investorRemainingAmount)), StringEntry(keyTotalRemainingAmount(), toString(newTotalRemainingAmount)), StringEntry(keyInvestor(userAddress58), newInvestor), StringEntry(keyTotals(), newTotals)]
614614 }
615615 else throw("Strict value is not equal to itself.")
616616 }
617617 else throw("Strict value is not equal to itself.")
618618 }
619619 else throw("Strict value is not equal to itself.")
620620 }
621621
622622
623623
624624 @Callable(i)
625625 func claimFor (userList) = {
626626 func helper (acc,user) = {
627627 let $t03473134763 = acc
628628 let allActions = $t03473134763._1
629629 let totalSum = $t03473134763._2
630630 let $t03476834900 = getClaimForActions(user, i.transactionId)
631631 let investorRemainingAmount = $t03476834900._1
632632 let priceAssetAmount = $t03476834900._2
633633 let investorKeyRemainingAmount = $t03476834900._3
634634 let userActions = $t03476834900._4
635635 let addSum = (investorRemainingAmount + investorKeyRemainingAmount)
636636 $Tuple2((allActions ++ userActions), (totalSum + addSum))
637637 }
638638
639639 let $t03503035089 = {
640640 let $l = userList
641641 let $s = size($l)
642642 let $acc0 = $Tuple2(nil, 0)
643643 func $f0_1 ($a,$i) = if (($i >= $s))
644644 then $a
645645 else helper($a, $l[$i])
646646
647647 func $f0_2 ($a,$i) = if (($i >= $s))
648648 then $a
649649 else throw("List size exceeds 19")
650650
651651 $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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19)
652652 }
653653 let allActions = $t03503035089._1
654654 let sum = $t03503035089._2
655- let totalsAction = TotalsEntry(keyTotals(), readTotalsArrayOrDefault(), [0, (-(sum) / 100), 0, sum], height, 0)
656- (allActions :+ totalsAction)
655+ let totalsAction = if ((sum != 0))
656+ then [TotalsEntry(keyTotals(), readTotalsArrayOrDefault(), [0, (-(sum) / 100), 0, sum], height, 0)]
657+ else nil
658+ (allActions ++ totalsAction)
657659 }
658660
659661
660662
661663 @Callable(i)
662664 func claimREADONLY (claimedAssetId58,userAddress58) = {
663665 let claimResultTuple = internalClaim(claimedAssetId58, addressFromStringValue(userAddress58), fromBase58String(""))
664666 let totalsDiff = claimResultTuple._1
665667 let outAmount = claimResultTuple._2
666668 let outAssetId = claimResultTuple._3
667669 let origInvestArray = claimResultTuple._4
668670 let newClaimPeriodHeight = claimResultTuple._5
669671 let availableToClaimArray = claimResultTuple._6
670672 let availablePriceAmountToClaim = availableToClaimArray[0]
671673 let availableIdoAmountToClaim = availableToClaimArray[1]
672674 $Tuple2(nil, makeString(["%s%d%d", userAddress58, toString(availablePriceAmountToClaim), toString(availableIdoAmountToClaim)], SEP))
673675 }
674676
675677
676678
677679 @Callable(i)
678680 func claimV2READONLY (claimedAssetId58,userAddress58) = {
679681 let claimResultTuple = internalClaim(claimedAssetId58, addressFromStringValue(userAddress58), fromBase58String(""))
680682 let totalsDiff = claimResultTuple._1
681683 let outAmount = claimResultTuple._2
682684 let outAssetId = claimResultTuple._3
683685 let origInvestArray = claimResultTuple._4
684686 let newClaimPeriodHeight = claimResultTuple._5
685687 let availableToClaimArray = claimResultTuple._6
686688 let availablePriceAmountToClaim = availableToClaimArray[0]
687689 let availableIdoAmountToClaim = availableToClaimArray[1]
688690 let cfgArray = readConfigArray()
689691 let priceAssetId58 = cfgArray[IdxCfgPriceAssetId]
690692 let priceAssetBalance = valueOrElse(getInteger(keyPriceAssetBalance(userAddress58)), 0)
691693 let priceAssetBalanceIdoDecimals = (priceAssetBalance * 100)
692694 let availableIdoAmountToClaimWithPriceAssetBalance = (availableIdoAmountToClaim + priceAssetBalanceIdoDecimals)
693- let $t03702737439 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
694- let periodMinAvailableToClaim = $t03702737439._1
695- let periodTotalAvailableToClaim = $t03702737439._2
696- let periodUserAvailableToClaim = $t03702737439._3
697- let totalUserAvailableToClaim = $t03702737439._4
698- let usdtPriceAssetAllowableRatio = $t03702737439._5
699- let currentUsdtPriceAssetRatio = $t03702737439._6
700- let endPeriodBlocksLeft = $t03702737439._7
701- let updatedCurrentPeriod = $t03702737439._8
702- let periodStart = $t03702737439._9
703- let periodEnd = $t03702737439._10
695+ let $t03705537467 = internalClaimV2(priceAssetId58, userAddress58, outAmount, totalsDiff[IdxDiffClaimedPriceAmountIncrement])
696+ let periodMinAvailableToClaim = $t03705537467._1
697+ let periodTotalAvailableToClaim = $t03705537467._2
698+ let periodUserAvailableToClaim = $t03705537467._3
699+ let totalUserAvailableToClaim = $t03705537467._4
700+ let usdtPriceAssetAllowableRatio = $t03705537467._5
701+ let currentUsdtPriceAssetRatio = $t03705537467._6
702+ let endPeriodBlocksLeft = $t03705537467._7
703+ let updatedCurrentPeriod = $t03705537467._8
704+ let periodStart = $t03705537467._9
705+ let periodEnd = $t03705537467._10
704706 let currentPeriodEndHeight = valueOrElse(getInteger(keyPeriodEndHeight(updatedCurrentPeriod)), 0)
705707 let userTotalPriceAssetClaimed = (parseIntValue(readInvestorArrayOrFail(userAddress58)[IdxInvClaimedPriceAssetAmount]) - priceAssetBalance)
706708 let resultString = if ((height > currentPeriodEndHeight))
707709 then {
708710 let periodLenght = value(getInteger(keyPeriodLength()))
709711 let userPeriodAllowance = value(getInteger(keyUserPeriodAllowance(priceAssetId58)))
710712 let totalPeriodAllowance = value(getInteger(keyTotalPeriodAllowance(priceAssetId58)))
711713 makeString(["%d%d%d%d%d%d", toString(availableIdoAmountToClaimWithPriceAssetBalance), toString(userPeriodAllowance), toString(totalPeriodAllowance), toString(usdtPriceAssetAllowableRatio), toString(currentUsdtPriceAssetRatio), toString(periodLenght), toString(userTotalPriceAssetClaimed)], SEP)
712714 }
713715 else makeString(["%d%d%d%d%d%d", toString(availableIdoAmountToClaimWithPriceAssetBalance), toString(periodMinAvailableToClaim), toString(periodTotalAvailableToClaim), toString(usdtPriceAssetAllowableRatio), toString(currentUsdtPriceAssetRatio), toString(endPeriodBlocksLeft), toString(userTotalPriceAssetClaimed)], SEP)
714716 $Tuple2(nil, resultString)
715717 }
716718
717719
718720 @Verifier(tx)
719721 func verify () = {
720722 let targetPublicKey = match managerPublicKeyOrUnit() {
721723 case pk: ByteVector =>
722724 pk
723725 case _: Unit =>
724726 tx.senderPublicKey
725727 case _ =>
726728 throw("Match error")
727729 }
728730 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
729731 }
730732

github/deemru/w8io/169f3d6 
223.54 ms