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