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