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