tx · BJAKoPXKEdFMoca254FBVuz9b5X3cF3cPc7HWVqd1tvr 3NCSkSKFXn5HxJhKFRVEjaZexubfTjdsvLk: -0.02700000 Waves 2023.09.26 10:35 [2772086] smart account 3NCSkSKFXn5HxJhKFRVEjaZexubfTjdsvLk > SELF 0.00000000 Waves
{ "type": 13, "id": "BJAKoPXKEdFMoca254FBVuz9b5X3cF3cPc7HWVqd1tvr", "fee": 2700000, "feeAssetId": null, "timestamp": 1695713694947, "version": 2, "chainId": 84, "sender": "3NCSkSKFXn5HxJhKFRVEjaZexubfTjdsvLk", "senderPublicKey": "EiQRGyXMSPywdZJcLQzgNDBrrvLUyhi8X8EeNn1KTjKu", "proofs": [ "5mkgV5bhJHiZD5vmqkj52mF7G3cinWRY6gwA7i7uQARaEKANnzeyp5kmSidn7dZ8tnHiGGFdM4L9mTkXmawquRgq" ], "script": "base64:BgIzCAISCAoGCAgICAgBEgASABIDCgEEEgASAwoBARIAEgMKAQgSAwoBBBIECgIIARIDCgEIMAALdXNkbkFzc2V0SWQBILYmKcME9c5TkaQOS3UkL2SMUbH6369UKb1I0h0qsqrRAA1wdXp6bGVBc3NldElkASDxGv4l/vaZOPRpKsTf4RLWR7LGyg66Nwmvd20fjqLlYwALdXNkdEFzc2V0SWQBIB6UBxNSdqEllf3IYaiCXxB/3zpPKbv8mkY/Wv02T5+RAA51c2R0UHB0QXNzZXRJZAEghNp6sggDP07Ru8qO7ouTvMmC3Qtd+geWqNQj+agP/7kADnVzZG5Bc3NldElkU3RyAixERzJ4RmtQZER3S1VvQmt6R0FoUXRMcFNHemZYTGlDWVBFemVLSDJBZDI0cAAQcHV6emxlQXNzZXRJZFN0cgIsSEVCOFFhdzl4cldwV3M4dEhzaUFUWUdCV0RCdFAyUzdrY1BBTHJNdTQzQVMADnVzZHRBc3NldElkU3RyAiwzNE45WWNFRVRMV245M3FZUTY0RXNQMXg4OXRTcnVKVTQ0UnJFTVNYWEVQSgARdXNkdFBwdEFzc2V0SWRTdHICLDl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AQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAWkBEXRyYW5zZmVyT3duZXJzaGlwAQ9uZXdPd25lckFkZHJlc3MDCQECIT0CCQClCAEIBQFpBmNhbGxlcgkBDHRyeUdldFN0cmluZwECEHN0YXRpY19wb29sT3duZXIJAAIBAid0aGlzIGNhbGwgYXZhaWxhYmxlIG9ubHkgZm9yIHBvb2wgb3duZXIJAMwIAgkBC1N0cmluZ0VudHJ5AgIQc3RhdGljX3Bvb2xPd25lcgUPbmV3T3duZXJBZGRyZXNzBQNuaWwBAnR4AQZ2ZXJpZnkAAwkBCmlzU2h1dGRvd24ABwMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXkGCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQxtYXN0ZXJQdWJLZXnH1+Gf", "height": 2772086, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FjBfhctLNEGBhmDTMiNyRt6anbei8C2NMC1t9CVpETg4 Next: CHkoz4aMTqfr3rnW2MEkCtMVD4ETyGG1rrSKgApwxNkc Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
5 | 5 | ||
6 | 6 | let b = base58'HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS' | |
7 | 7 | ||
8 | 8 | let c = base58'34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ' | |
9 | 9 | ||
10 | 10 | let d = base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
11 | 11 | ||
12 | 12 | let e = "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p" | |
13 | 13 | ||
14 | 14 | let f = "HEB8Qaw9xrWpWs8tHsiATYGBWDBtP2S7kcPALrMu43AS" | |
15 | 15 | ||
16 | 16 | let g = "34N9YcEETLWn93qYQ64EsP1x89tSruJU44RrEMSXXEPJ" | |
17 | 17 | ||
18 | 18 | let h = "9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi" | |
19 | 19 | ||
20 | 20 | let i = Address(base58'3PFDgzu1UtswAkCMxqqQjbTeHaX4cMab8Kh') | |
21 | 21 | ||
22 | 22 | let j = Address(base58'3PLjwHcz9NEuaTo63NZR9B9okQiKQxZSbmf') | |
23 | 23 | ||
24 | 24 | let k = base58'4z8CKSYQBKkzx7PBb5uBP1YPa6YAHRNTApW1sQVHT5eU' | |
25 | 25 | ||
26 | 26 | func l (m) = { | |
27 | 27 | let n = getInteger(this, m) | |
28 | 28 | if ($isInstanceOf(n, "Int")) | |
29 | 29 | then { | |
30 | 30 | let o = n | |
31 | 31 | o | |
32 | 32 | } | |
33 | 33 | else 0 | |
34 | 34 | } | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func p (m) = { | |
38 | 38 | let n = getBinary(this, m) | |
39 | 39 | if ($isInstanceOf(n, "ByteVector")) | |
40 | 40 | then { | |
41 | 41 | let o = n | |
42 | 42 | o | |
43 | 43 | } | |
44 | 44 | else base58'' | |
45 | 45 | } | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func q (m) = { | |
49 | 49 | let n = getString(this, m) | |
50 | 50 | if ($isInstanceOf(n, "String")) | |
51 | 51 | then { | |
52 | 52 | let o = n | |
53 | 53 | o | |
54 | 54 | } | |
55 | 55 | else "" | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func r (s) = { | |
60 | 60 | let n = s | |
61 | 61 | if ($isInstanceOf(n, "ByteVector")) | |
62 | 62 | then { | |
63 | 63 | let o = n | |
64 | 64 | toBase58String(o) | |
65 | 65 | } | |
66 | 66 | else "WAVES" | |
67 | 67 | } | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func t (u) = if ((u == "WAVES")) | |
71 | 71 | then unit | |
72 | 72 | else fromBase58String(u) | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func v (w,x) = (w ++ [t(x)]) | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func y (w,x) = (w ++ [l((("static_" + r(x)) + "_weight"))]) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func z (w,x) = (w ++ [l((("static_" + r(x)) + "_decimals"))]) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func A (w,x) = (w ++ [l((("static_" + r(x)) + "_scale"))]) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func B (w,x) = (w ++ [parseIntValue(x)]) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | let C = l("static_tokensAmount") | |
91 | 91 | ||
92 | 92 | let D = { | |
93 | 93 | let E = split(q("static_tokenIds"), ",") | |
94 | 94 | let F = size(E) | |
95 | 95 | let G = nil | |
96 | 96 | func H (I,J) = if ((J >= F)) | |
97 | 97 | then I | |
98 | 98 | else v(I, E[J]) | |
99 | 99 | ||
100 | 100 | func K (I,J) = if ((J >= F)) | |
101 | 101 | then I | |
102 | 102 | else throw("List size exceeds 10") | |
103 | 103 | ||
104 | 104 | K(H(H(H(H(H(H(H(H(H(H(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
105 | 105 | } | |
106 | 106 | ||
107 | 107 | let L = { | |
108 | 108 | let E = D | |
109 | 109 | let F = size(E) | |
110 | 110 | let G = nil | |
111 | 111 | func M (I,J) = if ((J >= F)) | |
112 | 112 | then I | |
113 | 113 | else y(I, E[J]) | |
114 | 114 | ||
115 | 115 | func N (I,J) = if ((J >= F)) | |
116 | 116 | then I | |
117 | 117 | else throw("List size exceeds 10") | |
118 | 118 | ||
119 | 119 | N(M(M(M(M(M(M(M(M(M(M(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
120 | 120 | } | |
121 | 121 | ||
122 | 122 | let O = { | |
123 | 123 | let E = D | |
124 | 124 | let F = size(E) | |
125 | 125 | let G = nil | |
126 | 126 | func P (I,J) = if ((J >= F)) | |
127 | 127 | then I | |
128 | 128 | else z(I, E[J]) | |
129 | 129 | ||
130 | 130 | func Q (I,J) = if ((J >= F)) | |
131 | 131 | then I | |
132 | 132 | else throw("List size exceeds 10") | |
133 | 133 | ||
134 | 134 | Q(P(P(P(P(P(P(P(P(P(P(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
135 | 135 | } | |
136 | 136 | ||
137 | 137 | let R = { | |
138 | 138 | let E = D | |
139 | 139 | let F = size(E) | |
140 | 140 | let G = nil | |
141 | 141 | func S (I,J) = if ((J >= F)) | |
142 | 142 | then I | |
143 | 143 | else A(I, E[J]) | |
144 | 144 | ||
145 | 145 | func T (I,J) = if ((J >= F)) | |
146 | 146 | then I | |
147 | 147 | else throw("List size exceeds 10") | |
148 | 148 | ||
149 | 149 | T(S(S(S(S(S(S(S(S(S(S(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | let U = l("static_fee") | |
153 | 153 | ||
154 | 154 | let V = 4 | |
155 | 155 | ||
156 | 156 | let W = 10000 | |
157 | 157 | ||
158 | 158 | let X = 100000000 | |
159 | 159 | ||
160 | 160 | let Y = 10000 | |
161 | 161 | ||
162 | 162 | let Z = 8 | |
163 | 163 | ||
164 | 164 | let aa = pow(10, 0, Z, 0, 0, HALFUP) | |
165 | 165 | ||
166 | 166 | let ab = D | |
167 | 167 | ||
168 | 168 | func ac () = { | |
169 | 169 | let n = getBoolean(Address(base58'3PEpv9hRFWEEBU22WRnLsw1bH4YGtcU728o'), "is_shutdown") | |
170 | 170 | if ($isInstanceOf(n, "Boolean")) | |
171 | 171 | then { | |
172 | 172 | let ad = n | |
173 | 173 | ad | |
174 | 174 | } | |
175 | 175 | else false | |
176 | 176 | } | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func ae (af) = { | |
180 | 180 | let ag = r(D[af]) | |
181 | 181 | l((("global_" + ag) + "_balance")) | |
182 | 182 | } | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func ah (ai,ag) = { | |
186 | 186 | let aj = l("global_poolToken_amount") | |
187 | 187 | let ak = l((("global_" + r(ag)) + "_balance")) | |
188 | 188 | fraction(ai, aj, ak, DOWN) | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func al (am) = { | |
193 | 193 | func an (w,ao) = { | |
194 | 194 | let ap = ah(ao.amount, ao.assetId) | |
195 | 195 | if ((ap == 0)) | |
196 | 196 | then throw("one of the tokens amounts is too low") | |
197 | 197 | else if (if ((w == 0)) | |
198 | 198 | then true | |
199 | 199 | else (w > ap)) | |
200 | 200 | then ap | |
201 | 201 | else w | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | let aq = { | |
205 | 205 | let E = am | |
206 | 206 | let F = size(E) | |
207 | 207 | let G = 0 | |
208 | 208 | func ar (I,J) = if ((J >= F)) | |
209 | 209 | then I | |
210 | 210 | else an(I, E[J]) | |
211 | 211 | ||
212 | 212 | func as (I,J) = if ((J >= F)) | |
213 | 213 | then I | |
214 | 214 | else throw("List size exceeds 10") | |
215 | 215 | ||
216 | 216 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
217 | 217 | } | |
218 | 218 | aq | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func at (s,ai,au,av) = { | |
223 | 223 | let aw = indexOf(D, a) | |
224 | 224 | let ax = indexOf(D, b) | |
225 | 225 | let ay = indexOf(D, c) | |
226 | 226 | let az = indexOf(D, d) | |
227 | 227 | let aA = indexOf(D, unit) | |
228 | 228 | let aB = l((("static_" + r(s)) + "_weight")) | |
229 | 229 | let aC = q("static_feeToken") | |
230 | 230 | if ((aC == f)) | |
231 | 231 | then { | |
232 | 232 | let aD = L[value(indexOf(D, b))] | |
233 | 233 | let aE = l((("global_" + f) + "_balance")) | |
234 | 234 | let aF = fraction(ai, (aE / aD), (au / aB)) | |
235 | 235 | let aG = getIntegerValue(i, "global_lastPuzzlePrice") | |
236 | 236 | fraction((aF * aG), 1, X) | |
237 | 237 | } | |
238 | 238 | else if ((aC == g)) | |
239 | 239 | then { | |
240 | 240 | let aH = L[value(ay)] | |
241 | 241 | let aI = l((("global_" + g) + "_balance")) | |
242 | 242 | fraction(ai, (aI / aH), (au / aB)) | |
243 | 243 | } | |
244 | 244 | else if ((aC == h)) | |
245 | 245 | then { | |
246 | 246 | let aH = L[value(az)] | |
247 | 247 | let aI = l((("global_" + h) + "_balance")) | |
248 | 248 | fraction(ai, (aI / aH), (au / aB)) | |
249 | 249 | } | |
250 | 250 | else if ((aC == e)) | |
251 | 251 | then { | |
252 | 252 | let aJ = L[value(indexOf(D, a))] | |
253 | 253 | let aK = { | |
254 | 254 | let n = av | |
255 | 255 | if ($isInstanceOf(n, "Int")) | |
256 | 256 | then { | |
257 | 257 | let ad = n | |
258 | 258 | av | |
259 | 259 | } | |
260 | 260 | else l((("global_" + r(a)) + "_balance")) | |
261 | 261 | } | |
262 | 262 | fraction(ai, (value(aK) / aJ), (au / aB)) | |
263 | 263 | } | |
264 | 264 | else { | |
265 | 265 | let aL = 3000 | |
266 | 266 | let aM = (l("global_WAVES_balance") / 50) | |
267 | 267 | fraction(ai, (aM / aL), (au / aB)) | |
268 | 268 | } | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func aN (am) = { | |
273 | 273 | func aO (w,aP) = (w ++ [aP.assetId]) | |
274 | 274 | ||
275 | 275 | let aQ = { | |
276 | 276 | let E = am | |
277 | 277 | let F = size(E) | |
278 | 278 | let G = nil | |
279 | 279 | func ar (I,J) = if ((J >= F)) | |
280 | 280 | then I | |
281 | 281 | else aO(I, E[J]) | |
282 | 282 | ||
283 | 283 | func as (I,J) = if ((J >= F)) | |
284 | 284 | then I | |
285 | 285 | else throw("List size exceeds 10") | |
286 | 286 | ||
287 | 287 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
288 | 288 | } | |
289 | 289 | if ((aQ == aQ)) | |
290 | 290 | then { | |
291 | 291 | func aR (w,s) = if ((indexOf(aQ, s) != unit)) | |
292 | 292 | then (w + 1) | |
293 | 293 | else throw(("asset not attached: " + r(s))) | |
294 | 294 | ||
295 | 295 | let aS = { | |
296 | 296 | let E = D | |
297 | 297 | let F = size(E) | |
298 | 298 | let G = 0 | |
299 | 299 | func aT (I,J) = if ((J >= F)) | |
300 | 300 | then I | |
301 | 301 | else aR(I, E[J]) | |
302 | 302 | ||
303 | 303 | func aU (I,J) = if ((J >= F)) | |
304 | 304 | then I | |
305 | 305 | else throw("List size exceeds 10") | |
306 | 306 | ||
307 | 307 | aU(aT(aT(aT(aT(aT(aT(aT(aT(aT(aT(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
308 | 308 | } | |
309 | 309 | if ((aS == aS)) | |
310 | 310 | then true | |
311 | 311 | else throw("Strict value is not equal to itself.") | |
312 | 312 | } | |
313 | 313 | else throw("Strict value is not equal to itself.") | |
314 | 314 | } | |
315 | 315 | ||
316 | 316 | ||
317 | 317 | func aV (ap,am,aW,aX) = { | |
318 | 318 | func aY (ag) = { | |
319 | 319 | func an (w,aP) = if ((aP.assetId == ag)) | |
320 | 320 | then aP.amount | |
321 | 321 | else w | |
322 | 322 | ||
323 | 323 | let E = am | |
324 | 324 | let F = size(E) | |
325 | 325 | let G = 0 | |
326 | 326 | func ar (I,J) = if ((J >= F)) | |
327 | 327 | then I | |
328 | 328 | else an(I, E[J]) | |
329 | 329 | ||
330 | 330 | func as (I,J) = if ((J >= F)) | |
331 | 331 | then I | |
332 | 332 | else throw("List size exceeds 10") | |
333 | 333 | ||
334 | 334 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
335 | 335 | } | |
336 | 336 | ||
337 | 337 | func aZ (w,ag) = { | |
338 | 338 | let ba = l((("global_" + r(ag)) + "_balance")) | |
339 | 339 | let bb = l("global_poolToken_amount") | |
340 | 340 | let bc = l((("static_" + r(ag)) + "_scale")) | |
341 | 341 | let bd = fraction((fraction((bb + ap), bc, bb, CEILING) - bc), ba, bc, CEILING) | |
342 | 342 | let be = aY(ag) | |
343 | 343 | let bf = ((if ((be != 0)) | |
344 | 344 | then be | |
345 | 345 | else 0) - bd) | |
346 | 346 | let bg = if (if (aX) | |
347 | 347 | then (bf > 0) | |
348 | 348 | else false) | |
349 | 349 | then [ScriptTransfer(aW, bf, ag)] | |
350 | 350 | else nil | |
351 | 351 | ((w ++ bg) ++ [IntegerEntry((("global_" + r(ag)) + "_balance"), (ba + bd))]) | |
352 | 352 | } | |
353 | 353 | ||
354 | 354 | let E = D | |
355 | 355 | let F = size(E) | |
356 | 356 | let G = nil | |
357 | 357 | func ar (I,J) = if ((J >= F)) | |
358 | 358 | then I | |
359 | 359 | else aZ(I, E[J]) | |
360 | 360 | ||
361 | 361 | func as (I,J) = if ((J >= F)) | |
362 | 362 | then I | |
363 | 363 | else throw("List size exceeds 10") | |
364 | 364 | ||
365 | 365 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | func bh (bi,aW) = { | |
370 | 370 | func bj (w,ag) = { | |
371 | 371 | let ba = l((("global_" + r(ag)) + "_balance")) | |
372 | 372 | let bb = l("global_poolToken_amount") | |
373 | 373 | let bc = l((("static_" + r(ag)) + "_scale")) | |
374 | 374 | let ai = toInt(fraction((toBigInt(X) - fraction(toBigInt((bb - bi)), toBigInt(X), toBigInt(bb), CEILING)), toBigInt(ba), toBigInt(X), DOWN)) | |
375 | 375 | (w ++ [IntegerEntry((("global_" + r(ag)) + "_balance"), (ba - ai)), ScriptTransfer(aW, ai, ag)]) | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | let E = D | |
379 | 379 | let F = size(E) | |
380 | 380 | let G = nil | |
381 | 381 | func ar (I,J) = if ((J >= F)) | |
382 | 382 | then I | |
383 | 383 | else bj(I, E[J]) | |
384 | 384 | ||
385 | 385 | func as (I,J) = if ((J >= F)) | |
386 | 386 | then I | |
387 | 387 | else throw("List size exceeds 10") | |
388 | 388 | ||
389 | 389 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
390 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | func bk (bl,bm,bn,bo,bp) = { | |
394 | 394 | let bq = value(indexOf(D, bm)) | |
395 | 395 | let br = value(indexOf(D, bn)) | |
396 | 396 | if ((bq == br)) | |
397 | 397 | then bl | |
398 | 398 | else fraction(bp, ((X * X) - toInt(pow(fraction(toBigInt(bo), toBigInt((X * X)), toBigInt((bo + bl)), HALFUP), 16, toBigInt(fraction(L[bq], 10000, L[br])), 4, 16, CEILING))), (X * X), DOWN) | |
399 | 399 | } | |
400 | 400 | ||
401 | 401 | ||
402 | 402 | func bs (s) = { | |
403 | 403 | let n = s | |
404 | 404 | if ($isInstanceOf(n, "ByteVector")) | |
405 | 405 | then { | |
406 | 406 | let bg = n | |
407 | 407 | assetBalance(this, bg) | |
408 | 408 | } | |
409 | 409 | else wavesBalance(this).available | |
410 | 410 | } | |
411 | 411 | ||
412 | 412 | ||
413 | 413 | func bt (s,u,au,bu) = { | |
414 | 414 | let bv = l("global_indexStaked") | |
415 | 415 | let bw = bu | |
416 | 416 | let bx = (bs(s) - au) | |
417 | 417 | let by = if ((bx > bw)) | |
418 | 418 | then bx | |
419 | 419 | else bw | |
420 | 420 | let bz = (by - bw) | |
421 | 421 | let bA = if ((bv == 0)) | |
422 | 422 | then 0 | |
423 | 423 | else fraction(bz, X, bv) | |
424 | 424 | let bB = l((("global_lastCheck_" + u) + "_interest")) | |
425 | 425 | (bB + bA) | |
426 | 426 | } | |
427 | 427 | ||
428 | 428 | ||
429 | 429 | func bC (bD) = { | |
430 | 430 | let bE = toString(bD) | |
431 | 431 | let bF = l((bE + "_indexStaked")) | |
432 | 432 | func an (w,s) = { | |
433 | 433 | let u = r(s) | |
434 | 434 | let au = l((("global_" + r(s)) + "_balance")) | |
435 | 435 | let bu = l((("global_lastCheck_" + u) + "_earnings")) | |
436 | 436 | let bG = bt(s, u, au, bu) | |
437 | 437 | let by = max([bu, (bs(s) - au)]) | |
438 | 438 | let bH = fraction(bF, (bG - l((((bE + "_lastCheck_") + u) + "_interest"))), X) | |
439 | 439 | let bI = if ((bH == 0)) | |
440 | 440 | then nil | |
441 | 441 | else [ScriptTransfer(bD, bH, s)] | |
442 | 442 | $Tuple2(((w._1 ++ bI) ++ [IntegerEntry((("global_lastCheck_" + u) + "_earnings"), (by - bH)), IntegerEntry((("global_lastCheck_" + u) + "_interest"), bG), IntegerEntry((((bE + "_lastCheck_") + u) + "_interest"), bG)]), (w._2 + at(s, bH, au, unit))) | |
443 | 443 | } | |
444 | 444 | ||
445 | 445 | let w = { | |
446 | 446 | let E = ab | |
447 | 447 | let F = size(E) | |
448 | 448 | let G = $Tuple2(nil, 0) | |
449 | 449 | func ar (I,J) = if ((J >= F)) | |
450 | 450 | then I | |
451 | 451 | else an(I, E[J]) | |
452 | 452 | ||
453 | 453 | func as (I,J) = if ((J >= F)) | |
454 | 454 | then I | |
455 | 455 | else throw("List size exceeds 10") | |
456 | 456 | ||
457 | 457 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
458 | 458 | } | |
459 | 459 | $Tuple2((w._1 ++ [IntegerEntry((bE + "_claimedRewardValue"), (l((bE + "_claimedRewardValue")) + w._2)), IntegerEntry((bE + "_lastClaim"), lastBlock.timestamp)]), w._2) | |
460 | 460 | } | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | func bJ (bE,ai) = { | |
464 | 464 | let bK = bC(addressFromStringValue(bE))._1 | |
465 | 465 | (bK ++ [IntegerEntry((bE + "_indexStaked"), (l((bE + "_indexStaked")) + ai)), IntegerEntry("global_indexStaked", (l("global_indexStaked") + ai))]) | |
466 | 466 | } | |
467 | 467 | ||
468 | 468 | ||
469 | 469 | func bL (w,bM) = (w + parseIntValue(bM)) | |
470 | 470 | ||
471 | 471 | ||
472 | 472 | @Callable(bN) | |
473 | 473 | func preInit (bO,bP,bQ,bR,bS,bT) = { | |
474 | 474 | let bU = Address(fromBase58String(bS)) | |
475 | 475 | if (ac()) | |
476 | 476 | then throw("contract is on stop") | |
477 | 477 | else if ((this != bN.caller)) | |
478 | 478 | then throw("admin only") | |
479 | 479 | else if ((size(bR) > 13)) | |
480 | 480 | then throw("too large pool domain") | |
481 | 481 | else if (if ((bT > 500)) | |
482 | 482 | then true | |
483 | 483 | else (50 > bT)) | |
484 | 484 | then throw("fee value must be between 50 and 500 (0.5-5%)") | |
485 | 485 | else if (if (if (if (if ((indexOf(bO, f) == unit)) | |
486 | 486 | then (indexOf(bO, e) == unit) | |
487 | 487 | else false) | |
488 | 488 | then (indexOf(bO, g) == unit) | |
489 | 489 | else false) | |
490 | 490 | then (indexOf(bO, "WAVES") == unit) | |
491 | 491 | else false) | |
492 | 492 | then (indexOf(bO, h) == unit) | |
493 | 493 | else false) | |
494 | 494 | then throw("pool must have USDT-WXG, USDT-PPT, USDN, WAVES or PUZZLE in the composition") | |
495 | 495 | else { | |
496 | 496 | let bV = split(bO, ",") | |
497 | 497 | let bW = { | |
498 | 498 | let E = bV | |
499 | 499 | let F = size(E) | |
500 | 500 | let G = nil | |
501 | 501 | func ar (I,J) = if ((J >= F)) | |
502 | 502 | then I | |
503 | 503 | else v(I, E[J]) | |
504 | 504 | ||
505 | 505 | func as (I,J) = if ((J >= F)) | |
506 | 506 | then I | |
507 | 507 | else throw("List size exceeds 10") | |
508 | 508 | ||
509 | 509 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
510 | 510 | } | |
511 | 511 | let bX = split(bP, ",") | |
512 | 512 | let bY = { | |
513 | 513 | let E = bX | |
514 | 514 | let F = size(E) | |
515 | 515 | let G = 0 | |
516 | 516 | func aT (I,J) = if ((J >= F)) | |
517 | 517 | then I | |
518 | 518 | else bL(I, E[J]) | |
519 | 519 | ||
520 | 520 | func aU (I,J) = if ((J >= F)) | |
521 | 521 | then I | |
522 | 522 | else throw("List size exceeds 10") | |
523 | 523 | ||
524 | 524 | aU(aT(aT(aT(aT(aT(aT(aT(aT(aT(aT(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
525 | 525 | } | |
526 | 526 | let aC = if ((indexOf(bO, e) != unit)) | |
527 | 527 | then e | |
528 | 528 | else if ((indexOf(bO, "WAVES") != unit)) | |
529 | 529 | then "WAVES" | |
530 | 530 | else if ((indexOf(bO, g) != unit)) | |
531 | 531 | then g | |
532 | 532 | else if ((indexOf(bO, f) != unit)) | |
533 | 533 | then f | |
534 | 534 | else h | |
535 | 535 | func bZ (w,ca) = if ((ca >= size(bW))) | |
536 | 536 | then w | |
537 | 537 | else { | |
538 | 538 | let cb = { | |
539 | 539 | let n = bW[ca] | |
540 | 540 | if ($isInstanceOf(n, "ByteVector")) | |
541 | 541 | then { | |
542 | 542 | let ad = n | |
543 | 543 | value(assetInfo(ad)).decimals | |
544 | 544 | } | |
545 | 545 | else 8 | |
546 | 546 | } | |
547 | 547 | (w ++ [IntegerEntry((("static_" + bV[ca]) + "_scale"), pow(10, 0, cb, 0, 0, DOWN)), IntegerEntry((("static_" + bV[ca]) + "_decimals"), cb), IntegerEntry((("static_" + bV[ca]) + "_weight"), value(parseInt(bX[ca])))]) | |
548 | 548 | } | |
549 | 549 | ||
550 | 550 | if ((bY != 10000)) | |
551 | 551 | then throw("sum of token weights must be equal to 10000") | |
552 | 552 | else ({ | |
553 | 553 | let E = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
554 | 554 | let F = size(E) | |
555 | 555 | let G = nil | |
556 | 556 | func cc (I,J) = if ((J >= F)) | |
557 | 557 | then I | |
558 | 558 | else bZ(I, E[J]) | |
559 | 559 | ||
560 | 560 | func cd (I,J) = if ((J >= F)) | |
561 | 561 | then I | |
562 | 562 | else throw("List size exceeds 10") | |
563 | 563 | ||
564 | 564 | cd(cc(cc(cc(cc(cc(cc(cc(cc(cc(cc(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
565 | 565 | } ++ [StringEntry("static_tokenIds", bO), StringEntry("static_feeToken", aC), StringEntry("static_tokenWeights", bP), IntegerEntry("static_tokensAmount", size(bW)), StringEntry("static_poolDomain", bR), StringEntry("static_baseTokenId", bQ), StringEntry("static_poolOwner", bS), IntegerEntry("static_fee", bT)]) | |
566 | 566 | } | |
567 | 567 | } | |
568 | 568 | ||
569 | 569 | ||
570 | 570 | ||
571 | 571 | @Callable(bN) | |
572 | 572 | func deInit () = if (ac()) | |
573 | 573 | then throw("contract is on stop") | |
574 | 574 | else if ((bN.caller != this)) | |
575 | 575 | then throw("admin only") | |
576 | 576 | else [IntegerEntry("global_wasInited", 0)] | |
577 | 577 | ||
578 | 578 | ||
579 | 579 | ||
580 | 580 | @Callable(bN) | |
581 | 581 | func init () = { | |
582 | 582 | func ce () = { | |
583 | 583 | func an (w,bM) = (w ++ [IntegerEntry((("global_" + r(bM.assetId)) + "_balance"), bM.amount)]) | |
584 | 584 | ||
585 | 585 | let E = bN.payments | |
586 | 586 | let F = size(E) | |
587 | 587 | let G = nil | |
588 | 588 | func ar (I,J) = if ((J >= F)) | |
589 | 589 | then I | |
590 | 590 | else an(I, E[J]) | |
591 | 591 | ||
592 | 592 | func as (I,J) = if ((J >= F)) | |
593 | 593 | then I | |
594 | 594 | else throw("List size exceeds 10") | |
595 | 595 | ||
596 | 596 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
597 | 597 | } | |
598 | 598 | ||
599 | 599 | func cf (am) = { | |
600 | 600 | func an (w,cg) = { | |
601 | 601 | let s = cg.assetId | |
602 | 602 | func aR (w,bM) = if ((bM == s)) | |
603 | 603 | then value(indexOf(D, bM)) | |
604 | 604 | else w | |
605 | 605 | ||
606 | 606 | let ch = { | |
607 | 607 | let E = D | |
608 | 608 | let F = size(E) | |
609 | 609 | let G = 1 | |
610 | 610 | func ar (I,J) = if ((J >= F)) | |
611 | 611 | then I | |
612 | 612 | else aR(I, E[J]) | |
613 | 613 | ||
614 | 614 | func as (I,J) = if ((J >= F)) | |
615 | 615 | then I | |
616 | 616 | else throw("List size exceeds 10") | |
617 | 617 | ||
618 | 618 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
619 | 619 | } | |
620 | 620 | fraction(w, pow(cg.amount, O[ch], L[ch], V, 8, FLOOR), X) | |
621 | 621 | } | |
622 | 622 | ||
623 | 623 | let E = am | |
624 | 624 | let F = size(E) | |
625 | 625 | let G = aa | |
626 | 626 | func ar (I,J) = if ((J >= F)) | |
627 | 627 | then I | |
628 | 628 | else an(I, E[J]) | |
629 | 629 | ||
630 | 630 | func as (I,J) = if ((J >= F)) | |
631 | 631 | then I | |
632 | 632 | else throw("List size exceeds 10") | |
633 | 633 | ||
634 | 634 | as(ar(ar(ar(ar(ar(ar(ar(ar(ar(ar(G, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
635 | 635 | } | |
636 | 636 | ||
637 | 637 | if (ac()) | |
638 | 638 | then throw("contract is on stop") | |
639 | 639 | else if ((l("global_wasInited") > 0)) | |
640 | 640 | then throw("pool already inited") | |
641 | 641 | else { | |
642 | 642 | let ci = cf(bN.payments) | |
643 | 643 | if ((ci == 0)) | |
644 | 644 | then throw("you need a bigger tokens amount to launch the pool") | |
645 | 645 | else { | |
646 | 646 | let cj = Issue(("PZ " + q("static_poolDomain")), "Puzzle Swap: pool index token", ci, Z, true, unit, 0) | |
647 | 647 | let ck = calculateAssetId(cj) | |
648 | 648 | (ce() ++ [cj, IntegerEntry("global_poolToken_amount", ci), IntegerEntry("global_wasInited", 1), BinaryEntry("global_poolToken_id", ck), StringEntry("static_poolToken_idStr", r(ck)), IntegerEntry((toString(bN.caller) + "_indexStaked"), ci), IntegerEntry("global_indexStaked", ci)]) | |
649 | 649 | } | |
650 | 650 | } | |
651 | 651 | } | |
652 | 652 | ||
653 | 653 | ||
654 | 654 | ||
655 | 655 | @Callable(bN) | |
656 | 656 | func generateIndex (aX) = if ((size(bN.payments) != C)) | |
657 | 657 | then throw(("you need to attach all pool tokens. amount of pool tokens: " + toString(C))) | |
658 | 658 | else if (!(aN(bN.payments))) | |
659 | 659 | then throw("wrong assets attached") | |
660 | 660 | else { | |
661 | 661 | let ap = al(bN.payments) | |
662 | 662 | let cl = Reissue(getBinaryValue("global_poolToken_id"), ap, true) | |
663 | 663 | let cm = aV(ap, bN.payments, bN.originCaller, aX) | |
664 | 664 | $Tuple2((cm ++ [cl, ScriptTransfer(bN.caller, ap, p("global_poolToken_id")), IntegerEntry("global_poolToken_amount", (l("global_poolToken_amount") + ap))]), ap) | |
665 | 665 | } | |
666 | 666 | ||
667 | 667 | ||
668 | 668 | ||
669 | 669 | @Callable(bN) | |
670 | 670 | func stakeIndex () = { | |
671 | 671 | let bE = toString(bN.originCaller) | |
672 | 672 | let cg = bN.payments[0] | |
673 | 673 | if ((value(cg.assetId) != p("global_poolToken_id"))) | |
674 | 674 | then throw("wrong asset attached") | |
675 | 675 | else bJ(bE, cg.amount) | |
676 | 676 | } | |
677 | 677 | ||
678 | 678 | ||
679 | 679 | ||
680 | 680 | @Callable(bN) | |
681 | 681 | func unstakeIndex (bF) = { | |
682 | 682 | let bE = toString(bN.originCaller) | |
683 | 683 | let cn = l((bE + "_indexStaked")) | |
684 | 684 | if (ac()) | |
685 | 685 | then throw("contract is on stop") | |
686 | 686 | else if ((bF > cn)) | |
687 | 687 | then throw("you don't have index tokens available") | |
688 | 688 | else if (ac()) | |
689 | 689 | then throw("contract is on stop") | |
690 | 690 | else (bC(bN.originCaller)._1 ++ [IntegerEntry((bE + "_indexStaked"), (cn - bF)), IntegerEntry("global_indexStaked", (l("global_indexStaked") - bF)), ScriptTransfer(bN.caller, bF, getBinaryValue("global_poolToken_id"))]) | |
691 | 691 | } | |
692 | 692 | ||
693 | 693 | ||
694 | 694 | ||
695 | 695 | @Callable(bN) | |
696 | 696 | func claimIndexRewards () = if (ac()) | |
697 | 697 | then throw("contract is on stop") | |
698 | 698 | else bC(bN.caller) | |
699 | 699 | ||
700 | 700 | ||
701 | 701 | ||
702 | 702 | @Callable(bN) | |
703 | 703 | func evaluateClaim (co) = $Tuple2(nil, bC(addressFromStringValue(co))._2) | |
704 | 704 | ||
705 | 705 | ||
706 | 706 | ||
707 | 707 | @Callable(bN) | |
708 | 708 | func redeemIndex (cp) = { | |
709 | 709 | let cg = bN.payments[0] | |
710 | 710 | if ((cg.assetId != p("global_poolToken_id"))) | |
711 | 711 | then throw("please attach pool share token") | |
712 | 712 | else if (ac()) | |
713 | 713 | then throw("contract is on stop") | |
714 | 714 | else { | |
715 | 715 | let bi = cg.amount | |
716 | 716 | let cm = bh(bi, if (cp) | |
717 | 717 | then bN.originCaller | |
718 | 718 | else bN.caller) | |
719 | 719 | (cm ++ [Burn(p("global_poolToken_id"), bi), IntegerEntry("global_poolToken_amount", (l("global_poolToken_amount") - bi))]) | |
720 | 720 | } | |
721 | 721 | } | |
722 | 722 | ||
723 | 723 | ||
724 | 724 | ||
725 | 725 | @Callable(bN) | |
726 | 726 | func swap (bn,cq) = { | |
727 | 727 | let cg = if ((size(bN.payments) == 1)) | |
728 | 728 | then value(bN.payments[0]) | |
729 | 729 | else throw("please attach exactly one payment") | |
730 | 730 | let bl = value(bN.payments[0].amount) | |
731 | 731 | let cr = cg.assetId | |
732 | 732 | let cs = t(bn) | |
733 | 733 | let ct = q("static_feeToken") | |
734 | 734 | let cu = if ((ct == "")) | |
735 | 735 | then a | |
736 | 736 | else t(ct) | |
737 | 737 | let cv = l((("global_" + r(cr)) + "_balance")) | |
738 | 738 | let cw = l((("global_" + bn) + "_balance")) | |
739 | 739 | let cx = fraction(bl, U, Y) | |
740 | 740 | let cy = (bl - cx) | |
741 | 741 | let cz = bk(cy, cr, cs, cv, cw) | |
742 | 742 | let cA = (cw - cz) | |
743 | 743 | let cB = (cv + cy) | |
744 | 744 | let cC = if ((cu == cr)) | |
745 | 745 | then cB | |
746 | 746 | else if ((cu == cs)) | |
747 | 747 | then cA | |
748 | 748 | else l((("global_" + r(cu)) + "_balance")) | |
749 | 749 | let cD = bk(cx, cr, cu, cv, cC) | |
750 | 750 | if ((cq > cz)) | |
751 | 751 | then throw("amount to recieve is lower than given one") | |
752 | 752 | else if ((cs == cr)) | |
753 | 753 | then throw("this swap is not allowed") | |
754 | 754 | else if ((0 > (cw - cz))) | |
755 | 755 | then throw("contract is out of reserves") | |
756 | 756 | else if (ac()) | |
757 | 757 | then throw("contract is on stop") | |
758 | 758 | else { | |
759 | 759 | let cE = fraction(cD, 1, 10) | |
760 | 760 | let cF = fraction(cD, 4, 10) | |
761 | 761 | let cG = if (if ((cu == a)) | |
762 | 762 | then true | |
763 | 763 | else (cu == b)) | |
764 | 764 | then reentrantInvoke(Address(base58'3PFTbywqxtFfukX3HyT881g4iW5K4QL3FAS'), "topUpReward", nil, [AttachedPayment(cu, cF)]) | |
765 | 765 | else unit | |
766 | 766 | if ((cG == cG)) | |
767 | 767 | then { | |
768 | 768 | let cH = cB | |
769 | 769 | let cI = (cA - (if ((cs == cu)) | |
770 | 770 | then cD | |
771 | 771 | else 0)) | |
772 | 772 | let cJ = if (if ((cu != cr)) | |
773 | 773 | then (cu != cs) | |
774 | 774 | else false) | |
775 | 775 | then (cC - cD) | |
776 | 776 | else unit | |
777 | 777 | let cK = IntegerEntry((("global_" + r(cr)) + "_balance"), cH) | |
778 | 778 | let cL = IntegerEntry((("global_" + bn) + "_balance"), cI) | |
779 | 779 | let cM = if ((cJ != unit)) | |
780 | 780 | then IntegerEntry((("global_" + r(cu)) + "_balance"), value(cJ)) | |
781 | 781 | else StringEntry("hello", "world") | |
782 | 782 | let cN = at(cr, bl, cv, cC) | |
783 | 783 | $Tuple2(([cL, cK, cM, ScriptTransfer(bN.caller, cz, cs), ScriptTransfer(addressFromStringValue(q("static_poolOwner")), cE, cu), IntegerEntry("global_earnedByOwner", (l("global_earnedByOwner") + cE)), IntegerEntry("global_volume", (l("global_volume") + cN))] ++ (if ((cG == unit)) | |
784 | 784 | then [ScriptTransfer(Address(base58'3PFWAVKmXjfHXyzJb12jCbhP4Uhi9t4uWiD'), cF, cu)] | |
785 | 785 | else nil)), cz) | |
786 | 786 | } | |
787 | 787 | else throw("Strict value is not equal to itself.") | |
788 | 788 | } | |
789 | 789 | } | |
790 | 790 | ||
791 | 791 | ||
792 | 792 | ||
793 | 793 | @Callable(bN) | |
794 | 794 | func transferOwnership (cO) = if ((toString(bN.caller) != q("static_poolOwner"))) | |
795 | 795 | then throw("this call available only for pool owner") | |
796 | 796 | else [StringEntry("static_poolOwner", cO)] | |
797 | 797 | ||
798 | 798 | ||
799 | 799 | @Verifier(cP) | |
800 | 800 | func cQ () = if (ac()) | |
801 | 801 | then false | |
802 | 802 | else if (sigVerify(cP.bodyBytes, cP.proofs[0], cP.senderPublicKey)) | |
803 | 803 | then true | |
804 | 804 | else sigVerify(cP.bodyBytes, cP.proofs[0], k) | |
805 | 805 |
github/deemru/w8io/169f3d6 71.15 ms ◑