tx · 4EVkYYtm3ADUPKvwauKoi8qTiV8QeXKz9gZjPCEGd25Y

3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J:  -0.03000000 Waves

2023.10.11 15:44 [2793964] smart account 3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J > SELF 0.00000000 Waves

{ "type": 13, "id": "4EVkYYtm3ADUPKvwauKoi8qTiV8QeXKz9gZjPCEGd25Y", "fee": 3000000, "feeAssetId": null, "timestamp": 1697028277437, "version": 2, "chainId": 84, "sender": "3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J", "senderPublicKey": "4DthuG3xjZV9WtZ34Y66AummdAr67wRzwWsVQL4y2bob", "proofs": [ "5qUao6RohKtZe9Z67Ndv4wRvwccscnMuYdXs6NQL7EGTXNA8KEZrigfFzPCH95E8pXFuSrp2APpiqVMadrBtEboY", "5QdtzW4bhudgaYMyCtsRSwB4suT9LC5AFFUo4n61cKS6egbr8FSWwBmkwxqWTb72oeSa653UZnjPjrW5n3GGYzuE", "4qCTShhhdNjGBM13a7X6Cm57Y2Jz9g1DkZVAFsAkWbxMH9GmUdWAbUDNEoC46Y9xvDnVigftvnYgv5BzuYSbPLTG" ], "script": "base64:BgIzCAISBwoFCAgBAQgSBAoCAQESABIDCgEBEgASABIAEgASABIDCgEIEgQKAggBEgQKAggBXgAJc2VwYXJhdG9yAgJfXwADU0VQAgJfXwAFTVVMVDYAwIQ9AAVNVUxUOACAwtcvAAZNVUxUWDYJALYCAQUFTVVMVDYABk1VTFRYOAkAtgIBBQVNVUxUOAAHTVVMVFgxOAkAtgIBAICAkLu61q3wDQAKV0FWRVNJRFNUUgIFV0FWRVMAB1dBVkVTSUQJANkEAQUKV0FWRVNJRFNUUgAJREFZTUlMTElTAIC4mSkACU1BWEJBU0tFVAAJABlJZHhDb250cm9sQ2ZnTmV1dHJpbm9EYXBwAAEAGElkeENvbnRyb2xDZmdBdWN0aW9uRGFwcAACABRJZHhDb250cm9sQ2ZnUnBkRGFwc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d1pjN2Zxd0NUanRBM25uUndnVGJrTVNyNVNVMk5tRFIJAMwIAgIsRFV1dUxqWHU5OG5Cd1pjN2Zxd0NUanRBM25uUndnVGJrTVNyNVNVMk5tRFIFA25pbAUDU0VQBBBwdWJLZXlBZG1pbnNMaXN0CQC1CQIJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUPY29udHJvbENvbnRyYWN0Agwlc19fbXVsdGlzaWcFE3B1YktleUFkbWluc0xpc3RTdHIFA1NFUAQFY291bnQJAGQCCQBkAgkAZAIDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACQDZBAEJAJEDAgUQcHViS2V5QWRtaW5zTGlzdAAAAAEAAAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEJANkEAQkAkQMCBRBwdWJLZXlBZG1pbnNMaXN0AAEAAQAAAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgkA2QQBCQCRAwIFEHB1YktleUFkbWluc0xpc3QAAgABAAADCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwADCQDZBAEJAJEDAgUQcHViS2V5QWRtaW5zTGlzdAADAAIAAAkAZwIFBWNvdW50AAPnadIS", "height": 2793964, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CZpLBavoeneH3HLSnD9uSZ7bVcrixZpQdVx1hGbFCk8v Next: Gsn8hUuJ3TctkoqY5qkGHEW3qdZnVrpKeHRo2JfzMB9R Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let separator = "__"
55
66 let SEP = "__"
77
88 let MULT6 = 1000000
99
1010 let MULT8 = 100000000
1111
1212 let MULTX6 = toBigInt(MULT6)
1313
1414 let MULTX8 = toBigInt(MULT8)
1515
1616 let MULTX18 = toBigInt(1000000000000000000)
1717
1818 let WAVESIDSTR = "WAVES"
1919
2020 let WAVESID = fromBase58String(WAVESIDSTR)
2121
2222 let DAYMILLIS = 86400000
2323
2424 let MAXBASKET = 9
2525
2626 let IdxControlCfgNeutrinoDapp = 1
2727
2828 let IdxControlCfgAuctionDapp = 2
2929
3030 let IdxControlCfgRpdDapp = 3
3131
3232 let IdxControlCfgMathDapp = 4
3333
3434 let IdxControlCfgLiquidationDapp = 5
3535
3636 let IdxControlCfgRestDapp = 6
3737
3838 let IdxControlCfgNodeRegistryDapp = 7
3939
4040 let IdxControlCfgNsbtStakingDapp = 8
4141
4242 let IdxControlCfgMediatorDapp = 9
4343
4444 let IdxControlCfgGovernanceDapp = 13
4545
4646 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined"))
4747
4848
4949 func keyCfgX2GnsbtOfferHeightStart () = "%s%s__config__x2GnsbtOfferHeightStart"
5050
5151
5252 func keyCfgX2GnsbtOfferHeightEnd () = "%s%s__config__x2GnsbtOfferHeightEnd"
5353
5454
5555 func keyControlAddress () = "%s%s__config__controlAddress"
5656
5757
5858 func keyControlCfg () = "%s__controlConfig"
5959
6060
6161 func readControlCfgOrFail (control) = split_4C(getStringOrFail(control, keyControlCfg()), SEP)
6262
6363
6464 func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx)))
6565
6666
6767 let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx"))
6868
6969 let controlCfg = readControlCfgOrFail(controlContract)
7070
7171 let mathContract = getContractAddressOrFail(controlCfg, IdxControlCfgMathDapp)
7272
7373 let neutrinoContract = getContractAddressOrFail(controlCfg, IdxControlCfgNeutrinoDapp)
7474
7575 let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp)
7676
7777 let govContract = getContractAddressOrFail(controlCfg, IdxControlCfgGovernanceDapp)
7878
7979 let RENEW_START_HEIGHT = valueOrElse(getInteger(this, keyCfgX2GnsbtOfferHeightStart()), 0)
8080
8181 let RENEW_END_HEIGHT = valueOrElse(getInteger(this, keyCfgX2GnsbtOfferHeightEnd()), 0)
8282
8383 func keyBondAsset () = "bond_asset_id"
8484
8585
8686 func keyUserGnsbtReleaseTime (userAddr) = ("%s%s_userGnsbtReleaseTime__" + userAddr)
8787
8888
8989 func keyNeutrinoContractAddress () = "%s__neutrinoContractAddress"
9090
9191
9292 func keyMathContractAddress () = "%s__mathContract"
9393
9494
9595 func keyMinLockAmount () = "%s__minLockAmount"
9696
9797
9898 func keyHalfLife () = "%s__halfLife"
9999
100100
101101 func keyLockParamUserAmount (userAddress) = makeString(["%s%s%s", "paramByUser", toString(userAddress), "amount"], separator)
102102
103103
104104 func keyLockParamStartBlock (userAddress) = makeString(["%s%s%s", "paramByUser", toString(userAddress), "start"], separator)
105105
106106
107107 func keyLockParamUserGnsbt (userAddress) = makeString(["%s%s%s", "paramByUser", toString(userAddress), "gNsbt"], separator)
108108
109109
110110 func keyUserConsentedToX2Gnsbt (userAddress) = makeString(["%s%s%s", "paramByUser", toString(userAddress), "consentedToX2Gnsbt"], separator)
111111
112112
113113 func keyHistoryRecord (type,userAddress,txId) = makeString(["%s%s%s%s", "history", type, toString(userAddress), toBase58String(txId)], separator)
114114
115115
116116 func keyLockParamTotalAmount () = makeString(["%s%s", "stats", "activeTotalLocked"], separator)
117117
118118
119119 func keyLockParamTotalGnsbt () = makeString(["%s%s", "stats", "activeTotalGnsbt"], separator)
120120
121121
122122 func keyStatsLocksCount () = makeString(["%s%s", "stats", "locksCount"], separator)
123123
124124
125125 func keyStatsUsersCount () = makeString(["%s%s", "stats", "activeUsersCount"], separator)
126126
127127
128128 func keyStatsDepositAmtByDay (timestamp) = makeString(["%s%s%d", "stats", "depositAmtByDay", toString(timestamp)], separator)
129129
130130
131131 func keyStatsDepositAmtTotals () = makeString(["%s%s%d", "stats", "depositAmtTotals"], separator)
132132
133133
134134 func keyNextPeriod () = "%s__nextPeriod"
135135
136136
137137 func keySupportedRewardAssets () = "supportedRewardAssets"
138138
139139
140140 func keyDepositNumLast () = makeString(["%s%s%s", "dep", "lastNum"], separator)
141141
142142
143143 func keyUserRewardFromDepositNum (userAddress) = makeString(["%s%s%s", "userRwdFromDepNum", userAddress], separator)
144144
145145
146146 func keyRewardPerNsbtSumAt (depositNum,tkn) = makeString(["%s%d", "rwdPerNsbtSumByDepNum", toString(depositNum), tkn], separator)
147147
148148
149149 func keyReward (userAddress,tkn) = makeString(["%s%s%s", "rwd", userAddress, tkn], separator)
150150
151151
152152 func keyClaimed (userAddress,tkn) = makeString(["%s%s%s", "clm", userAddress, tkn], separator)
153153
154154
155155 func keyNotDistributedReward (tkn) = makeString(["%s%s", "notDistributed", tkn], separator)
156156
157157
158158 func toX18 (origVal,origMult) = fraction(toBigInt(origVal), MULTX18, origMult)
159159
160160
161161 func getIntOrZero (key) = valueOrElse(getInteger(this, key), 0)
162162
163163
164164 func getIntOrElse (key,defaultVal) = valueOrElse(getInteger(this, key), defaultVal)
165165
166166
167167 func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), (("Mandatory this." + key) + " is not defined"))
168168
169169
170170 func getStrOrElse (key,defaultVal) = valueOrElse(getString(this, key), defaultVal)
171171
172172
173173 func toAddressOrFail (addressStr) = valueOrErrorMessage(addressFromString(addressStr), ("couldn't parse passed addressStr=" + addressStr))
174174
175175
176176 func toAssetVect (assetStr) = if ((assetStr == WAVESIDSTR))
177177 then unit
178178 else fromBase58String(assetStr)
179179
180180
181181 func asInt (val) = match val {
182182 case valInt: Int =>
183183 valInt
184184 case _ =>
185185 throw("fail to cast into Int")
186186 }
187187
188188
189189 func formatHistoryRecord (oldAmount,oldStart,newAmount,newStart) = makeString(["%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(oldAmount), toString(oldStart), toString(newAmount), toString(newStart)], separator)
190190
191191
192192 func formatClaimHistoryRecord (user,claimedRewards) = makeString(["%s%d%d%s", user, toString(lastBlock.height), toString(lastBlock.timestamp), claimedRewards], separator)
193193
194194
195195 func HistoryRecordEntry (type,userAddress,txId,oldAmount,oldStart,newAmount,newStart) = StringEntry(keyHistoryRecord(type, userAddress, txId), formatHistoryRecord(oldAmount, oldStart, newAmount, newStart))
196196
197197
198198 func ClaimHistoryEntry (userAddress,txId,claimedRewards) = StringEntry(keyHistoryRecord("claim", userAddress, txId), formatClaimHistoryRecord(toString(userAddress), claimedRewards))
199199
200200
201201 func StatsResult (totalLockedInc,lockCountInc,usersCountInc,totalGnsbtInc) = {
202202 let locksCount = getIntOrZero(keyStatsLocksCount())
203203 let usersCount = getIntOrZero(keyStatsUsersCount())
204204 let totalAmount = getIntOrZero(keyLockParamTotalAmount())
205205 let totalAmountNew = (totalAmount + totalLockedInc)
206206 let totalGnsbt = getIntOrElse(keyLockParamTotalGnsbt(), totalAmount)
207207 $Tuple3([IntegerEntry(keyStatsLocksCount(), (locksCount + lockCountInc)), IntegerEntry(keyStatsUsersCount(), (usersCount + usersCountInc)), IntegerEntry(keyLockParamTotalAmount(), totalAmountNew), IntegerEntry(keyLockParamTotalGnsbt(), (totalGnsbt + totalGnsbtInc))], totalAmount, totalAmountNew)
208208 }
209209
210210
211211 func LockParamsEntry (userAddress,nsbtAmount,start,gNsbtAmount) = [IntegerEntry(keyLockParamUserAmount(userAddress), nsbtAmount), IntegerEntry(keyLockParamUserGnsbt(userAddress), gNsbtAmount), IntegerEntry(keyLockParamStartBlock(userAddress), start)]
212212
213213
214214 func getParamsOrFail () = $Tuple3(fromBase58String(getStringValue(neutrinoContract, keyBondAsset())), getIntOrFail(keyMinLockAmount()), getIntOrFail(keyHalfLife()))
215215
216216
217217 func isActiveUser (userAddress) = (getIntOrElse(keyLockParamUserAmount(userAddress), 0) > 0)
218218
219219
220220 func isBonusPeriod (h) = if ((h >= RENEW_START_HEIGHT))
221221 then (RENEW_END_HEIGHT >= h)
222222 else false
223223
224224
225225 func getUserParamsOrUnit (userAddress) = if (isActiveUser(userAddress))
226226 then {
227227 let amount = getIntOrFail(keyLockParamUserAmount(userAddress))
228228 $Tuple4(false, amount, getIntOrFail(keyLockParamStartBlock(userAddress)), getIntOrElse(keyLockParamUserGnsbt(userAddress), amount))
229229 }
230230 else unit
231231
232232
233233 func getUserParamsOrFail (userAddress) = valueOrErrorMessage(getUserParamsOrUnit(userAddress), (("User " + toString(userAddress)) + " is not defined"))
234234
235235
236236 let supportedAssetsStr = getStrOrElse(keySupportedRewardAssets(), "")
237237
238238 let supportedAssetsList = split(supportedAssetsStr, "_")
239239
240240 func calcReward (userAddress,assetId,stakedAmountX,depositNumUser,depositNumLast) = {
241241 let rewardPerNsbtSumLastKEY = keyRewardPerNsbtSumAt(depositNumLast, assetId)
242242 let sumLastX18 = parseBigIntValue(getStrOrElse(keyRewardPerNsbtSumAt(depositNumLast, assetId), "0"))
243243 let sumUserX18 = parseBigIntValue(getStrOrElse(keyRewardPerNsbtSumAt(depositNumUser, assetId), "0"))
244244 let rewardDynamicPart = toInt(fraction((sumLastX18 - sumUserX18), stakedAmountX, MULTX18))
245245 let rewardCachedPartKEY = keyReward(userAddress, assetId)
246246 let rewardCachedPart = getIntOrElse(rewardCachedPartKEY, 0)
247247 $Tuple4((rewardCachedPart + rewardDynamicPart), rewardCachedPart, rewardDynamicPart, rewardCachedPartKEY)
248248 }
249249
250250
251251 func toStartOfDay (timestamp) = ((timestamp / DAYMILLIS) * DAYMILLIS)
252252
253253
254254 func findElementPosition (src,element,sep) = {
255255 let elementStart = valueOrErrorMessage(indexOf(src, element), ((("there is no substring " + element) + " in ") + src))
256256 if ((elementStart == 0))
257257 then 0
258258 else {
259259 let left = take(src, elementStart)
260260 (size(split(left, sep)) - 1)
261261 }
262262 }
263263
264264
265265 let DepositTotalsPREFIX = "%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d"
266266
267267 let defaultTotalsDATA = (DepositTotalsPREFIX + "__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0")
268268
269269 func padList (in) = {
270270 let currSize = (size(in) - 1)
271271 func listPadder (acc,idx) = if ((currSize > idx))
272272 then acc
273273 else (acc :+ "0")
274274
275275 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
276276 let $s = size($l)
277277 let $acc0 = in
278278 func $f0_1 ($a,$i) = if (($i >= $s))
279279 then $a
280280 else listPadder($a, $l[$i])
281281
282282 func $f0_2 ($a,$i) = if (($i >= $s))
283283 then $a
284284 else throw("List size exceeds 18")
285285
286286 $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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18)
287287 }
288288
289289
290290 func padString (in) = {
291291 let currSize = (size(split_4C(in, SEP)) - 1)
292292 func strPadder (acc,idx) = if ((currSize > idx))
293293 then acc
294294 else (acc + "__0")
295295
296296 let $l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
297297 let $s = size($l)
298298 let $acc0 = in
299299 func $f0_1 ($a,$i) = if (($i >= $s))
300300 then $a
301301 else strPadder($a, $l[$i])
302302
303303 func $f0_2 ($a,$i) = if (($i >= $s))
304304 then $a
305305 else throw("List size exceeds 18")
306306
307307 $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($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18)
308308 }
309309
310310
311311 func RewardEntries (isNewUser,userAddress,stakedAmount) = {
312312 let stakedAmountX = toBigInt(stakedAmount)
313313 let userRewardFromDepositNumKEY = keyUserRewardFromDepositNum(userAddress)
314314 let depositNumUser = getIntOrElse(userRewardFromDepositNumKEY, -1)
315315 let depositNumLast = getIntOrElse(keyDepositNumLast(), -1)
316316 func forEachAssetCacheUserReward (accum,asset) = {
317317 let $t01139311528 = calcReward(userAddress, asset, stakedAmountX, depositNumUser, depositNumLast)
318318 let rewardTotal = $t01139311528._1
319319 let cached = $t01139311528._2
320320 let dynamic = $t01139311528._3
321321 let rewardCachedPartKEY = $t01139311528._4
322322 (accum :+ IntegerEntry(rewardCachedPartKEY, rewardTotal))
323323 }
324324
325325 if (if ((depositNumLast == -1))
326326 then (depositNumUser == -1)
327327 else false)
328328 then nil
329329 else if (if ((depositNumLast == -1))
330330 then (depositNumUser > -1)
331331 else false)
332332 then throw("invalid depositNumLast and depositNumUser state")
333333 else if (if ((depositNumLast > -1))
334334 then (depositNumUser >= -1)
335335 else false)
336336 then if (isNewUser)
337337 then [IntegerEntry(userRewardFromDepositNumKEY, depositNumLast)]
338338 else ({
339339 let $l = supportedAssetsList
340340 let $s = size($l)
341341 let $acc0 = nil
342342 func $f0_1 ($a,$i) = if (($i >= $s))
343343 then $a
344344 else forEachAssetCacheUserReward($a, $l[$i])
345345
346346 func $f0_2 ($a,$i) = if (($i >= $s))
347347 then $a
348348 else throw("List size exceeds 9")
349349
350350 $f0_2($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)
351351 } :+ IntegerEntry(userRewardFromDepositNumKEY, depositNumLast))
352352 else throw(((("uncovered condition: depositNumLast=" + toString(depositNumLast)) + " depositNumUser=") + toString(depositNumUser)))
353353 }
354354
355355
356356 func IncrementNotDistributedRewardEntry (tkn,amountInc) = {
357357 let notDistributedRewardKEY = keyNotDistributedReward(tkn)
358358 let notDistributedReward = getIntOrElse(notDistributedRewardKEY, 0)
359359 IntegerEntry(notDistributedRewardKEY, (notDistributedReward + amountInc))
360360 }
361361
362362
363363 func commonClaim (userAddress,i) = {
364364 let userAddressStr = toString(userAddress)
365365 if ((size(i.payments) > 0))
366366 then throw("payments are not accepted")
367367 else {
368368 let $t01446914590 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple4(true, 0, 0, 0))
369369 let isNewUser = $t01446914590._1
370370 let stakedAmount = $t01446914590._2
371371 let stakingStart = $t01446914590._3
372372 let gNsbtAmount = $t01446914590._4
373373 let stakedAmountX = toBigInt(gNsbtAmount)
374374 let userRewardFromDepositNumKEY = keyUserRewardFromDepositNum(userAddressStr)
375375 let depositNumUser = getIntOrElse(userRewardFromDepositNumKEY, -1)
376376 let depositNumLast = getIntOrElse(keyDepositNumLast(), -1)
377377 func forEachAssetCalcUnclaimedReward (accum,asset) = {
378378 let $t01496015098 = calcReward(userAddressStr, asset, stakedAmountX, depositNumUser, depositNumLast)
379379 let rewardTotal = $t01496015098._1
380380 let cached = $t01496015098._2
381381 let dynamic = $t01496015098._3
382382 let rewardCachedPartKEY = $t01496015098._4
383383 let claimedKEY = keyClaimed(userAddressStr, asset)
384384 let $t01515815195 = accum
385385 let data = $t01515815195._1
386386 let claimedAmtByAsset = $t01515815195._2
387387 let newPart = makeString([asset, toString(rewardTotal)], ":")
388388 let claimedAmtByAssetNew = makeString([claimedAmtByAsset, newPart], "_")
389389 if ((0 >= rewardTotal))
390390 then $Tuple2(data, claimedAmtByAssetNew)
391391 else $Tuple2((((data :+ ScriptTransfer(userAddress, rewardTotal, toAssetVect(asset))) :+ IntegerEntry(claimedKEY, (valueOrElse(getInteger(claimedKEY), 0) + rewardTotal))) :+ IntegerEntry(rewardCachedPartKEY, 0)), claimedAmtByAssetNew)
392392 }
393393
394394 let $t01565515768 = {
395395 let $l = supportedAssetsList
396396 let $s = size($l)
397397 let $acc0 = $Tuple2(nil, "")
398398 func $f0_1 ($a,$i) = if (($i >= $s))
399399 then $a
400400 else forEachAssetCalcUnclaimedReward($a, $l[$i])
401401
402402 func $f0_2 ($a,$i) = if (($i >= $s))
403403 then $a
404404 else throw("List size exceeds 9")
405405
406406 $f0_2($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)
407407 }
408408 let transfers = $t01565515768._1
409409 let claimedAmtByAssetResult = $t01565515768._2
410410 if ((0 >= size(transfers)))
411411 then $Tuple2(nil, 0)
412412 else $Tuple2(((transfers :+ IntegerEntry(userRewardFromDepositNumKEY, depositNumLast)) :+ ClaimHistoryEntry(userAddress, i.transactionId, drop(claimedAmtByAssetResult, 1))), size(transfers))
413413 }
414414 }
415415
416416
417417 func readUserConsentToX2Gnsbt (userAddress) = {
418418 let key = keyUserConsentedToX2Gnsbt(userAddress)
419419 let val = valueOrElse(getBoolean(this, key), false)
420420 $Tuple2(key, val)
421421 }
422422
423423
424424 func commonX2Gnsbt (userAddress,i) = if (!(isBonusPeriod(height)))
425425 then throw("No 'Double gNSBT action' available now")
426426 else {
427427 let $t01633016391 = commonClaim(userAddress, i)
428428 let claimActions = $t01633016391._1
429429 let claimResult = $t01633016391._2
430430 let $t01639416519 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple4(true, 0, -1, 0))
431431 let isNewUser = $t01639416519._1
432432 let lockAmount = $t01639416519._2
433433 let lockStartHeight = $t01639416519._3
434434 let currUserGnsbt = $t01639416519._4
435435 if (isNewUser)
436436 then throw("You have nothing to restake")
437437 else {
438438 let newUserGnsbt = (2 * lockAmount)
439439 let totalNsbt = getIntOrZero(keyLockParamTotalAmount())
440440 let totalGnsbt = getIntOrElse(keyLockParamTotalGnsbt(), totalNsbt)
441441 let newTotalGnsbt = ((totalGnsbt - currUserGnsbt) + newUserGnsbt)
442442 let userConsentTuple = readUserConsentToX2Gnsbt(userAddress)
443443 let userConsentedToX2GnsbtKEY = userConsentTuple._1
444444 let userConsentedToX2Gnsbt = userConsentTuple._2
445445 if (userConsentedToX2Gnsbt)
446446 then throw("User has already doubled its gNSBT value")
447447 else $Tuple2((((claimActions ++ LockParamsEntry(userAddress, lockAmount, height, newUserGnsbt)) :+ IntegerEntry(keyLockParamTotalGnsbt(), newTotalGnsbt)) :+ BooleanEntry(userConsentedToX2GnsbtKEY, true)), claimResult)
448448 }
449449 }
450450
451451
452452 @Callable(i)
453453 func constructorV1 (neutrinoContractAddress,mathContractAddress,minLockAmount,halfLife,supportedRewardAssets) = if ((i.caller != this))
454454 then throw("Permission denied")
455455 else [StringEntry(keyNeutrinoContractAddress(), neutrinoContractAddress), StringEntry(keyMathContractAddress(), mathContractAddress), IntegerEntry(keyMinLockAmount(), minLockAmount), IntegerEntry(keyHalfLife(), halfLife), StringEntry(keySupportedRewardAssets(), supportedRewardAssets)]
456456
457457
458458
459459 @Callable(i)
460460 func constructorV2 (x2GnsbtOfferHeightStart,x2GnsbtOfferHeightEnd) = if ((i.caller != this))
461461 then throw("Permission denied")
462462 else [IntegerEntry(keyCfgX2GnsbtOfferHeightStart(), x2GnsbtOfferHeightStart), IntegerEntry(keyCfgX2GnsbtOfferHeightEnd(), x2GnsbtOfferHeightEnd)]
463463
464464
465465
466466 @Callable(i)
467467 func stake () = {
468468 let $t01821518277 = getParamsOrFail()
469469 let bondAssetId = $t01821518277._1
470470 let minLockAmount = $t01821518277._2
471471 let halfLife = $t01821518277._3
472472 if ((size(i.payments) != 1))
473473 then throw("Invalid payments size")
474474 else {
475475 let payment = i.payments[0]
476476 let amount = payment.amount
477477 let invalidAssetMessage = (("Invalid asset. " + toBase58String(bondAssetId)) + " is expected")
478478 let assetId = valueOrErrorMessage(payment.assetId, invalidAssetMessage)
479479 if ((assetId != bondAssetId))
480480 then throw(invalidAssetMessage)
481481 else {
482482 let userAddress = i.caller
483483 let userAddressStr = toString(i.caller)
484484 let $t01881918944 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple4(true, 0, -1, 0))
485485 let isNewUser = $t01881918944._1
486486 let lockAmount = $t01881918944._2
487487 let lockStartHeight = $t01881918944._3
488488 let currUserGnsbt = $t01881918944._4
489489 let mergedAmount = if (isNewUser)
490490 then amount
491491 else (amount + lockAmount)
492492 let mergedStartHeight = if (isNewUser)
493493 then height
494494 else asInt(invoke(mathContract, "mergeStakesREADONLY", [amount, height, lockAmount, lockStartHeight, halfLife], nil))
495495 if ((minLockAmount > mergedAmount))
496496 then throw(("Min lock amount is " + toString(minLockAmount)))
497497 else {
498498 let userConsentTuple = readUserConsentToX2Gnsbt(userAddress)
499499 let userConsentedToX2GnsbtKEY = userConsentTuple._1
500500 let userConsentedToX2Gnsbt = userConsentTuple._2
501501 let deltaUserGnsbt = if (if (isBonusPeriod(height))
502502 then if (isNewUser)
503503 then true
504504 else userConsentedToX2Gnsbt
505505 else false)
506506 then (2 * amount)
507507 else amount
508508 let x2GnsbtConsentEntry = if (isNewUser)
509509 then [BooleanEntry(userConsentedToX2GnsbtKEY, true)]
510510 else nil
511511 let $t01994820066 = StatsResult(amount, 1, if (isNewUser)
512512 then 1
513513 else 0, deltaUserGnsbt)
514514 let statsEntries = $t01994820066._1
515515 let totalStaked = $t01994820066._2
516516 let totalStakedNew = $t01994820066._3
517517 (((([HistoryRecordEntry("stake", userAddress, i.transactionId, lockAmount, lockStartHeight, mergedAmount, mergedStartHeight)] ++ RewardEntries(isNewUser, userAddressStr, lockAmount)) ++ LockParamsEntry(userAddress, mergedAmount, mergedStartHeight, (currUserGnsbt + deltaUserGnsbt))) ++ statsEntries) ++ x2GnsbtConsentEntry)
518518 }
519519 }
520520 }
521521 }
522522
523523
524524
525525 @Callable(i)
526526 func unstake (amount) = if ((size(i.payments) != 0))
527527 then throw("unstake doesn't require any payment")
528528 else {
529529 let userAddress = i.caller
530530 let userAddressStr = toString(userAddress)
531531 let $t02060920671 = getParamsOrFail()
532532 let bondAssetId = $t02060920671._1
533533 let minLockAmount = $t02060920671._2
534534 let halfLife = $t02060920671._3
535535 let $t02067420763 = getUserParamsOrFail(userAddress)
536536 let isNewUser = $t02067420763._1
537537 let lockAmount = $t02067420763._2
538538 let lockStart = $t02067420763._3
539539 let currUserGnsbt = $t02067420763._4
540540 if ((0 >= lockAmount))
541541 then throw("Nothing to unstake")
542542 else if ((amount > lockAmount))
543543 then throw(((("Requested " + toString(amount)) + ", but staked only ") + toString(lockAmount)))
544544 else {
545545 let t = value(blockInfoByHeight(height)).timestamp
546546 let releaseTime = valueOrElse(getInteger(govContract, keyUserGnsbtReleaseTime(userAddressStr)), 0)
547547 if ((releaseTime >= t))
548548 then throw(("Your gNsbt are taking part in voting, cannot unstake until " + toString(releaseTime)))
549549 else {
550550 let comissionAmount = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, lockStart, halfLife], nil))
551551 let bonusGnsbtPart = (currUserGnsbt - lockAmount)
552552 let bonusNsbtAmount = min([amount, bonusGnsbtPart])
553553 let deltaGnsbt = (bonusNsbtAmount + amount)
554554 let $t02160121772 = StatsResult(-(amount), if ((amount == lockAmount))
555555 then -1
556556 else 0, if ((amount == lockAmount))
557557 then -1
558558 else 0, -(deltaGnsbt))
559559 let statsEntries = $t02160121772._1
560560 let totalStaked = $t02160121772._2
561561 let totalStakedNew = $t02160121772._3
562562 ((([ScriptTransfer(userAddress, (amount - comissionAmount), bondAssetId), ScriptTransfer(auctionContract, comissionAmount, bondAssetId), HistoryRecordEntry("unstake", userAddress, i.transactionId, lockAmount, lockStart, (lockAmount - amount), lockStart)] ++ RewardEntries(false, userAddressStr, lockAmount)) ++ LockParamsEntry(userAddress, (lockAmount - amount), lockStart, (currUserGnsbt - deltaGnsbt))) ++ statsEntries)
563563 }
564564 }
565565 }
566566
567567
568568
569569 @Callable(i)
570570 func deposit () = {
571571 let totalStaked = getIntOrElse(keyLockParamTotalGnsbt(), getIntOrElse(keyLockParamTotalAmount(), 0))
572572 if ((0 > totalStaked))
573573 then throw("TODO: case is not supported")
574574 else {
575575 let depositNumLastKEY = keyDepositNumLast()
576576 let depositNumLast = getIntOrElse(depositNumLastKEY, -1)
577577 let depositNumNew = (depositNumLast + 1)
578578 let totalsKEY = keyStatsDepositAmtTotals()
579579 let byDayKEY = keyStatsDepositAmtByDay(toStartOfDay(lastBlock.timestamp))
580580 let currTotals = padList(split(valueOrElse(getString(totalsKEY), defaultTotalsDATA), SEP))
581581 func dep (acc,pmt) = {
582582 let amount = pmt.amount
583583 let pmtAssetIdStr = toBase58String(valueOrElse(pmt.assetId, WAVESID))
584584 if (!(contains(supportedAssetsStr, pmtAssetIdStr)))
585585 then throw(((supportedAssetsStr + " doesn't contain ") + pmtAssetIdStr))
586586 else if ((totalStaked == 0))
587587 then $Tuple4((acc._1 :+ IncrementNotDistributedRewardEntry(pmtAssetIdStr, amount)), (acc._2 :+ pmtAssetIdStr), (acc._3 :+ toBigInt(0)), (acc._4 :+ amount))
588588 else {
589589 let rewardPerNsbtX18 = fraction(toBigInt(amount), MULTX18, toBigInt(totalStaked))
590590 $Tuple4(acc._1, (acc._2 :+ pmtAssetIdStr), (acc._3 :+ rewardPerNsbtX18), (acc._4 :+ amount))
591591 }
592592 }
593593
594594 let pmtsResult = {
595595 let $l = i.payments
596596 let $s = size($l)
597597 let $acc0 = $Tuple4(nil, nil, nil, nil)
598598 func $f0_1 ($a,$i) = if (($i >= $s))
599599 then $a
600600 else dep($a, $l[$i])
601601
602602 func $f0_2 ($a,$i) = if (($i >= $s))
603603 then $a
604604 else throw("List size exceeds 10")
605605
606606 $f0_2($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)
607607 }
608608 func refreshRewardUpdateTotals (accum,nextAsset) = {
609609 let k = accum._3
610610 let sumLastStr = getStrOrElse(keyRewardPerNsbtSumAt(depositNumLast, nextAsset), "0")
611611 let idx = indexOf(pmtsResult._2, nextAsset)
612612 let sum = if (isDefined(idx))
613613 then {
614614 let j = value(idx)
615615 let statsDelta = pmtsResult._4[j]
616616 $Tuple2(toString((parseBigIntValue(sumLastStr) + pmtsResult._3[j])), toString((parseIntValue(currTotals[(k + 1)]) + statsDelta)))
617617 }
618618 else $Tuple2(sumLastStr, currTotals[(k + 1)])
619619 $Tuple3((accum._1 :+ StringEntry(keyRewardPerNsbtSumAt(depositNumNew, nextAsset), sum._1)), ((accum._2 + SEP) + sum._2), (k + 1))
620620 }
621621
622622 let assetsResult = {
623623 let $l = supportedAssetsList
624624 let $s = size($l)
625625 let $acc0 = $Tuple3(nil, DepositTotalsPREFIX, 0)
626626 func $f1_1 ($a,$i) = if (($i >= $s))
627627 then $a
628628 else refreshRewardUpdateTotals($a, $l[$i])
629629
630630 func $f1_2 ($a,$i) = if (($i >= $s))
631631 then $a
632632 else throw("List size exceeds 9")
633633
634634 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9)
635635 }
636636 let totals = padString(assetsResult._2)
637637 $Tuple2(((((pmtsResult._1 ++ assetsResult._1) :+ IntegerEntry(depositNumLastKEY, depositNumNew)) :+ StringEntry(totalsKEY, totals)) :+ StringEntry(byDayKEY, totals)), depositNumNew)
638638 }
639639 }
640640
641641
642642
643643 @Callable(i)
644644 func claimRewards () = commonClaim(i.caller, i)
645645
646646
647647
648648 @Callable(i)
649649 func claimRewardsByOriginCaller () = commonClaim(i.originCaller, i)
650650
651651
652652
653653 @Callable(i)
654654 func x2Gnsbt () = commonX2Gnsbt(i.caller, i)
655655
656656
657657
658658 @Callable(i)
659659 func x2GnsbtByOriginCaller () = commonX2Gnsbt(i.originCaller, i)
660660
661661
662662
663663 @Callable(i)
664664 func unclaimedRewardsREADONLY (userAddressStr) = {
665665 func forEachAssetZeroReward (accum,asset) = ((accum + makeString([asset, "0", "0"], ":")) + "_")
666666
667667 let unclaimedRewardStr = if ((userAddressStr == ""))
668668 then {
669669 let $l = supportedAssetsList
670670 let $s = size($l)
671671 let $acc0 = ""
672672 func $f0_1 ($a,$i) = if (($i >= $s))
673673 then $a
674674 else forEachAssetZeroReward($a, $l[$i])
675675
676676 func $f0_2 ($a,$i) = if (($i >= $s))
677677 then $a
678678 else throw("List size exceeds 9")
679679
680680 $f0_2($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)
681681 }
682682 else {
683683 let userAddress = addressFromStringValue(userAddressStr)
684684 let $t02583625955 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple4(true, 0, 0, 0))
685685 let isNewUser = $t02583625955._1
686686 let stakedAmount = $t02583625955._2
687687 let stakingStart = $t02583625955._3
688688 let userGnsbt = $t02583625955._4
689689 let stakedAmountX = toBigInt(userGnsbt)
690690 let userRewardFromDepositNumKEY = keyUserRewardFromDepositNum(userAddressStr)
691691 let depositNumUser = getIntOrElse(userRewardFromDepositNumKEY, -1)
692692 let depositNumLast = getIntOrElse(keyDepositNumLast(), -1)
693693 func forEachAssetCalcUnclaimedReward (accum,asset) = {
694694 let $t02629826436 = calcReward(userAddressStr, asset, stakedAmountX, depositNumUser, depositNumLast)
695695 let rewardTotal = $t02629826436._1
696696 let cached = $t02629826436._2
697697 let dynamic = $t02629826436._3
698698 let rewardCachedPartKEY = $t02629826436._4
699699 let claimed = valueOrElse(getInteger(keyClaimed(userAddressStr, asset)), 0)
700700 ((accum + makeString([asset, toString(rewardTotal), toString(claimed)], ":")) + "_")
701701 }
702702
703703 let $l = supportedAssetsList
704704 let $s = size($l)
705705 let $acc0 = ""
706706 func $f0_1 ($a,$i) = if (($i >= $s))
707707 then $a
708708 else forEachAssetCalcUnclaimedReward($a, $l[$i])
709709
710710 func $f0_2 ($a,$i) = if (($i >= $s))
711711 then $a
712712 else throw("List size exceeds 9")
713713
714714 $f0_2($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)
715715 }
716716 $Tuple2(nil, dropRight(unclaimedRewardStr, 1))
717717 }
718718
719719
720720
721721 @Callable(i)
722722 func nsbtUnstakingSYSREADONLY (userAddressStrOrEmpty,unstakeAmtP) = {
723723 let resultArray = if ((userAddressStrOrEmpty == ""))
724724 then [0, 0, 0, 0]
725725 else {
726726 let userAddress = addressFromStringValue(userAddressStrOrEmpty)
727727 let cfgDATA = getParamsOrFail()
728728 let nsbtAssetId = cfgDATA._1
729729 let minLockAmount = cfgDATA._2
730730 let halfLife = cfgDATA._3
731731 let userDATA = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple4(true, 0, 0, 0))
732732 let isNewUser = userDATA._1
733733 let stakedAmount = userDATA._2
734734 let lockStart = userDATA._3
735735 let unstakeAmt = if ((unstakeAmtP > stakedAmount))
736736 then stakedAmount
737737 else unstakeAmtP
738738 let stakedAmountNEW = (stakedAmount - unstakeAmt)
739739 let comissionAmount = if ((unstakeAmt == 0))
740740 then 0
741741 else asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [unstakeAmt, lockStart, halfLife], nil))
742742 let receiveAmount = (unstakeAmt - comissionAmount)
743743 [stakedAmount, stakedAmountNEW, receiveAmount, comissionAmount]
744744 }
745745 $Tuple2(nil, resultArray)
746746 }
747747
748748
749749
750750 @Callable(i)
751751 func nsbtStakingSYSREADONLY (userAddressStr,nsbtDiff) = {
752752 let totalNsbtAmt = getIntOrElse(keyLockParamTotalAmount(), 0)
753753 let totalGnsbt = getIntOrElse(keyLockParamTotalGnsbt(), totalNsbtAmt)
754754 if ((userAddressStr == ""))
755755 then $Tuple2(nil, [0, totalNsbtAmt, 0, 0, totalGnsbt])
756756 else {
757757 let userAddress = toAddressOrFail(userAddressStr)
758758 let $t02822628344 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple4(true, 0, 0, 0))
759759 let isNewUser = $t02822628344._1
760760 let userNsbtAmt = $t02822628344._2
761761 let stakingStart = $t02822628344._3
762762 let userGnsbt = $t02822628344._4
763763 $Tuple2(nil, [userNsbtAmt, totalNsbtAmt, stakingStart, userGnsbt, totalGnsbt])
764764 }
765765 }
766766
767767
768768 @Verifier(tx)
769769 func verify () = {
770770 let pubKeyAdminsListStr = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], SEP)
771771 let pubKeyAdminsList = split(valueOrElse(getString(controlContract, "%s__multisig"), pubKeyAdminsListStr), SEP)
772772 let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0])))
773773 then 1
774774 else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1])))
775775 then 1
776776 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2])))
777777 then 1
778778 else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3])))
779779 then 2
780780 else 0))
781781 (count >= 3)
782782 }
783783

github/deemru/w8io/026f985 
122.92 ms