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