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