tx · JCAi6bvqJrBXAVTH8xk8pWdYvSJekwZAwU5A3CT15iza 3N6o2j6N9vuWruU51gEZ1quncAXCLRksuf5: -0.09000000 Waves 2024.04.28 23:37 [3083188] smart account 3N6o2j6N9vuWruU51gEZ1quncAXCLRksuf5 > SELF 0.00000000 Waves
{ "type": 13, "id": "JCAi6bvqJrBXAVTH8xk8pWdYvSJekwZAwU5A3CT15iza", "fee": 9000000, "feeAssetId": null, "timestamp": 1714336235988, "version": 2, "chainId": 84, "sender": "3N6o2j6N9vuWruU51gEZ1quncAXCLRksuf5", "senderPublicKey": "CSBog5DyfZ75B1usog9TncmEvV1gdLj4kV8NCbTvNwDx", "proofs": [ "4uHKxLRTFqS1MZBZgUBHhCTC3QwJGZCR4yyp5UT8uaRU56sZJ9TJgJYbh9rrwjXX6tLmJKAnN7ejtJMJfKUUusWy" ], "script": "base64:BgJbCAISCAoGCAgICAgBEgASABIDCgEEEgMKAQQSABIDCgEIEgMKAQESABIDCgEIEgQKAggBEgUKAwgIARIDCgEIEgMKAQESBwoFCAgIAQESABIDCgEIEgUKAwgICFMAB1ZFUlNJT04CDVBaLTEuMi4zIFBST0QACWNvbmZpZ1N0cgkBC3ZhbHVlT3JFbHNlAgkAnQgCBQR0aGlzAg1jb25maWdBZGRyZXNzAiMzTjJKcFFmcXRoNWVhcGJ4OGJIWjNlZUNYR2tOZmNZRWR5bwAOQ09ORklHX0FERFJFU1MDCQAAAgUJY29uZmlnU3RyAgAFBHRoaXMJAQdBZGRyZXNzAQkA2QQBBQljb25maWdTdHIAFUFzc2V0c1dlaWdodHNEZWNpbWFscwAEAAVTY2FsZQCQTgAGU2NhbGU4AIDC1y8AB1NjYWxlMTYAgICE/qbe4REACEZlZVNjYWxlAJBOABFQb29sVG9rZW5EZWNpbWFscwAIAA5Qb29sVG9rZW5TY2FsZQkAbAYACgAABRFQb29sVG9rZW5EZWNpbWFscwAAAAAFBkhBTEZVUAAQTUlOX1NURVBTX0FNT1VOVAkBC3ZhbHVl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lAgkAmggCBRFjb2xkTWFzdGVyQWRkcmVzcwkArAICAgthcHByb3ZlZFR4XwkA2AQBCAUCdHgCaWQAAAAAB6Uvdis=", "height": 3083188, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G962JVNuyfmmhpcMJ75matmq1KfF4ATEZyPiHxShoVUM Next: none Diff:
Old | New | Differences | |
---|---|---|---|
126 | 126 | ||
127 | 127 | let L = valueOrElse(getString(c, "usdnAssetIdStr"), "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT") | |
128 | 128 | ||
129 | - | let M = valueOrElse(getString(c, "puzzleAssetIdStr"), " | |
129 | + | let M = valueOrElse(getString(c, "puzzleAssetIdStr"), "6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW") | |
130 | 130 | ||
131 | 131 | let N = valueOrElse(getString(c, "usdtAssetIdStr"), "5Sh9KghfkZyhjwuodovDhB6PghDUGBHiAPZ4MkrPgKtX") | |
132 | 132 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "PZ-1.2.3 PROD" | |
5 | 5 | ||
6 | 6 | let b = valueOrElse(getString(this, "configAddress"), "3N2JpQfqth5eapbx8bHZ3eeCXGkNfcYEdyo") | |
7 | 7 | ||
8 | 8 | let c = if ((b == "")) | |
9 | 9 | then this | |
10 | 10 | else Address(fromBase58String(b)) | |
11 | 11 | ||
12 | 12 | let d = 4 | |
13 | 13 | ||
14 | 14 | let e = 10000 | |
15 | 15 | ||
16 | 16 | let f = 100000000 | |
17 | 17 | ||
18 | 18 | let g = 10000000000000000 | |
19 | 19 | ||
20 | 20 | let h = 10000 | |
21 | 21 | ||
22 | 22 | let i = 8 | |
23 | 23 | ||
24 | 24 | let j = pow(10, 0, i, 0, 0, HALFUP) | |
25 | 25 | ||
26 | 26 | let k = valueOrElse(getInteger(c, "min_steps_amount"), 1) | |
27 | 27 | ||
28 | 28 | let l = valueOrElse(getInteger(c, "max_steps_amount"), 500) | |
29 | 29 | ||
30 | 30 | let m = valueOrElse(getInteger(c, "min_steps_interval"), 1) | |
31 | 31 | ||
32 | 32 | let n = valueOrElse(getInteger(c, "max_steps_interval"), 10000) | |
33 | 33 | ||
34 | 34 | let o = valueOrElse(getInteger(c, "min_weight"), 100) | |
35 | 35 | ||
36 | 36 | let p = valueOrElse(getInteger(c, "max_weight"), 9900) | |
37 | 37 | ||
38 | 38 | func q (r) = { | |
39 | 39 | let s = getInteger(this, r) | |
40 | 40 | if ($isInstanceOf(s, "Int")) | |
41 | 41 | then { | |
42 | 42 | let t = s | |
43 | 43 | t | |
44 | 44 | } | |
45 | 45 | else 0 | |
46 | 46 | } | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func u (r) = { | |
50 | 50 | let s = getBinary(this, r) | |
51 | 51 | if ($isInstanceOf(s, "ByteVector")) | |
52 | 52 | then { | |
53 | 53 | let t = s | |
54 | 54 | t | |
55 | 55 | } | |
56 | 56 | else base58'' | |
57 | 57 | } | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func v (r) = { | |
61 | 61 | let s = getString(this, r) | |
62 | 62 | if ($isInstanceOf(s, "String")) | |
63 | 63 | then { | |
64 | 64 | let t = s | |
65 | 65 | t | |
66 | 66 | } | |
67 | 67 | else "" | |
68 | 68 | } | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func w (r) = { | |
72 | 72 | let s = getString(this, r) | |
73 | 73 | if ($isInstanceOf(s, "String")) | |
74 | 74 | then { | |
75 | 75 | let t = s | |
76 | 76 | t | |
77 | 77 | } | |
78 | 78 | else throw(("no such key in data storage: " + r)) | |
79 | 79 | } | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func x (y) = { | |
83 | 83 | let s = y | |
84 | 84 | if ($isInstanceOf(s, "ByteVector")) | |
85 | 85 | then { | |
86 | 86 | let t = s | |
87 | 87 | toBase58String(t) | |
88 | 88 | } | |
89 | 89 | else "WAVES" | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func z (A) = if ((A == "WAVES")) | |
94 | 94 | then unit | |
95 | 95 | else fromBase58String(A) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func B (y) = { | |
99 | 99 | let s = y | |
100 | 100 | if ($isInstanceOf(s, "ByteVector")) | |
101 | 101 | then { | |
102 | 102 | let C = s | |
103 | 103 | assetBalance(this, C) | |
104 | 104 | } | |
105 | 105 | else wavesBalance(this).available | |
106 | 106 | } | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func D (E,F) = (E ++ [z(F)]) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func G (E,F) = (E ++ [q((("static_" + x(F)) + "_weight"))]) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func H (E,F) = (E ++ [toString(q((("static_" + F) + "_weight")))]) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func I (E,F) = (E ++ [q((("static_" + x(F)) + "_decimals"))]) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func J (E,F) = (E ++ [q((("static_" + x(F)) + "_scale"))]) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func K (E,F) = (E ++ [parseIntValue(F)]) | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | let L = valueOrElse(getString(c, "usdnAssetIdStr"), "25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT") | |
128 | 128 | ||
129 | - | let M = valueOrElse(getString(c, "puzzleAssetIdStr"), " | |
129 | + | let M = valueOrElse(getString(c, "puzzleAssetIdStr"), "6fQRaL3L25nGqevXT8kxwjBS28fkBErrJ69JYcj7qKgW") | |
130 | 130 | ||
131 | 131 | let N = valueOrElse(getString(c, "usdtAssetIdStr"), "5Sh9KghfkZyhjwuodovDhB6PghDUGBHiAPZ4MkrPgKtX") | |
132 | 132 | ||
133 | 133 | let O = valueOrElse(getString(c, "usdtPptAssetIdStr"), "DK8RCKSRv6xovfYciiXgz82Apiu1tiEraH3iBSeZmAhp") | |
134 | 134 | ||
135 | 135 | let P = valueOrElse(getString(c, "romeAssetIdStr"), "CYZRD5FtNKwUU4zhn31WPEmdUXkXmGE1uLP8UZhMscHT") | |
136 | 136 | ||
137 | 137 | let Q = "WAVES" | |
138 | 138 | ||
139 | 139 | let R = fromBase58String(L) | |
140 | 140 | ||
141 | 141 | let S = fromBase58String(M) | |
142 | 142 | ||
143 | 143 | let T = fromBase58String(N) | |
144 | 144 | ||
145 | 145 | let U = fromBase58String(O) | |
146 | 146 | ||
147 | 147 | let V = fromBase58String(P) | |
148 | 148 | ||
149 | 149 | let W = unit | |
150 | 150 | ||
151 | 151 | let X = [L, M, N, O, Q, P] | |
152 | 152 | ||
153 | 153 | let Y = Address(fromBase58String(valueOrElse(getString(c, "parentPoolAddress"), "3MyQLTCnK3Ui4Rm2ZYASb8e7EMqwLsHhZpb"))) | |
154 | 154 | ||
155 | 155 | let Z = Address(fromBase58String(valueOrElse(getString(c, "masterAddress"), "3N2EacY3tD89zCPRzSsW87ALMXUPA3oELpd"))) | |
156 | 156 | ||
157 | 157 | let aa = fromBase58String(valueOrElse(getString(c, "masterPubKey"), "EUFrMfKMM9ihGe6ksyYMGXAvKW81yu3AxHc8NGVQSJH4")) | |
158 | 158 | ||
159 | 159 | let ab = Address(fromBase58String(valueOrElse(getString(c, "oracleAddress"), "3Mr3heaFrZeT4iMafu9ahjvXwjQ7XqeWAeR"))) | |
160 | 160 | ||
161 | 161 | let ac = Address(fromBase58String(valueOrElse(getString(c, "stakingAddress"), "3Mu7VHAWmzFuC8CC1jL66egwWdzMmU3GMdN"))) | |
162 | 162 | ||
163 | 163 | let ad = Address(fromBase58String(valueOrElse(getString(c, "feesAddress"), "3N44cXXhd7Xk7hr7JkLa3mTStLQnFpUfKgC"))) | |
164 | 164 | ||
165 | 165 | let ae = Address(fromBase58String(valueOrElse(getString(c, "poolsHubAddress"), "3NAD3Ww5D8d47qzXkk9aekQNroYUUtw4jdL"))) | |
166 | 166 | ||
167 | 167 | let af = valueOrElse(getString(c, "shutdownAddress"), "3MtiMjKiFuMZAA3NW9YZH89bYmiYUQUBezx") | |
168 | 168 | ||
169 | 169 | let ag = valueOrElse(getString(c, "layer2Addresses"), "3Msp7W9rHyHkvvKBKU3rB44SqqcDALMbgbg,3Msp7W9rHyHkvvKBKU3rB44SqqcDALMbgbg") | |
170 | 170 | ||
171 | 171 | let ah = Address(fromBase58String(valueOrElse(getString(c, "govAddress"), "3MsAdLsHFmArSyEuYFG9xRRbsutUBovzBhn"))) | |
172 | 172 | ||
173 | 173 | let ai = Address(fromBase58String(valueOrElse(getString(c, "coldMasterAddress"), "3N3LFeynYTFErCGXcABXenmYam1qbhbcNAH"))) | |
174 | 174 | ||
175 | 175 | let aj = q("static_tokensAmount") | |
176 | 176 | ||
177 | 177 | let ak = { | |
178 | 178 | let al = split(v("static_tokenIds"), ",") | |
179 | 179 | let am = size(al) | |
180 | 180 | let an = nil | |
181 | 181 | func ao (ap,aq) = if ((aq >= am)) | |
182 | 182 | then ap | |
183 | 183 | else D(ap, al[aq]) | |
184 | 184 | ||
185 | 185 | func ar (ap,aq) = if ((aq >= am)) | |
186 | 186 | then ap | |
187 | 187 | else throw("List size exceeds 10") | |
188 | 188 | ||
189 | 189 | ar(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
190 | 190 | } | |
191 | 191 | ||
192 | 192 | let as = { | |
193 | 193 | let al = ak | |
194 | 194 | let am = size(al) | |
195 | 195 | let an = nil | |
196 | 196 | func at (ap,aq) = if ((aq >= am)) | |
197 | 197 | then ap | |
198 | 198 | else G(ap, al[aq]) | |
199 | 199 | ||
200 | 200 | func au (ap,aq) = if ((aq >= am)) | |
201 | 201 | then ap | |
202 | 202 | else throw("List size exceeds 10") | |
203 | 203 | ||
204 | 204 | au(at(at(at(at(at(at(at(at(at(at(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
205 | 205 | } | |
206 | 206 | ||
207 | 207 | let av = { | |
208 | 208 | let al = ak | |
209 | 209 | let am = size(al) | |
210 | 210 | let an = nil | |
211 | 211 | func aw (ap,aq) = if ((aq >= am)) | |
212 | 212 | then ap | |
213 | 213 | else I(ap, al[aq]) | |
214 | 214 | ||
215 | 215 | func ax (ap,aq) = if ((aq >= am)) | |
216 | 216 | then ap | |
217 | 217 | else throw("List size exceeds 10") | |
218 | 218 | ||
219 | 219 | ax(aw(aw(aw(aw(aw(aw(aw(aw(aw(aw(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | let ay = { | |
223 | 223 | let al = ak | |
224 | 224 | let am = size(al) | |
225 | 225 | let an = nil | |
226 | 226 | func az (ap,aq) = if ((aq >= am)) | |
227 | 227 | then ap | |
228 | 228 | else J(ap, al[aq]) | |
229 | 229 | ||
230 | 230 | func aA (ap,aq) = if ((aq >= am)) | |
231 | 231 | then ap | |
232 | 232 | else throw("List size exceeds 10") | |
233 | 233 | ||
234 | 234 | aA(az(az(az(az(az(az(az(az(az(az(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | let aB = q("static_fee") | |
238 | 238 | ||
239 | 239 | let aC = ak | |
240 | 240 | ||
241 | 241 | func aD () = { | |
242 | 242 | let aE = addressFromString(af) | |
243 | 243 | if ((aE == unit)) | |
244 | 244 | then false | |
245 | 245 | else { | |
246 | 246 | let s = getBoolean(value(aE), "is_shutdown") | |
247 | 247 | if ($isInstanceOf(s, "Boolean")) | |
248 | 248 | then { | |
249 | 249 | let aF = s | |
250 | 250 | aF | |
251 | 251 | } | |
252 | 252 | else false | |
253 | 253 | } | |
254 | 254 | } | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func aG (aH) = { | |
258 | 258 | let aI = x(ak[aH]) | |
259 | 259 | q((("global_" + aI) + "_balance")) | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func aJ () = { | |
264 | 264 | let s = getInteger("static_KMult") | |
265 | 265 | if ($isInstanceOf(s, "Int")) | |
266 | 266 | then { | |
267 | 267 | let aF = s | |
268 | 268 | aF | |
269 | 269 | } | |
270 | 270 | else g | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func aK () = { | |
275 | 275 | let aL = split(v("static_tokenIds"), ",") | |
276 | 276 | func aM (E,y) = (E ++ [IntegerEntry(("rebalance_startWeight_" + y), q((("static_" + y) + "_weight")))]) | |
277 | 277 | ||
278 | 278 | let al = aL | |
279 | 279 | let am = size(al) | |
280 | 280 | let an = nil | |
281 | 281 | func aN (ap,aq) = if ((aq >= am)) | |
282 | 282 | then ap | |
283 | 283 | else aM(ap, al[aq]) | |
284 | 284 | ||
285 | 285 | func aO (ap,aq) = if ((aq >= am)) | |
286 | 286 | then ap | |
287 | 287 | else throw("List size exceeds 10") | |
288 | 288 | ||
289 | 289 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
290 | 290 | } | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func aP () = fraction(q("global_poolToken_amount"), aJ(), g) | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func aQ (aR,aS) = { | |
297 | 297 | let aT = aP() | |
298 | 298 | let aU = q((("global_" + x(aS)) + "_balance")) | |
299 | 299 | let aV = fraction(aR, aT, aU, DOWN) | |
300 | 300 | aV | |
301 | 301 | } | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | func aW (aX) = { | |
305 | 305 | func aY (E,aZ) = { | |
306 | 306 | let ba = aQ(aZ.amount, aZ.assetId) | |
307 | 307 | if ((ba == 0)) | |
308 | 308 | then throw("one of the tokens amounts is too low") | |
309 | 309 | else if (if ((E == 0)) | |
310 | 310 | then true | |
311 | 311 | else (E > ba)) | |
312 | 312 | then ba | |
313 | 313 | else E | |
314 | 314 | } | |
315 | 315 | ||
316 | 316 | let bb = { | |
317 | 317 | let al = aX | |
318 | 318 | let am = size(al) | |
319 | 319 | let an = 0 | |
320 | 320 | func aN (ap,aq) = if ((aq >= am)) | |
321 | 321 | then ap | |
322 | 322 | else aY(ap, al[aq]) | |
323 | 323 | ||
324 | 324 | func aO (ap,aq) = if ((aq >= am)) | |
325 | 325 | then ap | |
326 | 326 | else throw("List size exceeds 10") | |
327 | 327 | ||
328 | 328 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
329 | 329 | } | |
330 | 330 | bb | |
331 | 331 | } | |
332 | 332 | ||
333 | 333 | ||
334 | 334 | func bc (y,aR,bd,be) = { | |
335 | 335 | let bf = indexOf(ak, R) | |
336 | 336 | let bg = indexOf(ak, S) | |
337 | 337 | let bh = indexOf(ak, T) | |
338 | 338 | let bi = indexOf(ak, U) | |
339 | 339 | let bj = indexOf(ak, unit) | |
340 | 340 | let bk = q((("static_" + x(y)) + "_weight")) | |
341 | 341 | let bl = v("static_feeToken") | |
342 | 342 | if ((bl == M)) | |
343 | 343 | then { | |
344 | 344 | let bm = as[value(indexOf(ak, S))] | |
345 | 345 | let bn = q((("global_" + M) + "_balance")) | |
346 | 346 | let bo = fraction(aR, (bn / bm), (bd / bk)) | |
347 | 347 | let bp = getIntegerValue(Y, "global_lastPuzzlePrice") | |
348 | 348 | fraction((bo * bp), 1, f) | |
349 | 349 | } | |
350 | 350 | else if ((bl == N)) | |
351 | 351 | then { | |
352 | 352 | let bq = as[value(bh)] | |
353 | 353 | let br = q((("global_" + N) + "_balance")) | |
354 | 354 | fraction(aR, (br / bq), (bd / bk)) | |
355 | 355 | } | |
356 | 356 | else if ((bl == O)) | |
357 | 357 | then { | |
358 | 358 | let bq = as[value(bi)] | |
359 | 359 | let br = q((("global_" + O) + "_balance")) | |
360 | 360 | fraction(aR, (br / bq), (bd / bk)) | |
361 | 361 | } | |
362 | 362 | else if ((bl == L)) | |
363 | 363 | then { | |
364 | 364 | let bs = as[value(indexOf(ak, R))] | |
365 | 365 | let bt = { | |
366 | 366 | let s = be | |
367 | 367 | if ($isInstanceOf(s, "Int")) | |
368 | 368 | then { | |
369 | 369 | let aF = s | |
370 | 370 | be | |
371 | 371 | } | |
372 | 372 | else q((("global_" + x(R)) + "_balance")) | |
373 | 373 | } | |
374 | 374 | fraction(aR, (value(bt) / bs), (bd / bk)) | |
375 | 375 | } | |
376 | 376 | else { | |
377 | 377 | let bu = 3000 | |
378 | 378 | let bv = (q("global_WAVES_balance") / 50) | |
379 | 379 | fraction(aR, (bv / bu), (bd / bk)) | |
380 | 380 | } | |
381 | 381 | } | |
382 | 382 | ||
383 | 383 | ||
384 | 384 | func bw (A) = { | |
385 | 385 | let s = getInteger(ab, (A + "_twap5B")) | |
386 | 386 | if ($isInstanceOf(s, "Int")) | |
387 | 387 | then { | |
388 | 388 | let aF = s | |
389 | 389 | aF | |
390 | 390 | } | |
391 | 391 | else 0 | |
392 | 392 | } | |
393 | 393 | ||
394 | 394 | ||
395 | 395 | func bx (y,aR,bd) = { | |
396 | 396 | let bk = q((("static_" + x(y)) + "_weight")) | |
397 | 397 | let bl = v("static_feeToken") | |
398 | 398 | let by = getIntegerValue(this, (("static_" + bl) + "_scale")) | |
399 | 399 | let bz = value(indexOf(ak, z(bl))) | |
400 | 400 | let bA = as[bz] | |
401 | 401 | let bB = q((("global_" + bl) + "_balance")) | |
402 | 402 | let bC = fraction(aR, (bB / bA), (bd / bk)) | |
403 | 403 | let bD = bw(bl) | |
404 | 404 | fraction(bC, bD, by) | |
405 | 405 | } | |
406 | 406 | ||
407 | 407 | ||
408 | 408 | func bE (aX) = { | |
409 | 409 | func bF (E,bG) = (E ++ [bG.assetId]) | |
410 | 410 | ||
411 | 411 | let bH = { | |
412 | 412 | let al = aX | |
413 | 413 | let am = size(al) | |
414 | 414 | let an = nil | |
415 | 415 | func aN (ap,aq) = if ((aq >= am)) | |
416 | 416 | then ap | |
417 | 417 | else bF(ap, al[aq]) | |
418 | 418 | ||
419 | 419 | func aO (ap,aq) = if ((aq >= am)) | |
420 | 420 | then ap | |
421 | 421 | else throw("List size exceeds 10") | |
422 | 422 | ||
423 | 423 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
424 | 424 | } | |
425 | 425 | if ((bH == bH)) | |
426 | 426 | then { | |
427 | 427 | func bI (E,y) = if ((indexOf(bH, y) != unit)) | |
428 | 428 | then (E + 1) | |
429 | 429 | else throw(("asset not attached: " + x(y))) | |
430 | 430 | ||
431 | 431 | let bJ = { | |
432 | 432 | let al = ak | |
433 | 433 | let am = size(al) | |
434 | 434 | let an = 0 | |
435 | 435 | func bK (ap,aq) = if ((aq >= am)) | |
436 | 436 | then ap | |
437 | 437 | else bI(ap, al[aq]) | |
438 | 438 | ||
439 | 439 | func bL (ap,aq) = if ((aq >= am)) | |
440 | 440 | then ap | |
441 | 441 | else throw("List size exceeds 10") | |
442 | 442 | ||
443 | 443 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
444 | 444 | } | |
445 | 445 | if ((bJ == bJ)) | |
446 | 446 | then true | |
447 | 447 | else throw("Strict value is not equal to itself.") | |
448 | 448 | } | |
449 | 449 | else throw("Strict value is not equal to itself.") | |
450 | 450 | } | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | func bM (ba,aX,bN,bO) = { | |
454 | 454 | func bP (aS) = { | |
455 | 455 | func aY (E,bG) = if ((bG.assetId == aS)) | |
456 | 456 | then bG.amount | |
457 | 457 | else E | |
458 | 458 | ||
459 | 459 | let al = aX | |
460 | 460 | let am = size(al) | |
461 | 461 | let an = 0 | |
462 | 462 | func aN (ap,aq) = if ((aq >= am)) | |
463 | 463 | then ap | |
464 | 464 | else aY(ap, al[aq]) | |
465 | 465 | ||
466 | 466 | func aO (ap,aq) = if ((aq >= am)) | |
467 | 467 | then ap | |
468 | 468 | else throw("List size exceeds 10") | |
469 | 469 | ||
470 | 470 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
471 | 471 | } | |
472 | 472 | ||
473 | 473 | func bQ (E,aS) = { | |
474 | 474 | let bR = q((("global_" + x(aS)) + "_balance")) | |
475 | 475 | let bS = aP() | |
476 | 476 | let bT = q((("static_" + x(aS)) + "_scale")) | |
477 | 477 | let bU = fraction((toBigInt((bS + ba)) * toBigInt(f)), toBigInt(bT), toBigInt(bS), CEILING) | |
478 | 478 | let bV = toInt(fraction((bU - (toBigInt(bT) * toBigInt(f))), toBigInt(bR), (toBigInt(bT) * toBigInt(f)), CEILING)) | |
479 | 479 | let bW = bP(aS) | |
480 | 480 | let bX = (bW - bV) | |
481 | 481 | let C = if (if (bO) | |
482 | 482 | then (bX > 0) | |
483 | 483 | else false) | |
484 | 484 | then [ScriptTransfer(bN, bX, aS)] | |
485 | 485 | else nil | |
486 | 486 | ((E ++ C) ++ [IntegerEntry((("global_" + x(aS)) + "_balance"), (bR + bV))]) | |
487 | 487 | } | |
488 | 488 | ||
489 | 489 | let al = ak | |
490 | 490 | let am = size(al) | |
491 | 491 | let an = nil | |
492 | 492 | func aN (ap,aq) = if ((aq >= am)) | |
493 | 493 | then ap | |
494 | 494 | else bQ(ap, al[aq]) | |
495 | 495 | ||
496 | 496 | func aO (ap,aq) = if ((aq >= am)) | |
497 | 497 | then ap | |
498 | 498 | else throw("List size exceeds 10") | |
499 | 499 | ||
500 | 500 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
501 | 501 | } | |
502 | 502 | ||
503 | 503 | ||
504 | 504 | func bY (bZ,bN) = { | |
505 | 505 | func ca (E,aS) = { | |
506 | 506 | let bR = q((("global_" + x(aS)) + "_balance")) | |
507 | 507 | let bS = aP() | |
508 | 508 | let bT = q((("static_" + x(aS)) + "_scale")) | |
509 | 509 | let cb = fraction((toBigInt((bS - bZ)) * toBigInt(f)), toBigInt(f), toBigInt(bS), DOWN) | |
510 | 510 | let aR = toInt(fraction((toBigInt(g) - cb), toBigInt(bR), toBigInt(g), CEILING)) | |
511 | 511 | (E ++ [IntegerEntry((("global_" + x(aS)) + "_balance"), (bR - aR)), ScriptTransfer(bN, aR, aS)]) | |
512 | 512 | } | |
513 | 513 | ||
514 | 514 | let al = ak | |
515 | 515 | let am = size(al) | |
516 | 516 | let an = nil | |
517 | 517 | func aN (ap,aq) = if ((aq >= am)) | |
518 | 518 | then ap | |
519 | 519 | else ca(ap, al[aq]) | |
520 | 520 | ||
521 | 521 | func aO (ap,aq) = if ((aq >= am)) | |
522 | 522 | then ap | |
523 | 523 | else throw("List size exceeds 10") | |
524 | 524 | ||
525 | 525 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
526 | 526 | } | |
527 | 527 | ||
528 | 528 | ||
529 | 529 | func cc (cd,ce,cf,cg,ch) = { | |
530 | 530 | let ci = value(indexOf(ak, ce)) | |
531 | 531 | let cj = value(indexOf(ak, cf)) | |
532 | 532 | if ((ci == cj)) | |
533 | 533 | then cd | |
534 | 534 | else fraction(ch, ((f * f) - toInt(pow(fraction((toBigInt(cg) * toBigInt(10000)), toBigInt((f * f)), (toBigInt((cg + cd)) * toBigInt(10000)), HALFUP), 16, toBigInt(fraction(as[ci], 1000000000000, as[cj])), 12, 16, CEILING))), (f * f), HALFEVEN) | |
535 | 535 | } | |
536 | 536 | ||
537 | 537 | ||
538 | 538 | func ck (y,A,bd,cl) = { | |
539 | 539 | let cm = q("global_indexStaked") | |
540 | 540 | let cn = cl | |
541 | 541 | let co = (B(y) - bd) | |
542 | 542 | let cp = if ((co > cn)) | |
543 | 543 | then co | |
544 | 544 | else cn | |
545 | 545 | let cq = (cp - cn) | |
546 | 546 | let cr = if ((cm == 0)) | |
547 | 547 | then 0 | |
548 | 548 | else fraction(cq, f, cm) | |
549 | 549 | let cs = q((("global_lastCheck_" + A) + "_interest")) | |
550 | 550 | (cs + cr) | |
551 | 551 | } | |
552 | 552 | ||
553 | 553 | ||
554 | 554 | func ct (cu) = { | |
555 | 555 | let cv = toString(cu) | |
556 | 556 | let cw = q((cv + "_indexStaked")) | |
557 | 557 | func aY (E,y) = { | |
558 | 558 | let A = x(y) | |
559 | 559 | let bd = q((("global_" + x(y)) + "_balance")) | |
560 | 560 | let cl = q((("global_lastCheck_" + A) + "_earnings")) | |
561 | 561 | let cx = ck(y, A, bd, cl) | |
562 | 562 | let cp = max([cl, (B(y) - bd)]) | |
563 | 563 | let cy = fraction(cw, (cx - q((((cv + "_lastCheck_") + A) + "_interest"))), f) | |
564 | 564 | let cz = if ((cy == 0)) | |
565 | 565 | then nil | |
566 | 566 | else [ScriptTransfer(cu, cy, y)] | |
567 | 567 | $Tuple2(((E._1 ++ cz) ++ [IntegerEntry((("global_lastCheck_" + A) + "_earnings"), (cp - cy)), IntegerEntry((("global_lastCheck_" + A) + "_interest"), cx), IntegerEntry((((cv + "_lastCheck_") + A) + "_interest"), cx)]), (E._2 + bx(y, cy, bd))) | |
568 | 568 | } | |
569 | 569 | ||
570 | 570 | let E = { | |
571 | 571 | let al = aC | |
572 | 572 | let am = size(al) | |
573 | 573 | let an = $Tuple2(nil, 0) | |
574 | 574 | func aN (ap,aq) = if ((aq >= am)) | |
575 | 575 | then ap | |
576 | 576 | else aY(ap, al[aq]) | |
577 | 577 | ||
578 | 578 | func aO (ap,aq) = if ((aq >= am)) | |
579 | 579 | then ap | |
580 | 580 | else throw("List size exceeds 10") | |
581 | 581 | ||
582 | 582 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
583 | 583 | } | |
584 | 584 | $Tuple2((E._1 ++ [IntegerEntry((cv + "_claimedRewardUSD"), (q((cv + "_claimedRewardUSD")) + E._2)), IntegerEntry((cv + "_lastClaim"), lastBlock.timestamp)]), E._2) | |
585 | 585 | } | |
586 | 586 | ||
587 | 587 | ||
588 | 588 | func cA (cv,aR) = { | |
589 | 589 | let cB = ct(addressFromStringValue(cv))._1 | |
590 | 590 | (cB ++ [IntegerEntry((cv + "_indexStaked"), (q((cv + "_indexStaked")) + aR)), IntegerEntry("global_indexStaked", (q("global_indexStaked") + aR))]) | |
591 | 591 | } | |
592 | 592 | ||
593 | 593 | ||
594 | 594 | func cC (E,cD) = (E + parseIntValue(cD)) | |
595 | 595 | ||
596 | 596 | ||
597 | 597 | func cE (E,cF) = if (if ((indexOf(X, cF) != unit)) | |
598 | 598 | then (E == "") | |
599 | 599 | else false) | |
600 | 600 | then cF | |
601 | 601 | else E | |
602 | 602 | ||
603 | 603 | ||
604 | 604 | func cG (cH) = { | |
605 | 605 | let cI = split(v("static_tokenIds"), ",") | |
606 | 606 | let cJ = cH | |
607 | 607 | func cK (E,y) = if ((indexOf(cJ, y) == unit)) | |
608 | 608 | then (E ++ [y]) | |
609 | 609 | else E | |
610 | 610 | ||
611 | 611 | let al = cI | |
612 | 612 | let am = size(al) | |
613 | 613 | let an = cJ | |
614 | 614 | func aN (ap,aq) = if ((aq >= am)) | |
615 | 615 | then ap | |
616 | 616 | else cK(ap, al[aq]) | |
617 | 617 | ||
618 | 618 | func aO (ap,aq) = if ((aq >= am)) | |
619 | 619 | then ap | |
620 | 620 | else throw("List size exceeds 10") | |
621 | 621 | ||
622 | 622 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
623 | 623 | } | |
624 | 624 | ||
625 | 625 | ||
626 | 626 | func cL (cH) = { | |
627 | 627 | let cI = split(v("static_tokenIds"), ",") | |
628 | 628 | func cM (E,y) = if ((indexOf(cH, y) == unit)) | |
629 | 629 | then (E + 1) | |
630 | 630 | else E | |
631 | 631 | ||
632 | 632 | func cN (E,y) = if ((indexOf(cI, y) == unit)) | |
633 | 633 | then (E + 1) | |
634 | 634 | else E | |
635 | 635 | ||
636 | 636 | let cO = { | |
637 | 637 | let al = cI | |
638 | 638 | let am = size(al) | |
639 | 639 | let an = 0 | |
640 | 640 | func aN (ap,aq) = if ((aq >= am)) | |
641 | 641 | then ap | |
642 | 642 | else cM(ap, al[aq]) | |
643 | 643 | ||
644 | 644 | func aO (ap,aq) = if ((aq >= am)) | |
645 | 645 | then ap | |
646 | 646 | else throw("List size exceeds 10") | |
647 | 647 | ||
648 | 648 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
649 | 649 | } | |
650 | 650 | let cP = { | |
651 | 651 | let al = cH | |
652 | 652 | let am = size(al) | |
653 | 653 | let an = 0 | |
654 | 654 | func bK (ap,aq) = if ((aq >= am)) | |
655 | 655 | then ap | |
656 | 656 | else cN(ap, al[aq]) | |
657 | 657 | ||
658 | 658 | func bL (ap,aq) = if ((aq >= am)) | |
659 | 659 | then ap | |
660 | 660 | else throw("List size exceeds 10") | |
661 | 661 | ||
662 | 662 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
663 | 663 | } | |
664 | 664 | (cO + cP) | |
665 | 665 | } | |
666 | 666 | ||
667 | 667 | ||
668 | 668 | func cQ (cR,aX) = { | |
669 | 669 | func cS (E,cF) = if ((0 >= cF.amount)) | |
670 | 670 | then throw(((("Too low payment amount for " + x(cF.assetId)) + ": ") + toString(cF.amount))) | |
671 | 671 | else (E ++ [x(cF.assetId)]) | |
672 | 672 | ||
673 | 673 | let cT = { | |
674 | 674 | let al = aX | |
675 | 675 | let am = size(al) | |
676 | 676 | let an = nil | |
677 | 677 | func aN (ap,aq) = if ((aq >= am)) | |
678 | 678 | then ap | |
679 | 679 | else cS(ap, al[aq]) | |
680 | 680 | ||
681 | 681 | func aO (ap,aq) = if ((aq >= am)) | |
682 | 682 | then ap | |
683 | 683 | else throw("List size exceeds 10") | |
684 | 684 | ||
685 | 685 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
686 | 686 | } | |
687 | 687 | func cU (E,cF) = if ((indexOf(cR, cF) == unit)) | |
688 | 688 | then throw(((cF + " asset is present in payments, but is not in new assets: ") + makeString(cR, ","))) | |
689 | 689 | else (E + 1) | |
690 | 690 | ||
691 | 691 | func cV (E,cF) = if ((indexOf(cT, cF) == unit)) | |
692 | 692 | then throw(((cF + " asset is present in new assets, but is not in payments: ") + makeString(cT, ","))) | |
693 | 693 | else (E + 1) | |
694 | 694 | ||
695 | 695 | let bU = { | |
696 | 696 | let al = cT | |
697 | 697 | let am = size(al) | |
698 | 698 | let an = 0 | |
699 | 699 | func bK (ap,aq) = if ((aq >= am)) | |
700 | 700 | then ap | |
701 | 701 | else cU(ap, al[aq]) | |
702 | 702 | ||
703 | 703 | func bL (ap,aq) = if ((aq >= am)) | |
704 | 704 | then ap | |
705 | 705 | else throw("List size exceeds 10") | |
706 | 706 | ||
707 | 707 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
708 | 708 | } | |
709 | 709 | let cW = { | |
710 | 710 | let al = cR | |
711 | 711 | let am = size(al) | |
712 | 712 | let an = 0 | |
713 | 713 | func cX (ap,aq) = if ((aq >= am)) | |
714 | 714 | then ap | |
715 | 715 | else cV(ap, al[aq]) | |
716 | 716 | ||
717 | 717 | func cY (ap,aq) = if ((aq >= am)) | |
718 | 718 | then ap | |
719 | 719 | else throw("List size exceeds 10") | |
720 | 720 | ||
721 | 721 | cY(cX(cX(cX(cX(cX(cX(cX(cX(cX(cX(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
722 | 722 | } | |
723 | 723 | (bU + cW) | |
724 | 724 | } | |
725 | 725 | ||
726 | 726 | ||
727 | 727 | func cZ (da) = { | |
728 | 728 | func db (E,dc) = { | |
729 | 729 | let dd = valueOrErrorMessage(parseInt(dc), ("Wrong weight format: " + dc)) | |
730 | 730 | if (if ((o > dd)) | |
731 | 731 | then true | |
732 | 732 | else (dd > p)) | |
733 | 733 | then throw(((((("Weight should be in range " + toString(o)) + " - ") + toString(p)) + ", current: ") + dc)) | |
734 | 734 | else E | |
735 | 735 | } | |
736 | 736 | ||
737 | 737 | let al = da | |
738 | 738 | let am = size(al) | |
739 | 739 | let an = 0 | |
740 | 740 | func aN (ap,aq) = if ((aq >= am)) | |
741 | 741 | then ap | |
742 | 742 | else db(ap, al[aq]) | |
743 | 743 | ||
744 | 744 | func aO (ap,aq) = if ((aq >= am)) | |
745 | 745 | then ap | |
746 | 746 | else throw("List size exceeds 10") | |
747 | 747 | ||
748 | 748 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
749 | 749 | } | |
750 | 750 | ||
751 | 751 | ||
752 | 752 | @Callable(de) | |
753 | 753 | func preInit (df,dg,dh,di,dj,dk) = { | |
754 | 754 | let dl = Address(fromBase58String(dj)) | |
755 | 755 | let dm = split(df, ",") | |
756 | 756 | let aL = { | |
757 | 757 | let al = dm | |
758 | 758 | let am = size(al) | |
759 | 759 | let an = nil | |
760 | 760 | func aN (ap,aq) = if ((aq >= am)) | |
761 | 761 | then ap | |
762 | 762 | else D(ap, al[aq]) | |
763 | 763 | ||
764 | 764 | func aO (ap,aq) = if ((aq >= am)) | |
765 | 765 | then ap | |
766 | 766 | else throw("List size exceeds 10") | |
767 | 767 | ||
768 | 768 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
769 | 769 | } | |
770 | 770 | let bl = { | |
771 | 771 | let al = dm | |
772 | 772 | let am = size(al) | |
773 | 773 | let an = "" | |
774 | 774 | func bK (ap,aq) = if ((aq >= am)) | |
775 | 775 | then ap | |
776 | 776 | else cE(ap, al[aq]) | |
777 | 777 | ||
778 | 778 | func bL (ap,aq) = if ((aq >= am)) | |
779 | 779 | then ap | |
780 | 780 | else throw("List size exceeds 10") | |
781 | 781 | ||
782 | 782 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
783 | 783 | } | |
784 | 784 | if (aD()) | |
785 | 785 | then throw("contract is on stop") | |
786 | 786 | else if ((this != de.caller)) | |
787 | 787 | then throw("admin only") | |
788 | 788 | else if ((bl == "")) | |
789 | 789 | then throw("pool must have one of the supported fee assets in the composition") | |
790 | 790 | else if ((size(di) > 13)) | |
791 | 791 | then throw("too large pool domain") | |
792 | 792 | else if (if ((dk > 500)) | |
793 | 793 | then true | |
794 | 794 | else (0 > dk)) | |
795 | 795 | then throw("fee value must be between 50 and 500 (0.5-5%)") | |
796 | 796 | else { | |
797 | 797 | let dn = split(dg, ",") | |
798 | 798 | let do = { | |
799 | 799 | let al = dn | |
800 | 800 | let am = size(al) | |
801 | 801 | let an = 0 | |
802 | 802 | func cX (ap,aq) = if ((aq >= am)) | |
803 | 803 | then ap | |
804 | 804 | else cC(ap, al[aq]) | |
805 | 805 | ||
806 | 806 | func cY (ap,aq) = if ((aq >= am)) | |
807 | 807 | then ap | |
808 | 808 | else throw("List size exceeds 10") | |
809 | 809 | ||
810 | 810 | cY(cX(cX(cX(cX(cX(cX(cX(cX(cX(cX(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
811 | 811 | } | |
812 | 812 | func dp (E,dq) = if ((dq >= size(aL))) | |
813 | 813 | then E | |
814 | 814 | else { | |
815 | 815 | let dr = { | |
816 | 816 | let s = aL[dq] | |
817 | 817 | if ($isInstanceOf(s, "ByteVector")) | |
818 | 818 | then { | |
819 | 819 | let aF = s | |
820 | 820 | value(assetInfo(aF)).decimals | |
821 | 821 | } | |
822 | 822 | else 8 | |
823 | 823 | } | |
824 | 824 | (E ++ [IntegerEntry((("static_" + dm[dq]) + "_scale"), pow(10, 0, dr, 0, 0, DOWN)), IntegerEntry((("static_" + dm[dq]) + "_decimals"), dr), IntegerEntry((("static_" + dm[dq]) + "_weight"), value(parseInt(dn[dq])))]) | |
825 | 825 | } | |
826 | 826 | ||
827 | 827 | if ((do != 10000)) | |
828 | 828 | then throw("sum of token weights must be equal to 10000") | |
829 | 829 | else ({ | |
830 | 830 | let al = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
831 | 831 | let am = size(al) | |
832 | 832 | let an = nil | |
833 | 833 | func ds (ap,aq) = if ((aq >= am)) | |
834 | 834 | then ap | |
835 | 835 | else dp(ap, al[aq]) | |
836 | 836 | ||
837 | 837 | func dt (ap,aq) = if ((aq >= am)) | |
838 | 838 | then ap | |
839 | 839 | else throw("List size exceeds 10") | |
840 | 840 | ||
841 | 841 | dt(ds(ds(ds(ds(ds(ds(ds(ds(ds(ds(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
842 | 842 | } ++ [StringEntry("static_tokenIds", df), StringEntry("static_feeToken", bl), StringEntry("static_tokenWeights", dg), IntegerEntry("static_tokensAmount", size(aL)), StringEntry("static_poolDomain", di), StringEntry("static_baseTokenId", dh), StringEntry("static_poolOwner", dj), IntegerEntry("static_fee", dk), IntegerEntry("static_KMult", g), IntegerEntry("global_wasPreInited", 1)]) | |
843 | 843 | } | |
844 | 844 | } | |
845 | 845 | ||
846 | 846 | ||
847 | 847 | ||
848 | 848 | @Callable(de) | |
849 | 849 | func deInit () = if (aD()) | |
850 | 850 | then throw("contract is on stop") | |
851 | 851 | else if ((de.caller != this)) | |
852 | 852 | then throw("admin only") | |
853 | 853 | else [IntegerEntry("global_wasInited", 0)] | |
854 | 854 | ||
855 | 855 | ||
856 | 856 | ||
857 | 857 | @Callable(de) | |
858 | 858 | func init () = { | |
859 | 859 | func du () = { | |
860 | 860 | func aY (E,cD) = (E ++ [IntegerEntry((("global_" + x(cD.assetId)) + "_balance"), cD.amount)]) | |
861 | 861 | ||
862 | 862 | let al = de.payments | |
863 | 863 | let am = size(al) | |
864 | 864 | let an = nil | |
865 | 865 | func aN (ap,aq) = if ((aq >= am)) | |
866 | 866 | then ap | |
867 | 867 | else aY(ap, al[aq]) | |
868 | 868 | ||
869 | 869 | func aO (ap,aq) = if ((aq >= am)) | |
870 | 870 | then ap | |
871 | 871 | else throw("List size exceeds 10") | |
872 | 872 | ||
873 | 873 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
874 | 874 | } | |
875 | 875 | ||
876 | 876 | func dv (aX) = { | |
877 | 877 | func aY (E,dw) = { | |
878 | 878 | let y = dw.assetId | |
879 | 879 | func bI (E,cD) = if ((cD == y)) | |
880 | 880 | then value(indexOf(ak, cD)) | |
881 | 881 | else E | |
882 | 882 | ||
883 | 883 | let dx = { | |
884 | 884 | let al = ak | |
885 | 885 | let am = size(al) | |
886 | 886 | let an = 1 | |
887 | 887 | func aN (ap,aq) = if ((aq >= am)) | |
888 | 888 | then ap | |
889 | 889 | else bI(ap, al[aq]) | |
890 | 890 | ||
891 | 891 | func aO (ap,aq) = if ((aq >= am)) | |
892 | 892 | then ap | |
893 | 893 | else throw("List size exceeds 10") | |
894 | 894 | ||
895 | 895 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
896 | 896 | } | |
897 | 897 | fraction(E, pow(dw.amount, av[dx], as[dx], d, 8, FLOOR), f) | |
898 | 898 | } | |
899 | 899 | ||
900 | 900 | let al = aX | |
901 | 901 | let am = size(al) | |
902 | 902 | let an = j | |
903 | 903 | func aN (ap,aq) = if ((aq >= am)) | |
904 | 904 | then ap | |
905 | 905 | else aY(ap, al[aq]) | |
906 | 906 | ||
907 | 907 | func aO (ap,aq) = if ((aq >= am)) | |
908 | 908 | then ap | |
909 | 909 | else throw("List size exceeds 10") | |
910 | 910 | ||
911 | 911 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
912 | 912 | } | |
913 | 913 | ||
914 | 914 | if (aD()) | |
915 | 915 | then throw("contract is on stop") | |
916 | 916 | else if ((q("global_wasInited") > 0)) | |
917 | 917 | then throw("pool already inited") | |
918 | 918 | else { | |
919 | 919 | let dy = dv(de.payments) | |
920 | 920 | if ((dy == 0)) | |
921 | 921 | then throw("you need a bigger tokens amount to launch the pool") | |
922 | 922 | else { | |
923 | 923 | let dz = Issue(("PZ " + v("static_poolDomain")), "Puzzle Swap: pool index token", dy, i, true, unit, 0) | |
924 | 924 | let dA = calculateAssetId(dz) | |
925 | 925 | (du() ++ [dz, IntegerEntry("global_poolToken_amount", dy), IntegerEntry("global_wasInited", 1), BinaryEntry("global_poolToken_id", dA), StringEntry("static_poolToken_idStr", x(dA)), IntegerEntry((toString(de.caller) + "_indexStaked"), dy), IntegerEntry("global_indexStaked", dy)]) | |
926 | 926 | } | |
927 | 927 | } | |
928 | 928 | } | |
929 | 929 | ||
930 | 930 | ||
931 | 931 | ||
932 | 932 | @Callable(de) | |
933 | 933 | func generateIndex (bO) = if ((size(de.payments) != aj)) | |
934 | 934 | then throw(("you need to attach all pool tokens. amount of pool tokens: " + toString(aj))) | |
935 | 935 | else if (!(bE(de.payments))) | |
936 | 936 | then throw("wrong assets attached") | |
937 | 937 | else { | |
938 | 938 | let dB = aW(de.payments) | |
939 | 939 | let cJ = bM(dB, de.payments, de.originCaller, bO) | |
940 | 940 | let dC = fraction(dB, g, aJ(), DOWN) | |
941 | 941 | let dD = Reissue(getBinaryValue("global_poolToken_id"), dC, true) | |
942 | 942 | $Tuple2((cJ ++ [dD, ScriptTransfer(de.caller, dC, u("global_poolToken_id")), IntegerEntry("global_poolToken_amount", (q("global_poolToken_amount") + dC))]), dC) | |
943 | 943 | } | |
944 | 944 | ||
945 | 945 | ||
946 | 946 | ||
947 | 947 | @Callable(de) | |
948 | 948 | func redeemIndex (dE) = { | |
949 | 949 | let dw = de.payments[0] | |
950 | 950 | if ((dw.assetId != u("global_poolToken_id"))) | |
951 | 951 | then throw("please attach pool share token") | |
952 | 952 | else if (aD()) | |
953 | 953 | then throw("contract is on stop") | |
954 | 954 | else { | |
955 | 955 | let dF = dw.amount | |
956 | 956 | let dG = fraction(dF, aJ(), g, DOWN) | |
957 | 957 | let cJ = bY(dG, if (dE) | |
958 | 958 | then de.originCaller | |
959 | 959 | else de.caller) | |
960 | 960 | (cJ ++ [Burn(u("global_poolToken_id"), dF), IntegerEntry("global_poolToken_amount", (q("global_poolToken_amount") - dF))]) | |
961 | 961 | } | |
962 | 962 | } | |
963 | 963 | ||
964 | 964 | ||
965 | 965 | ||
966 | 966 | @Callable(de) | |
967 | 967 | func stakeIndex () = { | |
968 | 968 | let cv = toString(de.originCaller) | |
969 | 969 | let dw = de.payments[0] | |
970 | 970 | if ((value(dw.assetId) != u("global_poolToken_id"))) | |
971 | 971 | then throw("wrong asset attached") | |
972 | 972 | else cA(cv, dw.amount) | |
973 | 973 | } | |
974 | 974 | ||
975 | 975 | ||
976 | 976 | ||
977 | 977 | @Callable(de) | |
978 | 978 | func stakeIndexFor (cv) = { | |
979 | 979 | let dw = de.payments[0] | |
980 | 980 | if ((value(dw.assetId) != u("global_poolToken_id"))) | |
981 | 981 | then throw("wrong asset attached") | |
982 | 982 | else cA(cv, dw.amount) | |
983 | 983 | } | |
984 | 984 | ||
985 | 985 | ||
986 | 986 | ||
987 | 987 | @Callable(de) | |
988 | 988 | func unstakeIndex (dH) = { | |
989 | 989 | let cv = if ((indexOf(ag, toString(de.caller)) != unit)) | |
990 | 990 | then toString(de.originCaller) | |
991 | 991 | else toString(de.caller) | |
992 | 992 | let dI = q((cv + "_indexStaked")) | |
993 | 993 | if (aD()) | |
994 | 994 | then throw("contract is on stop") | |
995 | 995 | else if ((dH > dI)) | |
996 | 996 | then throw("you don't have index tokens available") | |
997 | 997 | else if (aD()) | |
998 | 998 | then throw("contract is on stop") | |
999 | 999 | else (ct(addressFromStringValue(cv))._1 ++ [IntegerEntry((cv + "_indexStaked"), (dI - dH)), IntegerEntry("global_indexStaked", (q("global_indexStaked") - dH)), ScriptTransfer(de.caller, dH, getBinaryValue("global_poolToken_id"))]) | |
1000 | 1000 | } | |
1001 | 1001 | ||
1002 | 1002 | ||
1003 | 1003 | ||
1004 | 1004 | @Callable(de) | |
1005 | 1005 | func claimIndexRewards () = if (aD()) | |
1006 | 1006 | then throw("contract is on stop") | |
1007 | 1007 | else ct(de.caller) | |
1008 | 1008 | ||
1009 | 1009 | ||
1010 | 1010 | ||
1011 | 1011 | @Callable(de) | |
1012 | 1012 | func evaluateClaim (dJ) = $Tuple2(nil, ct(addressFromStringValue(dJ))._2) | |
1013 | 1013 | ||
1014 | 1014 | ||
1015 | 1015 | ||
1016 | 1016 | @Callable(de) | |
1017 | 1017 | func swap (cf,dK) = { | |
1018 | 1018 | let dw = if ((size(de.payments) == 1)) | |
1019 | 1019 | then value(de.payments[0]) | |
1020 | 1020 | else throw("please attach exactly one payment") | |
1021 | 1021 | let cd = value(de.payments[0].amount) | |
1022 | 1022 | let dL = dw.assetId | |
1023 | 1023 | let dM = z(cf) | |
1024 | 1024 | let ce = x(dL) | |
1025 | 1025 | let dN = (f / q((("static_" + ce) + "_scale"))) | |
1026 | 1026 | let dO = (f / q((("static_" + cf) + "_scale"))) | |
1027 | 1027 | let dP = v("static_feeToken") | |
1028 | 1028 | let dQ = if ((dP == "")) | |
1029 | 1029 | then R | |
1030 | 1030 | else z(dP) | |
1031 | 1031 | let dR = q((("global_" + x(dL)) + "_balance")) | |
1032 | 1032 | let dS = q((("global_" + cf) + "_balance")) | |
1033 | 1033 | let dT = (dR * dN) | |
1034 | 1034 | let dU = (dS * dO) | |
1035 | 1035 | let dV = fraction(cd, aB, h) | |
1036 | 1036 | let dW = (cd - dV) | |
1037 | 1037 | let dX = (dW * dN) | |
1038 | 1038 | let dY = cc(dX, dL, dM, dT, dU) | |
1039 | 1039 | let dZ = fraction(dY, 1, dO) | |
1040 | 1040 | let ea = (dS - dZ) | |
1041 | 1041 | let eb = (dR + dW) | |
1042 | 1042 | let ec = if ((dQ == dL)) | |
1043 | 1043 | then eb | |
1044 | 1044 | else if ((dQ == dM)) | |
1045 | 1045 | then ea | |
1046 | 1046 | else q((("global_" + x(dQ)) + "_balance")) | |
1047 | 1047 | let ed = cc(dV, dL, dQ, dR, ec) | |
1048 | 1048 | if ((dK > dZ)) | |
1049 | 1049 | then throw("amount to recieve is lower than given one") | |
1050 | 1050 | else if ((dM == dL)) | |
1051 | 1051 | then throw("this swap is not allowed") | |
1052 | 1052 | else if ((0 > (dS - dZ))) | |
1053 | 1053 | then throw("contract is out of reserves") | |
1054 | 1054 | else if (aD()) | |
1055 | 1055 | then throw("contract is on stop") | |
1056 | 1056 | else { | |
1057 | 1057 | let ee = fraction(ed, 1, 10) | |
1058 | 1058 | let ef = fraction(ed, 4, 10) | |
1059 | 1059 | let eg = eb | |
1060 | 1060 | let eh = (ea - (if ((dM == dQ)) | |
1061 | 1061 | then ed | |
1062 | 1062 | else 0)) | |
1063 | 1063 | let ei = if (if ((dQ != dL)) | |
1064 | 1064 | then (dQ != dM) | |
1065 | 1065 | else false) | |
1066 | 1066 | then (ec - ed) | |
1067 | 1067 | else unit | |
1068 | 1068 | let ej = IntegerEntry((("global_" + x(dL)) + "_balance"), eg) | |
1069 | 1069 | let ek = IntegerEntry((("global_" + cf) + "_balance"), eh) | |
1070 | 1070 | let el = if ((ei != unit)) | |
1071 | 1071 | then IntegerEntry((("global_" + x(dQ)) + "_balance"), value(ei)) | |
1072 | 1072 | else StringEntry("hello", "world") | |
1073 | 1073 | let em = bc(dL, cd, dR, ec) | |
1074 | 1074 | let en = bx(dL, cd, dR) | |
1075 | 1075 | $Tuple2([ek, ej, el, ScriptTransfer(de.caller, dZ, dM), ScriptTransfer(addressFromStringValue(v("static_poolOwner")), ee, dQ), IntegerEntry("global_earnedByOwner", (q("global_earnedByOwner") + ee)), IntegerEntry("global_volume", (q("global_volume") + em)), IntegerEntry("global_volume_usd", (q("global_volume_usd") + en)), ScriptTransfer(ad, ef, dQ)], dZ) | |
1076 | 1076 | } | |
1077 | 1077 | } | |
1078 | 1078 | ||
1079 | 1079 | ||
1080 | 1080 | ||
1081 | 1081 | @Callable(de) | |
1082 | 1082 | func swapReadOnly (ce,cf,cd) = { | |
1083 | 1083 | let dL = z(ce) | |
1084 | 1084 | let dM = z(cf) | |
1085 | 1085 | let dN = (f / q((("static_" + ce) + "_scale"))) | |
1086 | 1086 | let dO = (f / q((("static_" + cf) + "_scale"))) | |
1087 | 1087 | let dP = v("static_feeToken") | |
1088 | 1088 | let dQ = if ((dP == "")) | |
1089 | 1089 | then R | |
1090 | 1090 | else z(dP) | |
1091 | 1091 | let dR = q((("global_" + x(dL)) + "_balance")) | |
1092 | 1092 | let dS = q((("global_" + cf) + "_balance")) | |
1093 | 1093 | let dT = (dR * dN) | |
1094 | 1094 | let dU = (dS * dO) | |
1095 | 1095 | let dV = fraction(cd, aB, h) | |
1096 | 1096 | let dW = (cd - dV) | |
1097 | 1097 | let dX = (dW * dN) | |
1098 | 1098 | let dY = cc(dX, dL, dM, dT, dU) | |
1099 | 1099 | let dZ = fraction(dY, 1, dO) | |
1100 | 1100 | let ea = (dS - dZ) | |
1101 | 1101 | let eb = (dR + dW) | |
1102 | 1102 | let ec = if ((dQ == dL)) | |
1103 | 1103 | then eb | |
1104 | 1104 | else if ((dQ == dM)) | |
1105 | 1105 | then ea | |
1106 | 1106 | else q((("global_" + x(dQ)) + "_balance")) | |
1107 | 1107 | let ed = cc(dV, dL, dQ, dR, ec) | |
1108 | 1108 | if ((dM == dL)) | |
1109 | 1109 | then throw("this swap is not allowed") | |
1110 | 1110 | else if ((0 > (dS - dZ))) | |
1111 | 1111 | then throw("contract is out of reserves") | |
1112 | 1112 | else if (aD()) | |
1113 | 1113 | then throw("contract is on stop") | |
1114 | 1114 | else $Tuple2(nil, dZ) | |
1115 | 1115 | } | |
1116 | 1116 | ||
1117 | 1117 | ||
1118 | 1118 | ||
1119 | 1119 | @Callable(de) | |
1120 | 1120 | func transferOwnership (eo) = if ((toString(de.caller) != v("static_poolOwner"))) | |
1121 | 1121 | then throw("this call available only for pool owner") | |
1122 | 1122 | else [StringEntry("static_poolOwner", eo)] | |
1123 | 1123 | ||
1124 | 1124 | ||
1125 | 1125 | ||
1126 | 1126 | @Callable(de) | |
1127 | 1127 | func setFee (ep) = if ((toString(de.caller) != v("static_poolOwner"))) | |
1128 | 1128 | then throw("this call available only for pool owner") | |
1129 | 1129 | else if ((1 > valueOrElse(getInteger(ah, ("approvedTx_" + toBase58String(de.transactionId))), 0))) | |
1130 | 1130 | then throw("this transaction needs approval from puzzle network") | |
1131 | 1131 | else [IntegerEntry("static_fee", ep)] | |
1132 | 1132 | ||
1133 | 1133 | ||
1134 | 1134 | ||
1135 | 1135 | @Callable(de) | |
1136 | 1136 | func setRebalancingPlan (df,dg,dh,eq,er) = if ((de.caller != addressFromStringValue(v("static_poolOwner")))) | |
1137 | 1137 | then throw("this call available only for pool owner") | |
1138 | 1138 | else if (valueOrElse(getBoolean(this, "rebalance_inProgress"), false)) | |
1139 | 1139 | then throw("rebalancing in progress") | |
1140 | 1140 | else { | |
1141 | 1141 | let es = split(dg, ",") | |
1142 | 1142 | let et = split(df, ",") | |
1143 | 1143 | let bl = { | |
1144 | 1144 | let al = et | |
1145 | 1145 | let am = size(al) | |
1146 | 1146 | let an = "" | |
1147 | 1147 | func aN (ap,aq) = if ((aq >= am)) | |
1148 | 1148 | then ap | |
1149 | 1149 | else cE(ap, al[aq]) | |
1150 | 1150 | ||
1151 | 1151 | func aO (ap,aq) = if ((aq >= am)) | |
1152 | 1152 | then ap | |
1153 | 1153 | else throw("List size exceeds 10") | |
1154 | 1154 | ||
1155 | 1155 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1156 | 1156 | } | |
1157 | 1157 | let do = { | |
1158 | 1158 | let al = es | |
1159 | 1159 | let am = size(al) | |
1160 | 1160 | let an = 0 | |
1161 | 1161 | func bK (ap,aq) = if ((aq >= am)) | |
1162 | 1162 | then ap | |
1163 | 1163 | else cC(ap, al[aq]) | |
1164 | 1164 | ||
1165 | 1165 | func bL (ap,aq) = if ((aq >= am)) | |
1166 | 1166 | then ap | |
1167 | 1167 | else throw("List size exceeds 10") | |
1168 | 1168 | ||
1169 | 1169 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1170 | 1170 | } | |
1171 | 1171 | let eu = getStringValue("static_tokenIds") | |
1172 | 1172 | let ev = split(eu, ",") | |
1173 | 1173 | func ew (E,cF) = if ((indexOf(ev, cF) == unit)) | |
1174 | 1174 | then (E ++ [cF]) | |
1175 | 1175 | else E | |
1176 | 1176 | ||
1177 | 1177 | func ex (E,cF) = if ((indexOf(et, cF) == unit)) | |
1178 | 1178 | then (E ++ [cF]) | |
1179 | 1179 | else E | |
1180 | 1180 | ||
1181 | 1181 | let ey = { | |
1182 | 1182 | let al = et | |
1183 | 1183 | let am = size(al) | |
1184 | 1184 | let an = nil | |
1185 | 1185 | func cX (ap,aq) = if ((aq >= am)) | |
1186 | 1186 | then ap | |
1187 | 1187 | else ew(ap, al[aq]) | |
1188 | 1188 | ||
1189 | 1189 | func cY (ap,aq) = if ((aq >= am)) | |
1190 | 1190 | then ap | |
1191 | 1191 | else throw("List size exceeds 10") | |
1192 | 1192 | ||
1193 | 1193 | cY(cX(cX(cX(cX(cX(cX(cX(cX(cX(cX(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1194 | 1194 | } | |
1195 | 1195 | let ez = { | |
1196 | 1196 | let al = ev | |
1197 | 1197 | let am = size(al) | |
1198 | 1198 | let an = nil | |
1199 | 1199 | func ds (ap,aq) = if ((aq >= am)) | |
1200 | 1200 | then ap | |
1201 | 1201 | else ex(ap, al[aq]) | |
1202 | 1202 | ||
1203 | 1203 | func dt (ap,aq) = if ((aq >= am)) | |
1204 | 1204 | then ap | |
1205 | 1205 | else throw("List size exceeds 10") | |
1206 | 1206 | ||
1207 | 1207 | dt(ds(ds(ds(ds(ds(ds(ds(ds(ds(ds(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1208 | 1208 | } | |
1209 | 1209 | let eA = cQ(ey, de.payments) | |
1210 | 1210 | let eB = cZ(es) | |
1211 | 1211 | if ((eB == eB)) | |
1212 | 1212 | then if ((eA != (size(ey) + size(de.payments)))) | |
1213 | 1213 | then throw("Payments not present or something wrong with them") | |
1214 | 1214 | else if ((size(et) != size(es))) | |
1215 | 1215 | then throw("assetIds and assetWeights should have same length") | |
1216 | 1216 | else if ((eA != (size(ey) + size(de.payments)))) | |
1217 | 1217 | then throw("Payments not present or something wrong with them") | |
1218 | 1218 | else if ((bl == "")) | |
1219 | 1219 | then throw("pool must have one of the supported fee assets in the composition") | |
1220 | 1220 | else if ((indexOf(et, dh) == unit)) | |
1221 | 1221 | then throw("baseTokenId should be present in assetIds") | |
1222 | 1222 | else if (if ((k > eq)) | |
1223 | 1223 | then true | |
1224 | 1224 | else (eq > l)) | |
1225 | 1225 | then throw(((((("Steps amount should be between " + toString(k)) + " and ") + toString(l)) + ", current: ") + toString(eq))) | |
1226 | 1226 | else if (if ((m > er)) | |
1227 | 1227 | then true | |
1228 | 1228 | else (er > n)) | |
1229 | 1229 | then throw(((((("Steps interval should be between " + toString(m)) + " and ") + toString(n)) + ", current: ") + toString(er))) | |
1230 | 1230 | else if ((do != 10000)) | |
1231 | 1231 | then throw(("sum of token weights must be equal to 10000, current: " + toString(do))) | |
1232 | 1232 | else { | |
1233 | 1233 | func cK (E,A) = { | |
1234 | 1234 | let eC = q((("static_" + A) + "_weight")) | |
1235 | 1235 | let eD = if ((indexOf(et, A) == unit)) | |
1236 | 1236 | then 0 | |
1237 | 1237 | else parseIntValue(value(es[value(indexOf(et, A))])) | |
1238 | 1238 | let eE = fraction((eD - eC), 10000, eq) | |
1239 | 1239 | (E ++ [toString(eE)]) | |
1240 | 1240 | } | |
1241 | 1241 | ||
1242 | 1242 | let eF = cG(et) | |
1243 | 1243 | let eG = { | |
1244 | 1244 | let al = eF | |
1245 | 1245 | let am = size(al) | |
1246 | 1246 | let an = nil | |
1247 | 1247 | func eH (ap,aq) = if ((aq >= am)) | |
1248 | 1248 | then ap | |
1249 | 1249 | else cK(ap, al[aq]) | |
1250 | 1250 | ||
1251 | 1251 | func eI (ap,aq) = if ((aq >= am)) | |
1252 | 1252 | then ap | |
1253 | 1253 | else throw("List size exceeds 10") | |
1254 | 1254 | ||
1255 | 1255 | eI(eH(eH(eH(eH(eH(eH(eH(eH(eH(eH(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1256 | 1256 | } | |
1257 | 1257 | let eJ = (cL(et) > 0) | |
1258 | 1258 | func eK (E,cF) = (E ++ [IntegerEntry(("rebalance_attachedPayment_" + x(cF.assetId)), cF.amount)]) | |
1259 | 1259 | ||
1260 | 1260 | let eL = { | |
1261 | 1261 | let al = de.payments | |
1262 | 1262 | let am = size(al) | |
1263 | 1263 | let an = nil | |
1264 | 1264 | func eM (ap,aq) = if ((aq >= am)) | |
1265 | 1265 | then ap | |
1266 | 1266 | else eK(ap, al[aq]) | |
1267 | 1267 | ||
1268 | 1268 | func eN (ap,aq) = if ((aq >= am)) | |
1269 | 1269 | then ap | |
1270 | 1270 | else throw("List size exceeds 10") | |
1271 | 1271 | ||
1272 | 1272 | eN(eM(eM(eM(eM(eM(eM(eM(eM(eM(eM(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1273 | 1273 | } | |
1274 | 1274 | let eO = aK() | |
1275 | 1275 | let eP = invoke(ah, "requestRebalancing", [toBase58String(de.transactionId)], nil) | |
1276 | 1276 | if ((eP == eP)) | |
1277 | 1277 | then (([StringEntry("rebalance_addedAssets", makeString(ey, ",")), StringEntry("rebalance_removedAssets", makeString(ez, ",")), StringEntry("tmp_rebalanceAssetIds", makeString(eF, ",")), BooleanEntry("rebalance_inProgress", true), BooleanEntry("rebalance_newTokensAdded", eJ), IntegerEntry("rebalance_stepsDone", 0), IntegerEntry("rebalance_lastStepHeight", height), IntegerEntry("rebalance_stepsAmount", eq), IntegerEntry("rebalance_stepsInterval", er), StringEntry("rebalance_assetIds", df), StringEntry("rebalance_newBaseTokenId", dh), StringEntry("rebalance_assetDeltas", makeString(eG, ","))] ++ eL) ++ eO) | |
1278 | 1278 | else throw("Strict value is not equal to itself.") | |
1279 | 1279 | } | |
1280 | 1280 | else throw("Strict value is not equal to itself.") | |
1281 | 1281 | } | |
1282 | 1282 | ||
1283 | 1283 | ||
1284 | 1284 | ||
1285 | 1285 | @Callable(de) | |
1286 | 1286 | func stepRebalancing () = { | |
1287 | 1287 | let eQ = valueOrErrorMessage(getString(ah, ("pool_lastRebalancing_" + toString(this))), "rebalancing is not registered at gov address") | |
1288 | 1288 | if (!(valueOrElse(getBoolean(this, "rebalance_inProgress"), false))) | |
1289 | 1289 | then throw("no rebalancing in progress") | |
1290 | 1290 | else if ((valueOrElse(getInteger(ah, ("rebalancing_status_" + eQ)), 0) != 2)) | |
1291 | 1291 | then throw("this transaction needs approval from puzzle network") | |
1292 | 1292 | else { | |
1293 | 1293 | let eR = getIntegerValue("rebalance_lastStepHeight") | |
1294 | 1294 | let eS = getIntegerValue("rebalance_stepsInterval") | |
1295 | 1295 | let eT = getIntegerValue("rebalance_stepsDone") | |
1296 | 1296 | let eU = (eR + eS) | |
1297 | 1297 | if ((eU > height)) | |
1298 | 1298 | then throw("can't be done yet") | |
1299 | 1299 | else { | |
1300 | 1300 | let eG = split(getStringValue("rebalance_assetDeltas"), ",") | |
1301 | 1301 | let eV = getStringValue("tmp_rebalanceAssetIds") | |
1302 | 1302 | let eW = split(eV, ",") | |
1303 | 1303 | func cK (E,A) = (E ++ [toString(fraction(((valueOrElse(getInteger(("rebalance_startWeight_" + A)), 0) * 10000) + (parseIntValue(eG[value(indexOf(eW, A))]) * (eT + 1))), 1, 10000, HALFUP))]) | |
1304 | 1304 | ||
1305 | 1305 | let eX = makeString({ | |
1306 | 1306 | let al = eW | |
1307 | 1307 | let am = size(al) | |
1308 | 1308 | let an = nil | |
1309 | 1309 | func aN (ap,aq) = if ((aq >= am)) | |
1310 | 1310 | then ap | |
1311 | 1311 | else cK(ap, al[aq]) | |
1312 | 1312 | ||
1313 | 1313 | func aO (ap,aq) = if ((aq >= am)) | |
1314 | 1314 | then ap | |
1315 | 1315 | else throw("List size exceeds 10") | |
1316 | 1316 | ||
1317 | 1317 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1318 | 1318 | }, ",") | |
1319 | 1319 | let eJ = getBooleanValue("rebalance_newTokensAdded") | |
1320 | 1320 | let eY = if (if (eJ) | |
1321 | 1321 | then (eT == 0) | |
1322 | 1322 | else false) | |
1323 | 1323 | then invoke(this, "doRebalancingWithNewTokens", [eV, eX, getStringValue("rebalance_newBaseTokenId")], nil) | |
1324 | 1324 | else invoke(this, "doRebalancing", [eX], nil) | |
1325 | 1325 | if ((eY == eY)) | |
1326 | 1326 | then { | |
1327 | 1327 | let eZ = invoke(ae, "notifyPoolChange", nil, nil) | |
1328 | 1328 | if ((eZ == eZ)) | |
1329 | 1329 | then { | |
1330 | 1330 | let fa = ((eT + 1) >= getIntegerValue("rebalance_stepsAmount")) | |
1331 | 1331 | let fb = [BooleanEntry("rebalance_inProgress", !(fa)), IntegerEntry("rebalance_stepsDone", (eT + 1)), IntegerEntry("rebalance_lastStepHeight", height)] | |
1332 | 1332 | if ((eT == 0)) | |
1333 | 1333 | then (fb ++ [StringEntry("static_tokenIds", eV)]) | |
1334 | 1334 | else if (fa) | |
1335 | 1335 | then { | |
1336 | 1336 | let fc = split(v("rebalance_removedAssets"), ",") | |
1337 | 1337 | func fd (E,y) = (E ++ [DeleteEntry((("static_" + y) + "_scale")), DeleteEntry((("static_" + y) + "_decimals")), DeleteEntry((("static_" + y) + "_weight")), DeleteEntry((("global_" + y) + "_balance")), DeleteEntry(("rebalance_attachedPayment_" + y))]) | |
1338 | 1338 | ||
1339 | 1339 | let fe = { | |
1340 | 1340 | let al = fc | |
1341 | 1341 | let am = size(al) | |
1342 | 1342 | let an = nil | |
1343 | 1343 | func bK (ap,aq) = if ((aq >= am)) | |
1344 | 1344 | then ap | |
1345 | 1345 | else fd(ap, al[aq]) | |
1346 | 1346 | ||
1347 | 1347 | func bL (ap,aq) = if ((aq >= am)) | |
1348 | 1348 | then ap | |
1349 | 1349 | else throw("List size exceeds 10") | |
1350 | 1350 | ||
1351 | 1351 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1352 | 1352 | } | |
1353 | 1353 | let ff = split(v("rebalance_addedAssets"), ",") | |
1354 | 1354 | func fg (E,y) = (E ++ [DeleteEntry(("rebalance_attachedPayment_" + y))]) | |
1355 | 1355 | ||
1356 | 1356 | let fh = { | |
1357 | 1357 | let al = ff | |
1358 | 1358 | let am = size(al) | |
1359 | 1359 | let an = nil | |
1360 | 1360 | func cX (ap,aq) = if ((aq >= am)) | |
1361 | 1361 | then ap | |
1362 | 1362 | else fg(ap, al[aq]) | |
1363 | 1363 | ||
1364 | 1364 | func cY (ap,aq) = if ((aq >= am)) | |
1365 | 1365 | then ap | |
1366 | 1366 | else throw("List size exceeds 10") | |
1367 | 1367 | ||
1368 | 1368 | cY(cX(cX(cX(cX(cX(cX(cX(cX(cX(cX(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1369 | 1369 | } | |
1370 | 1370 | let fi = v("rebalance_assetIds") | |
1371 | 1371 | let fj = { | |
1372 | 1372 | let al = split(fi, ",") | |
1373 | 1373 | let am = size(al) | |
1374 | 1374 | let an = nil | |
1375 | 1375 | func ds (ap,aq) = if ((aq >= am)) | |
1376 | 1376 | then ap | |
1377 | 1377 | else H(ap, al[aq]) | |
1378 | 1378 | ||
1379 | 1379 | func dt (ap,aq) = if ((aq >= am)) | |
1380 | 1380 | then ap | |
1381 | 1381 | else throw("List size exceeds 10") | |
1382 | 1382 | ||
1383 | 1383 | dt(ds(ds(ds(ds(ds(ds(ds(ds(ds(ds(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1384 | 1384 | } | |
1385 | 1385 | let fk = invoke(ah, "notifyRebalancingDone", [eQ], nil) | |
1386 | 1386 | if ((fk == fk)) | |
1387 | 1387 | then (((fb ++ fe) ++ fh) ++ [StringEntry("static_tokenIds", fi), StringEntry("static_tokenWeights", makeString(fj, ",")), IntegerEntry("static_tokensAmount", size(split(fi, ",")))]) | |
1388 | 1388 | else throw("Strict value is not equal to itself.") | |
1389 | 1389 | } | |
1390 | 1390 | else { | |
1391 | 1391 | let fi = v("rebalance_assetIds") | |
1392 | 1392 | let fj = { | |
1393 | 1393 | let al = split(fi, ",") | |
1394 | 1394 | let am = size(al) | |
1395 | 1395 | let an = nil | |
1396 | 1396 | func bK (ap,aq) = if ((aq >= am)) | |
1397 | 1397 | then ap | |
1398 | 1398 | else H(ap, al[aq]) | |
1399 | 1399 | ||
1400 | 1400 | func bL (ap,aq) = if ((aq >= am)) | |
1401 | 1401 | then ap | |
1402 | 1402 | else throw("List size exceeds 10") | |
1403 | 1403 | ||
1404 | 1404 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1405 | 1405 | } | |
1406 | 1406 | (fb ++ [StringEntry("static_tokenWeights", makeString(fj, ","))]) | |
1407 | 1407 | } | |
1408 | 1408 | } | |
1409 | 1409 | else throw("Strict value is not equal to itself.") | |
1410 | 1410 | } | |
1411 | 1411 | else throw("Strict value is not equal to itself.") | |
1412 | 1412 | } | |
1413 | 1413 | } | |
1414 | 1414 | } | |
1415 | 1415 | ||
1416 | 1416 | ||
1417 | 1417 | ||
1418 | 1418 | @Callable(de) | |
1419 | 1419 | func doRebalancing (dg) = { | |
1420 | 1420 | let dn = split(dg, ",") | |
1421 | 1421 | let do = { | |
1422 | 1422 | let al = dn | |
1423 | 1423 | let am = size(al) | |
1424 | 1424 | let an = 0 | |
1425 | 1425 | func aN (ap,aq) = if ((aq >= am)) | |
1426 | 1426 | then ap | |
1427 | 1427 | else cC(ap, al[aq]) | |
1428 | 1428 | ||
1429 | 1429 | func aO (ap,aq) = if ((aq >= am)) | |
1430 | 1430 | then ap | |
1431 | 1431 | else throw("List size exceeds 10") | |
1432 | 1432 | ||
1433 | 1433 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1434 | 1434 | } | |
1435 | 1435 | let dm = split(v("static_tokenIds"), ",") | |
1436 | 1436 | if ((de.caller != this)) | |
1437 | 1437 | then throw("this call available only for admin") | |
1438 | 1438 | else { | |
1439 | 1439 | let fl = aJ() | |
1440 | 1440 | func aY (fm,y) = { | |
1441 | 1441 | let E = fm._1 | |
1442 | 1442 | let A = x(y) | |
1443 | 1443 | func bI (E,cD) = if ((cD == y)) | |
1444 | 1444 | then value(indexOf(ak, cD)) | |
1445 | 1445 | else E | |
1446 | 1446 | ||
1447 | 1447 | let dx = { | |
1448 | 1448 | let al = ak | |
1449 | 1449 | let am = size(al) | |
1450 | 1450 | let an = 1 | |
1451 | 1451 | func bK (ap,aq) = if ((aq >= am)) | |
1452 | 1452 | then ap | |
1453 | 1453 | else bI(ap, al[aq]) | |
1454 | 1454 | ||
1455 | 1455 | func bL (ap,aq) = if ((aq >= am)) | |
1456 | 1456 | then ap | |
1457 | 1457 | else throw("List size exceeds 10") | |
1458 | 1458 | ||
1459 | 1459 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1460 | 1460 | } | |
1461 | 1461 | let fn = q((("global_" + A) + "_balance")) | |
1462 | 1462 | let fo = if ((fm._2 == "new")) | |
1463 | 1463 | then parseIntValue(dn[dx]) | |
1464 | 1464 | else q((("static_" + A) + "_weight")) | |
1465 | 1465 | $Tuple2(fraction(E, pow(fn, av[dx], fo, d, 8, FLOOR), f), fm._2) | |
1466 | 1466 | } | |
1467 | 1467 | ||
1468 | 1468 | let fp = ( let al = ak | |
1469 | 1469 | let am = size(al) | |
1470 | 1470 | let an = $Tuple2(j, "new") | |
1471 | 1471 | func bK (ap,aq) = if ((aq >= am)) | |
1472 | 1472 | then ap | |
1473 | 1473 | else aY(ap, al[aq]) | |
1474 | 1474 | ||
1475 | 1475 | func bL (ap,aq) = if ((aq >= am)) | |
1476 | 1476 | then ap | |
1477 | 1477 | else throw("List size exceeds 10") | |
1478 | 1478 | ||
1479 | 1479 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10))._1 | |
1480 | 1480 | let fq = ( let al = ak | |
1481 | 1481 | let am = size(al) | |
1482 | 1482 | let an = $Tuple2(j, "old") | |
1483 | 1483 | func cX (ap,aq) = if ((aq >= am)) | |
1484 | 1484 | then ap | |
1485 | 1485 | else aY(ap, al[aq]) | |
1486 | 1486 | ||
1487 | 1487 | func cY (ap,aq) = if ((aq >= am)) | |
1488 | 1488 | then ap | |
1489 | 1489 | else throw("List size exceeds 10") | |
1490 | 1490 | ||
1491 | 1491 | cY(cX(cX(cX(cX(cX(cX(cX(cX(cX(cX(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10))._1 | |
1492 | 1492 | let fr = fraction(fl, fp, fq) | |
1493 | 1493 | func dp (E,dq) = if ((dq >= size(dn))) | |
1494 | 1494 | then E | |
1495 | 1495 | else (E ++ [IntegerEntry((("static_" + dm[dq]) + "_weight"), value(parseInt(dn[dq])))]) | |
1496 | 1496 | ||
1497 | 1497 | ({ | |
1498 | 1498 | let al = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
1499 | 1499 | let am = size(al) | |
1500 | 1500 | let an = nil | |
1501 | 1501 | func ds (ap,aq) = if ((aq >= am)) | |
1502 | 1502 | then ap | |
1503 | 1503 | else dp(ap, al[aq]) | |
1504 | 1504 | ||
1505 | 1505 | func dt (ap,aq) = if ((aq >= am)) | |
1506 | 1506 | then ap | |
1507 | 1507 | else throw("List size exceeds 10") | |
1508 | 1508 | ||
1509 | 1509 | dt(ds(ds(ds(ds(ds(ds(ds(ds(ds(ds(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1510 | 1510 | } ++ [IntegerEntry("static_KMult", fr)]) | |
1511 | 1511 | } | |
1512 | 1512 | } | |
1513 | 1513 | ||
1514 | 1514 | ||
1515 | 1515 | ||
1516 | 1516 | @Callable(de) | |
1517 | 1517 | func doRebalancingWithNewTokens (df,dg,dh) = { | |
1518 | 1518 | let es = split(dg, ",") | |
1519 | 1519 | let fs = split(v("static_tokenIds"), ",") | |
1520 | 1520 | let et = split(df, ",") | |
1521 | 1521 | let eW = { | |
1522 | 1522 | let al = et | |
1523 | 1523 | let am = size(al) | |
1524 | 1524 | let an = nil | |
1525 | 1525 | func aN (ap,aq) = if ((aq >= am)) | |
1526 | 1526 | then ap | |
1527 | 1527 | else D(ap, al[aq]) | |
1528 | 1528 | ||
1529 | 1529 | func aO (ap,aq) = if ((aq >= am)) | |
1530 | 1530 | then ap | |
1531 | 1531 | else throw("List size exceeds 10") | |
1532 | 1532 | ||
1533 | 1533 | aO(aN(aN(aN(aN(aN(aN(aN(aN(aN(aN(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1534 | 1534 | } | |
1535 | 1535 | let bl = { | |
1536 | 1536 | let al = et | |
1537 | 1537 | let am = size(al) | |
1538 | 1538 | let an = "" | |
1539 | 1539 | func bK (ap,aq) = if ((aq >= am)) | |
1540 | 1540 | then ap | |
1541 | 1541 | else cE(ap, al[aq]) | |
1542 | 1542 | ||
1543 | 1543 | func bL (ap,aq) = if ((aq >= am)) | |
1544 | 1544 | then ap | |
1545 | 1545 | else throw("List size exceeds 10") | |
1546 | 1546 | ||
1547 | 1547 | bL(bK(bK(bK(bK(bK(bK(bK(bK(bK(bK(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1548 | 1548 | } | |
1549 | 1549 | let ey = split(v("rebalance_addedAssets"), ",") | |
1550 | 1550 | func ft (y) = valueOrElse(getInteger(("rebalance_attachedPayment_" + x(y))), 0) | |
1551 | 1551 | ||
1552 | 1552 | func fu (cB,y) = (cB ++ [ft(y)]) | |
1553 | 1553 | ||
1554 | 1554 | let fv = { | |
1555 | 1555 | let al = eW | |
1556 | 1556 | let am = size(al) | |
1557 | 1557 | let an = nil | |
1558 | 1558 | func cX (ap,aq) = if ((aq >= am)) | |
1559 | 1559 | then ap | |
1560 | 1560 | else fu(ap, al[aq]) | |
1561 | 1561 | ||
1562 | 1562 | func cY (ap,aq) = if ((aq >= am)) | |
1563 | 1563 | then ap | |
1564 | 1564 | else throw("List size exceeds 10") | |
1565 | 1565 | ||
1566 | 1566 | cY(cX(cX(cX(cX(cX(cX(cX(cX(cX(cX(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1567 | 1567 | } | |
1568 | 1568 | if ((de.caller != this)) | |
1569 | 1569 | then throw(("this call available only for admin, " + toString(de.caller))) | |
1570 | 1570 | else { | |
1571 | 1571 | let fl = aJ() | |
1572 | 1572 | let fq = aP() | |
1573 | 1573 | func fw (fm,y) = { | |
1574 | 1574 | func fx (E,cD) = if ((cD == y)) | |
1575 | 1575 | then value(indexOf(eW, cD)) | |
1576 | 1576 | else E | |
1577 | 1577 | ||
1578 | 1578 | let fy = fm | |
1579 | 1579 | let A = x(y) | |
1580 | 1580 | let fz = { | |
1581 | 1581 | let al = eW | |
1582 | 1582 | let am = size(al) | |
1583 | 1583 | let an = 1 | |
1584 | 1584 | func ds (ap,aq) = if ((aq >= am)) | |
1585 | 1585 | then ap | |
1586 | 1586 | else fx(ap, al[aq]) | |
1587 | 1587 | ||
1588 | 1588 | func dt (ap,aq) = if ((aq >= am)) | |
1589 | 1589 | then ap | |
1590 | 1590 | else throw("List size exceeds 10") | |
1591 | 1591 | ||
1592 | 1592 | dt(ds(ds(ds(ds(ds(ds(ds(ds(ds(ds(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1593 | 1593 | } | |
1594 | 1594 | let fo = parseIntValue(es[fz]) | |
1595 | 1595 | let fA = q((("global_" + A) + "_balance")) | |
1596 | 1596 | let fB = fv[fz] | |
1597 | 1597 | let fn = (fA + fB) | |
1598 | 1598 | let dr = if ((y == unit)) | |
1599 | 1599 | then 8 | |
1600 | 1600 | else value(assetInfo(value(y))).decimals | |
1601 | 1601 | if ((0 >= fn)) | |
1602 | 1602 | then throw(("you need to attach all new assets in payment. this asset is missed: " + A)) | |
1603 | 1603 | else fraction(fy, pow(fn, dr, fo, d, 8, FLOOR), f) | |
1604 | 1604 | } | |
1605 | 1605 | ||
1606 | 1606 | let fp = { | |
1607 | 1607 | let al = eW | |
1608 | 1608 | let am = size(al) | |
1609 | 1609 | let an = j | |
1610 | 1610 | func ds (ap,aq) = if ((aq >= am)) | |
1611 | 1611 | then ap | |
1612 | 1612 | else fw(ap, al[aq]) | |
1613 | 1613 | ||
1614 | 1614 | func dt (ap,aq) = if ((aq >= am)) | |
1615 | 1615 | then ap | |
1616 | 1616 | else throw("List size exceeds 10") | |
1617 | 1617 | ||
1618 | 1618 | dt(ds(ds(ds(ds(ds(ds(ds(ds(ds(ds(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1619 | 1619 | } | |
1620 | 1620 | let fr = fraction(fl, fp, fq) | |
1621 | 1621 | func dp (E,dq) = { | |
1622 | 1622 | let A = et[dq] | |
1623 | 1623 | let y = eW[dq] | |
1624 | 1624 | let dr = if ((y == unit)) | |
1625 | 1625 | then 8 | |
1626 | 1626 | else value(assetInfo(value(y))).decimals | |
1627 | 1627 | let fC = if ((indexOf(ey, A) != unit)) | |
1628 | 1628 | then [IntegerEntry((("global_" + A) + "_balance"), fv[dq]), IntegerEntry((("static_" + A) + "_scale"), pow(10, 0, dr, 0, 0, DOWN)), IntegerEntry((("static_" + A) + "_decimals"), dr)] | |
1629 | 1629 | else nil | |
1630 | 1630 | if ((dq >= size(es))) | |
1631 | 1631 | then E | |
1632 | 1632 | else ((E ++ [IntegerEntry((("static_" + A) + "_weight"), value(parseInt(es[dq])))]) ++ fC) | |
1633 | 1633 | } | |
1634 | 1634 | ||
1635 | 1635 | ({ | |
1636 | 1636 | let al = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
1637 | 1637 | let am = size(al) | |
1638 | 1638 | let an = nil | |
1639 | 1639 | func eH (ap,aq) = if ((aq >= am)) | |
1640 | 1640 | then ap | |
1641 | 1641 | else dp(ap, al[aq]) | |
1642 | 1642 | ||
1643 | 1643 | func eI (ap,aq) = if ((aq >= am)) | |
1644 | 1644 | then ap | |
1645 | 1645 | else throw("List size exceeds 10") | |
1646 | 1646 | ||
1647 | 1647 | eI(eH(eH(eH(eH(eH(eH(eH(eH(eH(eH(an, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1648 | 1648 | } ++ [StringEntry("static_tokenIds", df), StringEntry("static_feeToken", bl), StringEntry("static_tokenWeights", dg), IntegerEntry("static_tokensAmount", size(eW)), IntegerEntry("static_KMult", fr)]) | |
1649 | 1649 | } | |
1650 | 1650 | } | |
1651 | 1651 | ||
1652 | 1652 | ||
1653 | 1653 | @Verifier(fD) | |
1654 | 1654 | func fE () = if (if ((valueOrElse(getInteger("global_wasPreInited"), 0) == 0)) | |
1655 | 1655 | then if (sigVerify(fD.bodyBytes, fD.proofs[0], fD.senderPublicKey)) | |
1656 | 1656 | then true | |
1657 | 1657 | else sigVerify(fD.bodyBytes, fD.proofs[0], aa) | |
1658 | 1658 | else false) | |
1659 | 1659 | then true | |
1660 | 1660 | else { | |
1661 | 1661 | let s = fD | |
1662 | 1662 | if ($isInstanceOf(s, "SetScriptTransaction")) | |
1663 | 1663 | then { | |
1664 | 1664 | let fD = s | |
1665 | 1665 | let fF = value(fD.script) | |
1666 | 1666 | let fG = toBase58String(sha256(fF)) | |
1667 | 1667 | if (sigVerify(fD.bodyBytes, fD.proofs[0], aa)) | |
1668 | 1668 | then (valueOrElse(getInteger(ai, ("approvedScript_" + fG)), 0) > height) | |
1669 | 1669 | else false | |
1670 | 1670 | } | |
1671 | 1671 | else if (sigVerify(fD.bodyBytes, fD.proofs[0], aa)) | |
1672 | 1672 | then (valueOrElse(getInteger(ai, ("approvedTx_" + toBase58String(fD.id))), 0) > 0) | |
1673 | 1673 | else false | |
1674 | 1674 | } | |
1675 | 1675 |
github/deemru/w8io/026f985 147.66 ms ◑