tx · GwHC76UTqducv5ydSGKa3NgRFCBe8P499EuCy1ohuPa6 3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J: -0.04000000 Waves 2022.08.01 07:28 [2164951] smart account 3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J > SELF 0.00000000 Waves
{ "type": 13, "id": "GwHC76UTqducv5ydSGKa3NgRFCBe8P499EuCy1ohuPa6", "fee": 4000000, "feeAssetId": null, "timestamp": 1659328170009, "version": 1, "sender": "3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J", "senderPublicKey": "4DthuG3xjZV9WtZ34Y66AummdAr67wRzwWsVQL4y2bob", "proofs": [ "5ZWQezDkCsKEu2Loh1tx3tDvJJTffk6Yx9dnRqa7S5p43HUfjadyNkUsehGU8mGwoNLg3j7J9F8eGopu3xGqwHKY", "2NdpwVnBP3BpSdEiPkWxBcHiwSzYiyXh9iLgT8Yv18AaL5FmfnqYK9phdBK52V3KT38bCQZwNpQeShoNK4zWQXXv", "2HXwDikPKVUwpPWxTUcxxE8g8gDfpmPtUk3j4tmqhzaPYSteuYgNz9avU1mbqpmjMJP7xri1jxNhkE6vcGisEYmr" ], "script": "base64:AAIFAAAAAAAAACYIAhIHCgUICAEBCBIAEgMKAQESABIAEgMKAQgSBAoCCAESAwoBCAAAAEYAAAAACXNlcGFyYXRvcgIAAAACX18AAAAAA1NFUAIAAAACX18AAAAABU1VTFQ2AAAAAAAAD0JAAAAAAAVNVUxUOAAAAAAABfXhAAAAAAAGTVVMVFg2CQABNgAAAAEFAAAABU1VTFQ2AAAAAAZNVUxUWDgJAAE2AAAAAQUAAAAFTVVMVDgAAAAAB01VTFRYMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAAKV0FWRVNJRFNUUgIAAAAFV0FWRVMAAAAAB1dBVkVTSUQJAAJZAAAAAQUAAAAKV0FWRVNJRFNUUgAAAAAZSWR4Q29udHJvbENmZ05ldXRyaW5vRGFwcAAAAAAAAAAAAQAAAAAYSWR4Q29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ZnF3Q1RqdEEzbm5Sd2dUYmtNU3I1U1UyTm1EUgUAAAADbmlsBQAAAANTRVAEAAAAEHB1YktleUFkbWluc0xpc3QJAAS1AAAAAgkBAAAAC3ZhbHVlT3JFbHNlAAAAAgkABB0AAAACBQAAAA9jb250cm9sQ29udHJhY3QCAAAADCVzX19tdWx0aXNpZwUAAAATcHViS2V5QWRtaW5zTGlzdFN0cgUAAAADU0VQBAAAAAVjb3VudAkAAGQAAAACCQAAZAAAAAIJAABkAAAAAgMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAQAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAACCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAgAAAAAAAAAAAQAAAAAAAAAAAAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAADCQACWQAAAAEJAAGRAAAAAgUAAAAQcHViS2V5QWRtaW5zTGlzdAAAAAAAAAAAAwAAAAAAAAAAAgAAAAAAAAAAAAkAAGcAAAACBQAAAAVjb3VudAAAAAAAAAAAA/BYK6A=", "chainId": 84, "height": 2164951, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 91K4ci1qHUfjVPBT8ESPr26haHhYEcQeLJLc4uESEbzJ Next: 8maSBmYqQFexo1HMTtVeSuaCdBwnfMisExQsCgJ9Mrpt Diff:
Old | New | Differences | |
---|---|---|---|
528 | 528 | ||
529 | 529 | ||
530 | 530 | @Callable(i) | |
531 | + | func nsbtUnstakingSYSREADONLY (userAddressStrOrEmpty,unstakeAmt) = { | |
532 | + | let resultArray = if ((userAddressStrOrEmpty == "")) | |
533 | + | then [0, 0, 0, 0] | |
534 | + | else { | |
535 | + | let userAddress = addressFromStringValue(userAddressStrOrEmpty) | |
536 | + | let $t01984319905 = getParamsOrFail() | |
537 | + | let nsbtAssetId = $t01984319905._1 | |
538 | + | let minLockAmount = $t01984319905._2 | |
539 | + | let halfLife = $t01984319905._3 | |
540 | + | let $t01990819984 = getUserParamsOrFail(userAddress) | |
541 | + | let isNewUser = $t01990819984._1 | |
542 | + | let stakedAmount = $t01990819984._2 | |
543 | + | let lockStart = $t01990819984._3 | |
544 | + | let stakedAmountNEW = (stakedAmount - unstakeAmt) | |
545 | + | let comissionAmount = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [unstakeAmt, lockStart, halfLife], nil)) | |
546 | + | let receiveAmount = (unstakeAmt - comissionAmount) | |
547 | + | [stakedAmount, stakedAmountNEW, receiveAmount, comissionAmount] | |
548 | + | } | |
549 | + | $Tuple2(nil, resultArray) | |
550 | + | } | |
551 | + | ||
552 | + | ||
553 | + | ||
554 | + | @Callable(i) | |
531 | 555 | func nsbtStakingSYSREADONLY (userAddressStr) = { | |
532 | 556 | let totalNsbtAmt = getIntOrElse(keyLockParamTotalAmount(), 0) | |
533 | 557 | if ((userAddressStr == "")) | |
534 | 558 | then $Tuple2(nil, [0, totalNsbtAmt, 0]) | |
535 | 559 | else { | |
536 | 560 | let userAddress = toAddressOrFail(userAddressStr) | |
537 | - | let $ | |
538 | - | let isNewUser = $ | |
539 | - | let userNsbtAmt = $ | |
540 | - | let stakingStart = $ | |
561 | + | let $t02067120775 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple3(true, 0, 0)) | |
562 | + | let isNewUser = $t02067120775._1 | |
563 | + | let userNsbtAmt = $t02067120775._2 | |
564 | + | let stakingStart = $t02067120775._3 | |
541 | 565 | $Tuple2(nil, [userNsbtAmt, totalNsbtAmt, stakingStart]) | |
542 | 566 | } | |
543 | 567 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let separator = "__" | |
5 | 5 | ||
6 | 6 | let SEP = "__" | |
7 | 7 | ||
8 | 8 | let MULT6 = 1000000 | |
9 | 9 | ||
10 | 10 | let MULT8 = 100000000 | |
11 | 11 | ||
12 | 12 | let MULTX6 = toBigInt(MULT6) | |
13 | 13 | ||
14 | 14 | let MULTX8 = toBigInt(MULT8) | |
15 | 15 | ||
16 | 16 | let MULTX18 = toBigInt(1000000000000000000) | |
17 | 17 | ||
18 | 18 | let WAVESIDSTR = "WAVES" | |
19 | 19 | ||
20 | 20 | let WAVESID = fromBase58String(WAVESIDSTR) | |
21 | 21 | ||
22 | 22 | let IdxControlCfgNeutrinoDapp = 1 | |
23 | 23 | ||
24 | 24 | let IdxControlCfgAuctionDapp = 2 | |
25 | 25 | ||
26 | 26 | let IdxControlCfgRpdDapp = 3 | |
27 | 27 | ||
28 | 28 | let IdxControlCfgMathDapp = 4 | |
29 | 29 | ||
30 | 30 | let IdxControlCfgLiquidationDapp = 5 | |
31 | 31 | ||
32 | 32 | let IdxControlCfgRestDapp = 6 | |
33 | 33 | ||
34 | 34 | let IdxControlCfgNodeRegistryDapp = 7 | |
35 | 35 | ||
36 | 36 | let IdxControlCfgNsbtStakingDapp = 8 | |
37 | 37 | ||
38 | 38 | let IdxControlCfgMediatorDapp = 9 | |
39 | 39 | ||
40 | 40 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined")) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func keyControlAddress () = "%s%s__config__controlAddress" | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func keyControlCfg () = "%s__controlConfig" | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func readControlCfgOrFail (control) = split(getStringOrFail(control, keyControlCfg()), SEP) | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func getContractAddressOrFail (controlCfg,idx) = valueOrErrorMessage(addressFromString(controlCfg[idx]), ("Control cfg doesn't contain address at index " + toString(idx))) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | let controlContract = addressFromStringValue(valueOrElse(getString(this, keyControlAddress()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
56 | 56 | ||
57 | 57 | let controlCfg = readControlCfgOrFail(controlContract) | |
58 | 58 | ||
59 | 59 | let mathContract = getContractAddressOrFail(controlCfg, IdxControlCfgMathDapp) | |
60 | 60 | ||
61 | 61 | let neutrinoContract = getContractAddressOrFail(controlCfg, IdxControlCfgNeutrinoDapp) | |
62 | 62 | ||
63 | 63 | let auctionContract = getContractAddressOrFail(controlCfg, IdxControlCfgAuctionDapp) | |
64 | 64 | ||
65 | 65 | func keyBondAsset () = "bond_asset_id" | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func keyNeutrinoContractAddress () = "%s__neutrinoContractAddress" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func keyMathContractAddress () = "%s__mathContract" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func keyMinLockAmount () = "%s__minLockAmount" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func keyHalfLife () = "%s__halfLife" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func keyLockParamUserAmount (userAddress) = makeString(["%s%s%s", "paramByUser", toString(userAddress), "amount"], separator) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func keyLockParamStartBlock (userAddress) = makeString(["%s%s%s", "paramByUser", toString(userAddress), "start"], separator) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func keyHistoryRecord (type,userAddress,txId) = makeString(["%s%s%s%s", "history", type, toString(userAddress), toBase58String(txId)], separator) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func keyLockParamTotalAmount () = makeString(["%s%s", "stats", "activeTotalLocked"], separator) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func keyStatsLocksCount () = makeString(["%s%s", "stats", "locksCount"], separator) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func keyStatsUsersCount () = makeString(["%s%s", "stats", "activeUsersCount"], separator) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func keyNextPeriod () = "%s__nextPeriod" | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func keySupportedRewardAssets () = "supportedRewardAssets" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func keyDepositNumLast () = makeString(["%s%s%s", "dep", "lastNum"], separator) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func keyUserRewardFromDepositNum (userAddress) = makeString(["%s%s%s", "userRwdFromDepNum", userAddress], separator) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func keyRewardPerNsbtSumAt (depositNum,tkn) = makeString(["%s%d", "rwdPerNsbtSumByDepNum", toString(depositNum), tkn], separator) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func keyReward (userAddress,tkn) = makeString(["%s%s%s", "rwd", userAddress, tkn], separator) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func keyClaimed (userAddress,tkn) = makeString(["%s%s%s", "clm", userAddress, tkn], separator) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func keyNotDistributedReward (tkn) = makeString(["%s%s", "notDistributed", tkn], separator) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func toX18 (origVal,origMult) = fraction(toBigInt(origVal), MULTX18, origMult) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func getIntOrZero (key) = valueOrElse(getInteger(this, key), 0) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func getIntOrElse (key,defaultVal) = valueOrElse(getInteger(this, key), defaultVal) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func getIntOrFail (key) = valueOrErrorMessage(getInteger(this, key), (("Mandatory this." + key) + " is not defined")) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func getStrOrElse (key,defaultVal) = valueOrElse(getString(this, key), defaultVal) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func toAddressOrFail (addressStr) = valueOrErrorMessage(addressFromString(addressStr), ("couldn't parse passed addressStr=" + addressStr)) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func toAssetVect (assetStr) = if ((assetStr == WAVESIDSTR)) | |
141 | 141 | then unit | |
142 | 142 | else fromBase58String(assetStr) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func asInt (val) = match val { | |
146 | 146 | case valInt: Int => | |
147 | 147 | valInt | |
148 | 148 | case _ => | |
149 | 149 | throw("fail to cast into Int") | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | 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) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func formatClaimHistoryRecord (user,claimedRewards) = makeString(["%s%d%d%s", user, toString(lastBlock.height), toString(lastBlock.timestamp), claimedRewards], separator) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func HistoryRecordEntry (type,userAddress,txId,oldAmount,oldStart,newAmount,newStart) = StringEntry(keyHistoryRecord(type, userAddress, txId), formatHistoryRecord(oldAmount, oldStart, newAmount, newStart)) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ClaimHistoryEntry (userAddress,txId,claimedRewards) = StringEntry(keyHistoryRecord("claim", userAddress, txId), formatClaimHistoryRecord(toString(userAddress), claimedRewards)) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func StatsResult (totalLockedInc,lockCountInc,usersCountInc) = { | |
166 | 166 | let locksCount = getIntOrZero(keyStatsLocksCount()) | |
167 | 167 | let usersCount = getIntOrZero(keyStatsUsersCount()) | |
168 | 168 | let totalAmount = getIntOrZero(keyLockParamTotalAmount()) | |
169 | 169 | let totalAmountNew = (totalAmount + totalLockedInc) | |
170 | 170 | $Tuple3([IntegerEntry(keyStatsLocksCount(), (locksCount + lockCountInc)), IntegerEntry(keyStatsUsersCount(), (usersCount + usersCountInc)), IntegerEntry(keyLockParamTotalAmount(), totalAmountNew)], totalAmount, totalAmountNew) | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func LockParamsEntry (userAddress,amount,start) = [IntegerEntry(keyLockParamUserAmount(userAddress), amount), IntegerEntry(keyLockParamStartBlock(userAddress), start)] | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func getParamsOrFail () = $Tuple3(fromBase58String(getStringValue(neutrinoContract, keyBondAsset())), getIntOrFail(keyMinLockAmount()), getIntOrFail(keyHalfLife())) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func isActiveUser (userAddress) = (getIntOrElse(keyLockParamUserAmount(userAddress), 0) > 0) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func getUserParamsOrUnit (userAddress) = if (isActiveUser(userAddress)) | |
184 | 184 | then $Tuple3(false, getIntOrFail(keyLockParamUserAmount(userAddress)), getIntOrFail(keyLockParamStartBlock(userAddress))) | |
185 | 185 | else unit | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func getUserParamsOrFail (userAddress) = valueOrErrorMessage(getUserParamsOrUnit(userAddress), (("User " + toString(userAddress)) + " is not defined")) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | let supportedAssetsStr = getStrOrElse(keySupportedRewardAssets(), "") | |
192 | 192 | ||
193 | 193 | let supportedAssetsList = split(supportedAssetsStr, "_") | |
194 | 194 | ||
195 | 195 | func calcReward (userAddress,assetId,stakedAmountX,depositNumUser,depositNumLast) = { | |
196 | 196 | let rewardPerNsbtSumLastKEY = keyRewardPerNsbtSumAt(depositNumLast, assetId) | |
197 | 197 | let sumLastX18 = parseBigIntValue(getStrOrElse(keyRewardPerNsbtSumAt(depositNumLast, assetId), "0")) | |
198 | 198 | let sumUserX18 = parseBigIntValue(getStrOrElse(keyRewardPerNsbtSumAt(depositNumUser, assetId), "0")) | |
199 | 199 | let rewardDynamicPart = toInt(fraction((sumLastX18 - sumUserX18), stakedAmountX, MULTX18)) | |
200 | 200 | let rewardCachedPartKEY = keyReward(userAddress, assetId) | |
201 | 201 | let rewardCachedPart = getIntOrElse(rewardCachedPartKEY, 0) | |
202 | 202 | $Tuple4((rewardCachedPart + rewardDynamicPart), rewardCachedPart, rewardDynamicPart, rewardCachedPartKEY) | |
203 | 203 | } | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func RewardEntries (isNewUser,userAddress,stakedAmount) = { | |
207 | 207 | let stakedAmountX = toBigInt(stakedAmount) | |
208 | 208 | let userRewardFromDepositNumKEY = keyUserRewardFromDepositNum(userAddress) | |
209 | 209 | let depositNumUser = getIntOrElse(userRewardFromDepositNumKEY, -1) | |
210 | 210 | let depositNumLast = getIntOrElse(keyDepositNumLast(), -1) | |
211 | 211 | func forEachAssetCacheUserReward (accum,asset) = { | |
212 | 212 | let $t084098544 = calcReward(userAddress, asset, stakedAmountX, depositNumUser, depositNumLast) | |
213 | 213 | let rewardTotal = $t084098544._1 | |
214 | 214 | let cached = $t084098544._2 | |
215 | 215 | let dynamic = $t084098544._3 | |
216 | 216 | let rewardCachedPartKEY = $t084098544._4 | |
217 | 217 | (accum :+ IntegerEntry(rewardCachedPartKEY, rewardTotal)) | |
218 | 218 | } | |
219 | 219 | ||
220 | 220 | if (if ((depositNumLast == -1)) | |
221 | 221 | then (depositNumUser == -1) | |
222 | 222 | else false) | |
223 | 223 | then nil | |
224 | 224 | else if (if ((depositNumLast == -1)) | |
225 | 225 | then (depositNumUser > -1) | |
226 | 226 | else false) | |
227 | 227 | then throw("invalid depositNumLast and depositNumUser state") | |
228 | 228 | else if (if ((depositNumLast > -1)) | |
229 | 229 | then (depositNumUser == -1) | |
230 | 230 | else false) | |
231 | 231 | then if (isNewUser) | |
232 | 232 | then [IntegerEntry(userRewardFromDepositNumKEY, depositNumLast)] | |
233 | 233 | else ({ | |
234 | 234 | let $l = supportedAssetsList | |
235 | 235 | let $s = size($l) | |
236 | 236 | let $acc0 = nil | |
237 | 237 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
238 | 238 | then $a | |
239 | 239 | else forEachAssetCacheUserReward($a, $l[$i]) | |
240 | 240 | ||
241 | 241 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
242 | 242 | then $a | |
243 | 243 | else throw("List size exceeds 10") | |
244 | 244 | ||
245 | 245 | $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) | |
246 | 246 | } :+ IntegerEntry(userRewardFromDepositNumKEY, depositNumLast)) | |
247 | 247 | else if (if ((depositNumLast > -1)) | |
248 | 248 | then (depositNumUser > -1) | |
249 | 249 | else false) | |
250 | 250 | then if (isNewUser) | |
251 | 251 | then [IntegerEntry(userRewardFromDepositNumKEY, depositNumLast)] | |
252 | 252 | else ({ | |
253 | 253 | let $l = supportedAssetsList | |
254 | 254 | let $s = size($l) | |
255 | 255 | let $acc0 = nil | |
256 | 256 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
257 | 257 | then $a | |
258 | 258 | else forEachAssetCacheUserReward($a, $l[$i]) | |
259 | 259 | ||
260 | 260 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
261 | 261 | then $a | |
262 | 262 | else throw("List size exceeds 10") | |
263 | 263 | ||
264 | 264 | $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) | |
265 | 265 | } :+ IntegerEntry(userRewardFromDepositNumKEY, depositNumLast)) | |
266 | 266 | else throw(((("uncovered condition: depositNumLast=" + toString(depositNumLast)) + " depositNumUser=") + toString(depositNumUser))) | |
267 | 267 | } | |
268 | 268 | ||
269 | 269 | ||
270 | 270 | func IncrementNotDistributedRewardEntry (tkn,amountInc) = { | |
271 | 271 | let notDistributedRewardKEY = keyNotDistributedReward(tkn) | |
272 | 272 | let notDistributedReward = getIntOrElse(notDistributedRewardKEY, 0) | |
273 | 273 | [IntegerEntry(notDistributedRewardKEY, (notDistributedReward + amountInc))] | |
274 | 274 | } | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | @Callable(i) | |
278 | 278 | func constructor (neutrinoContractAddress,mathContractAddress,minLockAmount,halfLife,supportedRewardAssets) = if ((i.caller != this)) | |
279 | 279 | then throw("Permission denied") | |
280 | 280 | else [StringEntry(keyNeutrinoContractAddress(), neutrinoContractAddress), StringEntry(keyMathContractAddress(), mathContractAddress), IntegerEntry(keyMinLockAmount(), minLockAmount), IntegerEntry(keyHalfLife(), halfLife), StringEntry(keySupportedRewardAssets(), supportedRewardAssets)] | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | ||
284 | 284 | @Callable(i) | |
285 | 285 | func stake () = { | |
286 | 286 | let $t01221812280 = getParamsOrFail() | |
287 | 287 | let bondAssetId = $t01221812280._1 | |
288 | 288 | let minLockAmount = $t01221812280._2 | |
289 | 289 | let halfLife = $t01221812280._3 | |
290 | 290 | if ((size(i.payments) != 1)) | |
291 | 291 | then throw("Invalid payments size") | |
292 | 292 | else { | |
293 | 293 | let payment = i.payments[0] | |
294 | 294 | let amount = payment.amount | |
295 | 295 | let invalidAssetMessage = (("Invalid asset. " + toBase58String(bondAssetId)) + " is expected") | |
296 | 296 | let assetId = valueOrErrorMessage(payment.assetId, invalidAssetMessage) | |
297 | 297 | if ((assetId != bondAssetId)) | |
298 | 298 | then throw(invalidAssetMessage) | |
299 | 299 | else { | |
300 | 300 | let userAddress = i.caller | |
301 | 301 | let userAddressStr = toString(i.caller) | |
302 | 302 | let $t01282212929 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple3(true, 0, -1)) | |
303 | 303 | let isNewUser = $t01282212929._1 | |
304 | 304 | let lockAmount = $t01282212929._2 | |
305 | 305 | let lockStartHeight = $t01282212929._3 | |
306 | 306 | let mergedAmount = if (isNewUser) | |
307 | 307 | then amount | |
308 | 308 | else (amount + lockAmount) | |
309 | 309 | let mergedStartHeight = if (isNewUser) | |
310 | 310 | then height | |
311 | 311 | else asInt(invoke(mathContract, "mergeStakesREADONLY", [amount, height, lockAmount, lockStartHeight, halfLife], nil)) | |
312 | 312 | if ((minLockAmount > mergedAmount)) | |
313 | 313 | then throw(("Min lock amount is " + toString(minLockAmount))) | |
314 | 314 | else { | |
315 | 315 | let $t01329013392 = StatsResult(amount, 1, if (isNewUser) | |
316 | 316 | then 1 | |
317 | 317 | else 0) | |
318 | 318 | let statsEntries = $t01329013392._1 | |
319 | 319 | let totalStaked = $t01329013392._2 | |
320 | 320 | let totalStakedNew = $t01329013392._3 | |
321 | 321 | ((([HistoryRecordEntry("stake", userAddress, i.transactionId, lockAmount, lockStartHeight, mergedAmount, mergedStartHeight)] ++ RewardEntries(isNewUser, userAddressStr, lockAmount)) ++ LockParamsEntry(userAddress, mergedAmount, mergedStartHeight)) ++ statsEntries) | |
322 | 322 | } | |
323 | 323 | } | |
324 | 324 | } | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | ||
329 | 329 | @Callable(i) | |
330 | 330 | func unstake (amount) = if ((size(i.payments) != 0)) | |
331 | 331 | then throw("unstake doesn't require any payment") | |
332 | 332 | else { | |
333 | 333 | let userAddress = i.caller | |
334 | 334 | let userAddressStr = toString(userAddress) | |
335 | 335 | let $t01387813940 = getParamsOrFail() | |
336 | 336 | let bondAssetId = $t01387813940._1 | |
337 | 337 | let minLockAmount = $t01387813940._2 | |
338 | 338 | let halfLife = $t01387813940._3 | |
339 | 339 | let $t01394314017 = getUserParamsOrFail(userAddress) | |
340 | 340 | let isNewUser = $t01394314017._1 | |
341 | 341 | let lockAmount = $t01394314017._2 | |
342 | 342 | let lockStart = $t01394314017._3 | |
343 | 343 | if ((0 >= lockAmount)) | |
344 | 344 | then throw("Nothing to unstake") | |
345 | 345 | else if ((amount > lockAmount)) | |
346 | 346 | then throw(((("Requested " + toString(amount)) + ", but staked only ") + toString(lockAmount))) | |
347 | 347 | else { | |
348 | 348 | let comissionAmount = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [amount, lockStart, halfLife], nil)) | |
349 | 349 | let $t01433114485 = StatsResult(-(amount), if ((amount == lockAmount)) | |
350 | 350 | then -1 | |
351 | 351 | else 0, if ((amount == lockAmount)) | |
352 | 352 | then -1 | |
353 | 353 | else 0) | |
354 | 354 | let statsEntries = $t01433114485._1 | |
355 | 355 | let totalStaked = $t01433114485._2 | |
356 | 356 | let totalStakedNew = $t01433114485._3 | |
357 | 357 | ((([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)) ++ statsEntries) | |
358 | 358 | } | |
359 | 359 | } | |
360 | 360 | ||
361 | 361 | ||
362 | 362 | ||
363 | 363 | @Callable(i) | |
364 | 364 | func deposit () = if ((size(i.payments) != 1)) | |
365 | 365 | then throw("exact 1 payment is allowed only") | |
366 | 366 | else { | |
367 | 367 | let pmt = i.payments[0] | |
368 | 368 | let amount = pmt.amount | |
369 | 369 | let pmtAssetId = valueOrElse(pmt.assetId, WAVESID) | |
370 | 370 | let pmtAssetIdStr = toBase58String(pmtAssetId) | |
371 | 371 | let pmtMultX = if ((pmtAssetId == WAVESID)) | |
372 | 372 | then MULTX8 | |
373 | 373 | else MULTX6 | |
374 | 374 | let amountX = toBigInt(amount) | |
375 | 375 | let totalStaked = getIntOrElse(keyLockParamTotalAmount(), 0) | |
376 | 376 | let totalStakedX = toBigInt(totalStaked) | |
377 | 377 | if ((0 > totalStaked)) | |
378 | 378 | then throw("TODO: case is not supported") | |
379 | 379 | else if ((totalStaked == 0)) | |
380 | 380 | then IncrementNotDistributedRewardEntry(pmtAssetIdStr, amount) | |
381 | 381 | else { | |
382 | 382 | let rewardPerNsbtX18 = fraction(amountX, MULTX18, totalStakedX) | |
383 | 383 | let depositNumLastKEY = keyDepositNumLast() | |
384 | 384 | let depositNumLast = getIntOrElse(depositNumLastKEY, -1) | |
385 | 385 | let depositNumNew = (depositNumLast + 1) | |
386 | 386 | if (!(contains(supportedAssetsStr, pmtAssetIdStr))) | |
387 | 387 | then throw(((supportedAssetsStr + " doesn't contain ") + pmtAssetIdStr)) | |
388 | 388 | else { | |
389 | 389 | func refreshRewardPerNsbtSUM (accum,nextAsset) = { | |
390 | 390 | let rewardPerNsbtSumNewKEY = keyRewardPerNsbtSumAt(depositNumNew, nextAsset) | |
391 | 391 | let sumLastStr = getStrOrElse(keyRewardPerNsbtSumAt(depositNumLast, nextAsset), "0") | |
392 | 392 | (accum :+ (if ((nextAsset == pmtAssetIdStr)) | |
393 | 393 | then StringEntry(rewardPerNsbtSumNewKEY, toString((parseBigIntValue(sumLastStr) + rewardPerNsbtX18))) | |
394 | 394 | else StringEntry(rewardPerNsbtSumNewKEY, sumLastStr))) | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | ({ | |
398 | 398 | let $l = supportedAssetsList | |
399 | 399 | let $s = size($l) | |
400 | 400 | let $acc0 = nil | |
401 | 401 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
402 | 402 | then $a | |
403 | 403 | else refreshRewardPerNsbtSUM($a, $l[$i]) | |
404 | 404 | ||
405 | 405 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
406 | 406 | then $a | |
407 | 407 | else throw("List size exceeds 10") | |
408 | 408 | ||
409 | 409 | $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) | |
410 | 410 | } :+ IntegerEntry(depositNumLastKEY, depositNumNew)) | |
411 | 411 | } | |
412 | 412 | } | |
413 | 413 | } | |
414 | 414 | ||
415 | 415 | ||
416 | 416 | ||
417 | 417 | @Callable(i) | |
418 | 418 | func claimRewards () = { | |
419 | 419 | let userAddress = i.caller | |
420 | 420 | let userAddressStr = toString(userAddress) | |
421 | 421 | if ((size(i.payments) > 0)) | |
422 | 422 | then throw("payments are not accepted") | |
423 | 423 | else { | |
424 | 424 | let $t01673216837 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple3(true, 0, 0)) | |
425 | 425 | let isNewUser = $t01673216837._1 | |
426 | 426 | let stakedAmount = $t01673216837._2 | |
427 | 427 | let stakingStart = $t01673216837._3 | |
428 | 428 | let stakedAmountX = toBigInt(stakedAmount) | |
429 | 429 | let userRewardFromDepositNumKEY = keyUserRewardFromDepositNum(userAddressStr) | |
430 | 430 | let depositNumUser = getIntOrElse(userRewardFromDepositNumKEY, -1) | |
431 | 431 | let depositNumLast = getIntOrElse(keyDepositNumLast(), -1) | |
432 | 432 | func forEachAssetCalcUnclaimedReward (accum,asset) = { | |
433 | 433 | let $t01720817346 = calcReward(userAddressStr, asset, stakedAmountX, depositNumUser, depositNumLast) | |
434 | 434 | let rewardTotal = $t01720817346._1 | |
435 | 435 | let cached = $t01720817346._2 | |
436 | 436 | let dynamic = $t01720817346._3 | |
437 | 437 | let rewardCachedPartKEY = $t01720817346._4 | |
438 | 438 | let claimedKEY = keyClaimed(userAddressStr, asset) | |
439 | 439 | let $t01740617443 = accum | |
440 | 440 | let data = $t01740617443._1 | |
441 | 441 | let claimedAmtByAsset = $t01740617443._2 | |
442 | 442 | let newPart = makeString([asset, toString(rewardTotal)], ":") | |
443 | 443 | let claimedAmtByAssetNew = makeString([claimedAmtByAsset, newPart], "_") | |
444 | 444 | if ((0 >= rewardTotal)) | |
445 | 445 | then $Tuple2(data, claimedAmtByAssetNew) | |
446 | 446 | else $Tuple2((((data :+ ScriptTransfer(userAddress, rewardTotal, toAssetVect(asset))) :+ IntegerEntry(claimedKEY, (valueOrElse(getInteger(claimedKEY), 0) + rewardTotal))) :+ IntegerEntry(rewardCachedPartKEY, 0)), claimedAmtByAssetNew) | |
447 | 447 | } | |
448 | 448 | ||
449 | 449 | let $t01790318017 = { | |
450 | 450 | let $l = supportedAssetsList | |
451 | 451 | let $s = size($l) | |
452 | 452 | let $acc0 = $Tuple2(nil, "") | |
453 | 453 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
454 | 454 | then $a | |
455 | 455 | else forEachAssetCalcUnclaimedReward($a, $l[$i]) | |
456 | 456 | ||
457 | 457 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
458 | 458 | then $a | |
459 | 459 | else throw("List size exceeds 10") | |
460 | 460 | ||
461 | 461 | $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) | |
462 | 462 | } | |
463 | 463 | let transfers = $t01790318017._1 | |
464 | 464 | let claimedAmtByAssetResult = $t01790318017._2 | |
465 | 465 | if ((0 >= size(transfers))) | |
466 | 466 | then throw("nothing to claim") | |
467 | 467 | else ((transfers :+ IntegerEntry(userRewardFromDepositNumKEY, depositNumLast)) :+ ClaimHistoryEntry(userAddress, i.transactionId, drop(claimedAmtByAssetResult, 1))) | |
468 | 468 | } | |
469 | 469 | } | |
470 | 470 | ||
471 | 471 | ||
472 | 472 | ||
473 | 473 | @Callable(i) | |
474 | 474 | func unclaimedRewardsREADONLY (userAddressStr) = { | |
475 | 475 | func forEachAssetZeroReward (accum,asset) = ((accum + makeString([asset, "0", "0"], ":")) + "_") | |
476 | 476 | ||
477 | 477 | let unclaimedRewardStr = if ((userAddressStr == "")) | |
478 | 478 | then { | |
479 | 479 | let $l = supportedAssetsList | |
480 | 480 | let $s = size($l) | |
481 | 481 | let $acc0 = "" | |
482 | 482 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
483 | 483 | then $a | |
484 | 484 | else forEachAssetZeroReward($a, $l[$i]) | |
485 | 485 | ||
486 | 486 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
487 | 487 | then $a | |
488 | 488 | else throw("List size exceeds 10") | |
489 | 489 | ||
490 | 490 | $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) | |
491 | 491 | } | |
492 | 492 | else { | |
493 | 493 | let userAddress = addressFromStringValue(userAddressStr) | |
494 | 494 | let $t01871518820 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple3(true, 0, 0)) | |
495 | 495 | let isNewUser = $t01871518820._1 | |
496 | 496 | let stakedAmount = $t01871518820._2 | |
497 | 497 | let stakingStart = $t01871518820._3 | |
498 | 498 | let stakedAmountX = toBigInt(stakedAmount) | |
499 | 499 | let userRewardFromDepositNumKEY = keyUserRewardFromDepositNum(userAddressStr) | |
500 | 500 | let depositNumUser = getIntOrElse(userRewardFromDepositNumKEY, -1) | |
501 | 501 | let depositNumLast = getIntOrElse(keyDepositNumLast(), -1) | |
502 | 502 | func forEachAssetCalcUnclaimedReward (accum,asset) = { | |
503 | 503 | let $t01916619304 = calcReward(userAddressStr, asset, stakedAmountX, depositNumUser, depositNumLast) | |
504 | 504 | let rewardTotal = $t01916619304._1 | |
505 | 505 | let cached = $t01916619304._2 | |
506 | 506 | let dynamic = $t01916619304._3 | |
507 | 507 | let rewardCachedPartKEY = $t01916619304._4 | |
508 | 508 | let claimed = valueOrElse(getInteger(keyClaimed(userAddressStr, asset)), 0) | |
509 | 509 | ((accum + makeString([asset, toString(rewardTotal), toString(claimed)], ":")) + "_") | |
510 | 510 | } | |
511 | 511 | ||
512 | 512 | let $l = supportedAssetsList | |
513 | 513 | let $s = size($l) | |
514 | 514 | let $acc0 = "" | |
515 | 515 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
516 | 516 | then $a | |
517 | 517 | else forEachAssetCalcUnclaimedReward($a, $l[$i]) | |
518 | 518 | ||
519 | 519 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
520 | 520 | then $a | |
521 | 521 | else throw("List size exceeds 10") | |
522 | 522 | ||
523 | 523 | $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) | |
524 | 524 | } | |
525 | 525 | $Tuple2(nil, dropRight(unclaimedRewardStr, 1)) | |
526 | 526 | } | |
527 | 527 | ||
528 | 528 | ||
529 | 529 | ||
530 | 530 | @Callable(i) | |
531 | + | func nsbtUnstakingSYSREADONLY (userAddressStrOrEmpty,unstakeAmt) = { | |
532 | + | let resultArray = if ((userAddressStrOrEmpty == "")) | |
533 | + | then [0, 0, 0, 0] | |
534 | + | else { | |
535 | + | let userAddress = addressFromStringValue(userAddressStrOrEmpty) | |
536 | + | let $t01984319905 = getParamsOrFail() | |
537 | + | let nsbtAssetId = $t01984319905._1 | |
538 | + | let minLockAmount = $t01984319905._2 | |
539 | + | let halfLife = $t01984319905._3 | |
540 | + | let $t01990819984 = getUserParamsOrFail(userAddress) | |
541 | + | let isNewUser = $t01990819984._1 | |
542 | + | let stakedAmount = $t01990819984._2 | |
543 | + | let lockStart = $t01990819984._3 | |
544 | + | let stakedAmountNEW = (stakedAmount - unstakeAmt) | |
545 | + | let comissionAmount = asInt(invoke(mathContract, "getUnstakeComissionAmountREADONLY", [unstakeAmt, lockStart, halfLife], nil)) | |
546 | + | let receiveAmount = (unstakeAmt - comissionAmount) | |
547 | + | [stakedAmount, stakedAmountNEW, receiveAmount, comissionAmount] | |
548 | + | } | |
549 | + | $Tuple2(nil, resultArray) | |
550 | + | } | |
551 | + | ||
552 | + | ||
553 | + | ||
554 | + | @Callable(i) | |
531 | 555 | func nsbtStakingSYSREADONLY (userAddressStr) = { | |
532 | 556 | let totalNsbtAmt = getIntOrElse(keyLockParamTotalAmount(), 0) | |
533 | 557 | if ((userAddressStr == "")) | |
534 | 558 | then $Tuple2(nil, [0, totalNsbtAmt, 0]) | |
535 | 559 | else { | |
536 | 560 | let userAddress = toAddressOrFail(userAddressStr) | |
537 | - | let $ | |
538 | - | let isNewUser = $ | |
539 | - | let userNsbtAmt = $ | |
540 | - | let stakingStart = $ | |
561 | + | let $t02067120775 = valueOrElse(getUserParamsOrUnit(userAddress), $Tuple3(true, 0, 0)) | |
562 | + | let isNewUser = $t02067120775._1 | |
563 | + | let userNsbtAmt = $t02067120775._2 | |
564 | + | let stakingStart = $t02067120775._3 | |
541 | 565 | $Tuple2(nil, [userNsbtAmt, totalNsbtAmt, stakingStart]) | |
542 | 566 | } | |
543 | 567 | } | |
544 | 568 | ||
545 | 569 | ||
546 | 570 | @Verifier(tx) | |
547 | 571 | func verify () = { | |
548 | 572 | let pubKeyAdminsListStr = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], SEP) | |
549 | 573 | let pubKeyAdminsList = split(valueOrElse(getString(controlContract, "%s__multisig"), pubKeyAdminsListStr), SEP) | |
550 | 574 | let count = ((((if (sigVerify(tx.bodyBytes, tx.proofs[0], fromBase58String(pubKeyAdminsList[0]))) | |
551 | 575 | then 1 | |
552 | 576 | else 0) + (if (sigVerify(tx.bodyBytes, tx.proofs[1], fromBase58String(pubKeyAdminsList[1]))) | |
553 | 577 | then 1 | |
554 | 578 | else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[2], fromBase58String(pubKeyAdminsList[2]))) | |
555 | 579 | then 1 | |
556 | 580 | else 0)) + (if (sigVerify(tx.bodyBytes, tx.proofs[3], fromBase58String(pubKeyAdminsList[3]))) | |
557 | 581 | then 2 | |
558 | 582 | else 0)) | |
559 | 583 | (count >= 3) | |
560 | 584 | } | |
561 | 585 |
github/deemru/w8io/026f985 73.69 ms ◑