tx · B2xhnz7vEsqM2BvPsZMRag1e4UFpd1MFUmf8KN7p5S6g 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai: -0.02300000 Waves 2023.02.20 16:51 [2458058] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves
{ "type": 13, "id": "B2xhnz7vEsqM2BvPsZMRag1e4UFpd1MFUmf8KN7p5S6g", "fee": 2300000, "feeAssetId": null, "timestamp": 1676901161097, "version": 2, "chainId": 84, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "393cxLKqB7JMXbXdo2SY92WKGA5C7h1MDQA58Gx8XfbfmVvJwDu8df4vHHbDB3CLqzGVGfLvZ5iduXhSuTxux1BJ" ], "script": "base64:BgKrJggCEgASBAoCCAgSAwoBCBIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIECgIIGBIDCgEIEgASAwoBGBIKCggICAgICAEICBIECgIIARIDCgEBEgMKAQESBAoCCAESBgoECAgICBIECgIICBIECgIICBIECgIICBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSBAoCCAgiBlNDQUxFOCIFTVVMVDgiB1NDQUxFMTgiBk1VTFQxOCIOUE9PTFdFSUdIVE1VTFQiDkdXWHZpcnR1YWxQT09MIgxsYWJlbFBvb2xzTHAiDWRlZmF1bHRTcHJlYWQiEWRlY2ltYWxzTXVsdFByaWNlIgNTRVAiBUVNUFRZIgpQb29sQWN0aXZlIg9Qb29sUHV0RGlzYWJsZWQiE1Bvb2xNYXRjaGVyRGlzYWJsZWQiDFBvb2xTaHV0ZG93biISaWR4SW50ZXJuYWxBc3NldElkIg9pZHhSZXN1dEFjdGlvbnMiIGlkeElmQXNzZXRJZENhbGN1bGF0aW9uUGVyZm9ybWVkIg5pZHhQb29sQWRkcmVzcyINaWR4UG9v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QkBAmF0AQUBWgUBagQCYWgJAJEDAgUCYk0AAQQCYWkJAJEDAgUCYk0AAgQCY2QJALUJAgkBAmFGAQkBAmFnAgUCYWgFAmFpBQFqCQCUCgIFA25pbAkBDXBhcnNlSW50VmFsdWUBCQCRAwIFAmNkBQF0AmJoARJwb29sRXhpc3RzUkVBRE9OTFkCAmF6AmFBCQCUCgIFA25pbAkBAmNhAgUCYXoFAmFBAQJlcgECZXMABAJldAQCYmEJAQJiYwADCQABAgUCYmECCkJ5dGVWZWN0b3IEAmJqBQJiYQUCYmoDCQABAgUCYmECBFVuaXQIBQJlcg9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCZXIJYm9keUJ5dGVzCQCRAwIIBQJlcgZwcm9vZnMAAAUCZXQvXyNR", "height": 2458058, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GDy6DKPHHxygNKUq9udograSwJjBVz2kEcNaJrdPLF7E Next: BmtWjQQ8BMn8ZTHQBxmi3gQCzuba3ZnSiVdo3fWriUyQ Diff:
Old | New | Differences | |
---|---|---|---|
840 | 840 | ||
841 | 841 | ||
842 | 842 | @Callable(bh) | |
843 | - | func getPoolConfigByLpAssetId (cV) = { | |
844 | - | let bM = split(aF(an(cV)), j) | |
845 | - | let ah = bM[1] | |
846 | - | let ai = bM[2] | |
847 | - | let cd = split(aF(ag(ah, ai)), j) | |
848 | - | $Tuple2(nil, cd) | |
849 | - | } | |
850 | - | ||
851 | - | ||
852 | - | ||
853 | - | @Callable(bh) | |
854 | 843 | func poolExistsREADONLY (az,aA) = $Tuple2(nil, ca(az, aA)) | |
855 | 844 | ||
856 | 845 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 8 | |
5 | 5 | ||
6 | 6 | let b = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = b | |
13 | 13 | ||
14 | 14 | let f = "GWXvirtualPOOL" | |
15 | 15 | ||
16 | 16 | let g = "POOLS_LP" | |
17 | 17 | ||
18 | 18 | let h = 2000000 | |
19 | 19 | ||
20 | 20 | let i = ((100 * 1000) * 1000) | |
21 | 21 | ||
22 | 22 | let j = "__" | |
23 | 23 | ||
24 | 24 | let k = "" | |
25 | 25 | ||
26 | 26 | let l = 1 | |
27 | 27 | ||
28 | 28 | let m = 2 | |
29 | 29 | ||
30 | 30 | let n = 3 | |
31 | 31 | ||
32 | 32 | let o = 4 | |
33 | 33 | ||
34 | 34 | let p = 1 | |
35 | 35 | ||
36 | 36 | let q = 2 | |
37 | 37 | ||
38 | 38 | let r = 3 | |
39 | 39 | ||
40 | 40 | let s = 1 | |
41 | 41 | ||
42 | 42 | let t = 2 | |
43 | 43 | ||
44 | 44 | let u = 3 | |
45 | 45 | ||
46 | 46 | let v = 4 | |
47 | 47 | ||
48 | 48 | let w = 5 | |
49 | 49 | ||
50 | 50 | let x = 6 | |
51 | 51 | ||
52 | 52 | let y = 7 | |
53 | 53 | ||
54 | 54 | let z = 8 | |
55 | 55 | ||
56 | 56 | let A = 9 | |
57 | 57 | ||
58 | 58 | let B = 10 | |
59 | 59 | ||
60 | 60 | let C = 11 | |
61 | 61 | ||
62 | 62 | let D = "WX_EMISSION" | |
63 | 63 | ||
64 | 64 | let E = [D] | |
65 | 65 | ||
66 | 66 | func F () = "%s__allowedLpScriptHash" | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func G () = "%s__allowedLpStableScriptHash" | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func H () = "%s__allowedLpStableAddonScriptHash" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func I () = "%s__swapContract" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func J () = "%s__factoryConfig" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func K () = "%s__lpTokensList" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func L () = "%s%s__pool__scriptHash" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func M () = "%s%s__matcher__publicKey" | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func N () = "%s__legacyFactoryContract" | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func O () = "%s__legacyPools" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func P () = "%s__managerPublicKey" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func Q () = "%s__pendingManagerPublicKey" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func R () = "%s__adminPubKeys" | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func S () = "%s__assetsStoreContract" | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func T () = "%s__votingEmissionContract" | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func U () = makeString(["%s", "priceAssets"], j) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func V () = "%s__priceDecimals" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func W () = "%s__shutdown" | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func X () = "%s__nextInternalAssetId" | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func Y (Z) = ("%s%s__poolWeight__" + Z) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func aa (Z,ab) = ((("%s%s__poolWeight__" + Z) + "__") + toString(ab)) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func ac (ad) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(ad)) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ae (af) = ("%s%s%s__mappings__baseAsset2internalId__" + af) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ag (ah,ai) = (((("%d%d%s__" + ah) + "__") + ai) + "__config") | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func aj (ak) = { | |
139 | 139 | let al = ak | |
140 | 140 | let ah = al._1 | |
141 | 141 | let ai = al._2 | |
142 | 142 | makeString(["%d%d%s", toString(ah), toString(ai), "oneTokenOperationsDisabled"], j) | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func am () = makeString(["%s", "oneTokenOperationsDisabled"], j) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func an (ao) = (("%s%s%s__" + ao) + "__mappings__lpAsset2Pool") | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func ap (aq,ar) = (((("%d%d%s%s__" + aq) + "__") + ar) + "__mappings__PoolAssets2LpAsset") | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func as (Z) = ("%s%s__spread__" + Z) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func at (au) = (("%s%s%s__" + au) + "__mappings__poolContract2PoolAssets") | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func av (aq,ar) = (((("%d%d%s%s__" + toString(aq)) + "__") + toString(ar)) + "__mappings__poolAssets2PoolContract") | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func aw (au) = (("%s%s%s__" + au) + "__mappings__poolContract2LpAsset") | |
165 | 165 | ||
166 | 166 | ||
167 | 167 | func ax (ao) = (("%s%s%s__" + ao) + "__mappings__lpAsset2PoolContract") | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func ay (az,aA) = ((("%s%s%s__wxEmission__" + az) + "__") + aA) | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func aB (Z) = ("%s%s__inFee__" + Z) | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func aC () = "%s__inFeeDefault" | |
177 | 177 | ||
178 | 178 | ||
179 | 179 | func aD (Z) = ("%s%s__outFee__" + Z) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func aE () = "%s__outFeeDefault" | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func aF (aG) = valueOrErrorMessage(getString(this, aG), ("No data for this.key=" + aG)) | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func aH (aG) = valueOrErrorMessage(getBoolean(this, aG), ("No data for this.key=" + aG)) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func aI (aG) = valueOrErrorMessage(getInteger(this, aG), ("No data for this.key=" + aG)) | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | let aJ = 1 | |
195 | 195 | ||
196 | 196 | let aK = 2 | |
197 | 197 | ||
198 | 198 | let aL = 3 | |
199 | 199 | ||
200 | 200 | let aM = 4 | |
201 | 201 | ||
202 | 202 | let aN = 5 | |
203 | 203 | ||
204 | 204 | let aO = 6 | |
205 | 205 | ||
206 | 206 | let aP = 7 | |
207 | 207 | ||
208 | 208 | let aQ = 8 | |
209 | 209 | ||
210 | 210 | let aR = 9 | |
211 | 211 | ||
212 | 212 | let aS = 10 | |
213 | 213 | ||
214 | 214 | let aT = 11 | |
215 | 215 | ||
216 | 216 | func aU (aV) = addressFromStringValue(aV[aK]) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func aW (aV) = addressFromStringValue(aV[aN]) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aX (aV) = addressFromStringValue(aV[aJ]) | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func aY (aV) = addressFromStringValue(aV[aS]) | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func aZ () = { | |
229 | 229 | let ba = getString(U()) | |
230 | 230 | if ($isInstanceOf(ba, "String")) | |
231 | 231 | then { | |
232 | 232 | let bb = ba | |
233 | 233 | if ((size(bb) == 0)) | |
234 | 234 | then nil | |
235 | 235 | else split(bb, j) | |
236 | 236 | } | |
237 | 237 | else nil | |
238 | 238 | } | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | func bc () = { | |
242 | 242 | let ba = getString(P()) | |
243 | 243 | if ($isInstanceOf(ba, "String")) | |
244 | 244 | then { | |
245 | 245 | let bb = ba | |
246 | 246 | fromBase58String(bb) | |
247 | 247 | } | |
248 | 248 | else if ($isInstanceOf(ba, "Unit")) | |
249 | 249 | then unit | |
250 | 250 | else throw("Match error") | |
251 | 251 | } | |
252 | 252 | ||
253 | 253 | ||
254 | 254 | func bd () = { | |
255 | 255 | let ba = getString(Q()) | |
256 | 256 | if ($isInstanceOf(ba, "String")) | |
257 | 257 | then { | |
258 | 258 | let bb = ba | |
259 | 259 | fromBase58String(bb) | |
260 | 260 | } | |
261 | 261 | else if ($isInstanceOf(ba, "Unit")) | |
262 | 262 | then unit | |
263 | 263 | else throw("Match error") | |
264 | 264 | } | |
265 | 265 | ||
266 | 266 | ||
267 | 267 | let be = throw("Permission denied") | |
268 | 268 | ||
269 | 269 | let bf = throw("Test error here") | |
270 | 270 | ||
271 | 271 | func bg (bh) = if ((bh.caller == this)) | |
272 | 272 | then true | |
273 | 273 | else be | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | func bi (bh) = { | |
277 | 277 | let ba = bc() | |
278 | 278 | if ($isInstanceOf(ba, "ByteVector")) | |
279 | 279 | then { | |
280 | 280 | let bj = ba | |
281 | 281 | if ((bh.callerPublicKey == bj)) | |
282 | 282 | then true | |
283 | 283 | else be | |
284 | 284 | } | |
285 | 285 | else if ($isInstanceOf(ba, "Unit")) | |
286 | 286 | then bg(bh) | |
287 | 287 | else throw("Match error") | |
288 | 288 | } | |
289 | 289 | ||
290 | 290 | ||
291 | 291 | func bk (bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv], j) | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func bw (bl,bm,bn,bo,bp,bq,br) = makeString(["%s%s%s%s%s%s", bl, bm, bn, bo, bp, bq, br], j) | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | func bx (Z,by,bz,bA,bB,bC,bD,bE,bF,bG,bH) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", Z, by, bz, bA, bB, toString(bC), toString(bD), toString(bE), toString(bF), toString(bG), bH], j) | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | func bI (bJ,bK) = makeString(["%d%d", toString(bJ), toString(bK)], j) | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | func bL (Z) = { | |
304 | 304 | let bM = split(aF(at(Z)), j) | |
305 | 305 | let ah = bM[1] | |
306 | 306 | let ai = bM[2] | |
307 | 307 | split(aF(ag(ah, ai)), j) | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func bN (bO,bP) = { | |
312 | 312 | let bQ = valueOrElse(getInteger(this, ae(bO)), 0) | |
313 | 313 | let bR = valueOrElse(getInteger(this, X()), 0) | |
314 | 314 | let bS = if ((bQ == 0)) | |
315 | 315 | then { | |
316 | 316 | let bT = (bR + bP) | |
317 | 317 | $Tuple3(bT, [IntegerEntry(X(), bT), IntegerEntry(ae(bO), bT), StringEntry(ac(bT), bO)], true) | |
318 | 318 | } | |
319 | 319 | else $Tuple3(bQ, nil, false) | |
320 | 320 | bS | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | func bU (bh) = { | |
325 | 325 | let bV = split(valueOrElse(getString(R()), k), j) | |
326 | 326 | if (containsElement(bV, toBase58String(bh.callerPublicKey))) | |
327 | 327 | then true | |
328 | 328 | else { | |
329 | 329 | let bW = bi(bh) | |
330 | 330 | if ((bW == bW)) | |
331 | 331 | then true | |
332 | 332 | else throw("Strict value is not equal to itself.") | |
333 | 333 | } | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | func bX (aG,bY,bZ) = valueOrElse(getInteger(this, aG), valueOrElse(getInteger(this, bY), bZ)) | |
338 | 338 | ||
339 | 339 | ||
340 | 340 | func ca (az,aA) = { | |
341 | 341 | let ah = getInteger(ae(az)) | |
342 | 342 | let ai = getInteger(ae(aA)) | |
343 | 343 | if (if ((ah == unit)) | |
344 | 344 | then true | |
345 | 345 | else (ai == unit)) | |
346 | 346 | then false | |
347 | 347 | else { | |
348 | 348 | let cb = toString(value(ah)) | |
349 | 349 | let cc = toString(value(ai)) | |
350 | 350 | let cd = getString(ag(cb, cc)) | |
351 | 351 | let ce = getString(ag(cc, cb)) | |
352 | 352 | let cf = if ((cd != unit)) | |
353 | 353 | then true | |
354 | 354 | else (ce != unit) | |
355 | 355 | cf | |
356 | 356 | } | |
357 | 357 | } | |
358 | 358 | ||
359 | 359 | ||
360 | 360 | @Callable(bh) | |
361 | 361 | func getSwapContractREADONLY () = $Tuple2(nil, aF(I())) | |
362 | 362 | ||
363 | 363 | ||
364 | 364 | ||
365 | 365 | @Callable(bh) | |
366 | 366 | func getLpAssetFromPoolAssetsREADONLY (cg,ch) = if (if ((cg == "8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS")) | |
367 | 367 | then (ch == "WAVES") | |
368 | 368 | else false) | |
369 | 369 | then $Tuple2(nil, unit) | |
370 | 370 | else { | |
371 | 371 | let ci = value(getInteger(this, ae(cg))) | |
372 | 372 | let cj = value(getInteger(this, ae(ch))) | |
373 | 373 | let ck = getString(this, ap(toString(ci), toString(cj))) | |
374 | 374 | let cl = if ((ck == unit)) | |
375 | 375 | then unit | |
376 | 376 | else drop(value(ck), 4) | |
377 | 377 | $Tuple2(nil, cl) | |
378 | 378 | } | |
379 | 379 | ||
380 | 380 | ||
381 | 381 | ||
382 | 382 | @Callable(bh) | |
383 | 383 | func getPoolAddressFromLpAssetREADONLY (cm) = $Tuple2(nil, valueOrElse(getString(this, ax(cm)), "")) | |
384 | 384 | ||
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Callable(bh) | |
388 | 388 | func constructor (cn,co,bn,bo,bp,bq,cp,cq) = { | |
389 | 389 | let cr = bi(bh) | |
390 | 390 | if ((cr == cr)) | |
391 | 391 | then [StringEntry(J(), bw(cn, co, bn, bo, bp, bq, cp)), IntegerEntry(V(), cq)] | |
392 | 392 | else throw("Strict value is not equal to itself.") | |
393 | 393 | } | |
394 | 394 | ||
395 | 395 | ||
396 | 396 | ||
397 | 397 | @Callable(bh) | |
398 | 398 | func constructorV2 (cs) = { | |
399 | 399 | let cr = bi(bh) | |
400 | 400 | if ((cr == cr)) | |
401 | 401 | then { | |
402 | 402 | let ct = addressFromPublicKey(fromBase58String(cs)) | |
403 | 403 | if ((ct == ct)) | |
404 | 404 | then [StringEntry(M(), cs)] | |
405 | 405 | else throw("Strict value is not equal to itself.") | |
406 | 406 | } | |
407 | 407 | else throw("Strict value is not equal to itself.") | |
408 | 408 | } | |
409 | 409 | ||
410 | 410 | ||
411 | 411 | ||
412 | 412 | @Callable(bh) | |
413 | 413 | func constructorV3 (bs,bt,bu,bv) = { | |
414 | 414 | let cr = bi(bh) | |
415 | 415 | if ((cr == cr)) | |
416 | 416 | then { | |
417 | 417 | let aV = split(aF(J()), j) | |
418 | 418 | [StringEntry(J(), bk(aV[1], aV[2], aV[3], aV[4], aV[5], aV[6], aV[7], bs, bt, bu, bv))] | |
419 | 419 | } | |
420 | 420 | else throw("Strict value is not equal to itself.") | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | ||
425 | 425 | @Callable(bh) | |
426 | 426 | func constructorV4 (cu,cv) = { | |
427 | 427 | let cr = bi(bh) | |
428 | 428 | if ((cr == cr)) | |
429 | 429 | then [StringEntry(N(), cu), StringEntry(O(), makeString(cv, j))] | |
430 | 430 | else throw("Strict value is not equal to itself.") | |
431 | 431 | } | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | ||
435 | 435 | @Callable(bh) | |
436 | 436 | func constructorV5 (cw) = { | |
437 | 437 | let cr = bi(bh) | |
438 | 438 | if ((cr == cr)) | |
439 | 439 | then [StringEntry(S(), cw)] | |
440 | 440 | else throw("Strict value is not equal to itself.") | |
441 | 441 | } | |
442 | 442 | ||
443 | 443 | ||
444 | 444 | ||
445 | 445 | @Callable(bh) | |
446 | 446 | func constructorV6 (cx,cy) = { | |
447 | 447 | let cz = [bi(bh), if ((addressFromString(cx) != unit)) | |
448 | 448 | then true | |
449 | 449 | else "invalid voting emission contract address"] | |
450 | 450 | if ((cz == cz)) | |
451 | 451 | then [StringEntry(T(), cx), StringEntry(U(), makeString(cy, j))] | |
452 | 452 | else throw("Strict value is not equal to itself.") | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | ||
457 | 457 | @Callable(bh) | |
458 | 458 | func setManager (cA) = { | |
459 | 459 | let cr = bi(bh) | |
460 | 460 | if ((cr == cr)) | |
461 | 461 | then { | |
462 | 462 | let cB = fromBase58String(cA) | |
463 | 463 | if ((cB == cB)) | |
464 | 464 | then [StringEntry(Q(), cA)] | |
465 | 465 | else throw("Strict value is not equal to itself.") | |
466 | 466 | } | |
467 | 467 | else throw("Strict value is not equal to itself.") | |
468 | 468 | } | |
469 | 469 | ||
470 | 470 | ||
471 | 471 | ||
472 | 472 | @Callable(bh) | |
473 | 473 | func confirmManager () = { | |
474 | 474 | let cC = bd() | |
475 | 475 | let cD = if (isDefined(cC)) | |
476 | 476 | then true | |
477 | 477 | else throw("No pending manager") | |
478 | 478 | if ((cD == cD)) | |
479 | 479 | then { | |
480 | 480 | let cE = if ((bh.callerPublicKey == value(cC))) | |
481 | 481 | then true | |
482 | 482 | else throw("You are not pending manager") | |
483 | 483 | if ((cE == cE)) | |
484 | 484 | then [StringEntry(P(), toBase58String(value(cC))), DeleteEntry(Q())] | |
485 | 485 | else throw("Strict value is not equal to itself.") | |
486 | 486 | } | |
487 | 487 | else throw("Strict value is not equal to itself.") | |
488 | 488 | } | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(bh) | |
493 | 493 | func setAdmins (cF) = { | |
494 | 494 | let cr = bi(bh) | |
495 | 495 | if ((cr == cr)) | |
496 | 496 | then [StringEntry(R(), makeString(cF, j))] | |
497 | 497 | else throw("Strict value is not equal to itself.") | |
498 | 498 | } | |
499 | 499 | ||
500 | 500 | ||
501 | 501 | ||
502 | 502 | @Callable(bh) | |
503 | 503 | func activateNewPool (Z,bA,bB,cG,cH,cI,bH,cJ) = { | |
504 | 504 | let cr = bU(bh) | |
505 | 505 | if ((cr == cr)) | |
506 | 506 | then if (isDefined(getString(at(Z)))) | |
507 | 507 | then throw((("Pool address " + Z) + " already registered.")) | |
508 | 508 | else { | |
509 | 509 | let cK = bN(bA, 1) | |
510 | 510 | let cL = cK._1 | |
511 | 511 | let cM = bN(bB, if (cK._3) | |
512 | 512 | then 2 | |
513 | 513 | else 1) | |
514 | 514 | let cN = cM._1 | |
515 | 515 | let cO = valueOrErrorMessage(scriptHash(addressFromStringValue(Z)), ("No script has been found on pool account " + Z)) | |
516 | 516 | let cP = getBinaryValue(L()) | |
517 | 517 | let cQ = ca(bA, bB) | |
518 | 518 | if (cQ) | |
519 | 519 | then throw((((("Pool " + bA) + "/") + bB) + " has already been activated.")) | |
520 | 520 | else { | |
521 | 521 | let cR = value(getString(this, ag(toString(cL), toString(cN)))) | |
522 | 522 | let cS = if ((bA == "WAVES")) | |
523 | 523 | then i | |
524 | 524 | else pow(10, 0, value(assetInfo(fromBase58String(bA))).decimals, 0, 0, DOWN) | |
525 | 525 | let cT = if ((bB == "WAVES")) | |
526 | 526 | then i | |
527 | 527 | else pow(10, 0, value(assetInfo(fromBase58String(bB))).decimals, 0, 0, DOWN) | |
528 | 528 | let cU = Issue(cG, cH, 1, 8, true) | |
529 | 529 | let bz = calculateAssetId(cU) | |
530 | 530 | let cV = toBase58String(bz) | |
531 | 531 | let cW = invoke(addressFromStringValue(Z), "activate", [bA, bB], nil) | |
532 | 532 | if ((cW == cW)) | |
533 | 533 | then if ((cW != "success")) | |
534 | 534 | then throw("Pool initialisation error happened.") | |
535 | 535 | else { | |
536 | 536 | let cw = addressFromStringValue(aF(S())) | |
537 | 537 | let cX = invoke(cw, "createOrUpdate", [cV, cG, false], nil) | |
538 | 538 | if ((cX == cX)) | |
539 | 539 | then { | |
540 | 540 | let cY = invoke(cw, "addLabel", [cV, g], nil) | |
541 | 541 | if ((cY == cY)) | |
542 | 542 | then { | |
543 | 543 | let cZ = invoke(cw, "setLogo", [cV, cJ], nil) | |
544 | 544 | if ((cZ == cZ)) | |
545 | 545 | then { | |
546 | 546 | let da = invoke(cw, "addAssetsLink", [bA, bB, cV], nil) | |
547 | 547 | if ((da == da)) | |
548 | 548 | then { | |
549 | 549 | let db = invoke(cw, "increaseAssetPoolsNumber", [bA], nil) | |
550 | 550 | if ((db == db)) | |
551 | 551 | then $Tuple2(((cK._2 ++ cM._2) ++ [cU, Burn(bz, 1), StringEntry(ag(toString(cL), toString(cN)), bx(Z, toString(l), cV, bA, bB, cS, cT, cL, cN, i, bH)), StringEntry(an(cV), bI(cL, cN)), StringEntry(ap(toString(cL), toString(cN)), ("%s__" + cV)), StringEntry(at(Z), bI(cL, cN)), StringEntry(av(cL, cN), Z), StringEntry(ax(cV), Z), StringEntry(aw(Z), cV), IntegerEntry(Y(Z), cI), IntegerEntry(as(Z), h)]), cV) | |
552 | 552 | else throw("Strict value is not equal to itself.") | |
553 | 553 | } | |
554 | 554 | else throw("Strict value is not equal to itself.") | |
555 | 555 | } | |
556 | 556 | else throw("Strict value is not equal to itself.") | |
557 | 557 | } | |
558 | 558 | else throw("Strict value is not equal to itself.") | |
559 | 559 | } | |
560 | 560 | else throw("Strict value is not equal to itself.") | |
561 | 561 | } | |
562 | 562 | else throw("Strict value is not equal to itself.") | |
563 | 563 | } | |
564 | 564 | } | |
565 | 565 | else throw("Strict value is not equal to itself.") | |
566 | 566 | } | |
567 | 567 | ||
568 | 568 | ||
569 | 569 | ||
570 | 570 | @Callable(bh) | |
571 | 571 | func managePool (Z,dc) = { | |
572 | 572 | let cr = bi(bh) | |
573 | 573 | if ((cr == cr)) | |
574 | 574 | then { | |
575 | 575 | let dd = bL(Z) | |
576 | 576 | let by = dd[t] | |
577 | 577 | let cV = dd[u] | |
578 | 578 | let bA = dd[v] | |
579 | 579 | let bB = dd[w] | |
580 | 580 | let cS = parseIntValue(dd[x]) | |
581 | 581 | let cT = parseIntValue(dd[y]) | |
582 | 582 | let cL = parseIntValue(dd[z]) | |
583 | 583 | let cN = parseIntValue(dd[A]) | |
584 | 584 | let de = parseIntValue(dd[B]) | |
585 | 585 | let bH = dd[C] | |
586 | 586 | [StringEntry(ag(toString(cL), toString(cN)), bx(Z, toString(dc), cV, bA, bB, cS, cT, cL, cN, de, bH))] | |
587 | 587 | } | |
588 | 588 | else throw("Strict value is not equal to itself.") | |
589 | 589 | } | |
590 | 590 | ||
591 | 591 | ||
592 | 592 | ||
593 | 593 | @Callable(bh) | |
594 | 594 | func emit (df) = { | |
595 | 595 | let dg = bh.caller | |
596 | 596 | let dh = bh.originCaller | |
597 | 597 | let di = valueOrErrorMessage(getString(aw(toString(dg))), "Invalid LP address called me.") | |
598 | 598 | let dj = fromBase58String(di) | |
599 | 599 | let cv = split(valueOrElse(getString(O()), k), j) | |
600 | 600 | let cu = addressFromStringValue(valueOrErrorMessage(getString(N()), "Legacy factory contract does not exists.")) | |
601 | 601 | if ((0 >= df)) | |
602 | 602 | then nil | |
603 | 603 | else if (containsElement(cv, toString(dg))) | |
604 | 604 | then $Tuple2(nil, cu) | |
605 | 605 | else $Tuple2([Reissue(dj, df, true), ScriptTransfer(bh.caller, df, dj)], "success") | |
606 | 606 | } | |
607 | 607 | ||
608 | 608 | ||
609 | 609 | ||
610 | 610 | @Callable(bh) | |
611 | 611 | func burn (dk) = { | |
612 | 612 | let dg = bh.caller | |
613 | 613 | let dh = bh.originCaller | |
614 | 614 | let dl = value(bh.payments[0]) | |
615 | 615 | let dm = value(dl.amount) | |
616 | 616 | let dn = toBase58String(value(dl.assetId)) | |
617 | 617 | let do = valueOrErrorMessage(getString(aw(toString(dg))), "Invalid LP address called me.") | |
618 | 618 | if ((dn != do)) | |
619 | 619 | then throw("Invalid asset passed.") | |
620 | 620 | else if ((dk != dm)) | |
621 | 621 | then throw("Invalid amount passed.") | |
622 | 622 | else { | |
623 | 623 | let dj = fromBase58String(do) | |
624 | 624 | $Tuple2([Burn(dj, dk)], "success") | |
625 | 625 | } | |
626 | 626 | } | |
627 | 627 | ||
628 | 628 | ||
629 | 629 | ||
630 | 630 | @Callable(bh) | |
631 | 631 | func modifyWeight (bz,dp) = { | |
632 | 632 | let cr = if ((toBase58String(bh.caller.bytes) == valueOrElse(getString(this, T()), ""))) | |
633 | 633 | then true | |
634 | 634 | else bi(bh) | |
635 | 635 | if ((cr == cr)) | |
636 | 636 | then { | |
637 | 637 | let au = aF(ax(bz)) | |
638 | 638 | let dq = Y(au) | |
639 | 639 | let dr = Y(f) | |
640 | 640 | let ds = valueOrElse(getInteger(dr), 0) | |
641 | 641 | let cI = valueOrElse(getInteger(dq), 0) | |
642 | 642 | let dt = dp | |
643 | 643 | let aV = split(aF(J()), j) | |
644 | 644 | let cn = aX(aV) | |
645 | 645 | let du = invoke(cn, "onModifyWeight", [bz, au], nil) | |
646 | 646 | if ((du == du)) | |
647 | 647 | then { | |
648 | 648 | let dv = if ((ds == 0)) | |
649 | 649 | then nil | |
650 | 650 | else [IntegerEntry(dr, 0)] | |
651 | 651 | let dw = aa(au, 0) | |
652 | 652 | let dx = getInteger(dw) | |
653 | 653 | let dy = if ((dx == unit)) | |
654 | 654 | then nil | |
655 | 655 | else [DeleteEntry(dw)] | |
656 | 656 | (([IntegerEntry(dq, dt)] ++ dv) ++ dy) | |
657 | 657 | } | |
658 | 658 | else throw("Strict value is not equal to itself.") | |
659 | 659 | } | |
660 | 660 | else throw("Strict value is not equal to itself.") | |
661 | 661 | } | |
662 | 662 | ||
663 | 663 | ||
664 | 664 | ||
665 | 665 | @Callable(bh) | |
666 | 666 | func modifyWeights (dz,dA,dB,dC) = { | |
667 | 667 | let cr = bi(bh) | |
668 | 668 | if ((cr == cr)) | |
669 | 669 | then { | |
670 | 670 | let dD = ((5 * e) / 100) | |
671 | 671 | let dE = ((5 * e) / 100) | |
672 | 672 | let dF = ((5 * e) / 100) | |
673 | 673 | let aV = split(aF(J()), j) | |
674 | 674 | let dG = aX(aV) | |
675 | 675 | let dH = aY(aV) | |
676 | 676 | let dI = Y(dz) | |
677 | 677 | let dJ = Y(dA) | |
678 | 678 | let dK = Y(dB) | |
679 | 679 | let dL = Y(dC) | |
680 | 680 | let dM = aI(dI) | |
681 | 681 | let dN = aI(dJ) | |
682 | 682 | let dO = (dM - dF) | |
683 | 683 | let dP = (dN - dF) | |
684 | 684 | if ((0 >= dO)) | |
685 | 685 | then throw(("invalid btcWeightNew: " + toString(dO))) | |
686 | 686 | else if ((0 >= dP)) | |
687 | 687 | then throw(("invalid ethWeightNew: " + toString(dP))) | |
688 | 688 | else { | |
689 | 689 | let dQ = aF(aw(dz)) | |
690 | 690 | let dR = aF(aw(dA)) | |
691 | 691 | let dS = aF(aw(dB)) | |
692 | 692 | let dT = aF(aw(dC)) | |
693 | 693 | let dU = invoke(dG, "onModifyWeight", [dQ, dz], nil) | |
694 | 694 | if ((dU == dU)) | |
695 | 695 | then { | |
696 | 696 | let dV = invoke(dG, "onModifyWeight", [dR, dA], nil) | |
697 | 697 | if ((dV == dV)) | |
698 | 698 | then { | |
699 | 699 | let dW = invoke(dG, "onModifyWeight", [dS, dB], nil) | |
700 | 700 | if ((dW == dW)) | |
701 | 701 | then { | |
702 | 702 | let dX = invoke(dG, "onModifyWeight", [dT, dC], nil) | |
703 | 703 | if ((dX == dX)) | |
704 | 704 | then [IntegerEntry(dI, dO), IntegerEntry(dJ, dP), IntegerEntry(dK, dD), IntegerEntry(dL, dE), IntegerEntry(aa(dz, 0), dM), IntegerEntry(aa(dA, 0), dN), IntegerEntry(aa(dB, 0), dD), IntegerEntry(aa(dC, 0), dE)] | |
705 | 705 | else throw("Strict value is not equal to itself.") | |
706 | 706 | } | |
707 | 707 | else throw("Strict value is not equal to itself.") | |
708 | 708 | } | |
709 | 709 | else throw("Strict value is not equal to itself.") | |
710 | 710 | } | |
711 | 711 | else throw("Strict value is not equal to itself.") | |
712 | 712 | } | |
713 | 713 | } | |
714 | 714 | else throw("Strict value is not equal to itself.") | |
715 | 715 | } | |
716 | 716 | ||
717 | 717 | ||
718 | 718 | ||
719 | 719 | @Callable(bh) | |
720 | 720 | func checkWxEmissionPoolLabel (az,aA) = { | |
721 | 721 | let dY = { | |
722 | 722 | let ba = getBoolean(ay(az, aA)) | |
723 | 723 | if ($isInstanceOf(ba, "Boolean")) | |
724 | 724 | then { | |
725 | 725 | let dZ = ba | |
726 | 726 | dZ | |
727 | 727 | } | |
728 | 728 | else false | |
729 | 729 | } | |
730 | 730 | $Tuple2(nil, dY) | |
731 | 731 | } | |
732 | 732 | ||
733 | 733 | ||
734 | 734 | ||
735 | 735 | @Callable(bh) | |
736 | 736 | func setWxEmissionPoolLabel (az,aA) = { | |
737 | 737 | let cr = bU(bh) | |
738 | 738 | if ((cr == cr)) | |
739 | 739 | then $Tuple2([BooleanEntry(ay(az, aA), true)], unit) | |
740 | 740 | else throw("Strict value is not equal to itself.") | |
741 | 741 | } | |
742 | 742 | ||
743 | 743 | ||
744 | 744 | ||
745 | 745 | @Callable(bh) | |
746 | 746 | func deleteWxEmissionPoolLabel (az,aA) = { | |
747 | 747 | let cr = if (bg(bh)) | |
748 | 748 | then true | |
749 | 749 | else bU(bh) | |
750 | 750 | if ((cr == cr)) | |
751 | 751 | then $Tuple2([DeleteEntry(ay(az, aA))], unit) | |
752 | 752 | else throw("Strict value is not equal to itself.") | |
753 | 753 | } | |
754 | 754 | ||
755 | 755 | ||
756 | 756 | ||
757 | 757 | @Callable(bh) | |
758 | 758 | func onVerificationLoss (ea) = { | |
759 | 759 | let cr = if ((toBase58String(bh.caller.bytes) == valueOrElse(getString(this, S()), ""))) | |
760 | 760 | then true | |
761 | 761 | else bi(bh) | |
762 | 762 | if ((cr == cr)) | |
763 | 763 | then { | |
764 | 764 | let cy = aZ() | |
765 | 765 | let eb = if ((size(cy) > 0)) | |
766 | 766 | then true | |
767 | 767 | else throw("invalid price assets") | |
768 | 768 | if ((eb == eb)) | |
769 | 769 | then { | |
770 | 770 | func ec (ed,ee) = { | |
771 | 771 | let ef = invoke(this, "deleteWxEmissionPoolLabel", [ea, ee], nil) | |
772 | 772 | if ((ef == ef)) | |
773 | 773 | then unit | |
774 | 774 | else throw("Strict value is not equal to itself.") | |
775 | 775 | } | |
776 | 776 | ||
777 | 777 | let eg = { | |
778 | 778 | let eh = cy | |
779 | 779 | let ei = size(eh) | |
780 | 780 | let ej = unit | |
781 | 781 | func ek (el,em) = if ((em >= ei)) | |
782 | 782 | then el | |
783 | 783 | else ec(el, eh[em]) | |
784 | 784 | ||
785 | 785 | func en (el,em) = if ((em >= ei)) | |
786 | 786 | then el | |
787 | 787 | else throw("List size exceeds 1") | |
788 | 788 | ||
789 | 789 | en(ek(ej, 0), 1) | |
790 | 790 | } | |
791 | 791 | if ((eg == eg)) | |
792 | 792 | then $Tuple2(nil, unit) | |
793 | 793 | else throw("Strict value is not equal to itself.") | |
794 | 794 | } | |
795 | 795 | else throw("Strict value is not equal to itself.") | |
796 | 796 | } | |
797 | 797 | else throw("Strict value is not equal to itself.") | |
798 | 798 | } | |
799 | 799 | ||
800 | 800 | ||
801 | 801 | ||
802 | 802 | @Callable(bh) | |
803 | 803 | func isPoolOneTokenOperationsDisabledREADONLY (Z) = { | |
804 | 804 | let dd = bL(Z) | |
805 | 805 | let ak = $Tuple2(parseIntValue(dd[z]), parseIntValue(dd[A])) | |
806 | 806 | let eo = valueOrElse(getBoolean(aj(ak)), false) | |
807 | 807 | let ep = valueOrElse(getBoolean(am()), false) | |
808 | 808 | $Tuple2(nil, if (ep) | |
809 | 809 | then true | |
810 | 810 | else eo) | |
811 | 811 | } | |
812 | 812 | ||
813 | 813 | ||
814 | 814 | ||
815 | 815 | @Callable(bh) | |
816 | 816 | func getInFeeREADONLY (Z) = { | |
817 | 817 | let eq = bX(aB(Z), aC(), 0) | |
818 | 818 | $Tuple2(nil, eq) | |
819 | 819 | } | |
820 | 820 | ||
821 | 821 | ||
822 | 822 | ||
823 | 823 | @Callable(bh) | |
824 | 824 | func getOutFeeREADONLY (Z) = { | |
825 | 825 | let eq = bX(aD(Z), aE(), fraction(10, b, 10000)) | |
826 | 826 | $Tuple2(nil, eq) | |
827 | 827 | } | |
828 | 828 | ||
829 | 829 | ||
830 | 830 | ||
831 | 831 | @Callable(bh) | |
832 | 832 | func getPoolStatusREADONLY (Z) = { | |
833 | 833 | let bM = split(aF(at(Z)), j) | |
834 | 834 | let ah = bM[1] | |
835 | 835 | let ai = bM[2] | |
836 | 836 | let cd = split(aF(ag(ah, ai)), j) | |
837 | 837 | $Tuple2(nil, parseIntValue(cd[t])) | |
838 | 838 | } | |
839 | 839 | ||
840 | 840 | ||
841 | 841 | ||
842 | 842 | @Callable(bh) | |
843 | - | func getPoolConfigByLpAssetId (cV) = { | |
844 | - | let bM = split(aF(an(cV)), j) | |
845 | - | let ah = bM[1] | |
846 | - | let ai = bM[2] | |
847 | - | let cd = split(aF(ag(ah, ai)), j) | |
848 | - | $Tuple2(nil, cd) | |
849 | - | } | |
850 | - | ||
851 | - | ||
852 | - | ||
853 | - | @Callable(bh) | |
854 | 843 | func poolExistsREADONLY (az,aA) = $Tuple2(nil, ca(az, aA)) | |
855 | 844 | ||
856 | 845 | ||
857 | 846 | @Verifier(er) | |
858 | 847 | func es () = { | |
859 | 848 | let et = { | |
860 | 849 | let ba = bc() | |
861 | 850 | if ($isInstanceOf(ba, "ByteVector")) | |
862 | 851 | then { | |
863 | 852 | let bj = ba | |
864 | 853 | bj | |
865 | 854 | } | |
866 | 855 | else if ($isInstanceOf(ba, "Unit")) | |
867 | 856 | then er.senderPublicKey | |
868 | 857 | else throw("Match error") | |
869 | 858 | } | |
870 | 859 | sigVerify(er.bodyBytes, er.proofs[0], et) | |
871 | 860 | } | |
872 | 861 |
github/deemru/w8io/026f985 81.87 ms ◑