tx · J4Grg3KAFzWz6BRLjFozgvfhG2DzZQtL8uo4HD7zLT8w 3N4yYqBkTUq1mDdHhvAd3St7spCbm84DytS: -0.02200000 Waves 2023.11.29 12:53 [2864540] smart account 3N4yYqBkTUq1mDdHhvAd3St7spCbm84DytS > SELF 0.00000000 Waves
{ "type": 13, "id": "J4Grg3KAFzWz6BRLjFozgvfhG2DzZQtL8uo4HD7zLT8w", "fee": 2200000, "feeAssetId": null, "timestamp": 1701251617599, "version": 1, "sender": "3N4yYqBkTUq1mDdHhvAd3St7spCbm84DytS", "senderPublicKey": "8h7G4haeVwXKNHXNHsWkC1miUp5CQtk3WmpBKazQPxRh", "proofs": [ "4PgWm7G3nExG68UB2vxMwdEFcqz4PtyDhhtFmpRU893CCTi3CJL87XQUyHhULAQ4wgTq1TbqywV2qXNJe7WveDKJ" ], "script": "base64:BgI0CAISAwoBARIDCgEBEgASAwoBCBIDCgEBEgMKAQgSAwoBCBIECgIYERIDCgEIEgASAwoBCEAADGNvbnRyYWN0RmlsZQIRbDJtcF9zdGFraW5nLnJpZGUAA1NFUAICX18ABnNjYWxlOACAwtcvAAdzY2FsZTE4AICAkLu61q3wDQANc2NhbGUxOEJpZ0ludAkAtgIBBQdzY2FsZTE4ABJBRERSRVNTX0JZVEVTX1NJWkUAGgANQkxPQ0tTX0lOX0RBWQCgCwEIdGhyb3dFcnIBA21zZwkAAgEJAKwCAgkArAICBQxjb250cmFjdEZpbGUCAjogBQNtc2cACmtleUFzc2V0SWQJALkJAgkAzAgCAgIlcwkAzAgCAgdhc3NldElkBQNuaWwFA1NFUAATa2V5RW1pc3Npb25QZXJCbG9jawkAuQkCCQDMCAICAiVzCQDMCAICEGVtaXNzaW9uUGVyQmxvY2sFA25pbAUDU0VQABlrZXlFbWlzc2lvblBlcmlvZEluQmxvY2tzCQC5CQIJAMwIAgICJXMJAMwIAgIWZW1pc3Npb25QZXJpb2RJbkJsb2NrcwUDbmlsBQNTRVAADWtleVN0YXJ0QmxvY2sJALkJ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HYnlPd25lcgMJAGcCCQCQAwEJAQ1nZXRBZG1pbnNMaXN0AAUGUVVPUlVNBwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleQMFCGJ5QWRtaW5zBgUHYnlPd25lct3wwDc=", "chainId": 84, "height": 2864540, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: PgAt8ZTB54Va2DyYPDnsX3TuK8ZfCa1xgqVCcgVRfhp Next: C535cxDyehEmG37nqYHoKcV4GDUjkKMxvz6SPyNuZYeX Diff:
Old | New | Differences | |
---|---|---|---|
311 | 311 | if ((bl == bl)) | |
312 | 312 | then { | |
313 | 313 | let bm = bk.payments[0].amount | |
314 | - | let bn = | |
314 | + | let bn = bd(bm) | |
315 | 315 | let bi = bf(r) | |
316 | 316 | let bo = valueOrElse(getInteger(this, w(r)), 0) | |
317 | 317 | let bp = (E + bn) | |
318 | - | let bq = | |
318 | + | let bq = bb(bp) | |
319 | 319 | let br = (bi + bn) | |
320 | 320 | let bs = (bo + bm) | |
321 | 321 | [StringEntry(x("stake", r, bk.transactionId), A(aM(), aT(), E, D)), IntegerEntry(n, bp), IntegerEntry(o, bq), IntegerEntry(q(r), br), IntegerEntry(w(r), bs), IntegerEntry(m, height)] | |
335 | 335 | if ((bv == bv)) | |
336 | 336 | then { | |
337 | 337 | let br = (bi - bu) | |
338 | - | let bw = | |
338 | + | let bw = bb(bu) | |
339 | 339 | let bp = (E - bu) | |
340 | - | let bq = | |
340 | + | let bq = bb(bp) | |
341 | 341 | let bx = valueOrElse(getInteger(this, v(r)), 0) | |
342 | 342 | let by = (bx + bw) | |
343 | 343 | [StringEntry(x("withdraw", r, bk.transactionId), A(aM(), aT(), E, D)), IntegerEntry(n, bp), IntegerEntry(o, bq), IntegerEntry(q(r), br), IntegerEntry(v(r), by), IntegerEntry(m, height), ScriptTransfer(bk.caller, bw, H)] | |
401 | 401 | func withdraw (bw) = { | |
402 | 402 | let r = toString(bk.caller) | |
403 | 403 | let bi = bf(r) | |
404 | - | let bD = | |
404 | + | let bD = bd(bw) | |
405 | 405 | let bE = bh(r) | |
406 | 406 | let bF = toInt(fraction(aT(), toBigInt(1), e, CEILING)) | |
407 | 407 | let bv = [if ((bw > 0)) | |
493 | 493 | let bW = bT._1 | |
494 | 494 | let bX = bT._2 | |
495 | 495 | let bY = bT._3 | |
496 | - | ([IntegerEntry(p, (F + bY)), IntegerEntry(n, (E + bY)), IntegerEntry(o, (D + bL))] ++ bW) | |
496 | + | let bZ = bb((E + bY)) | |
497 | + | ([IntegerEntry(p, (F + bY)), IntegerEntry(n, (E + bY)), IntegerEntry(o, bZ), IntegerEntry(m, height)] ++ bW) | |
497 | 498 | } | |
498 | 499 | else throw("Strict value is not equal to itself.") | |
499 | 500 | } | |
503 | 504 | @Callable(bk) | |
504 | 505 | func getUserAssetsREADONLY (r) = { | |
505 | 506 | let bi = bf(r) | |
506 | - | let | |
507 | - | let | |
507 | + | let ca = bg(r) | |
508 | + | let cb = bb(ca) | |
508 | 509 | let bE = bh(r) | |
509 | 510 | let bo = valueOrElse(getInteger(this, w(r)), 0) | |
510 | 511 | let bx = valueOrElse(getInteger(this, v(r)), 0) | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | $Tuple2(nil, $ | |
512 | + | let cc = aV(r) | |
513 | + | let cd = cc._1 | |
514 | + | let ce = cc._2 | |
515 | + | $Tuple2(nil, $Tuple10(bi, bE, aT(), bo, bx, ca, cb, cd, ce, aU())) | |
515 | 516 | } | |
516 | 517 | ||
517 | 518 | ||
526 | 527 | let ay = toBase58String(bk.caller.bytes) | |
527 | 528 | let ah = O(z) | |
528 | 529 | let af = [StringEntry(T(), z)] | |
529 | - | let | |
530 | + | let cf = getString(this, T()) | |
530 | 531 | let aC = [if ((size(fromBase58String(z)) == N)) | |
531 | 532 | then true | |
532 | - | else h((z + " is not valid txId")), if (if (( | |
533 | + | else h((z + " is not valid txId")), if (if ((cf == unit)) | |
533 | 534 | then true | |
534 | - | else (value( | |
535 | + | else (value(cf) != z)) | |
535 | 536 | then true | |
536 | 537 | else h((z + " is already allowed"))] | |
537 | 538 | if ((aC == aC)) | |
540 | 541 | } | |
541 | 542 | ||
542 | 543 | ||
543 | - | @Verifier( | |
544 | - | func | |
545 | - | let | |
546 | - | let | |
544 | + | @Verifier(cg) | |
545 | + | func ch () = { | |
546 | + | let ci = (cg.id == fromBase58String(valueOrElse(getString(this, T()), ""))) | |
547 | + | let cj = if ((size(X()) >= M)) | |
547 | 548 | then false | |
548 | - | else sigVerify( | |
549 | - | if ( | |
549 | + | else sigVerify(cg.bodyBytes, cg.proofs[0], cg.senderPublicKey) | |
550 | + | if (ci) | |
550 | 551 | then true | |
551 | - | else | |
552 | + | else cj | |
552 | 553 | } | |
553 | 554 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "l2mp_staking.ride" | |
5 | 5 | ||
6 | 6 | let b = "__" | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = 1000000000000000000 | |
11 | 11 | ||
12 | 12 | let e = toBigInt(d) | |
13 | 13 | ||
14 | 14 | let f = 26 | |
15 | 15 | ||
16 | 16 | let g = 1440 | |
17 | 17 | ||
18 | 18 | func h (i) = throw(((a + ": ") + i)) | |
19 | 19 | ||
20 | 20 | ||
21 | 21 | let j = makeString(["%s", "assetId"], b) | |
22 | 22 | ||
23 | 23 | let k = makeString(["%s", "emissionPerBlock"], b) | |
24 | 24 | ||
25 | 25 | let l = makeString(["%s", "emissionPeriodInBlocks"], b) | |
26 | 26 | ||
27 | 27 | let m = makeString(["%s", "startBlock"], b) | |
28 | 28 | ||
29 | 29 | let n = makeString(["%s", "totalLpAmount"], b) | |
30 | 30 | ||
31 | 31 | let o = makeString(["%s", "totalAssetAmount"], b) | |
32 | 32 | ||
33 | 33 | let p = makeString(["%s", "totalLockedLpAmount"], b) | |
34 | 34 | ||
35 | 35 | func q (r) = makeString(["%s%s", "userLpAmount", r], b) | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func s (r) = makeString(["%s%s", "userLockedLpAmount", r], b) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func t (r) = makeString(["%s%s", "userStakingNodes", r], b) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func u (r) = makeString(["%s%s", "userStakingNodesShares", r], b) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func v (r) = makeString(["%s%s", "totalAssetWithdrawn", r], b) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func w (r) = makeString(["%s%s", "totalAssetStaked", r], b) | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | func x (y,r,z) = makeString(["%s%s%s", y, r, toBase58String(z)], b) | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func A (B,C,D,E) = makeString(["%d%d%d%d", toString(B), toString(C), toString(D), toString(E)], b) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | let E = valueOrElse(getInteger(this, n), 0) | |
60 | 60 | ||
61 | 61 | let D = valueOrElse(getInteger(this, o), 0) | |
62 | 62 | ||
63 | 63 | let F = valueOrElse(getInteger(this, p), 0) | |
64 | 64 | ||
65 | 65 | let G = valueOrElse(getString(this, j), "WAVES") | |
66 | 66 | ||
67 | 67 | let H = if ((G == "WAVES")) | |
68 | 68 | then unit | |
69 | 69 | else fromBase58String(G) | |
70 | 70 | ||
71 | 71 | let I = valueOrElse(getInteger(this, l), g) | |
72 | 72 | ||
73 | 73 | let J = valueOrElse(getInteger(this, k), 0) | |
74 | 74 | ||
75 | 75 | let K = (J * I) | |
76 | 76 | ||
77 | 77 | let L = 5 | |
78 | 78 | ||
79 | 79 | let M = 3 | |
80 | 80 | ||
81 | 81 | let N = 32 | |
82 | 82 | ||
83 | 83 | func O (z) = makeString(["%s%s%s", "allowTxId", z], b) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func P (Q,R) = makeString([Q, R], b) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func S () = makeString(["%s", "adminAddressList"], b) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func T () = makeString(["%s", "txId"], b) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func U (Q,V) = { | |
96 | 96 | let W = P(Q, V) | |
97 | 97 | valueOrElse(getInteger(W), 0) | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func X () = { | |
102 | 102 | let Y = getString(this, S()) | |
103 | 103 | if ($isInstanceOf(Y, "String")) | |
104 | 104 | then { | |
105 | 105 | let Z = Y | |
106 | 106 | split(Z, b) | |
107 | 107 | } | |
108 | 108 | else nil | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func aa (ab) = containsElement(X(), ab) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func ac (ad,R) = { | |
116 | 116 | let ae = ad | |
117 | 117 | let af = ae._1 | |
118 | 118 | let Q = ae._2 | |
119 | 119 | $Tuple2((af :+ P(Q, R)), Q) | |
120 | 120 | } | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func ag (ah) = { | |
124 | 124 | let ai = S() | |
125 | 125 | let aj = { | |
126 | 126 | let ak = X() | |
127 | 127 | let al = size(ak) | |
128 | 128 | let am = $Tuple2(nil, ah) | |
129 | 129 | func an (ao,ap) = if ((ap >= al)) | |
130 | 130 | then ao | |
131 | 131 | else ac(ao, ak[ap]) | |
132 | 132 | ||
133 | 133 | func aq (ao,ap) = if ((ap >= al)) | |
134 | 134 | then ao | |
135 | 135 | else throw("List size exceeds 5") | |
136 | 136 | ||
137 | 137 | aq(an(an(an(an(an(am, 0), 1), 2), 3), 4), 5) | |
138 | 138 | } | |
139 | 139 | let af = aj._1 | |
140 | 140 | let Q = aj._2 | |
141 | 141 | af | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func ar (af,W) = (af + valueOrElse(getInteger(W), 0)) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func as (Q) = { | |
149 | 149 | let at = ag(Q) | |
150 | 150 | let ak = at | |
151 | 151 | let al = size(ak) | |
152 | 152 | let am = 0 | |
153 | 153 | func an (ao,ap) = if ((ap >= al)) | |
154 | 154 | then ao | |
155 | 155 | else ar(ao, ak[ap]) | |
156 | 156 | ||
157 | 157 | func aq (ao,ap) = if ((ap >= al)) | |
158 | 158 | then ao | |
159 | 159 | else throw("List size exceeds 5") | |
160 | 160 | ||
161 | 161 | aq(an(an(an(an(an(am, 0), 1), 2), 3), 4), 5) | |
162 | 162 | } | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func au (af,av) = (af :+ DeleteEntry(av)) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func aw (Q) = { | |
169 | 169 | let at = ag(Q) | |
170 | 170 | let ak = at | |
171 | 171 | let al = size(ak) | |
172 | 172 | let am = nil | |
173 | 173 | func an (ao,ap) = if ((ap >= al)) | |
174 | 174 | then ao | |
175 | 175 | else au(ao, ak[ap]) | |
176 | 176 | ||
177 | 177 | func aq (ao,ap) = if ((ap >= al)) | |
178 | 178 | then ao | |
179 | 179 | else throw("List size exceeds 5") | |
180 | 180 | ||
181 | 181 | aq(an(an(an(an(an(am, 0), 1), 2), 3), 4), 5) | |
182 | 182 | } | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func ax (ay,ah,az,aA) = { | |
186 | 186 | let W = P(ah, ay) | |
187 | 187 | let aB = U(ah, ay) | |
188 | 188 | let aC = if (!(aa(ay))) | |
189 | 189 | then h((("Address: " + ay) + " not in Admin list")) | |
190 | 190 | else if ((aB == 1)) | |
191 | 191 | then h((W + " you already voted")) | |
192 | 192 | else unit | |
193 | 193 | if ((aC == aC)) | |
194 | 194 | then { | |
195 | 195 | let at = as(ah) | |
196 | 196 | if (((at + 1) >= az)) | |
197 | 197 | then { | |
198 | 198 | let aD = aw(ah) | |
199 | 199 | (aD ++ aA) | |
200 | 200 | } | |
201 | 201 | else [IntegerEntry(W, 1)] | |
202 | 202 | } | |
203 | 203 | else throw("Strict value is not equal to itself.") | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aE (aF,aG) = (aF :+ parseIntValue(aG)) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func aH (aI) = { | |
211 | 211 | let aJ = valueOrElse(getInteger(this, m), height) | |
212 | 212 | let aK = fraction(aJ, 1, I) | |
213 | 213 | let aL = ((aI / I) - aK) | |
214 | 214 | max([0, (K * aL)]) | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aM () = aH(height) | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func aN () = { | |
222 | 222 | let Y = H | |
223 | 223 | if ($isInstanceOf(Y, "Unit")) | |
224 | 224 | then { | |
225 | 225 | let aO = Y | |
226 | 226 | wavesBalance(this).available | |
227 | 227 | } | |
228 | 228 | else if ($isInstanceOf(Y, "ByteVector")) | |
229 | 229 | then { | |
230 | 230 | let aP = Y | |
231 | 231 | assetBalance(this, aP) | |
232 | 232 | } | |
233 | 233 | else throw("Match error") | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func aQ () = { | |
238 | 238 | let aR = (D + aM()) | |
239 | 239 | let aS = min([aR, aN()]) | |
240 | 240 | if ((E == 0)) | |
241 | 241 | then 0 | |
242 | 242 | else aS | |
243 | 243 | } | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func aT () = if ((E != 0)) | |
247 | 247 | then fraction(toBigInt(aQ()), e, toBigInt(E)) | |
248 | 248 | else e | |
249 | 249 | ||
250 | 250 | ||
251 | 251 | func aU () = if ((J == 0)) | |
252 | 252 | then 0 | |
253 | 253 | else fraction((aN() - aQ()), 1, J) | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func aV (r) = { | |
257 | 257 | let aW = valueOrElse(getString(this, t(r)), "") | |
258 | 258 | let aX = valueOrElse(getString(this, u(r)), "") | |
259 | 259 | let aY = if ((aW == "")) | |
260 | 260 | then nil | |
261 | 261 | else split(aW, b) | |
262 | 262 | let aZ = if ((aX == "")) | |
263 | 263 | then nil | |
264 | 264 | else split(aX, b) | |
265 | 265 | let ba = { | |
266 | 266 | let ak = aZ | |
267 | 267 | let al = size(ak) | |
268 | 268 | let am = nil | |
269 | 269 | func an (ao,ap) = if ((ap >= al)) | |
270 | 270 | then ao | |
271 | 271 | else aE(ao, ak[ap]) | |
272 | 272 | ||
273 | 273 | func aq (ao,ap) = if ((ap >= al)) | |
274 | 274 | then ao | |
275 | 275 | else throw("List size exceeds 20") | |
276 | 276 | ||
277 | 277 | aq(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(am, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
278 | 278 | } | |
279 | 279 | $Tuple2(aY, ba) | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func bb (bc) = max([0, toInt(fraction(toBigInt(bc), aT(), e))]) | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | func bd (be) = max([0, toInt(fraction(toBigInt(be), e, aT()))]) | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | func bf (r) = valueOrElse(getInteger(this, q(r)), 0) | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func bg (r) = valueOrElse(getInteger(this, s(r)), 0) | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | func bh (r) = { | |
296 | 296 | let bi = bf(r) | |
297 | 297 | bb(bi) | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func bj (bk,r) = { | |
302 | 302 | let bl = [if ((size(bk.payments) == 1)) | |
303 | 303 | then true | |
304 | 304 | else h("should include 1 payment"), if ((bk.payments[0].assetId == H)) | |
305 | 305 | then true | |
306 | 306 | else h(("payment should be in " + G)), if ((bk.payments[0].amount > 0)) | |
307 | 307 | then true | |
308 | 308 | else "payment amount should be greater than 0", if ((size(fromBase58String(r)) == f)) | |
309 | 309 | then true | |
310 | 310 | else h("user address is not valid")] | |
311 | 311 | if ((bl == bl)) | |
312 | 312 | then { | |
313 | 313 | let bm = bk.payments[0].amount | |
314 | - | let bn = | |
314 | + | let bn = bd(bm) | |
315 | 315 | let bi = bf(r) | |
316 | 316 | let bo = valueOrElse(getInteger(this, w(r)), 0) | |
317 | 317 | let bp = (E + bn) | |
318 | - | let bq = | |
318 | + | let bq = bb(bp) | |
319 | 319 | let br = (bi + bn) | |
320 | 320 | let bs = (bo + bm) | |
321 | 321 | [StringEntry(x("stake", r, bk.transactionId), A(aM(), aT(), E, D)), IntegerEntry(n, bp), IntegerEntry(o, bq), IntegerEntry(q(r), br), IntegerEntry(w(r), bs), IntegerEntry(m, height)] | |
322 | 322 | } | |
323 | 323 | else throw("Strict value is not equal to itself.") | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | func bt (bk,bu) = { | |
328 | 328 | let r = toString(bk.caller) | |
329 | 329 | let bi = bf(r) | |
330 | 330 | let bv = [if ((bu > 0)) | |
331 | 331 | then true | |
332 | 332 | else h("LP amount should be more than 0"), if ((bi >= bu)) | |
333 | 333 | then true | |
334 | 334 | else h((("cannot withdraw more than available LP (" + toString(bi)) + ")"))] | |
335 | 335 | if ((bv == bv)) | |
336 | 336 | then { | |
337 | 337 | let br = (bi - bu) | |
338 | - | let bw = | |
338 | + | let bw = bb(bu) | |
339 | 339 | let bp = (E - bu) | |
340 | - | let bq = | |
340 | + | let bq = bb(bp) | |
341 | 341 | let bx = valueOrElse(getInteger(this, v(r)), 0) | |
342 | 342 | let by = (bx + bw) | |
343 | 343 | [StringEntry(x("withdraw", r, bk.transactionId), A(aM(), aT(), E, D)), IntegerEntry(n, bp), IntegerEntry(o, bq), IntegerEntry(q(r), br), IntegerEntry(v(r), by), IntegerEntry(m, height), ScriptTransfer(bk.caller, bw, H)] | |
344 | 344 | } | |
345 | 345 | else throw("Strict value is not equal to itself.") | |
346 | 346 | } | |
347 | 347 | ||
348 | 348 | ||
349 | 349 | func bz (r,bA,bB) = { | |
350 | 350 | let bv = [if ((size(fromBase58String(r)) == f)) | |
351 | 351 | then true | |
352 | 352 | else h("user address is not valid"), if ((size(fromBase58String(bA)) == f)) | |
353 | 353 | then true | |
354 | 354 | else h("node address is not valid")] | |
355 | 355 | if ((bv == bv)) | |
356 | 356 | then [StringEntry(t(r), bA), StringEntry(u(r), toString(bB))] | |
357 | 357 | else throw("Strict value is not equal to itself.") | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | @Callable(bk) | |
362 | 362 | func setEmissionPerBlock (J) = { | |
363 | 363 | let bv = [if ((bk.caller == this)) | |
364 | 364 | then true | |
365 | 365 | else h("permission denied")] | |
366 | 366 | if ((bv == bv)) | |
367 | 367 | then [IntegerEntry(o, aQ()), IntegerEntry(m, height), IntegerEntry(k, max([0, J]))] | |
368 | 368 | else throw("Strict value is not equal to itself.") | |
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | 372 | ||
373 | 373 | @Callable(bk) | |
374 | 374 | func setEmissionPeriodInBlocks (bC) = { | |
375 | 375 | let bv = [if ((bC > 0)) | |
376 | 376 | then true | |
377 | 377 | else h("emission period should be greater than 0"), if ((bk.caller == this)) | |
378 | 378 | then true | |
379 | 379 | else h("permission denied")] | |
380 | 380 | if ((bv == bv)) | |
381 | 381 | then [IntegerEntry(o, aQ()), IntegerEntry(m, height), IntegerEntry(l, bC)] | |
382 | 382 | else throw("Strict value is not equal to itself.") | |
383 | 383 | } | |
384 | 384 | ||
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Callable(bk) | |
388 | 388 | func stake () = { | |
389 | 389 | let r = toString(bk.caller) | |
390 | 390 | bj(bk, r) | |
391 | 391 | } | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | ||
395 | 395 | @Callable(bk) | |
396 | 396 | func stakeFor (r) = bj(bk, r) | |
397 | 397 | ||
398 | 398 | ||
399 | 399 | ||
400 | 400 | @Callable(bk) | |
401 | 401 | func withdraw (bw) = { | |
402 | 402 | let r = toString(bk.caller) | |
403 | 403 | let bi = bf(r) | |
404 | - | let bD = | |
404 | + | let bD = bd(bw) | |
405 | 405 | let bE = bh(r) | |
406 | 406 | let bF = toInt(fraction(aT(), toBigInt(1), e, CEILING)) | |
407 | 407 | let bv = [if ((bw > 0)) | |
408 | 408 | then true | |
409 | 409 | else h("withdraw amount should be more than 0"), if ((bE >= bw)) | |
410 | 410 | then true | |
411 | 411 | else h((("cannot withdraw more than available (" + toString(bE)) + ")")), if ((bw >= bF)) | |
412 | 412 | then true | |
413 | 413 | else h((("withdraw amount is too small. Min: (" + toString(bF)) + ")"))] | |
414 | 414 | if ((bv == bv)) | |
415 | 415 | then bt(bk, min([bi, (bD + 1)])) | |
416 | 416 | else throw("Strict value is not equal to itself.") | |
417 | 417 | } | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | ||
421 | 421 | @Callable(bk) | |
422 | 422 | func setStakingNode (bA) = { | |
423 | 423 | let r = toString(bk.caller) | |
424 | 424 | bz(r, bA, 100) | |
425 | 425 | } | |
426 | 426 | ||
427 | 427 | ||
428 | 428 | ||
429 | 429 | @Callable(bk) | |
430 | 430 | func stakeAndSetStakingNode (bA) = { | |
431 | 431 | let r = toString(bk.caller) | |
432 | 432 | (bj(bk, r) ++ bz(r, bA, 100)) | |
433 | 433 | } | |
434 | 434 | ||
435 | 435 | ||
436 | 436 | ||
437 | 437 | @Callable(bk) | |
438 | 438 | func airdrop (bG,bH) = { | |
439 | 439 | func bI (bJ,bK) = (bJ + bK) | |
440 | 440 | ||
441 | 441 | let bL = { | |
442 | 442 | let ak = bH | |
443 | 443 | let al = size(ak) | |
444 | 444 | let am = 0 | |
445 | 445 | func an (ao,ap) = if ((ap >= al)) | |
446 | 446 | then ao | |
447 | 447 | else bI(ao, ak[ap]) | |
448 | 448 | ||
449 | 449 | func aq (ao,ap) = if ((ap >= al)) | |
450 | 450 | then ao | |
451 | 451 | else throw("List size exceeds 90") | |
452 | 452 | ||
453 | 453 | aq(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(an(am, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90) | |
454 | 454 | } | |
455 | 455 | let bv = [if ((size(bk.payments) == 1)) | |
456 | 456 | then true | |
457 | 457 | else h("should include 1 payment"), if ((bk.payments[0].assetId == H)) | |
458 | 458 | then true | |
459 | 459 | else h(("payment should be in " + G)), if ((bk.payments[0].amount > 0)) | |
460 | 460 | then true | |
461 | 461 | else "payment amount should be greater than 0", if ((size(bG) == size(bH))) | |
462 | 462 | then true | |
463 | 463 | else h("addressList should be same size as amountList"), if ((bk.payments[0].amount >= bL)) | |
464 | 464 | then true | |
465 | 465 | else h("payment amount is less than sum of amountList")] | |
466 | 466 | if ((bv == bv)) | |
467 | 467 | then { | |
468 | 468 | func bM (bJ,be) = { | |
469 | 469 | let bN = bJ | |
470 | 470 | let af = bN._1 | |
471 | 471 | let bO = bN._2 | |
472 | 472 | let bP = bN._3 | |
473 | 473 | let bQ = bd(be) | |
474 | 474 | let bR = s(bG[bO]) | |
475 | 475 | let bS = valueOrElse(getInteger(this, bR), 0) | |
476 | 476 | $Tuple3((af :+ IntegerEntry(bR, (bS + bQ))), (bO + 1), (bP + bQ)) | |
477 | 477 | } | |
478 | 478 | ||
479 | 479 | let bT = { | |
480 | 480 | let ak = bH | |
481 | 481 | let al = size(ak) | |
482 | 482 | let am = $Tuple3(nil, 0, 0) | |
483 | 483 | func bU (ao,ap) = if ((ap >= al)) | |
484 | 484 | then ao | |
485 | 485 | else bM(ao, ak[ap]) | |
486 | 486 | ||
487 | 487 | func bV (ao,ap) = if ((ap >= al)) | |
488 | 488 | then ao | |
489 | 489 | else throw("List size exceeds 90") | |
490 | 490 | ||
491 | 491 | bV(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(bU(am, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90) | |
492 | 492 | } | |
493 | 493 | let bW = bT._1 | |
494 | 494 | let bX = bT._2 | |
495 | 495 | let bY = bT._3 | |
496 | - | ([IntegerEntry(p, (F + bY)), IntegerEntry(n, (E + bY)), IntegerEntry(o, (D + bL))] ++ bW) | |
496 | + | let bZ = bb((E + bY)) | |
497 | + | ([IntegerEntry(p, (F + bY)), IntegerEntry(n, (E + bY)), IntegerEntry(o, bZ), IntegerEntry(m, height)] ++ bW) | |
497 | 498 | } | |
498 | 499 | else throw("Strict value is not equal to itself.") | |
499 | 500 | } | |
500 | 501 | ||
501 | 502 | ||
502 | 503 | ||
503 | 504 | @Callable(bk) | |
504 | 505 | func getUserAssetsREADONLY (r) = { | |
505 | 506 | let bi = bf(r) | |
506 | - | let | |
507 | - | let | |
507 | + | let ca = bg(r) | |
508 | + | let cb = bb(ca) | |
508 | 509 | let bE = bh(r) | |
509 | 510 | let bo = valueOrElse(getInteger(this, w(r)), 0) | |
510 | 511 | let bx = valueOrElse(getInteger(this, v(r)), 0) | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | $Tuple2(nil, $ | |
512 | + | let cc = aV(r) | |
513 | + | let cd = cc._1 | |
514 | + | let ce = cc._2 | |
515 | + | $Tuple2(nil, $Tuple10(bi, bE, aT(), bo, bx, ca, cb, cd, ce, aU())) | |
515 | 516 | } | |
516 | 517 | ||
517 | 518 | ||
518 | 519 | ||
519 | 520 | @Callable(bk) | |
520 | 521 | func getTotalAssetsREADONLY () = $Tuple2(nil, $Tuple6(E, aQ(), aT(), F, bb(F), aU())) | |
521 | 522 | ||
522 | 523 | ||
523 | 524 | ||
524 | 525 | @Callable(bk) | |
525 | 526 | func voteForTxId (z) = { | |
526 | 527 | let ay = toBase58String(bk.caller.bytes) | |
527 | 528 | let ah = O(z) | |
528 | 529 | let af = [StringEntry(T(), z)] | |
529 | - | let | |
530 | + | let cf = getString(this, T()) | |
530 | 531 | let aC = [if ((size(fromBase58String(z)) == N)) | |
531 | 532 | then true | |
532 | - | else h((z + " is not valid txId")), if (if (( | |
533 | + | else h((z + " is not valid txId")), if (if ((cf == unit)) | |
533 | 534 | then true | |
534 | - | else (value( | |
535 | + | else (value(cf) != z)) | |
535 | 536 | then true | |
536 | 537 | else h((z + " is already allowed"))] | |
537 | 538 | if ((aC == aC)) | |
538 | 539 | then ax(ay, ah, M, af) | |
539 | 540 | else throw("Strict value is not equal to itself.") | |
540 | 541 | } | |
541 | 542 | ||
542 | 543 | ||
543 | - | @Verifier( | |
544 | - | func | |
545 | - | let | |
546 | - | let | |
544 | + | @Verifier(cg) | |
545 | + | func ch () = { | |
546 | + | let ci = (cg.id == fromBase58String(valueOrElse(getString(this, T()), ""))) | |
547 | + | let cj = if ((size(X()) >= M)) | |
547 | 548 | then false | |
548 | - | else sigVerify( | |
549 | - | if ( | |
549 | + | else sigVerify(cg.bodyBytes, cg.proofs[0], cg.senderPublicKey) | |
550 | + | if (ci) | |
550 | 551 | then true | |
551 | - | else | |
552 | + | else cj | |
552 | 553 | } | |
553 | 554 |
github/deemru/w8io/169f3d6 101.74 ms ◑