tx · 8XRVz3C9SW18UN3dZCdJnc9DtfFpsQxNvSECtHRfA9ZJ 3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J: -0.02500000 Waves 2023.03.01 18:18 [2471169] smart account 3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J > SELF 0.00000000 Waves
{ "type": 13, "id": "8XRVz3C9SW18UN3dZCdJnc9DtfFpsQxNvSECtHRfA9ZJ", "fee": 2500000, "feeAssetId": null, "timestamp": 1677683937983, "version": 2, "chainId": 84, "sender": "3MuGfNhF98CNBCfthhoJEo6SYUv7zTgkK4J", "senderPublicKey": "4DthuG3xjZV9WtZ34Y66AummdAr67wRzwWsVQL4y2bob", "proofs": [ "2L2RF4J6dTFK7Rw8uJXY1Aokp6tqxK3PAzu5BAeoop2whHLqW3wcqTK73yiCgLqLVdwu9KrGBtvz23uoJTpcRdMe", "bsKNwXsgK1Xdc676j7o5nHHVmZ9LaGTk7bfboJS7Cv6x4PaYcRuFbHQW2HzX3bXEfHi8u4dB2uhfU1vGjBhPE5W", "54PkTcD7FsnZPCnXYjqMyeSQW229zjBo5JLf1FH8xvqPRraUv9Q8aQPWZhMedG3wSPeNc6WyinHFoCnk3QGWVvHe" ], "script": "base64:BgIpCAISBwoFCAgBAQgSABIDCgEBEgASABIAEgMKAQgSBAoCCAESBAoCCAFRAAlzZXBhcmF0b3ICAl9fAANTRVACAl9fAAVNVUxUNgDAhD0ABU1VTFQ4AIDC1y8ABk1VTFRYNgkAtgIBBQVNVUxUNgAGTVVMVFg4CQC2AgEFBU1VTFQ4AAdNVUxUWDE4CQC2AgEAgICQu7rWrfANAApXQVZFU0lEU1RSAgVXQVZFUwAHV0FWRVNJRAkA2QQBBQpXQVZFU0lEU1RSAAlEQVlNSUxMSVMAgLiZKQAZSWR4Q29udHJvbENmZ05ldXRyaW5vRGFwcAABABhJZHhDb250cm9sQ2ZnQXVjdGlvbkRhcHAAAgAUSWR4Q29udHJvbENmZ1JwZERhcHAAAwAVSWR4Q29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y1pwWUtuZlFyVEI0OUJ5ZjhRbXBaV2VEVlJpbTR5VjcJAMwIAgIsRFV1dUxqWHU5OG5Cd1pjN2Zxd0NUanRBM25uUndnVGJrTVNyNVNVMk5tRFIJAMwIAgIsRFV1dUxqWHU5OG5Cd1pjN2Zxd0NUanRBM25uUndnVGJrTVNyNVNVMk5tRFIFA25pbAUDU0VQBBBwdWJLZXlBZG1pbnNMaXN0CQC1CQIJAQt2YWx1ZU9yRWxzZQIJAJ0IAgUPY29udHJvbENvbnRyYWN0Agwlc19fbXVsdGlzaWcFE3B1YktleUFkbWluc0xpc3RTdHIFA1NFUAQFY291bnQJAGQCCQBkAgkAZAIDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACQDZBAEJAJEDAgUQcHViS2V5QWRtaW5zTGlzdAAAAAEAAAMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEJANkEAQkAkQMCBRBwdWJLZXlBZG1pbnNMaXN0AAEAAQAAAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgkA2QQBCQCRAwIFEHB1YktleUFkbWluc0xpc3QAAgABAAADCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwADCQDZBAEJAJEDAgUQcHViS2V5QWRtaW5zTGlzdAADAAIAAAkAZwIFBWNvdW50AAOU6Kz7", "height": 2471169, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8nAmz4b52GRuJxvKgapCad3GjtggsPCwpCA8s2M9ebJW Next: D1v4GpvcNAE6MambebzxuFvV3jEeSaaTkRjB7sDpRHRJ Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "__" | |
7 | 7 | ||
8 | 8 | let c = 1000000 | |
9 | 9 | ||
10 | 10 | let d = 100000000 | |
11 | 11 | ||
12 | 12 | let e = toBigInt(c) | |
13 | 13 | ||
14 | 14 | let f = toBigInt(d) | |
15 | 15 | ||
16 | 16 | let g = toBigInt(1000000000000000000) | |
17 | 17 | ||
18 | 18 | let h = "WAVES" | |
19 | 19 | ||
20 | 20 | let i = fromBase58String(h) | |
21 | 21 | ||
22 | 22 | let j = 86400000 | |
23 | 23 | ||
24 | 24 | let k = 1 | |
25 | 25 | ||
26 | 26 | let l = 2 | |
27 | 27 | ||
28 | 28 | let m = 3 | |
29 | 29 | ||
30 | 30 | let n = 4 | |
31 | 31 | ||
32 | 32 | let o = 5 | |
33 | 33 | ||
34 | 34 | let p = 6 | |
35 | 35 | ||
36 | 36 | let q = 7 | |
37 | 37 | ||
38 | 38 | let r = 8 | |
39 | 39 | ||
40 | 40 | let s = 9 | |
41 | 41 | ||
42 | 42 | let t = 13 | |
43 | 43 | ||
44 | 44 | func u (v,w) = valueOrErrorMessage(getString(v, w), (((("mandatory " + toString(v)) + ".") + w) + " is not defined")) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func x () = "%s%s__config__controlAddress" | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func y () = "%s__controlConfig" | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func z (A) = split_4C(u(A, y()), b) | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func B (C,D) = valueOrErrorMessage(addressFromString(C[D]), ("Control cfg doesn't contain address at index " + toString(D))) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | let E = addressFromStringValue(valueOrElse(getString(this, x()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
60 | 60 | ||
61 | 61 | let C = z(E) | |
62 | 62 | ||
63 | 63 | let F = B(C, n) | |
64 | 64 | ||
65 | 65 | let G = B(C, k) | |
66 | 66 | ||
67 | 67 | let H = B(C, l) | |
68 | 68 | ||
69 | 69 | let I = B(C, t) | |
70 | 70 | ||
71 | 71 | func J () = "bond_asset_id" | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func K (L) = ("%s%s_userGnsbtReleaseTime__" + L) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func M () = "%s__neutrinoContractAddress" | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func N () = "%s__mathContract" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func O () = "%s__minLockAmount" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func P () = "%s__halfLife" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func Q (R) = makeString(["%s%s%s", "paramByUser", toString(R), "amount"], a) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func S (R) = makeString(["%s%s%s", "paramByUser", toString(R), "start"], a) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func T (U,R,V) = makeString(["%s%s%s%s", "history", U, toString(R), toBase58String(V)], a) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func W () = makeString(["%s%s", "stats", "activeTotalLocked"], a) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func X () = makeString(["%s%s", "stats", "locksCount"], a) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func Y () = makeString(["%s%s", "stats", "activeUsersCount"], a) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func Z (aa) = makeString(["%s%s%d", "stats", "depositAmtByDay", toString(aa)], a) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func ab () = makeString(["%s%s%d", "stats", "depositAmtTotals"], a) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func ac () = "%s__nextPeriod" | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func ad () = "supportedRewardAssets" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func ae () = makeString(["%s%s%s", "dep", "lastNum"], a) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func af (R) = makeString(["%s%s%s", "userRwdFromDepNum", R], a) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func ag (ah,ai) = makeString(["%s%d", "rwdPerNsbtSumByDepNum", toString(ah), ai], a) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func aj (R,ai) = makeString(["%s%s%s", "rwd", R, ai], a) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func ak (R,ai) = makeString(["%s%s%s", "clm", R, ai], a) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func al (ai) = makeString(["%s%s", "notDistributed", ai], a) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func am (an,ao) = fraction(toBigInt(an), g, ao) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func ap (w) = valueOrElse(getInteger(this, w), 0) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func aq (w,ar) = valueOrElse(getInteger(this, w), ar) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func as (w) = valueOrErrorMessage(getInteger(this, w), (("Mandatory this." + w) + " is not defined")) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func at (w,ar) = valueOrElse(getString(this, w), ar) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func au (av) = valueOrErrorMessage(addressFromString(av), ("couldn't parse passed addressStr=" + av)) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func aw (ax) = if ((ax == h)) | |
156 | 156 | then unit | |
157 | 157 | else fromBase58String(ax) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func ay (az) = { | |
161 | 161 | let aA = az | |
162 | 162 | if ($isInstanceOf(aA, "Int")) | |
163 | 163 | then { | |
164 | 164 | let aB = aA | |
165 | 165 | aB | |
166 | 166 | } | |
167 | 167 | else throw("fail to cast into Int") | |
168 | 168 | } | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func aC (aD,aE,aF,aG) = makeString(["%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aD), toString(aE), toString(aF), toString(aG)], a) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func aH (aI,aJ) = makeString(["%s%d%d%s", aI, toString(lastBlock.height), toString(lastBlock.timestamp), aJ], a) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aK (U,R,V,aD,aE,aF,aG) = StringEntry(T(U, R, V), aC(aD, aE, aF, aG)) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func aL (R,V,aJ) = StringEntry(T("claim", R, V), aH(toString(R), aJ)) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func aM (aN,aO,aP) = { | |
184 | 184 | let aQ = ap(X()) | |
185 | 185 | let aR = ap(Y()) | |
186 | 186 | let aS = ap(W()) | |
187 | 187 | let aT = (aS + aN) | |
188 | 188 | $Tuple3([IntegerEntry(X(), (aQ + aO)), IntegerEntry(Y(), (aR + aP)), IntegerEntry(W(), aT)], aS, aT) | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aU (R,aV,aW) = [IntegerEntry(Q(R), aV), IntegerEntry(S(R), aW)] | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aX () = $Tuple3(fromBase58String(getStringValue(G, J())), as(O()), as(P())) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aY (R) = (aq(Q(R), 0) > 0) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aZ (R) = if (aY(R)) | |
202 | 202 | then $Tuple3(false, as(Q(R)), as(S(R))) | |
203 | 203 | else unit | |
204 | 204 | ||
205 | 205 | ||
206 | 206 | func ba (R) = valueOrErrorMessage(aZ(R), (("User " + toString(R)) + " is not defined")) | |
207 | 207 | ||
208 | 208 | ||
209 | 209 | let bb = at(ad(), "") | |
210 | 210 | ||
211 | 211 | let bc = split(bb, "_") | |
212 | 212 | ||
213 | 213 | func bd (R,be,bf,bg,bh) = { | |
214 | 214 | let bi = ag(bh, be) | |
215 | 215 | let bj = parseBigIntValue(at(ag(bh, be), "0")) | |
216 | 216 | let bk = parseBigIntValue(at(ag(bg, be), "0")) | |
217 | 217 | let bl = toInt(fraction((bj - bk), bf, g)) | |
218 | 218 | let bm = aj(R, be) | |
219 | 219 | let bn = aq(bm, 0) | |
220 | 220 | $Tuple4((bn + bl), bn, bl, bm) | |
221 | 221 | } | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func bo (aa) = ((aa / j) * j) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func bp (bq,br,bs) = { | |
228 | 228 | let bt = valueOrErrorMessage(indexOf(bq, br), ((("there is no substring " + br) + " in ") + bq)) | |
229 | 229 | if ((bt == 0)) | |
230 | 230 | then 0 | |
231 | 231 | else { | |
232 | 232 | let bu = take(bq, bt) | |
233 | 233 | (size(split(bu, bs)) - 1) | |
234 | 234 | } | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | let bv = "%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d" | |
239 | 239 | ||
240 | 240 | let bw = (bv + "__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0__0") | |
241 | 241 | ||
242 | 242 | func bx (by,R,bz) = { | |
243 | 243 | let bf = toBigInt(bz) | |
244 | 244 | let bA = af(R) | |
245 | 245 | let bg = aq(bA, -1) | |
246 | 246 | let bh = aq(ae(), -1) | |
247 | 247 | func bB (bC,bD) = { | |
248 | 248 | let bE = bd(R, bD, bf, bg, bh) | |
249 | 249 | let bF = bE._1 | |
250 | 250 | let bG = bE._2 | |
251 | 251 | let bH = bE._3 | |
252 | 252 | let bm = bE._4 | |
253 | 253 | (bC :+ IntegerEntry(bm, bF)) | |
254 | 254 | } | |
255 | 255 | ||
256 | 256 | if (if ((bh == -1)) | |
257 | 257 | then (bg == -1) | |
258 | 258 | else false) | |
259 | 259 | then nil | |
260 | 260 | else if (if ((bh == -1)) | |
261 | 261 | then (bg > -1) | |
262 | 262 | else false) | |
263 | 263 | then throw("invalid depositNumLast and depositNumUser state") | |
264 | 264 | else if (if ((bh > -1)) | |
265 | 265 | then (bg >= -1) | |
266 | 266 | else false) | |
267 | 267 | then if (by) | |
268 | 268 | then [IntegerEntry(bA, bh)] | |
269 | 269 | else ({ | |
270 | 270 | let bI = bc | |
271 | 271 | let bJ = size(bI) | |
272 | 272 | let bK = nil | |
273 | 273 | func bL (bM,bN) = if ((bN >= bJ)) | |
274 | 274 | then bM | |
275 | 275 | else bB(bM, bI[bN]) | |
276 | 276 | ||
277 | 277 | func bO (bM,bN) = if ((bN >= bJ)) | |
278 | 278 | then bM | |
279 | 279 | else throw("List size exceeds 9") | |
280 | 280 | ||
281 | 281 | bO(bL(bL(bL(bL(bL(bL(bL(bL(bL(bK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
282 | 282 | } :+ IntegerEntry(bA, bh)) | |
283 | 283 | else throw(((("uncovered condition: depositNumLast=" + toString(bh)) + " depositNumUser=") + toString(bg))) | |
284 | 284 | } | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func bP (ai,bQ) = { | |
288 | 288 | let bR = al(ai) | |
289 | 289 | let bS = aq(bR, 0) | |
290 | 290 | IntegerEntry(bR, (bS + bQ)) | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func bT (R,bU) = { | |
295 | 295 | let bV = toString(R) | |
296 | 296 | if ((size(bU.payments) > 0)) | |
297 | 297 | then throw("payments are not accepted") | |
298 | 298 | else { | |
299 | 299 | let bW = valueOrElse(aZ(R), $Tuple3(true, 0, 0)) | |
300 | 300 | let by = bW._1 | |
301 | 301 | let bz = bW._2 | |
302 | 302 | let bX = bW._3 | |
303 | 303 | let bf = toBigInt(bz) | |
304 | 304 | let bA = af(bV) | |
305 | 305 | let bg = aq(bA, -1) | |
306 | 306 | let bh = aq(ae(), -1) | |
307 | 307 | func bY (bC,bD) = { | |
308 | 308 | let bZ = bd(bV, bD, bf, bg, bh) | |
309 | 309 | let bF = bZ._1 | |
310 | 310 | let bG = bZ._2 | |
311 | 311 | let bH = bZ._3 | |
312 | 312 | let bm = bZ._4 | |
313 | 313 | let ca = ak(bV, bD) | |
314 | 314 | let cb = bC | |
315 | 315 | let cc = cb._1 | |
316 | 316 | let cd = cb._2 | |
317 | 317 | let ce = makeString([bD, toString(bF)], ":") | |
318 | 318 | let cf = makeString([cd, ce], "_") | |
319 | 319 | if ((0 >= bF)) | |
320 | 320 | then $Tuple2(cc, cf) | |
321 | 321 | else $Tuple2((((cc :+ ScriptTransfer(R, bF, aw(bD))) :+ IntegerEntry(ca, (valueOrElse(getInteger(ca), 0) + bF))) :+ IntegerEntry(bm, 0)), cf) | |
322 | 322 | } | |
323 | 323 | ||
324 | 324 | let cg = { | |
325 | 325 | let bI = bc | |
326 | 326 | let bJ = size(bI) | |
327 | 327 | let bK = $Tuple2(nil, "") | |
328 | 328 | func bL (bM,bN) = if ((bN >= bJ)) | |
329 | 329 | then bM | |
330 | 330 | else bY(bM, bI[bN]) | |
331 | 331 | ||
332 | 332 | func bO (bM,bN) = if ((bN >= bJ)) | |
333 | 333 | then bM | |
334 | 334 | else throw("List size exceeds 9") | |
335 | 335 | ||
336 | 336 | bO(bL(bL(bL(bL(bL(bL(bL(bL(bL(bK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
337 | 337 | } | |
338 | 338 | let ch = cg._1 | |
339 | 339 | let ci = cg._2 | |
340 | 340 | if ((0 >= size(ch))) | |
341 | 341 | then $Tuple2(nil, 0) | |
342 | 342 | else $Tuple2(((ch :+ IntegerEntry(bA, bh)) :+ aL(R, bU.transactionId, drop(ci, 1))), size(ch)) | |
343 | 343 | } | |
344 | 344 | } | |
345 | 345 | ||
346 | 346 | ||
347 | 347 | @Callable(bU) | |
348 | 348 | func constructorV1 (cj,ck,cl,cm,cn) = if ((bU.caller != this)) | |
349 | 349 | then throw("Permission denied") | |
350 | 350 | else [StringEntry(M(), cj), StringEntry(N(), ck), IntegerEntry(O(), cl), IntegerEntry(P(), cm), StringEntry(ad(), cn)] | |
351 | 351 | ||
352 | 352 | ||
353 | 353 | ||
354 | 354 | @Callable(bU) | |
355 | 355 | func stake () = { | |
356 | 356 | let co = aX() | |
357 | 357 | let cp = co._1 | |
358 | 358 | let cl = co._2 | |
359 | 359 | let cm = co._3 | |
360 | 360 | if ((size(bU.payments) != 1)) | |
361 | 361 | then throw("Invalid payments size") | |
362 | 362 | else { | |
363 | 363 | let cq = bU.payments[0] | |
364 | 364 | let aV = cq.amount | |
365 | 365 | let cr = (("Invalid asset. " + toBase58String(cp)) + " is expected") | |
366 | 366 | let be = valueOrErrorMessage(cq.assetId, cr) | |
367 | 367 | if ((be != cp)) | |
368 | 368 | then throw(cr) | |
369 | 369 | else { | |
370 | 370 | let R = bU.caller | |
371 | 371 | let bV = toString(bU.caller) | |
372 | 372 | let cs = valueOrElse(aZ(R), $Tuple3(true, 0, -1)) | |
373 | 373 | let by = cs._1 | |
374 | 374 | let ct = cs._2 | |
375 | 375 | let cu = cs._3 | |
376 | 376 | let cv = if (by) | |
377 | 377 | then aV | |
378 | 378 | else (aV + ct) | |
379 | 379 | let cw = if (by) | |
380 | 380 | then height | |
381 | 381 | else ay(invoke(F, "mergeStakesREADONLY", [aV, height, ct, cu, cm], nil)) | |
382 | 382 | if ((cl > cv)) | |
383 | 383 | then throw(("Min lock amount is " + toString(cl))) | |
384 | 384 | else { | |
385 | 385 | let cx = aM(aV, 1, if (by) | |
386 | 386 | then 1 | |
387 | 387 | else 0) | |
388 | 388 | let cy = cx._1 | |
389 | 389 | let cz = cx._2 | |
390 | 390 | let cA = cx._3 | |
391 | 391 | ((([aK("stake", R, bU.transactionId, ct, cu, cv, cw)] ++ bx(by, bV, ct)) ++ aU(R, cv, cw)) ++ cy) | |
392 | 392 | } | |
393 | 393 | } | |
394 | 394 | } | |
395 | 395 | } | |
396 | 396 | ||
397 | 397 | ||
398 | 398 | ||
399 | 399 | @Callable(bU) | |
400 | 400 | func unstake (aV) = if ((size(bU.payments) != 0)) | |
401 | 401 | then throw("unstake doesn't require any payment") | |
402 | 402 | else { | |
403 | 403 | let R = bU.caller | |
404 | 404 | let bV = toString(R) | |
405 | 405 | let cB = aX() | |
406 | 406 | let cp = cB._1 | |
407 | 407 | let cl = cB._2 | |
408 | 408 | let cm = cB._3 | |
409 | 409 | let cC = ba(R) | |
410 | 410 | let by = cC._1 | |
411 | 411 | let ct = cC._2 | |
412 | 412 | let cD = cC._3 | |
413 | 413 | if ((0 >= ct)) | |
414 | 414 | then throw("Nothing to unstake") | |
415 | 415 | else if ((aV > ct)) | |
416 | 416 | then throw(((("Requested " + toString(aV)) + ", but staked only ") + toString(ct))) | |
417 | 417 | else { | |
418 | 418 | let cE = value(blockInfoByHeight(height)).timestamp | |
419 | 419 | let cF = valueOrElse(getInteger(I, K(bV)), 0) | |
420 | 420 | if ((cF >= cE)) | |
421 | 421 | then throw(("Your gNsbt are taking part in voting, cannot unstake until " + toString(cF))) | |
422 | 422 | else { | |
423 | 423 | let cG = ay(invoke(F, "getUnstakeComissionAmountREADONLY", [aV, cD, cm], nil)) | |
424 | 424 | let cH = aM(-(aV), if ((aV == ct)) | |
425 | 425 | then -1 | |
426 | 426 | else 0, if ((aV == ct)) | |
427 | 427 | then -1 | |
428 | 428 | else 0) | |
429 | 429 | let cy = cH._1 | |
430 | 430 | let cz = cH._2 | |
431 | 431 | let cA = cH._3 | |
432 | 432 | ((([ScriptTransfer(R, (aV - cG), cp), ScriptTransfer(H, cG, cp), aK("unstake", R, bU.transactionId, ct, cD, (ct - aV), cD)] ++ bx(false, bV, ct)) ++ aU(R, (ct - aV), cD)) ++ cy) | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | ||
439 | 439 | @Callable(bU) | |
440 | 440 | func deposit () = { | |
441 | 441 | let cz = aq(W(), 0) | |
442 | 442 | if ((0 > cz)) | |
443 | 443 | then throw("TODO: case is not supported") | |
444 | 444 | else { | |
445 | 445 | let cI = ae() | |
446 | 446 | let bh = aq(cI, -1) | |
447 | 447 | let cJ = (bh + 1) | |
448 | 448 | let cK = ab() | |
449 | 449 | let cL = Z(bo(lastBlock.timestamp)) | |
450 | 450 | let cM = split(valueOrElse(getString(cK), bw), b) | |
451 | 451 | let cN = split(valueOrElse(getString(cL), bw), b) | |
452 | 452 | func cO (cP,cQ) = { | |
453 | 453 | let aV = cQ.amount | |
454 | 454 | let cR = toBase58String(valueOrElse(cQ.assetId, i)) | |
455 | 455 | if (!(contains(bb, cR))) | |
456 | 456 | then throw(((bb + " doesn't contain ") + cR)) | |
457 | 457 | else if ((cz == 0)) | |
458 | 458 | then $Tuple4((cP._1 :+ bP(cR, aV)), (cP._2 :+ cR), (cP._3 :+ toBigInt(0)), (cP._4 :+ aV)) | |
459 | 459 | else { | |
460 | 460 | let cS = fraction(toBigInt(aV), g, toBigInt(cz)) | |
461 | 461 | $Tuple4(cP._1, (cP._2 :+ cR), (cP._3 :+ cS), (cP._4 :+ aV)) | |
462 | 462 | } | |
463 | 463 | } | |
464 | 464 | ||
465 | 465 | let cT = { | |
466 | 466 | let bI = bU.payments | |
467 | 467 | let bJ = size(bI) | |
468 | 468 | let bK = $Tuple4(nil, nil, nil, nil) | |
469 | 469 | func bL (bM,bN) = if ((bN >= bJ)) | |
470 | 470 | then bM | |
471 | 471 | else cO(bM, bI[bN]) | |
472 | 472 | ||
473 | 473 | func bO (bM,bN) = if ((bN >= bJ)) | |
474 | 474 | then bM | |
475 | 475 | else throw("List size exceeds 10") | |
476 | 476 | ||
477 | 477 | bO(bL(bL(bL(bL(bL(bL(bL(bL(bL(bL(bK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
478 | 478 | } | |
479 | 479 | func cU (bC,cV) = { | |
480 | 480 | let cW = bC._4 | |
481 | 481 | let cX = at(ag(bh, cV), "0") | |
482 | 482 | let D = indexOf(cT._2, cV) | |
483 | 483 | let cY = if (isDefined(D)) | |
484 | 484 | then { | |
485 | 485 | let cZ = value(D) | |
486 | 486 | let da = cT._4[cZ] | |
487 | 487 | $Tuple3(toString((parseBigIntValue(cX) + cT._3[cZ])), toString((parseIntValue(cM[(cW + 1)]) + da)), toString((parseIntValue(cN[(cW + 1)]) + da))) | |
488 | 488 | } | |
489 | 489 | else $Tuple3(cX, cM[(cW + 1)], cN[(cW + 1)]) | |
490 | 490 | $Tuple4((bC._1 :+ StringEntry(ag(cJ, cV), cY._1)), ((bC._2 + b) + cY._2), ((bC._3 + b) + cY._3), (cW + 1)) | |
491 | 491 | } | |
492 | 492 | ||
493 | 493 | let db = { | |
494 | 494 | let bI = bc | |
495 | 495 | let bJ = size(bI) | |
496 | 496 | let bK = $Tuple4(nil, bv, bv, 0) | |
497 | 497 | func dc (bM,bN) = if ((bN >= bJ)) | |
498 | 498 | then bM | |
499 | 499 | else cU(bM, bI[bN]) | |
500 | 500 | ||
501 | 501 | func dd (bM,bN) = if ((bN >= bJ)) | |
502 | 502 | then bM | |
503 | 503 | else throw("List size exceeds 9") | |
504 | 504 | ||
505 | 505 | dd(dc(dc(dc(dc(dc(dc(dc(dc(dc(bK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
506 | 506 | } | |
507 | 507 | $Tuple2(((((cT._1 ++ db._1) :+ IntegerEntry(cI, cJ)) :+ StringEntry(cK, db._2)) :+ StringEntry(cL, db._3)), cJ) | |
508 | 508 | } | |
509 | 509 | } | |
510 | 510 | ||
511 | 511 | ||
512 | 512 | ||
513 | 513 | @Callable(bU) | |
514 | 514 | func claimRewards () = bT(bU.caller, bU) | |
515 | 515 | ||
516 | 516 | ||
517 | 517 | ||
518 | 518 | @Callable(bU) | |
519 | 519 | func claimRewardsByOriginCaller () = bT(bU.originCaller, bU) | |
520 | 520 | ||
521 | 521 | ||
522 | 522 | ||
523 | 523 | @Callable(bU) | |
524 | 524 | func unclaimedRewardsREADONLY (bV) = { | |
525 | 525 | func de (bC,bD) = ((bC + makeString([bD, "0", "0"], ":")) + "_") | |
526 | 526 | ||
527 | 527 | let df = if ((bV == "")) | |
528 | 528 | then { | |
529 | 529 | let bI = bc | |
530 | 530 | let bJ = size(bI) | |
531 | 531 | let bK = "" | |
532 | 532 | func bL (bM,bN) = if ((bN >= bJ)) | |
533 | 533 | then bM | |
534 | 534 | else de(bM, bI[bN]) | |
535 | 535 | ||
536 | 536 | func bO (bM,bN) = if ((bN >= bJ)) | |
537 | 537 | then bM | |
538 | 538 | else throw("List size exceeds 9") | |
539 | 539 | ||
540 | 540 | bO(bL(bL(bL(bL(bL(bL(bL(bL(bL(bK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
541 | 541 | } | |
542 | 542 | else { | |
543 | 543 | let R = addressFromStringValue(bV) | |
544 | 544 | let dg = valueOrElse(aZ(R), $Tuple3(true, 0, 0)) | |
545 | 545 | let by = dg._1 | |
546 | 546 | let bz = dg._2 | |
547 | 547 | let bX = dg._3 | |
548 | 548 | let bf = toBigInt(bz) | |
549 | 549 | let bA = af(bV) | |
550 | 550 | let bg = aq(bA, -1) | |
551 | 551 | let bh = aq(ae(), -1) | |
552 | 552 | func bY (bC,bD) = { | |
553 | 553 | let dh = bd(bV, bD, bf, bg, bh) | |
554 | 554 | let bF = dh._1 | |
555 | 555 | let bG = dh._2 | |
556 | 556 | let bH = dh._3 | |
557 | 557 | let bm = dh._4 | |
558 | 558 | let di = valueOrElse(getInteger(ak(bV, bD)), 0) | |
559 | 559 | ((bC + makeString([bD, toString(bF), toString(di)], ":")) + "_") | |
560 | 560 | } | |
561 | 561 | ||
562 | 562 | let bI = bc | |
563 | 563 | let bJ = size(bI) | |
564 | 564 | let bK = "" | |
565 | 565 | func bL (bM,bN) = if ((bN >= bJ)) | |
566 | 566 | then bM | |
567 | 567 | else bY(bM, bI[bN]) | |
568 | 568 | ||
569 | 569 | func bO (bM,bN) = if ((bN >= bJ)) | |
570 | 570 | then bM | |
571 | 571 | else throw("List size exceeds 9") | |
572 | 572 | ||
573 | 573 | bO(bL(bL(bL(bL(bL(bL(bL(bL(bL(bK, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
574 | 574 | } | |
575 | 575 | $Tuple2(nil, dropRight(df, 1)) | |
576 | 576 | } | |
577 | 577 | ||
578 | 578 | ||
579 | 579 | ||
580 | 580 | @Callable(bU) | |
581 | 581 | func nsbtUnstakingSYSREADONLY (dj,dk) = { | |
582 | 582 | let dl = if ((dj == "")) | |
583 | 583 | then [0, 0, 0, 0] | |
584 | 584 | else { | |
585 | 585 | let R = addressFromStringValue(dj) | |
586 | 586 | let dm = aX() | |
587 | 587 | let dn = dm._1 | |
588 | 588 | let cl = dm._2 | |
589 | 589 | let cm = dm._3 | |
590 | 590 | let do = valueOrElse(aZ(R), $Tuple3(true, 0, 0)) | |
591 | 591 | let by = do._1 | |
592 | 592 | let bz = do._2 | |
593 | 593 | let cD = do._3 | |
594 | 594 | let dp = if ((dk > bz)) | |
595 | 595 | then bz | |
596 | 596 | else dk | |
597 | 597 | let dq = (bz - dp) | |
598 | 598 | let cG = if ((dp == 0)) | |
599 | 599 | then 0 | |
600 | 600 | else ay(invoke(F, "getUnstakeComissionAmountREADONLY", [dp, cD, cm], nil)) | |
601 | 601 | let dr = (dp - cG) | |
602 | 602 | [bz, dq, dr, cG] | |
603 | 603 | } | |
604 | 604 | $Tuple2(nil, dl) | |
605 | 605 | } | |
606 | 606 | ||
607 | 607 | ||
608 | 608 | ||
609 | 609 | @Callable(bU) | |
610 | 610 | func nsbtStakingSYSREADONLY (bV,ds) = { | |
611 | 611 | let dt = aq(W(), 0) | |
612 | 612 | if ((bV == "")) | |
613 | 613 | then $Tuple2(nil, [0, dt, 0]) | |
614 | 614 | else { | |
615 | 615 | let R = au(bV) | |
616 | 616 | let du = valueOrElse(aZ(R), $Tuple3(true, 0, 0)) | |
617 | 617 | let by = du._1 | |
618 | 618 | let dv = du._2 | |
619 | 619 | let bX = du._3 | |
620 | 620 | $Tuple2(nil, [dv, dt, bX]) | |
621 | 621 | } | |
622 | 622 | } | |
623 | 623 | ||
624 | 624 | ||
625 | 625 | @Verifier(dw) | |
626 | 626 | func dx () = { | |
627 | 627 | let dy = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], b) | |
628 | 628 | let dz = split(valueOrElse(getString(E, "%s__multisig"), dy), b) | |
629 | 629 | let dA = ((((if (sigVerify(dw.bodyBytes, dw.proofs[0], fromBase58String(dz[0]))) | |
630 | 630 | then 1 | |
631 | 631 | else 0) + (if (sigVerify(dw.bodyBytes, dw.proofs[1], fromBase58String(dz[1]))) | |
632 | 632 | then 1 | |
633 | 633 | else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[2], fromBase58String(dz[2]))) | |
634 | 634 | then 1 | |
635 | 635 | else 0)) + (if (sigVerify(dw.bodyBytes, dw.proofs[3], fromBase58String(dz[3]))) | |
636 | 636 | then 2 | |
637 | 637 | else 0)) | |
638 | 638 | (dA >= 3) | |
639 | 639 | } | |
640 | 640 |
github/deemru/w8io/169f3d6 58.34 ms ◑