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