tx · 3xggsFJYXxtRZNuXRdoQ8NPjCVR1XTjGx1PE253ThQaq 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.02300000 Waves 2023.01.19 12:48 [2411648] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "3xggsFJYXxtRZNuXRdoQ8NPjCVR1XTjGx1PE253ThQaq", "fee": 2300000, "feeAssetId": null, "timestamp": 1674121713684, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "2fCsaXFgLePELthqvQtXULkFwcMLmYqLYrjHR3PVeV9yLwwzmh4ovpgC8Zm6WcMXiUhsyEsbKFm1ksy1PmUBu5pk" ], "script": "base64:BgKCIggCEgMKAQgSAwoBCBIECgIICBIJCgcBERERGAgYEgcKBRERERgIEgcKBQEBAQgIEgASAwoBCBIECgIIARIECgIIARIECgIIARIDCgEIEgYKBAgBCAESBQoDARgYEgMKARgSAwoBCBIAIgZTQ0FMRTgiBU1VTFQ4IgdTQ0FMRTE4IgZNVUxUMTgiA1NFUCIOUE9PTFdFSUdIVE1VTFQiCnplcm9CaWdJbnQiDmlkeFBvb2xBZGRyZXNzIg1pZHhQb29sU3RhdHVzIhBpZHhQb29sTFBBc3NldElkIg1pZHhBbXRBc3NldElkIg9pZHhQcmljZUFzc2V0SWQiDmlkeEFtdEFzc2V0RGNtIhBpZHhQcmljZUFzc2V0RGNtIg5pZHhJQW10QXNzZXRJZCIQaWR4SVByaWNlQXNzZXRJZCINaWR4TFBBc3NldERjbSIPZ2V0U3RyaW5nT3JGYWlsIgNrZXkiGGdldFN0cmluZ0J5QWRkcmVzc09yRmFpbCIHYWRkcmVzcyIMZ2V0SW50T3JaZXJvIgxnZXRJbnRPckZhaWwiCWFzQW55TGlzdCIDdmFsIgckbWF0Y2gwIgp2YWxBbnlMe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XF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgJiQgEOY29uZmlybU1hbmFnZXIABAJkWQkBAmJ6AAQCZFoDCQEJaXNEZWZpbmVkAQUCZFkGCQACAQISTm8gcGVuZGluZyBtYW5hZ2VyAwkAAAIFAmRaBQJkWgQCZWEDCQAAAggFAmJCD2NhbGxlclB1YmxpY0tleQkBBXZhbHVlAQUCZFkGCQACAQIbWW91IGFyZSBub3QgcGVuZGluZyBtYW5hZ2VyAwkAAAIFAmVhBQJlYQkAzAgCCQELU3RyaW5nRW50cnkCCQEBRwAJANgEAQkBBXZhbHVlAQUCZFkJAMwIAgkBC0RlbGV0ZUVudHJ5AQkBAUgABQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAmViAQJlYwAEAmVkBAF6CQECYngAAwkAAQIFAXoCCkJ5dGVWZWN0b3IEAmJEBQF6BQJiRAMJAAECBQF6AgRVbml0CAUCZWIPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAmViCWJvZHlCeXRlcwkAkQMCCAUCZWIGcHJvb2ZzAAAFAmVkfc+tRQ==", "chainId": 84, "height": 2411648, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Aq2vqh1AkFnajMVJqFiEdR5Ye9hbxNt3VjG5eMapDxur Next: ah6cWxRnUs7YfH9kkmxx1r3rc9MA22Vc3wLwPgsX2Mr Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = "__" | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | let g = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let h = 1 | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 3 | |
23 | 23 | ||
24 | 24 | let k = 4 | |
25 | 25 | ||
26 | 26 | let l = 5 | |
27 | 27 | ||
28 | 28 | let m = 6 | |
29 | 29 | ||
30 | 30 | let n = 7 | |
31 | 31 | ||
32 | 32 | let o = 8 | |
33 | 33 | ||
34 | 34 | let p = 9 | |
35 | 35 | ||
36 | 36 | let q = 10 | |
37 | 37 | ||
38 | 38 | func r (s) = valueOrErrorMessage(getString(s), (("mandatory this." + s) + " is not defined")) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func t (u,s) = valueOrErrorMessage(getString(u, s), (((("mandatory " + toString(u)) + ".") + s) + " is not defined")) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func v (u,s) = valueOrElse(getInteger(u, s), 0) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func w (u,s) = valueOrErrorMessage(getInteger(u, s), (("mandatory this." + s) + " is not defined")) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func x (y) = { | |
51 | 51 | let z = y | |
52 | 52 | if ($isInstanceOf(z, "List[Any]")) | |
53 | 53 | then { | |
54 | 54 | let A = z | |
55 | 55 | A | |
56 | 56 | } | |
57 | 57 | else throw("fail to cast into List[Any]") | |
58 | 58 | } | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func B (y) = { | |
62 | 62 | let z = y | |
63 | 63 | if ($isInstanceOf(z, "Int")) | |
64 | 64 | then { | |
65 | 65 | let C = z | |
66 | 66 | C | |
67 | 67 | } | |
68 | 68 | else throw("fail to cast into Int") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func D (y) = { | |
73 | 73 | let z = y | |
74 | 74 | if ($isInstanceOf(z, "String")) | |
75 | 75 | then { | |
76 | 76 | let E = z | |
77 | 77 | E | |
78 | 78 | } | |
79 | 79 | else throw("fail to cast into String") | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func F () = "%s%s__config__factoryAddress" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func G () = "%s__managerPublicKey" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func H () = "%s__pendingManagerPublicKey" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | let I = 1 | |
93 | 93 | ||
94 | 94 | let J = 2 | |
95 | 95 | ||
96 | 96 | let K = 3 | |
97 | 97 | ||
98 | 98 | let L = 4 | |
99 | 99 | ||
100 | 100 | let M = 5 | |
101 | 101 | ||
102 | 102 | let N = 6 | |
103 | 103 | ||
104 | 104 | let O = 7 | |
105 | 105 | ||
106 | 106 | let P = 8 | |
107 | 107 | ||
108 | 108 | func Q () = "%s__factoryConfig" | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func R (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func T () = "%s__lpTokensList" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func U (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func V (W) = makeString(["%s%s", "poolWeight", W], e) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func X () = addressFromStringValue(r(F())) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func Y () = split(valueOrElse(getString(X(), T()), ""), e) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func Z (aa) = split(t(aa, Q()), e) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ab (ac) = addressFromStringValue(ac[J]) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ad (ac) = addressFromStringValue(ac[M]) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ae (ac) = addressFromStringValue(ac[I]) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func af (ac) = addressFromStringValue(ac[P]) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ag () = "%s__config" | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ah () = "%s%s__stats__activeTotalLocked" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func ai () = "%s%s__stats__locksDurationSumInBlocks" | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aj () = "%s%s__stats__locksCount" | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func ak () = "%s%s__stats__activeUsersCount" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func al (am) = makeString(["%s%s%s__mapping__user2num", am], e) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func an (ao) = makeString(["%s%s%s__mapping__num2user", ao], e) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ap (aq) = makeString(["%s%d%s__paramByUserNum", aq, "amount"], e) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ar (aq) = makeString(["%s%d%s__paramByUserNum", aq, "start"], e) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func as (aq) = makeString(["%s%d%s__paramByUserNum", aq, "duration"], e) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func at (aq) = makeString(["%s%d%s__paramByUserNum", aq, "k"], e) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func au (aq) = makeString(["%s%d%s__paramByUserNum", aq, "b"], e) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func av (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "k", aw], e) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ax (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "b", aw], e) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ay (aq) = makeString(["%s%d__userBoostEmissionLastInt", aq], e) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func az (aq) = makeString(["%s%d__maxBoostInt", aq], e) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aA () = "%s%s__maxBoostInt__total" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aB (aq) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aq], e) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aC (aq) = makeString(["%s%d__userBoostClaimed", aq], e) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aD () = "%s%s__gwxCached__total" | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aE (aF,aG) = makeString(["%s%s%s__staked", aF, aG], e) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aH (aG) = ("%s%s%s__staked__total__" + aG) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func aI (aG,aF) = makeString(["%s%s%s__claimed", aF, aG], e) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aJ (aG,aF) = makeString(["%s%s%s__claimedMinReward", aF, aG], e) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func aK (aG,aF) = makeString(["%s%s%s__claimedBoostReward", aF, aG], e) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func aL (aM,s) = valueOrElse(getInteger(aM, s), 0) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aN () = "%s%s__ratePerBlock__current" | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func aO () = "%s%s__ratePerBlockMax__current" | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func aP () = "%s%s__emission__startBlock" | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aQ () = "%s%s__emission__duration" | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func aR () = "%s%s__emission__endBlock" | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | func aS () = "%s__addonAddr" | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | let aT = X() | |
241 | 241 | ||
242 | 242 | let aU = Z(aT) | |
243 | 243 | ||
244 | 244 | let aV = ad(aU) | |
245 | 245 | ||
246 | 246 | let aM = ae(aU) | |
247 | 247 | ||
248 | 248 | let aW = af(aU) | |
249 | 249 | ||
250 | 250 | let aX = ab(aU) | |
251 | 251 | ||
252 | 252 | func aY (aZ) = { | |
253 | 253 | let ba = invoke(aT, "getInFeeREADONLY", [toString(aZ)], nil) | |
254 | 254 | if ($isInstanceOf(ba, "Int")) | |
255 | 255 | then ba | |
256 | 256 | else throw(($getType(ba) + " couldn't be cast to Int")) | |
257 | 257 | } | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func bb (aZ) = { | |
261 | 261 | let ba = invoke(aT, "getOutFeeREADONLY", [toString(aZ)], nil) | |
262 | 262 | if ($isInstanceOf(ba, "Int")) | |
263 | 263 | then ba | |
264 | 264 | else throw(($getType(ba) + " couldn't be cast to Int")) | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bc (bd) = { | |
269 | 269 | let be = t(aT, U(bd)) | |
270 | 270 | let bf = b | |
271 | 271 | let bg = getIntegerValue(aT, V(be)) | |
272 | 272 | let bh = w(aV, aN()) | |
273 | 273 | let bi = w(aV, aO()) | |
274 | 274 | let bj = 3 | |
275 | 275 | let bk = (fraction(bh, bg, bf) / bj) | |
276 | 276 | let bl = fraction(bi, bg, bf) | |
277 | 277 | let bm = (bj * b) | |
278 | 278 | let bn = v(aM, aH(bd)) | |
279 | 279 | [bk, bm, bn] | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func bo (bp,bq,br) = { | |
284 | 284 | let bs = fraction(bq, b, br) | |
285 | 285 | let bt = fraction(bp, bs, b) | |
286 | 286 | [bt] | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bu (bv,s,bw) = if ((bw == "string")) | |
291 | 291 | then getStringValue(bv, s) | |
292 | 292 | else if ((bw == "integer")) | |
293 | 293 | then toString(getIntegerValue(bv, s)) | |
294 | 294 | else if ((bw == "boolean")) | |
295 | 295 | then toString(getBooleanValue(bv, s)) | |
296 | 296 | else throw("unknown type. expected string/integer/boolean") | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func bx () = { | |
300 | 300 | let z = getString(G()) | |
301 | 301 | if ($isInstanceOf(z, "String")) | |
302 | 302 | then { | |
303 | 303 | let by = z | |
304 | 304 | fromBase58String(by) | |
305 | 305 | } | |
306 | 306 | else if ($isInstanceOf(z, "Unit")) | |
307 | 307 | then unit | |
308 | 308 | else throw("Match error") | |
309 | 309 | } | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func bz () = { | |
313 | 313 | let z = getString(H()) | |
314 | 314 | if ($isInstanceOf(z, "String")) | |
315 | 315 | then { | |
316 | 316 | let by = z | |
317 | 317 | fromBase58String(by) | |
318 | 318 | } | |
319 | 319 | else if ($isInstanceOf(z, "Unit")) | |
320 | 320 | then unit | |
321 | 321 | else throw("Match error") | |
322 | 322 | } | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | func bA (bB) = { | |
326 | 326 | let bC = throw("Permission denied") | |
327 | 327 | let z = bx() | |
328 | 328 | if ($isInstanceOf(z, "ByteVector")) | |
329 | 329 | then { | |
330 | 330 | let bD = z | |
331 | 331 | if ((bB.callerPublicKey == bD)) | |
332 | 332 | then true | |
333 | 333 | else bC | |
334 | 334 | } | |
335 | 335 | else if ($isInstanceOf(z, "Unit")) | |
336 | 336 | then if ((bB.caller == this)) | |
337 | 337 | then true | |
338 | 338 | else bC | |
339 | 339 | else throw("Match error") | |
340 | 340 | } | |
341 | 341 | ||
342 | 342 | ||
343 | 343 | @Callable(bB) | |
344 | 344 | func constructor (bE) = { | |
345 | 345 | let bF = bA(bB) | |
346 | 346 | if ((bF == bF)) | |
347 | 347 | then [StringEntry(F(), bE)] | |
348 | 348 | else throw("Strict value is not equal to itself.") | |
349 | 349 | } | |
350 | 350 | ||
351 | 351 | ||
352 | 352 | ||
353 | 353 | @Callable(bB) | |
354 | 354 | func currentRewardRateREADONLY (bd) = { | |
355 | 355 | let bG = bc(bd) | |
356 | 356 | let bh = bG[0] | |
357 | 357 | let bm = bG[1] | |
358 | 358 | let bn = bG[2] | |
359 | 359 | $Tuple2(nil, makeString(["%d%d%d", toString(bh), toString(bm), toString(bn)], e)) | |
360 | 360 | } | |
361 | 361 | ||
362 | 362 | ||
363 | 363 | ||
364 | 364 | @Callable(bB) | |
365 | 365 | func currentUserRewardRateREADONLY (bd,am) = { | |
366 | 366 | let bG = bc(bd) | |
367 | 367 | let bh = bG[0] | |
368 | 368 | let bm = bG[1] | |
369 | 369 | let bn = bG[2] | |
370 | 370 | let bH = v(aM, aE(am, bd)) | |
371 | 371 | let bI = split(D(invoke(aM, "claimWxREADONLY", [bd, am], nil)), e) | |
372 | 372 | let bJ = valueOrErrorMessage(parseInt(bI[5]), "couldn't parse minRewardPart") | |
373 | 373 | let bK = valueOrErrorMessage(parseInt(bI[6]), "couldn't parse boostRewardPart") | |
374 | 374 | let bL = bI[7] | |
375 | 375 | let bM = if ((bK == 0)) | |
376 | 376 | then (1 * b) | |
377 | 377 | else fraction((bJ + bK), b, bJ) | |
378 | 378 | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(bh), toString(bm), toString(bn), toString(bH), toString(bM), bL], e)) | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | ||
383 | 383 | @Callable(bB) | |
384 | 384 | func calcBoostBulkInternalREADONLY (bN,bO,bP,bQ,bR,bS,bT) = if ((bN == size(bO))) | |
385 | 385 | then $Tuple2(nil, bT) | |
386 | 386 | else { | |
387 | 387 | let bU = bO[bN] | |
388 | 388 | let bV = bP[bN] | |
389 | 389 | let bW = bQ[bN] | |
390 | 390 | let bX = bR[bN] | |
391 | 391 | let bY = { | |
392 | 392 | let ba = invoke(this, "calcBoostREADONLY", [bU, bV, bW, bX, bS], nil) | |
393 | 393 | if ($isInstanceOf(ba, "String")) | |
394 | 394 | then ba | |
395 | 395 | else throw(($getType(ba) + " couldn't be cast to String")) | |
396 | 396 | } | |
397 | 397 | let bZ = (bT :+ bY) | |
398 | 398 | let ca = { | |
399 | 399 | let ba = invoke(this, "calcBoostBulkInternalREADONLY", [(bN + 1), bO, bP, bQ, bR, bS, bZ], nil) | |
400 | 400 | if ($isInstanceOf(ba, "List[Any]")) | |
401 | 401 | then ba | |
402 | 402 | else throw(($getType(ba) + " couldn't be cast to List[Any]")) | |
403 | 403 | } | |
404 | 404 | if ((ca == ca)) | |
405 | 405 | then $Tuple2(nil, ca) | |
406 | 406 | else throw("Strict value is not equal to itself.") | |
407 | 407 | } | |
408 | 408 | ||
409 | 409 | ||
410 | 410 | ||
411 | 411 | @Callable(bB) | |
412 | 412 | func calcBoostBulkREADONLY (bU,bV,bW,bX,bS) = { | |
413 | 413 | let bZ = invoke(this, "calcBoostBulkInternalREADONLY", [0, bU, bV, bW, bX, bS, nil], nil) | |
414 | 414 | $Tuple2(nil, bZ) | |
415 | 415 | } | |
416 | 416 | ||
417 | 417 | ||
418 | 418 | ||
419 | 419 | @Callable(bB) | |
420 | 420 | func calcBoostREADONLY (bU,bV,bW,bX,bS) = { | |
421 | 421 | let cb = aW | |
422 | 422 | let cc = "empty" | |
423 | 423 | let cd = parseIntValue(split(t(aX, ag()), e)[4]) | |
424 | 424 | let aG = if ((bX == "")) | |
425 | 425 | then cc | |
426 | 426 | else bX | |
427 | 427 | let aF = if ((bS == "")) | |
428 | 428 | then cc | |
429 | 429 | else bS | |
430 | 430 | let ce = valueOrElse(getString(aX, al(bS)), cc) | |
431 | 431 | let cf = valueOrElse(getInteger(aX, ap(ce)), 0) | |
432 | 432 | let cg = valueOrElse(getInteger(aX, ar(ce)), height) | |
433 | 433 | let bq = valueOrElse(getInteger(aX, as(ce)), 0) | |
434 | 434 | let ch = (cg + bq) | |
435 | 435 | let ci = max([(ch - height), 0]) | |
436 | 436 | let cj = (cf + bU) | |
437 | 437 | let ck = min([(ci + bV), cd]) | |
438 | 438 | let cl = B(x(invoke(aX, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
439 | 439 | let cm = bo(cj, ck, cd)[0] | |
440 | 440 | let cn = x(invoke(cb, "calcGwxParamsREADONLY", [cm, height, ck], nil)) | |
441 | 441 | let co = (cm - cl) | |
442 | 442 | let cp = B(cn[0]) | |
443 | 443 | let cq = B(cn[1]) | |
444 | 444 | let aw = toString(B(cn[2])) | |
445 | 445 | let cr = aA() | |
446 | 446 | let cs = ((cm * ck) / 2) | |
447 | 447 | let ct = v(aX, cr) | |
448 | 448 | let cu = { | |
449 | 449 | let ba = invoke(aX, "getTotalCachedGwxREADONLY", nil, nil) | |
450 | 450 | if ($isInstanceOf(ba, "Int")) | |
451 | 451 | then ba | |
452 | 452 | else throw(($getType(ba) + " couldn't be cast to Int")) | |
453 | 453 | } | |
454 | 454 | let cv = 1000 | |
455 | 455 | let cw = (w(aV, aN()) * cv) | |
456 | 456 | let cx = aE(aF, aG) | |
457 | 457 | let cy = aH(aG) | |
458 | 458 | let cz = aL(aM, cx) | |
459 | 459 | let cA = aL(aM, cy) | |
460 | 460 | let cB = (cz + bW) | |
461 | 461 | let cC = (cA + bW) | |
462 | 462 | let bg = if ((aG != cc)) | |
463 | 463 | then { | |
464 | 464 | let be = valueOrErrorMessage(getString(aT, R(aG)), ("unsupported lp asset " + aG)) | |
465 | 465 | getIntegerValue(aT, V(be)) | |
466 | 466 | } | |
467 | 467 | else 0 | |
468 | 468 | let cD = fraction(cw, bg, (f * 3)) | |
469 | 469 | let cE = if ((cC != 0)) | |
470 | 470 | then fraction(cD, b, cC) | |
471 | 471 | else 0 | |
472 | 472 | let cF = fraction(cE, cB, b) | |
473 | 473 | let cG = (cD * 2) | |
474 | 474 | let cH = fraction(cm, cG, (cu + co)) | |
475 | 475 | let cI = min([cH, (cF * 2)]) | |
476 | 476 | let cJ = if ((cF == 0)) | |
477 | 477 | then (1 * b) | |
478 | 478 | else fraction((cI + cF), b, cF) | |
479 | 479 | $Tuple2(nil, makeString(["%d%d%s", toString(cm), toString(cJ), "d"], e)) | |
480 | 480 | } | |
481 | 481 | ||
482 | 482 | ||
483 | 483 | ||
484 | 484 | @Callable(bB) | |
485 | 485 | func wxEmissionStatsREADONLY () = { | |
486 | 486 | let cK = toString(b) | |
487 | 487 | let cL = "1" | |
488 | 488 | let bh = w(aV, aN()) | |
489 | 489 | let cM = w(aV, aP()) | |
490 | 490 | let cN = if ((cM > height)) | |
491 | 491 | then 0 | |
492 | 492 | else (height - cM) | |
493 | 493 | let cO = (1440 * 365) | |
494 | 494 | let cP = (201000000 * b) | |
495 | 495 | let cQ = if ((cN > cO)) | |
496 | 496 | then cP | |
497 | 497 | else fraction(cP, cN, cO) | |
498 | 498 | let cR = ((bh * cN) + cQ) | |
499 | 499 | let cS = v(aX, ah()) | |
500 | 500 | let cT = v(aX, ai()) | |
501 | 501 | let cU = v(aX, aj()) | |
502 | 502 | $Tuple2(nil, makeString(["%d%d%d%d", toString(cR), toString(cS), toString(cT), toString(cU)], e)) | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | ||
507 | 507 | @Callable(bB) | |
508 | 508 | func poolStatsREADONLY (cV) = { | |
509 | 509 | let aZ = addressFromStringValue(t(aT, U(cV))) | |
510 | 510 | let cW = x(invoke(aZ, "getPoolConfigWrapperREADONLY", nil, nil)) | |
511 | 511 | let bd = fromBase58String(D(cW[j])) | |
512 | 512 | let cX = D(cW[k]) | |
513 | 513 | let cY = D(cW[l]) | |
514 | 514 | let cZ = D(cW[o]) | |
515 | 515 | let da = D(cW[p]) | |
516 | 516 | let db = parseIntValue(D(cW[m])) | |
517 | 517 | let dc = parseIntValue(D(cW[n])) | |
518 | 518 | let dd = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
519 | 519 | let de = B(invoke(aZ, "getAccBalanceWrapperREADONLY", [cX], nil)) | |
520 | 520 | let df = B(invoke(aZ, "getAccBalanceWrapperREADONLY", [cY], nil)) | |
521 | 521 | let dg = if ((dd == 0)) | |
522 | 522 | then [toString(g), toString(g), toString(g)] | |
523 | 523 | else x(invoke(aZ, "calcPricesWrapperREADONLY", [de, df, dd], nil)) | |
524 | 524 | let dh = 0 | |
525 | 525 | let di = B(invoke(aZ, "fromX18WrapperREADONLY", [dg[1], b], nil)) | |
526 | 526 | let dj = B(invoke(aZ, "fromX18WrapperREADONLY", [dg[2], b], nil)) | |
527 | 527 | let bg = getIntegerValue(aT, V(toString(aZ))) | |
528 | 528 | let dk = aY(aZ) | |
529 | 529 | let dl = bb(aZ) | |
530 | 530 | let dm = { | |
531 | 531 | let ba = invoke(aT, "isPoolOneTokenOperationsDisabledREADONLY", [toString(aZ)], nil) | |
532 | 532 | if ($isInstanceOf(ba, "Boolean")) | |
533 | 533 | then ba | |
534 | 534 | else throw(($getType(ba) + " couldn't be cast to Boolean")) | |
535 | 535 | } | |
536 | 536 | let dn = !(dm) | |
537 | 537 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d%d%s", toString(de), toString(df), toString(dd), toString(dh), toString(di), toString(dj), toString(bg), toString(dk), toString(dl), toString(dn)], e)) | |
538 | 538 | } | |
539 | 539 | ||
540 | 540 | ||
541 | 541 | ||
542 | 542 | @Callable(bB) | |
543 | 543 | func poolEvaluatePutByAmountAssetREADONLY (cV,do) = { | |
544 | 544 | let aZ = addressFromStringValue(t(aT, U(cV))) | |
545 | 545 | let cW = x(invoke(aZ, "getPoolConfigWrapperREADONLY", nil, nil)) | |
546 | 546 | let bd = fromBase58String(D(cW[j])) | |
547 | 547 | let dp = D(cW[k]) | |
548 | 548 | let dq = fromBase58String(dp) | |
549 | 549 | let dr = D(cW[l]) | |
550 | 550 | let ds = fromBase58String(dr) | |
551 | 551 | let db = parseIntValue(D(cW[m])) | |
552 | 552 | let dc = parseIntValue(D(cW[n])) | |
553 | 553 | let dt = D(cW[i]) | |
554 | 554 | let dd = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
555 | 555 | let de = B(invoke(aZ, "getAccBalanceWrapperREADONLY", [dp], nil)) | |
556 | 556 | let df = B(invoke(aZ, "getAccBalanceWrapperREADONLY", [dr], nil)) | |
557 | 557 | let du = parseBigIntValue(D(invoke(aZ, "toX18WrapperREADONLY", [de, db], nil))) | |
558 | 558 | let dv = parseBigIntValue(D(invoke(aZ, "toX18WrapperREADONLY", [df, dc], nil))) | |
559 | 559 | let dw = if ((dd == 0)) | |
560 | 560 | then g | |
561 | 561 | else parseBigIntValue(D(invoke(aZ, "calcPriceBigIntWrapperREADONLY", [toString(dv), toString(du)], nil))) | |
562 | 562 | let dh = B(invoke(aZ, "fromX18WrapperREADONLY", [toString(dw), b], nil)) | |
563 | 563 | let dx = parseBigIntValue(D(invoke(aZ, "toX18WrapperREADONLY", [do, db], nil))) | |
564 | 564 | let dy = fraction(dx, dw, d) | |
565 | 565 | let dz = B(invoke(aZ, "fromX18WrapperREADONLY", [toString(dy), dc], nil)) | |
566 | 566 | let bZ = invoke(aZ, "estimatePutOperationWrapperREADONLY", ["", 500000, do, dq, dz, ds, "", true, false], nil) | |
567 | 567 | let dA = { | |
568 | 568 | let z = bZ | |
569 | 569 | if (if (if ($isInstanceOf(z._1, "Int")) | |
570 | 570 | then if ($isInstanceOf(z._3, "Int")) | |
571 | 571 | then if ($isInstanceOf(z._4, "Int")) | |
572 | 572 | then if ($isInstanceOf(z._5, "Int")) | |
573 | 573 | then $isInstanceOf(z._6, "Int") | |
574 | 574 | else false | |
575 | 575 | else false | |
576 | 576 | else false | |
577 | 577 | else false) | |
578 | 578 | then (size(z) == 13) | |
579 | 579 | else false) | |
580 | 580 | then { | |
581 | 581 | let dB = z._1 | |
582 | 582 | let dC = z._3 | |
583 | 583 | let dD = z._4 | |
584 | 584 | let dE = z._5 | |
585 | 585 | let dF = z._6 | |
586 | 586 | $Tuple5(dB, dC, dD, dE, dF) | |
587 | 587 | } | |
588 | 588 | else throw("Couldn't cast types") | |
589 | 589 | } | |
590 | 590 | let dB = dA._1 | |
591 | 591 | let dC = dA._2 | |
592 | 592 | let dD = dA._3 | |
593 | 593 | let dE = dA._4 | |
594 | 594 | let dF = dA._5 | |
595 | 595 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dB), toString(dh), toString(dD), toString(dE), toString(dF), dt, toString(do), toString(dz)], e)) | |
596 | 596 | } | |
597 | 597 | ||
598 | 598 | ||
599 | 599 | ||
600 | 600 | @Callable(bB) | |
601 | 601 | func poolEvaluatePutByPriceAssetREADONLY (cV,dz) = { | |
602 | 602 | let aZ = addressFromStringValue(t(aT, U(cV))) | |
603 | 603 | let cW = x(invoke(aZ, "getPoolConfigWrapperREADONLY", nil, nil)) | |
604 | 604 | let bd = fromBase58String(D(cW[j])) | |
605 | 605 | let dp = D(cW[k]) | |
606 | 606 | let dq = fromBase58String(dp) | |
607 | 607 | let dr = D(cW[l]) | |
608 | 608 | let ds = fromBase58String(dr) | |
609 | 609 | let db = parseIntValue(D(cW[m])) | |
610 | 610 | let dc = parseIntValue(D(cW[n])) | |
611 | 611 | let dt = D(cW[i]) | |
612 | 612 | let dd = valueOrErrorMessage(assetInfo(bd), (("Asset " + toBase58String(bd)) + " doesn't exist")).quantity | |
613 | 613 | let dG = B(invoke(aZ, "getAccBalanceWrapperREADONLY", [dp], nil)) | |
614 | 614 | let dH = B(invoke(aZ, "getAccBalanceWrapperREADONLY", [dr], nil)) | |
615 | 615 | let dI = parseBigIntValue(D(invoke(aZ, "toX18WrapperREADONLY", [dG, db], nil))) | |
616 | 616 | let dJ = parseBigIntValue(D(invoke(aZ, "toX18WrapperREADONLY", [dH, dc], nil))) | |
617 | 617 | let dw = if ((dd == 0)) | |
618 | 618 | then g | |
619 | 619 | else parseBigIntValue(D(invoke(aZ, "calcPriceBigIntWrapperREADONLY", [toString(dJ), toString(dI)], nil))) | |
620 | 620 | let dh = B(invoke(aZ, "fromX18WrapperREADONLY", [toString(dw), b], nil)) | |
621 | 621 | let dy = parseBigIntValue(D(invoke(aZ, "toX18WrapperREADONLY", [dz, dc], nil))) | |
622 | 622 | let dx = fraction(dy, d, dw) | |
623 | 623 | let do = B(invoke(aZ, "fromX18WrapperREADONLY", [toString(dx), db], nil)) | |
624 | 624 | let bZ = invoke(aZ, "estimatePutOperationWrapperREADONLY", ["", 500000, do, dq, dz, ds, "", true, false], nil) | |
625 | 625 | let dK = { | |
626 | 626 | let z = bZ | |
627 | 627 | if (if (if ($isInstanceOf(z._1, "Int")) | |
628 | 628 | then if ($isInstanceOf(z._3, "Int")) | |
629 | 629 | then if ($isInstanceOf(z._4, "Int")) | |
630 | 630 | then if ($isInstanceOf(z._5, "Int")) | |
631 | 631 | then $isInstanceOf(z._6, "Int") | |
632 | 632 | else false | |
633 | 633 | else false | |
634 | 634 | else false | |
635 | 635 | else false) | |
636 | 636 | then (size(z) == 13) | |
637 | 637 | else false) | |
638 | 638 | then { | |
639 | 639 | let dB = z._1 | |
640 | 640 | let dC = z._3 | |
641 | 641 | let dD = z._4 | |
642 | 642 | let dE = z._5 | |
643 | 643 | let dF = z._6 | |
644 | 644 | $Tuple5(dB, dC, dD, dE, dF) | |
645 | 645 | } | |
646 | 646 | else throw("Couldn't cast types") | |
647 | 647 | } | |
648 | 648 | let dB = dK._1 | |
649 | 649 | let dC = dK._2 | |
650 | 650 | let dD = dK._3 | |
651 | 651 | let dE = dK._4 | |
652 | 652 | let dF = dK._5 | |
653 | 653 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dB), toString(dh), toString(dD), toString(dE), toString(dF), dt, toString(do), toString(dz)], e)) | |
654 | 654 | } | |
655 | 655 | ||
656 | 656 | ||
657 | 657 | ||
658 | 658 | @Callable(bB) | |
659 | 659 | func poolEvaluateGetREADONLY (dL,dM) = { | |
660 | 660 | let aZ = addressFromStringValue(t(aT, U(dL))) | |
661 | 661 | let bZ = invoke(aZ, "estimateGetOperationWrapperREADONLY", ["", dL, dM, toString(aZ)], nil) | |
662 | 662 | let dN = { | |
663 | 663 | let z = bZ | |
664 | 664 | if (if (if ($isInstanceOf(z._1, "Int")) | |
665 | 665 | then if ($isInstanceOf(z._2, "Int")) | |
666 | 666 | then if ($isInstanceOf(z._5, "Int")) | |
667 | 667 | then if ($isInstanceOf(z._6, "Int")) | |
668 | 668 | then if ($isInstanceOf(z._7, "Int")) | |
669 | 669 | then if ($isInstanceOf(z._8, "String")) | |
670 | 670 | then $isInstanceOf(z._9, "String") | |
671 | 671 | else false | |
672 | 672 | else false | |
673 | 673 | else false | |
674 | 674 | else false | |
675 | 675 | else false | |
676 | 676 | else false) | |
677 | 677 | then (size(z) == 10) | |
678 | 678 | else false) | |
679 | 679 | then { | |
680 | 680 | let dO = z._1 | |
681 | 681 | let dP = z._2 | |
682 | 682 | let dD = z._5 | |
683 | 683 | let dE = z._6 | |
684 | 684 | let dF = z._7 | |
685 | 685 | let dh = z._8 | |
686 | 686 | let dt = z._9 | |
687 | 687 | $Tuple7(dO, dP, dD, dE, dF, dh, dt) | |
688 | 688 | } | |
689 | 689 | else throw("Couldn't cast types") | |
690 | 690 | } | |
691 | 691 | let dO = dN._1 | |
692 | 692 | let dP = dN._2 | |
693 | 693 | let dD = dN._3 | |
694 | 694 | let dE = dN._4 | |
695 | 695 | let dF = dN._5 | |
696 | 696 | let dh = dN._6 | |
697 | 697 | let dt = dN._7 | |
698 | 698 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dO), toString(dP), toString(dD), toString(dE), toString(dF), dh, dt], e)) | |
699 | 699 | } | |
700 | 700 | ||
701 | 701 | ||
702 | 702 | ||
703 | 703 | @Callable(bB) | |
704 | 704 | func gwxUserInfoREADONLY (am) = { | |
705 | 705 | let dQ = x(invoke(aX, "gwxUserInfoREADONLY", [am], nil)) | |
706 | 706 | let dR = B(dQ[0]) | |
707 | 707 | $Tuple2(nil, makeString(["%d", toString(dR)], e)) | |
708 | 708 | } | |
709 | 709 | ||
710 | 710 | ||
711 | 711 | ||
712 | 712 | @Callable(bB) | |
713 | 713 | func unstakeAndGetOneTknV2 (aZ,dS,dT,dU) = { | |
714 | 714 | let ca = invoke(addressFromStringValue(aZ), "unstakeAndGetOneTknV2", [dS, dT, dU], nil) | |
715 | 715 | if ((ca == ca)) | |
716 | 716 | then $Tuple2(nil, unit) | |
717 | 717 | else throw("Strict value is not equal to itself.") | |
718 | 718 | } | |
719 | 719 | ||
720 | 720 | ||
721 | 721 | ||
722 | 722 | @Callable(bB) | |
723 | 723 | func getKeysBulkInternal (bN,dV,bT) = if ((bN == size(dV))) | |
724 | 724 | then $Tuple2(nil, bT) | |
725 | 725 | else { | |
726 | 726 | let cp = split(dV[bN], "++") | |
727 | 727 | let bv = addressFromStringValue(cp[0]) | |
728 | 728 | let s = cp[1] | |
729 | 729 | let bw = cp[2] | |
730 | 730 | let y = bu(bv, s, bw) | |
731 | 731 | let bZ = (bT :+ y) | |
732 | 732 | let ca = invoke(this, "getKeysBulkInternal", [(bN + 1), dV, bZ], nil) | |
733 | 733 | if ((ca == ca)) | |
734 | 734 | then $Tuple2(nil, ca) | |
735 | 735 | else throw("Strict value is not equal to itself.") | |
736 | 736 | } | |
737 | 737 | ||
738 | 738 | ||
739 | 739 | ||
740 | 740 | @Callable(bB) | |
741 | 741 | func getKeysBulk (dV) = { | |
742 | 742 | let bZ = invoke(this, "getKeysBulkInternal", [0, dV, nil], nil) | |
743 | 743 | $Tuple2(nil, bZ) | |
744 | 744 | } | |
745 | 745 | ||
746 | 746 | ||
747 | 747 | ||
748 | 748 | @Callable(bB) | |
749 | 749 | func setManager (dW) = { | |
750 | 750 | let bF = bA(bB) | |
751 | 751 | if ((bF == bF)) | |
752 | 752 | then { | |
753 | 753 | let dX = fromBase58String(dW) | |
754 | 754 | if ((dX == dX)) | |
755 | 755 | then [StringEntry(H(), dW)] | |
756 | 756 | else throw("Strict value is not equal to itself.") | |
757 | 757 | } | |
758 | 758 | else throw("Strict value is not equal to itself.") | |
759 | 759 | } | |
760 | 760 | ||
761 | 761 | ||
762 | 762 | ||
763 | 763 | @Callable(bB) | |
764 | 764 | func confirmManager () = { | |
765 | 765 | let dY = bz() | |
766 | 766 | let dZ = if (isDefined(dY)) | |
767 | 767 | then true | |
768 | 768 | else throw("No pending manager") | |
769 | 769 | if ((dZ == dZ)) | |
770 | 770 | then { | |
771 | 771 | let ea = if ((bB.callerPublicKey == value(dY))) | |
772 | 772 | then true | |
773 | 773 | else throw("You are not pending manager") | |
774 | 774 | if ((ea == ea)) | |
775 | 775 | then [StringEntry(G(), toBase58String(value(dY))), DeleteEntry(H())] | |
776 | 776 | else throw("Strict value is not equal to itself.") | |
777 | 777 | } | |
778 | 778 | else throw("Strict value is not equal to itself.") | |
779 | 779 | } | |
780 | 780 | ||
781 | 781 | ||
782 | 782 | @Verifier(eb) | |
783 | 783 | func ec () = { | |
784 | 784 | let ed = { | |
785 | 785 | let z = bx() | |
786 | 786 | if ($isInstanceOf(z, "ByteVector")) | |
787 | 787 | then { | |
788 | 788 | let bD = z | |
789 | 789 | bD | |
790 | 790 | } | |
791 | 791 | else if ($isInstanceOf(z, "Unit")) | |
792 | 792 | then eb.senderPublicKey | |
793 | 793 | else throw("Match error") | |
794 | 794 | } | |
795 | 795 | sigVerify(eb.bodyBytes, eb.proofs[0], ed) | |
796 | 796 | } | |
797 | 797 |
github/deemru/w8io/169f3d6 79.35 ms ◑