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