tx · 3i9ZTQ6pvbZsJDxZxhjcj1gQX7wrYfW2KvMgMxAsqXAq 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai: -0.01400000 Waves 2022.04.15 12:32 [2009491] smart account 3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai > SELF 0.00000000 Waves
{ "type": 13, "id": "3i9ZTQ6pvbZsJDxZxhjcj1gQX7wrYfW2KvMgMxAsqXAq", "fee": 1400000, "feeAssetId": null, "timestamp": 1650015173660, "version": 1, "sender": "3MsMP2pb2p8MDd6Rxb7XEXqqwEhE8ATfyai", "senderPublicKey": "2JEaBjtjvMoNGKZmL9QxYefa1VkMJM3vMW8rNvTs9R2H", "proofs": [ "EZWPQAa6kcKpjxcNY1fRaTc51NBRUWbyHvzvY3Ko3WaqPxq7pXEdBpaQgj4sHBtbfozeBto5wAaAh7YDqUS7YZK" ], "script": "base64:AAIFAAAAAAAAAEsIAhIKCggICAgICAgIARIDCgEIEgYKBAgICAgSBAoCCBgSAwoBCBIAEgkKBwgICAgIAQgSBAoCCAESAwoBARIDCgEBEgYKBAgICAgAAABNAAAAAAZTQ0FMRTgAAAAAAAAAAAgAAAAABU1VTFQ4AAAAAAAF9eEAAAAAAAdTQ0FMRTE4AAAAAAAAAAASAAAAAAZNVUxUMTgJAAE2AAAAAQAN4Lazp2QAAAAAAAAOUE9PTFdFSUdIVE1VTFQFAAAABU1VTFQ4AAAAAA5HV1h2aXJ0dWFsUE9PTAIAAAAOR1dYdmlydHVhbFBPT0wAAAAAEWRlY2ltYWxzTXVsdFByaWNlCQAAaAAAAAIJAABoAAAAAgAAAAAAAAAAZAAAAAAAAAAD6AAAAAAAAAAD6AAAAAADU0VQAgAAAAJfXwAAAAAFRU1QVFkCAAAAAAAAAAAKUG9vbEFjdGl2ZQAAAAAAAAAAAQAAAAAPUG9vbFB1dERpc2FibGVkAAAAAAAAAAACAAAAABNQb29sTWF0Y2hlckRpc2FibGVkAAAAAAAAAAADAAAAAAxQb29s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IFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tlefRwFQc=", "chainId": 84, "height": 2009491, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BsnEuXkxQoZRRmJ1akxP5c3M81rPatzbB78FzzvKBqqJ Next: CN4sDsfc51TABLKSWNPuWtCrFD6MfxDpeEqAWC7npzjC Diff:
Old | New | Differences | |
---|---|---|---|
79 | 79 | func I () = "%s__pendingManagerPublicKey" | |
80 | 80 | ||
81 | 81 | ||
82 | - | func J () = "%s__ | |
82 | + | func J () = "%s__priceDecimals" | |
83 | 83 | ||
84 | 84 | ||
85 | - | func K () = "%s__ | |
85 | + | func K () = "%s__shutdown" | |
86 | 86 | ||
87 | 87 | ||
88 | - | func L () = "%s__ | |
88 | + | func L () = "%s__nextInternalAssetId" | |
89 | 89 | ||
90 | 90 | ||
91 | - | func M () = "%s__ | |
91 | + | func M (N) = ("%s%s__poolWeight__" + N) | |
92 | 92 | ||
93 | 93 | ||
94 | - | func | |
94 | + | func O (N,P) = ((("%s%s__poolWeight__" + N) + "__") + toString(P)) | |
95 | 95 | ||
96 | 96 | ||
97 | - | func | |
97 | + | func Q (R) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(R)) | |
98 | 98 | ||
99 | 99 | ||
100 | - | func | |
100 | + | func S (T) = ("%s%s%s__mappings__baseAsset2internalId__" + T) | |
101 | 101 | ||
102 | 102 | ||
103 | - | func | |
103 | + | func U (V,W) = (((("%d%d%s__" + V) + "__") + W) + "__config") | |
104 | 104 | ||
105 | 105 | ||
106 | - | func | |
106 | + | func X (Y) = (("%s%s%s__" + Y) + "__mappings__lpAsset2Pool") | |
107 | 107 | ||
108 | 108 | ||
109 | - | func | |
109 | + | func Z (aa,ab) = (((("%d%d%s%s__" + aa) + "__") + ab) + "__mappings__PoolAssets2LpAsset") | |
110 | 110 | ||
111 | 111 | ||
112 | - | func | |
112 | + | func ac (ad) = (("%s%s%s__" + ad) + "__mappings__poolContract2PoolAssets") | |
113 | 113 | ||
114 | 114 | ||
115 | - | func | |
115 | + | func ae (aa,ab) = (((("%d%d%s%s__" + toString(aa)) + "__") + toString(ab)) + "__mappings__poolAssets2PoolContract") | |
116 | 116 | ||
117 | 117 | ||
118 | - | func | |
118 | + | func af (ad) = (("%s%s%s__" + ad) + "__mappings__poolContract2LpAsset") | |
119 | 119 | ||
120 | 120 | ||
121 | - | func ag ( | |
121 | + | func ag (Y) = (("%s%s%s__" + Y) + "__mappings__lpAsset2PoolContract") | |
122 | 122 | ||
123 | 123 | ||
124 | - | func ah ( | |
124 | + | func ah (ai) = valueOrErrorMessage(getString(this, ai), ("No data for this.key=" + ai)) | |
125 | 125 | ||
126 | 126 | ||
127 | - | func | |
127 | + | func aj (ai) = valueOrErrorMessage(getBoolean(this, ai), ("No data for this.key=" + ai)) | |
128 | 128 | ||
129 | 129 | ||
130 | - | func | |
130 | + | func ak (ai) = valueOrErrorMessage(getInteger(this, ai), ("No data for this.key=" + ai)) | |
131 | 131 | ||
132 | 132 | ||
133 | - | func al (ak) = valueOrErrorMessage(getBoolean(this, ak), ("No data for this.key=" + ak)) | |
133 | + | let al = 1 | |
134 | + | ||
135 | + | let am = 2 | |
136 | + | ||
137 | + | let an = 3 | |
138 | + | ||
139 | + | let ao = 4 | |
140 | + | ||
141 | + | let ap = 5 | |
142 | + | ||
143 | + | let aq = 6 | |
144 | + | ||
145 | + | let ar = 7 | |
146 | + | ||
147 | + | let as = 8 | |
148 | + | ||
149 | + | let at = 9 | |
150 | + | ||
151 | + | let au = 10 | |
152 | + | ||
153 | + | let av = 11 | |
154 | + | ||
155 | + | func aw (ax) = addressFromStringValue(ax[am]) | |
134 | 156 | ||
135 | 157 | ||
136 | - | func | |
158 | + | func ay (ax) = addressFromStringValue(ax[ap]) | |
137 | 159 | ||
138 | 160 | ||
139 | - | let an = 1 | |
140 | - | ||
141 | - | let ao = 2 | |
142 | - | ||
143 | - | let ap = 3 | |
144 | - | ||
145 | - | let aq = 4 | |
146 | - | ||
147 | - | let ar = 5 | |
148 | - | ||
149 | - | let as = 6 | |
150 | - | ||
151 | - | let at = 7 | |
152 | - | ||
153 | - | let au = 8 | |
154 | - | ||
155 | - | let av = 9 | |
156 | - | ||
157 | - | let aw = 10 | |
158 | - | ||
159 | - | let ax = 11 | |
160 | - | ||
161 | - | func ay (az) = addressFromStringValue(az[ao]) | |
161 | + | func az (ax) = addressFromStringValue(ax[al]) | |
162 | 162 | ||
163 | 163 | ||
164 | - | func aA ( | |
164 | + | func aA (ax) = addressFromStringValue(ax[au]) | |
165 | 165 | ||
166 | 166 | ||
167 | - | func aB (az) = addressFromStringValue(az[an]) | |
168 | - | ||
169 | - | ||
170 | - | func aC (az) = addressFromStringValue(az[aw]) | |
171 | - | ||
172 | - | ||
173 | - | func aD () = { | |
174 | - | let aE = getString(H()) | |
175 | - | if ($isInstanceOf(aE, "String")) | |
167 | + | func aB () = { | |
168 | + | let aC = getString(H()) | |
169 | + | if ($isInstanceOf(aC, "String")) | |
176 | 170 | then { | |
177 | - | let | |
178 | - | fromBase58String( | |
171 | + | let aD = aC | |
172 | + | fromBase58String(aD) | |
179 | 173 | } | |
180 | - | else if ($isInstanceOf( | |
174 | + | else if ($isInstanceOf(aC, "Unit")) | |
181 | 175 | then unit | |
182 | 176 | else throw("Match error") | |
183 | 177 | } | |
184 | 178 | ||
185 | 179 | ||
186 | - | func | |
187 | - | let | |
188 | - | if ($isInstanceOf( | |
180 | + | func aE () = { | |
181 | + | let aC = getString(I()) | |
182 | + | if ($isInstanceOf(aC, "String")) | |
189 | 183 | then { | |
190 | - | let | |
191 | - | fromBase58String( | |
184 | + | let aD = aC | |
185 | + | fromBase58String(aD) | |
192 | 186 | } | |
193 | - | else if ($isInstanceOf( | |
187 | + | else if ($isInstanceOf(aC, "Unit")) | |
194 | 188 | then unit | |
195 | 189 | else throw("Match error") | |
196 | 190 | } | |
197 | 191 | ||
198 | 192 | ||
199 | - | func | |
200 | - | let | |
201 | - | let | |
202 | - | if ($isInstanceOf( | |
193 | + | func aF (aG) = { | |
194 | + | let aH = throw("Permission denied") | |
195 | + | let aC = aB() | |
196 | + | if ($isInstanceOf(aC, "ByteVector")) | |
203 | 197 | then { | |
204 | - | let | |
205 | - | if (( | |
198 | + | let aI = aC | |
199 | + | if ((aG.callerPublicKey == aI)) | |
206 | 200 | then true | |
207 | - | else | |
201 | + | else aH | |
208 | 202 | } | |
209 | - | else if ($isInstanceOf( | |
210 | - | then if (( | |
203 | + | else if ($isInstanceOf(aC, "Unit")) | |
204 | + | then if ((aG.caller == this)) | |
211 | 205 | then true | |
212 | - | else | |
206 | + | else aH | |
213 | 207 | else throw("Match error") | |
214 | 208 | } | |
215 | 209 | ||
216 | 210 | ||
217 | - | func | |
211 | + | func aJ (aK,aL,aM,aN,aO,aP,aQ,aR,aS,aT,aU) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU], h) | |
218 | 212 | ||
219 | 213 | ||
220 | - | func | |
214 | + | func aV (aK,aL,aM,aN,aO,aP,aQ) = makeString(["%s%s%s%s%s%s", aK, aL, aM, aN, aO, aP, aQ], h) | |
221 | 215 | ||
222 | 216 | ||
223 | - | func | |
217 | + | func aW (N,aX,aY,aZ,ba,bb,bc,bd,be,bf,bg) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", N, aX, aY, aZ, ba, toString(bb), toString(bc), toString(bd), toString(be), toString(bf), bg], h) | |
224 | 218 | ||
225 | 219 | ||
226 | - | func | |
220 | + | func bh (bi,bj) = makeString(["%d%d", toString(bi), toString(bj)], h) | |
227 | 221 | ||
228 | 222 | ||
229 | - | func | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | split( | |
223 | + | func bk (N) = { | |
224 | + | let bl = split(ah(ac(N)), h) | |
225 | + | let V = bl[1] | |
226 | + | let W = bl[2] | |
227 | + | split(ah(U(V, W)), h) | |
234 | 228 | } | |
235 | 229 | ||
236 | 230 | ||
237 | - | func | |
238 | - | let | |
239 | - | let | |
240 | - | let | |
231 | + | func bm (bn,bo) = { | |
232 | + | let bp = valueOrElse(getInteger(this, S(bn)), 0) | |
233 | + | let bq = valueOrElse(getInteger(this, L()), 0) | |
234 | + | let br = if ((bp == 0)) | |
241 | 235 | then { | |
242 | - | let | |
243 | - | $Tuple3( | |
236 | + | let bs = (bq + bo) | |
237 | + | $Tuple3(bs, [IntegerEntry(L(), bs), IntegerEntry(S(bn), bs), StringEntry(Q(bs), bn)], true) | |
244 | 238 | } | |
245 | - | else $Tuple3( | |
246 | - | | |
239 | + | else $Tuple3(bp, nil, false) | |
240 | + | br | |
247 | 241 | } | |
248 | 242 | ||
249 | 243 | ||
250 | - | func | |
251 | - | let | |
252 | - | if (isDefined( | |
253 | - | then ((value( | |
254 | - | else | |
244 | + | func bt (bu) = { | |
245 | + | let bv = getString(this, C()) | |
246 | + | if (isDefined(bv)) | |
247 | + | then ((value(bv) + h) + bu) | |
248 | + | else bu | |
255 | 249 | } | |
256 | 250 | ||
257 | 251 | ||
258 | - | func by (aI) = { | |
259 | - | let bz = split(valueOrElse(getString(J()), i), h) | |
260 | - | if (containsElement(bz, toBase58String(aI.callerPublicKey))) | |
261 | - | then true | |
262 | - | else { | |
263 | - | let bA = aH(aI) | |
264 | - | if ((bA == bA)) | |
265 | - | then true | |
266 | - | else throw("Strict value is not equal to itself.") | |
267 | - | } | |
268 | - | } | |
269 | - | ||
270 | - | ||
271 | - | @Callable(aI) | |
272 | - | func constructor (bB,bC,aO,aP,aQ,aR,bD,bE) = { | |
273 | - | let bF = aH(aI) | |
274 | - | if ((bF == bF)) | |
275 | - | then [StringEntry(B(), aX(bB, bC, aO, aP, aQ, aR, bD)), IntegerEntry(L(), bE)] | |
252 | + | @Callable(aG) | |
253 | + | func constructor (bw,bx,aM,aN,aO,aP,by,bz) = { | |
254 | + | let bA = aF(aG) | |
255 | + | if ((bA == bA)) | |
256 | + | then [StringEntry(B(), aV(bw, bx, aM, aN, aO, aP, by)), IntegerEntry(J(), bz)] | |
276 | 257 | else throw("Strict value is not equal to itself.") | |
277 | 258 | } | |
278 | 259 | ||
279 | 260 | ||
280 | 261 | ||
281 | - | @Callable( | |
282 | - | func constructorV2 ( | |
283 | - | let | |
284 | - | if (( | |
262 | + | @Callable(aG) | |
263 | + | func constructorV2 (bB) = { | |
264 | + | let bA = aF(aG) | |
265 | + | if ((bA == bA)) | |
285 | 266 | then { | |
286 | - | let | |
287 | - | if (( | |
288 | - | then [StringEntry(E(), | |
267 | + | let bC = addressFromPublicKey(fromBase58String(bB)) | |
268 | + | if ((bC == bC)) | |
269 | + | then [StringEntry(E(), bB)] | |
289 | 270 | else throw("Strict value is not equal to itself.") | |
290 | 271 | } | |
291 | 272 | else throw("Strict value is not equal to itself.") | |
293 | 274 | ||
294 | 275 | ||
295 | 276 | ||
296 | - | @Callable( | |
297 | - | func constructorV3 (aT,aU | |
298 | - | let | |
299 | - | if (( | |
277 | + | @Callable(aG) | |
278 | + | func constructorV3 (aR,aS,aT,aU) = { | |
279 | + | let bA = aF(aG) | |
280 | + | if ((bA == bA)) | |
300 | 281 | then { | |
301 | - | let | |
302 | - | [StringEntry(B(), | |
282 | + | let ax = split(ah(B()), h) | |
283 | + | [StringEntry(B(), aJ(ax[1], ax[2], ax[3], ax[4], ax[5], ax[6], ax[7], aR, aS, aT, aU))] | |
303 | 284 | } | |
304 | 285 | else throw("Strict value is not equal to itself.") | |
305 | 286 | } | |
306 | 287 | ||
307 | 288 | ||
308 | 289 | ||
309 | - | @Callable( | |
310 | - | func constructorV4 ( | |
311 | - | let | |
312 | - | if (( | |
313 | - | then [StringEntry(F(), | |
290 | + | @Callable(aG) | |
291 | + | func constructorV4 (bD,bE) = { | |
292 | + | let bA = aF(aG) | |
293 | + | if ((bA == bA)) | |
294 | + | then [StringEntry(F(), bD), StringEntry(G(), makeString(bE, h))] | |
314 | 295 | else throw("Strict value is not equal to itself.") | |
315 | 296 | } | |
316 | 297 | ||
317 | 298 | ||
318 | 299 | ||
319 | - | @Callable(aI) | |
320 | - | func constructorV5 (bK) = { | |
321 | - | let bF = aH(aI) | |
322 | - | if ((bF == bF)) | |
323 | - | then [StringEntry(K(), bK)] | |
324 | - | else throw("Strict value is not equal to itself.") | |
325 | - | } | |
326 | - | ||
327 | - | ||
328 | - | ||
329 | - | @Callable(aI) | |
330 | - | func setManager (bL) = { | |
331 | - | let bF = aH(aI) | |
332 | - | if ((bF == bF)) | |
300 | + | @Callable(aG) | |
301 | + | func setManager (bF) = { | |
302 | + | let bA = aF(aG) | |
303 | + | if ((bA == bA)) | |
333 | 304 | then { | |
334 | - | let | |
335 | - | if (( | |
336 | - | then [StringEntry(I(), | |
305 | + | let bG = fromBase58String(bF) | |
306 | + | if ((bG == bG)) | |
307 | + | then [StringEntry(I(), bF)] | |
337 | 308 | else throw("Strict value is not equal to itself.") | |
338 | 309 | } | |
339 | 310 | else throw("Strict value is not equal to itself.") | |
341 | 312 | ||
342 | 313 | ||
343 | 314 | ||
344 | - | @Callable( | |
315 | + | @Callable(aG) | |
345 | 316 | func confirmManager () = { | |
346 | - | let | |
347 | - | let | |
317 | + | let bH = aE() | |
318 | + | let bI = if (isDefined(bH)) | |
348 | 319 | then true | |
349 | 320 | else throw("No pending manager") | |
350 | - | if (( | |
321 | + | if ((bI == bI)) | |
351 | 322 | then { | |
352 | - | let | |
323 | + | let bJ = if ((aG.callerPublicKey == value(bH))) | |
353 | 324 | then true | |
354 | 325 | else throw("You are not pending manager") | |
355 | - | if (( | |
356 | - | then [StringEntry(H(), toBase58String(value( | |
326 | + | if ((bJ == bJ)) | |
327 | + | then [StringEntry(H(), toBase58String(value(bH))), DeleteEntry(I())] | |
357 | 328 | else throw("Strict value is not equal to itself.") | |
358 | 329 | } | |
359 | 330 | else throw("Strict value is not equal to itself.") | |
361 | 332 | ||
362 | 333 | ||
363 | 334 | ||
364 | - | @Callable(aI) | |
365 | - | func setAdmins (bQ) = { | |
366 | - | let bF = aH(aI) | |
367 | - | if ((bF == bF)) | |
368 | - | then [StringEntry(J(), makeString(bQ, h))] | |
369 | - | else throw("Strict value is not equal to itself.") | |
370 | - | } | |
371 | - | ||
372 | - | ||
373 | - | ||
374 | - | @Callable(aI) | |
375 | - | func activateNewPool (P,bb,bc,bR,bS,bT,bi) = { | |
376 | - | let bF = by(aI) | |
377 | - | if ((bF == bF)) | |
378 | - | then if (isDefined(getString(ae(P)))) | |
379 | - | then throw((("Pool address " + P) + " already registered.")) | |
335 | + | @Callable(aG) | |
336 | + | func activateNewPool (N,aZ,ba,bK,bL,bM,bg) = { | |
337 | + | let bA = aF(aG) | |
338 | + | if ((bA == bA)) | |
339 | + | then if (isDefined(getString(ac(N)))) | |
340 | + | then throw((("Pool address " + N) + " already registered.")) | |
380 | 341 | else { | |
381 | - | let | |
382 | - | let | |
383 | - | let | |
342 | + | let bN = bm(aZ, 1) | |
343 | + | let bO = bN._1 | |
344 | + | let bP = bm(ba, if (bN._3) | |
384 | 345 | then 2 | |
385 | 346 | else 1) | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | if (isDefined( | |
391 | - | then throw((((("Pool " + | |
347 | + | let bQ = bP._1 | |
348 | + | let bR = valueOrErrorMessage(scriptHash(addressFromStringValue(N)), ("No script has been found on pool account " + N)) | |
349 | + | let bS = getBinaryValue(D()) | |
350 | + | let bT = getString(this, U(toString(bO), toString(bQ))) | |
351 | + | if (isDefined(bT)) | |
352 | + | then throw((((("Pool " + aZ) + "/") + ba) + " has already been activated.")) | |
392 | 353 | else { | |
393 | - | let | |
394 | - | let | |
354 | + | let bU = value(getString(this, U(toString(bO), toString(bQ)))) | |
355 | + | let bV = if ((aZ == "WAVES")) | |
395 | 356 | then g | |
396 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
397 | - | let | |
357 | + | else pow(10, 0, value(assetInfo(fromBase58String(aZ))).decimals, 0, 0, DOWN) | |
358 | + | let bW = if ((ba == "WAVES")) | |
398 | 359 | then g | |
399 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | if (( | |
405 | - | then if (( | |
360 | + | else pow(10, 0, value(assetInfo(fromBase58String(ba))).decimals, 0, 0, DOWN) | |
361 | + | let bX = Issue(bK, bL, 1, 8, true) | |
362 | + | let aY = calculateAssetId(bX) | |
363 | + | let bY = toBase58String(aY) | |
364 | + | let bZ = invoke(addressFromStringValue(N), "activate", [aZ, ba], nil) | |
365 | + | if ((bZ == bZ)) | |
366 | + | then if ((bZ != "success")) | |
406 | 367 | then throw("Pool initialisation error happened.") | |
407 | - | else { | |
408 | - | let bK = addressFromStringValue(aj(K())) | |
409 | - | let ch = invoke(bK, "addAssetsLink", [bb, bc, cf], nil) | |
410 | - | if ((ch == ch)) | |
411 | - | then { | |
412 | - | let ci = invoke(bK, "increaseAssetPoolsNumber", [bb], nil) | |
413 | - | if ((ci == ci)) | |
414 | - | then $Tuple2(((bU._2 ++ bW._2) ++ [ce, Burn(ba, 1), StringEntry(W(toString(bV), toString(bX)), aY(P, toString(j), cf, bb, bc, cc, cd, bV, bX, g, bi)), StringEntry(Z(cf), bj(bV, bX)), StringEntry(ab(toString(bV), toString(bX)), ("%s__" + cf)), StringEntry(ae(P), bj(bV, bX)), StringEntry(ag(bV, bX), P), StringEntry(ai(cf), P), StringEntry(ah(P), cf), IntegerEntry(O(P), bT), StringEntry(C(), bv(cf))]), cf) | |
415 | - | else throw("Strict value is not equal to itself.") | |
416 | - | } | |
417 | - | else throw("Strict value is not equal to itself.") | |
418 | - | } | |
368 | + | else $Tuple2(((bN._2 ++ bP._2) ++ [bX, Burn(aY, 1), StringEntry(U(toString(bO), toString(bQ)), aW(N, toString(j), bY, aZ, ba, bV, bW, bO, bQ, g, bg)), StringEntry(X(bY), bh(bO, bQ)), StringEntry(Z(toString(bO), toString(bQ)), ("%s__" + bY)), StringEntry(ac(N), bh(bO, bQ)), StringEntry(ae(bO, bQ), N), StringEntry(ag(bY), N), StringEntry(af(N), bY), IntegerEntry(M(N), bM), StringEntry(C(), bt(bY))]), "success") | |
419 | 369 | else throw("Strict value is not equal to itself.") | |
420 | 370 | } | |
421 | 371 | } | |
424 | 374 | ||
425 | 375 | ||
426 | 376 | ||
427 | - | @Callable( | |
428 | - | func managePool ( | |
429 | - | let | |
430 | - | if (( | |
377 | + | @Callable(aG) | |
378 | + | func managePool (N,ca) = { | |
379 | + | let bA = aF(aG) | |
380 | + | if ((bA == bA)) | |
431 | 381 | then { | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
438 | - | let | |
439 | - | let | |
440 | - | let | |
441 | - | let | |
442 | - | let | |
443 | - | [StringEntry( | |
382 | + | let bT = bk(N) | |
383 | + | let aX = bT[r] | |
384 | + | let bY = bT[s] | |
385 | + | let aZ = bT[t] | |
386 | + | let ba = bT[u] | |
387 | + | let bV = parseIntValue(bT[v]) | |
388 | + | let bW = parseIntValue(bT[w]) | |
389 | + | let bO = parseIntValue(bT[x]) | |
390 | + | let bQ = parseIntValue(bT[y]) | |
391 | + | let cb = parseIntValue(bT[z]) | |
392 | + | let bg = bT[A] | |
393 | + | [StringEntry(U(toString(bO), toString(bQ)), aW(N, toString(ca), bY, aZ, ba, bV, bW, bO, bQ, cb, bg))] | |
444 | 394 | } | |
445 | 395 | else throw("Strict value is not equal to itself.") | |
446 | 396 | } | |
447 | 397 | ||
448 | 398 | ||
449 | 399 | ||
450 | - | @Callable( | |
451 | - | func emit ( | |
452 | - | let | |
453 | - | let | |
454 | - | let | |
455 | - | let | |
456 | - | let | |
457 | - | let | |
458 | - | if ((0 >= | |
400 | + | @Callable(aG) | |
401 | + | func emit (cc) = { | |
402 | + | let cd = aG.caller | |
403 | + | let ce = aG.originCaller | |
404 | + | let cf = valueOrErrorMessage(getString(af(toString(cd))), "Invalid LP address called me.") | |
405 | + | let cg = fromBase58String(cf) | |
406 | + | let bE = split(valueOrElse(getString(G()), i), h) | |
407 | + | let bD = addressFromStringValue(valueOrErrorMessage(getString(F()), "Legacy factory contract does not exists.")) | |
408 | + | if ((0 >= cc)) | |
459 | 409 | then nil | |
460 | - | else if (containsElement( | |
461 | - | then $Tuple2(nil, | |
462 | - | else $Tuple2([Reissue( | |
410 | + | else if (containsElement(bE, toString(cd))) | |
411 | + | then $Tuple2(nil, bD) | |
412 | + | else $Tuple2([Reissue(cg, cc, true), ScriptTransfer(aG.caller, cc, cg)], "success") | |
463 | 413 | } | |
464 | 414 | ||
465 | 415 | ||
466 | 416 | ||
467 | - | @Callable( | |
468 | - | func burn ( | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | if (( | |
417 | + | @Callable(aG) | |
418 | + | func burn (ch) = { | |
419 | + | let cd = aG.caller | |
420 | + | let ce = aG.originCaller | |
421 | + | let ci = value(aG.payments[0]) | |
422 | + | let cj = value(ci.amount) | |
423 | + | let ck = toBase58String(value(ci.assetId)) | |
424 | + | let cl = valueOrErrorMessage(getString(af(toString(cd))), "Invalid LP address called me.") | |
425 | + | if ((ck != cl)) | |
476 | 426 | then throw("Invalid asset passed.") | |
477 | - | else if (( | |
427 | + | else if ((ch != cj)) | |
478 | 428 | then throw("Invalid amount passed.") | |
479 | 429 | else { | |
480 | - | let | |
481 | - | $Tuple2([Burn( | |
430 | + | let cg = fromBase58String(cl) | |
431 | + | $Tuple2([Burn(cg, ch)], "success") | |
482 | 432 | } | |
483 | 433 | } | |
484 | 434 | ||
485 | 435 | ||
486 | 436 | ||
487 | - | @Callable( | |
488 | - | func modifyWeights ( | |
489 | - | let | |
490 | - | if (( | |
437 | + | @Callable(aG) | |
438 | + | func modifyWeights (cm,cn,co,cp) = { | |
439 | + | let bA = aF(aG) | |
440 | + | if ((bA == bA)) | |
491 | 441 | then { | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | let | |
496 | - | let | |
497 | - | let | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | let | |
504 | - | let | |
505 | - | let | |
506 | - | if ((0 >= | |
507 | - | then throw(("invalid btcWeightNew: " + toString( | |
508 | - | else if ((0 >= | |
509 | - | then throw(("invalid ethWeightNew: " + toString( | |
442 | + | let cq = ((5 * e) / 100) | |
443 | + | let cr = ((5 * e) / 100) | |
444 | + | let cs = ((5 * e) / 100) | |
445 | + | let ax = split(ah(B()), h) | |
446 | + | let ct = az(ax) | |
447 | + | let cu = aA(ax) | |
448 | + | let cv = M(cm) | |
449 | + | let cw = M(cn) | |
450 | + | let cx = M(co) | |
451 | + | let cy = M(cp) | |
452 | + | let cz = ak(cv) | |
453 | + | let cA = ak(cw) | |
454 | + | let cB = (cz - cs) | |
455 | + | let cC = (cA - cs) | |
456 | + | if ((0 >= cB)) | |
457 | + | then throw(("invalid btcWeightNew: " + toString(cB))) | |
458 | + | else if ((0 >= cC)) | |
459 | + | then throw(("invalid ethWeightNew: " + toString(cC))) | |
510 | 460 | else { | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | if (( | |
461 | + | let cD = ah(af(cm)) | |
462 | + | let cE = ah(af(cn)) | |
463 | + | let cF = ah(af(co)) | |
464 | + | let cG = ah(af(cp)) | |
465 | + | let cH = invoke(ct, "onModifyWeight", [cD, cm], nil) | |
466 | + | if ((cH == cH)) | |
517 | 467 | then { | |
518 | - | let | |
519 | - | if (( | |
468 | + | let cI = invoke(ct, "onModifyWeight", [cE, cn], nil) | |
469 | + | if ((cI == cI)) | |
520 | 470 | then { | |
521 | - | let | |
522 | - | if (( | |
471 | + | let cJ = invoke(ct, "onModifyWeight", [cF, co], nil) | |
472 | + | if ((cJ == cJ)) | |
523 | 473 | then { | |
524 | - | let | |
525 | - | if (( | |
526 | - | then [IntegerEntry( | |
474 | + | let cK = invoke(ct, "onModifyWeight", [cG, cp], nil) | |
475 | + | if ((cK == cK)) | |
476 | + | then [IntegerEntry(cv, cB), IntegerEntry(cw, cC), IntegerEntry(cx, cq), IntegerEntry(cy, cr), IntegerEntry(O(cm, 0), cz), IntegerEntry(O(cn, 0), cA), IntegerEntry(O(co, 0), cq), IntegerEntry(O(cp, 0), cr)] | |
527 | 477 | else throw("Strict value is not equal to itself.") | |
528 | 478 | } | |
529 | 479 | else throw("Strict value is not equal to itself.") | |
537 | 487 | } | |
538 | 488 | ||
539 | 489 | ||
540 | - | @Verifier( | |
541 | - | func | |
542 | - | let | |
543 | - | let | |
544 | - | if ($isInstanceOf( | |
490 | + | @Verifier(cL) | |
491 | + | func cM () = { | |
492 | + | let cN = { | |
493 | + | let aC = aB() | |
494 | + | if ($isInstanceOf(aC, "ByteVector")) | |
545 | 495 | then { | |
546 | - | let | |
547 | - | | |
496 | + | let aI = aC | |
497 | + | aI | |
548 | 498 | } | |
549 | - | else if ($isInstanceOf( | |
550 | - | then | |
499 | + | else if ($isInstanceOf(aC, "Unit")) | |
500 | + | then cL.senderPublicKey | |
551 | 501 | else throw("Match error") | |
552 | 502 | } | |
553 | - | sigVerify( | |
503 | + | sigVerify(cL.bodyBytes, cL.proofs[0], cN) | |
554 | 504 | } | |
555 | 505 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
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 = ((100 * 1000) * 1000) | |
17 | 17 | ||
18 | 18 | let h = "__" | |
19 | 19 | ||
20 | 20 | let i = "" | |
21 | 21 | ||
22 | 22 | let j = 1 | |
23 | 23 | ||
24 | 24 | let k = 2 | |
25 | 25 | ||
26 | 26 | let l = 3 | |
27 | 27 | ||
28 | 28 | let m = 4 | |
29 | 29 | ||
30 | 30 | let n = 1 | |
31 | 31 | ||
32 | 32 | let o = 2 | |
33 | 33 | ||
34 | 34 | let p = 3 | |
35 | 35 | ||
36 | 36 | let q = 1 | |
37 | 37 | ||
38 | 38 | let r = 2 | |
39 | 39 | ||
40 | 40 | let s = 3 | |
41 | 41 | ||
42 | 42 | let t = 4 | |
43 | 43 | ||
44 | 44 | let u = 5 | |
45 | 45 | ||
46 | 46 | let v = 6 | |
47 | 47 | ||
48 | 48 | let w = 7 | |
49 | 49 | ||
50 | 50 | let x = 8 | |
51 | 51 | ||
52 | 52 | let y = 9 | |
53 | 53 | ||
54 | 54 | let z = 10 | |
55 | 55 | ||
56 | 56 | let A = 11 | |
57 | 57 | ||
58 | 58 | func B () = "%s__factoryConfig" | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func C () = "%s__lpTokensList" | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func D () = "%s%s__pool__scriptHash" | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func E () = "%s%s__matcher__publicKey" | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func F () = "%s__legacyFactoryContract" | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func G () = "%s__legacyPools" | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func H () = "%s__managerPublicKey" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func I () = "%s__pendingManagerPublicKey" | |
80 | 80 | ||
81 | 81 | ||
82 | - | func J () = "%s__ | |
82 | + | func J () = "%s__priceDecimals" | |
83 | 83 | ||
84 | 84 | ||
85 | - | func K () = "%s__ | |
85 | + | func K () = "%s__shutdown" | |
86 | 86 | ||
87 | 87 | ||
88 | - | func L () = "%s__ | |
88 | + | func L () = "%s__nextInternalAssetId" | |
89 | 89 | ||
90 | 90 | ||
91 | - | func M () = "%s__ | |
91 | + | func M (N) = ("%s%s__poolWeight__" + N) | |
92 | 92 | ||
93 | 93 | ||
94 | - | func | |
94 | + | func O (N,P) = ((("%s%s__poolWeight__" + N) + "__") + toString(P)) | |
95 | 95 | ||
96 | 96 | ||
97 | - | func | |
97 | + | func Q (R) = ("%s%s%d__mappings__internal2baseAssetId__" + toString(R)) | |
98 | 98 | ||
99 | 99 | ||
100 | - | func | |
100 | + | func S (T) = ("%s%s%s__mappings__baseAsset2internalId__" + T) | |
101 | 101 | ||
102 | 102 | ||
103 | - | func | |
103 | + | func U (V,W) = (((("%d%d%s__" + V) + "__") + W) + "__config") | |
104 | 104 | ||
105 | 105 | ||
106 | - | func | |
106 | + | func X (Y) = (("%s%s%s__" + Y) + "__mappings__lpAsset2Pool") | |
107 | 107 | ||
108 | 108 | ||
109 | - | func | |
109 | + | func Z (aa,ab) = (((("%d%d%s%s__" + aa) + "__") + ab) + "__mappings__PoolAssets2LpAsset") | |
110 | 110 | ||
111 | 111 | ||
112 | - | func | |
112 | + | func ac (ad) = (("%s%s%s__" + ad) + "__mappings__poolContract2PoolAssets") | |
113 | 113 | ||
114 | 114 | ||
115 | - | func | |
115 | + | func ae (aa,ab) = (((("%d%d%s%s__" + toString(aa)) + "__") + toString(ab)) + "__mappings__poolAssets2PoolContract") | |
116 | 116 | ||
117 | 117 | ||
118 | - | func | |
118 | + | func af (ad) = (("%s%s%s__" + ad) + "__mappings__poolContract2LpAsset") | |
119 | 119 | ||
120 | 120 | ||
121 | - | func ag ( | |
121 | + | func ag (Y) = (("%s%s%s__" + Y) + "__mappings__lpAsset2PoolContract") | |
122 | 122 | ||
123 | 123 | ||
124 | - | func ah ( | |
124 | + | func ah (ai) = valueOrErrorMessage(getString(this, ai), ("No data for this.key=" + ai)) | |
125 | 125 | ||
126 | 126 | ||
127 | - | func | |
127 | + | func aj (ai) = valueOrErrorMessage(getBoolean(this, ai), ("No data for this.key=" + ai)) | |
128 | 128 | ||
129 | 129 | ||
130 | - | func | |
130 | + | func ak (ai) = valueOrErrorMessage(getInteger(this, ai), ("No data for this.key=" + ai)) | |
131 | 131 | ||
132 | 132 | ||
133 | - | func al (ak) = valueOrErrorMessage(getBoolean(this, ak), ("No data for this.key=" + ak)) | |
133 | + | let al = 1 | |
134 | + | ||
135 | + | let am = 2 | |
136 | + | ||
137 | + | let an = 3 | |
138 | + | ||
139 | + | let ao = 4 | |
140 | + | ||
141 | + | let ap = 5 | |
142 | + | ||
143 | + | let aq = 6 | |
144 | + | ||
145 | + | let ar = 7 | |
146 | + | ||
147 | + | let as = 8 | |
148 | + | ||
149 | + | let at = 9 | |
150 | + | ||
151 | + | let au = 10 | |
152 | + | ||
153 | + | let av = 11 | |
154 | + | ||
155 | + | func aw (ax) = addressFromStringValue(ax[am]) | |
134 | 156 | ||
135 | 157 | ||
136 | - | func | |
158 | + | func ay (ax) = addressFromStringValue(ax[ap]) | |
137 | 159 | ||
138 | 160 | ||
139 | - | let an = 1 | |
140 | - | ||
141 | - | let ao = 2 | |
142 | - | ||
143 | - | let ap = 3 | |
144 | - | ||
145 | - | let aq = 4 | |
146 | - | ||
147 | - | let ar = 5 | |
148 | - | ||
149 | - | let as = 6 | |
150 | - | ||
151 | - | let at = 7 | |
152 | - | ||
153 | - | let au = 8 | |
154 | - | ||
155 | - | let av = 9 | |
156 | - | ||
157 | - | let aw = 10 | |
158 | - | ||
159 | - | let ax = 11 | |
160 | - | ||
161 | - | func ay (az) = addressFromStringValue(az[ao]) | |
161 | + | func az (ax) = addressFromStringValue(ax[al]) | |
162 | 162 | ||
163 | 163 | ||
164 | - | func aA ( | |
164 | + | func aA (ax) = addressFromStringValue(ax[au]) | |
165 | 165 | ||
166 | 166 | ||
167 | - | func aB (az) = addressFromStringValue(az[an]) | |
168 | - | ||
169 | - | ||
170 | - | func aC (az) = addressFromStringValue(az[aw]) | |
171 | - | ||
172 | - | ||
173 | - | func aD () = { | |
174 | - | let aE = getString(H()) | |
175 | - | if ($isInstanceOf(aE, "String")) | |
167 | + | func aB () = { | |
168 | + | let aC = getString(H()) | |
169 | + | if ($isInstanceOf(aC, "String")) | |
176 | 170 | then { | |
177 | - | let | |
178 | - | fromBase58String( | |
171 | + | let aD = aC | |
172 | + | fromBase58String(aD) | |
179 | 173 | } | |
180 | - | else if ($isInstanceOf( | |
174 | + | else if ($isInstanceOf(aC, "Unit")) | |
181 | 175 | then unit | |
182 | 176 | else throw("Match error") | |
183 | 177 | } | |
184 | 178 | ||
185 | 179 | ||
186 | - | func | |
187 | - | let | |
188 | - | if ($isInstanceOf( | |
180 | + | func aE () = { | |
181 | + | let aC = getString(I()) | |
182 | + | if ($isInstanceOf(aC, "String")) | |
189 | 183 | then { | |
190 | - | let | |
191 | - | fromBase58String( | |
184 | + | let aD = aC | |
185 | + | fromBase58String(aD) | |
192 | 186 | } | |
193 | - | else if ($isInstanceOf( | |
187 | + | else if ($isInstanceOf(aC, "Unit")) | |
194 | 188 | then unit | |
195 | 189 | else throw("Match error") | |
196 | 190 | } | |
197 | 191 | ||
198 | 192 | ||
199 | - | func | |
200 | - | let | |
201 | - | let | |
202 | - | if ($isInstanceOf( | |
193 | + | func aF (aG) = { | |
194 | + | let aH = throw("Permission denied") | |
195 | + | let aC = aB() | |
196 | + | if ($isInstanceOf(aC, "ByteVector")) | |
203 | 197 | then { | |
204 | - | let | |
205 | - | if (( | |
198 | + | let aI = aC | |
199 | + | if ((aG.callerPublicKey == aI)) | |
206 | 200 | then true | |
207 | - | else | |
201 | + | else aH | |
208 | 202 | } | |
209 | - | else if ($isInstanceOf( | |
210 | - | then if (( | |
203 | + | else if ($isInstanceOf(aC, "Unit")) | |
204 | + | then if ((aG.caller == this)) | |
211 | 205 | then true | |
212 | - | else | |
206 | + | else aH | |
213 | 207 | else throw("Match error") | |
214 | 208 | } | |
215 | 209 | ||
216 | 210 | ||
217 | - | func | |
211 | + | func aJ (aK,aL,aM,aN,aO,aP,aQ,aR,aS,aT,aU) = makeString(["%s%s%s%s%s%s%s%s%s%s%s", aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU], h) | |
218 | 212 | ||
219 | 213 | ||
220 | - | func | |
214 | + | func aV (aK,aL,aM,aN,aO,aP,aQ) = makeString(["%s%s%s%s%s%s", aK, aL, aM, aN, aO, aP, aQ], h) | |
221 | 215 | ||
222 | 216 | ||
223 | - | func | |
217 | + | func aW (N,aX,aY,aZ,ba,bb,bc,bd,be,bf,bg) = makeString(["%s%d%s%s%s%d%d%d%d%d%s", N, aX, aY, aZ, ba, toString(bb), toString(bc), toString(bd), toString(be), toString(bf), bg], h) | |
224 | 218 | ||
225 | 219 | ||
226 | - | func | |
220 | + | func bh (bi,bj) = makeString(["%d%d", toString(bi), toString(bj)], h) | |
227 | 221 | ||
228 | 222 | ||
229 | - | func | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | split( | |
223 | + | func bk (N) = { | |
224 | + | let bl = split(ah(ac(N)), h) | |
225 | + | let V = bl[1] | |
226 | + | let W = bl[2] | |
227 | + | split(ah(U(V, W)), h) | |
234 | 228 | } | |
235 | 229 | ||
236 | 230 | ||
237 | - | func | |
238 | - | let | |
239 | - | let | |
240 | - | let | |
231 | + | func bm (bn,bo) = { | |
232 | + | let bp = valueOrElse(getInteger(this, S(bn)), 0) | |
233 | + | let bq = valueOrElse(getInteger(this, L()), 0) | |
234 | + | let br = if ((bp == 0)) | |
241 | 235 | then { | |
242 | - | let | |
243 | - | $Tuple3( | |
236 | + | let bs = (bq + bo) | |
237 | + | $Tuple3(bs, [IntegerEntry(L(), bs), IntegerEntry(S(bn), bs), StringEntry(Q(bs), bn)], true) | |
244 | 238 | } | |
245 | - | else $Tuple3( | |
246 | - | | |
239 | + | else $Tuple3(bp, nil, false) | |
240 | + | br | |
247 | 241 | } | |
248 | 242 | ||
249 | 243 | ||
250 | - | func | |
251 | - | let | |
252 | - | if (isDefined( | |
253 | - | then ((value( | |
254 | - | else | |
244 | + | func bt (bu) = { | |
245 | + | let bv = getString(this, C()) | |
246 | + | if (isDefined(bv)) | |
247 | + | then ((value(bv) + h) + bu) | |
248 | + | else bu | |
255 | 249 | } | |
256 | 250 | ||
257 | 251 | ||
258 | - | func by (aI) = { | |
259 | - | let bz = split(valueOrElse(getString(J()), i), h) | |
260 | - | if (containsElement(bz, toBase58String(aI.callerPublicKey))) | |
261 | - | then true | |
262 | - | else { | |
263 | - | let bA = aH(aI) | |
264 | - | if ((bA == bA)) | |
265 | - | then true | |
266 | - | else throw("Strict value is not equal to itself.") | |
267 | - | } | |
268 | - | } | |
269 | - | ||
270 | - | ||
271 | - | @Callable(aI) | |
272 | - | func constructor (bB,bC,aO,aP,aQ,aR,bD,bE) = { | |
273 | - | let bF = aH(aI) | |
274 | - | if ((bF == bF)) | |
275 | - | then [StringEntry(B(), aX(bB, bC, aO, aP, aQ, aR, bD)), IntegerEntry(L(), bE)] | |
252 | + | @Callable(aG) | |
253 | + | func constructor (bw,bx,aM,aN,aO,aP,by,bz) = { | |
254 | + | let bA = aF(aG) | |
255 | + | if ((bA == bA)) | |
256 | + | then [StringEntry(B(), aV(bw, bx, aM, aN, aO, aP, by)), IntegerEntry(J(), bz)] | |
276 | 257 | else throw("Strict value is not equal to itself.") | |
277 | 258 | } | |
278 | 259 | ||
279 | 260 | ||
280 | 261 | ||
281 | - | @Callable( | |
282 | - | func constructorV2 ( | |
283 | - | let | |
284 | - | if (( | |
262 | + | @Callable(aG) | |
263 | + | func constructorV2 (bB) = { | |
264 | + | let bA = aF(aG) | |
265 | + | if ((bA == bA)) | |
285 | 266 | then { | |
286 | - | let | |
287 | - | if (( | |
288 | - | then [StringEntry(E(), | |
267 | + | let bC = addressFromPublicKey(fromBase58String(bB)) | |
268 | + | if ((bC == bC)) | |
269 | + | then [StringEntry(E(), bB)] | |
289 | 270 | else throw("Strict value is not equal to itself.") | |
290 | 271 | } | |
291 | 272 | else throw("Strict value is not equal to itself.") | |
292 | 273 | } | |
293 | 274 | ||
294 | 275 | ||
295 | 276 | ||
296 | - | @Callable( | |
297 | - | func constructorV3 (aT,aU | |
298 | - | let | |
299 | - | if (( | |
277 | + | @Callable(aG) | |
278 | + | func constructorV3 (aR,aS,aT,aU) = { | |
279 | + | let bA = aF(aG) | |
280 | + | if ((bA == bA)) | |
300 | 281 | then { | |
301 | - | let | |
302 | - | [StringEntry(B(), | |
282 | + | let ax = split(ah(B()), h) | |
283 | + | [StringEntry(B(), aJ(ax[1], ax[2], ax[3], ax[4], ax[5], ax[6], ax[7], aR, aS, aT, aU))] | |
303 | 284 | } | |
304 | 285 | else throw("Strict value is not equal to itself.") | |
305 | 286 | } | |
306 | 287 | ||
307 | 288 | ||
308 | 289 | ||
309 | - | @Callable( | |
310 | - | func constructorV4 ( | |
311 | - | let | |
312 | - | if (( | |
313 | - | then [StringEntry(F(), | |
290 | + | @Callable(aG) | |
291 | + | func constructorV4 (bD,bE) = { | |
292 | + | let bA = aF(aG) | |
293 | + | if ((bA == bA)) | |
294 | + | then [StringEntry(F(), bD), StringEntry(G(), makeString(bE, h))] | |
314 | 295 | else throw("Strict value is not equal to itself.") | |
315 | 296 | } | |
316 | 297 | ||
317 | 298 | ||
318 | 299 | ||
319 | - | @Callable(aI) | |
320 | - | func constructorV5 (bK) = { | |
321 | - | let bF = aH(aI) | |
322 | - | if ((bF == bF)) | |
323 | - | then [StringEntry(K(), bK)] | |
324 | - | else throw("Strict value is not equal to itself.") | |
325 | - | } | |
326 | - | ||
327 | - | ||
328 | - | ||
329 | - | @Callable(aI) | |
330 | - | func setManager (bL) = { | |
331 | - | let bF = aH(aI) | |
332 | - | if ((bF == bF)) | |
300 | + | @Callable(aG) | |
301 | + | func setManager (bF) = { | |
302 | + | let bA = aF(aG) | |
303 | + | if ((bA == bA)) | |
333 | 304 | then { | |
334 | - | let | |
335 | - | if (( | |
336 | - | then [StringEntry(I(), | |
305 | + | let bG = fromBase58String(bF) | |
306 | + | if ((bG == bG)) | |
307 | + | then [StringEntry(I(), bF)] | |
337 | 308 | else throw("Strict value is not equal to itself.") | |
338 | 309 | } | |
339 | 310 | else throw("Strict value is not equal to itself.") | |
340 | 311 | } | |
341 | 312 | ||
342 | 313 | ||
343 | 314 | ||
344 | - | @Callable( | |
315 | + | @Callable(aG) | |
345 | 316 | func confirmManager () = { | |
346 | - | let | |
347 | - | let | |
317 | + | let bH = aE() | |
318 | + | let bI = if (isDefined(bH)) | |
348 | 319 | then true | |
349 | 320 | else throw("No pending manager") | |
350 | - | if (( | |
321 | + | if ((bI == bI)) | |
351 | 322 | then { | |
352 | - | let | |
323 | + | let bJ = if ((aG.callerPublicKey == value(bH))) | |
353 | 324 | then true | |
354 | 325 | else throw("You are not pending manager") | |
355 | - | if (( | |
356 | - | then [StringEntry(H(), toBase58String(value( | |
326 | + | if ((bJ == bJ)) | |
327 | + | then [StringEntry(H(), toBase58String(value(bH))), DeleteEntry(I())] | |
357 | 328 | else throw("Strict value is not equal to itself.") | |
358 | 329 | } | |
359 | 330 | else throw("Strict value is not equal to itself.") | |
360 | 331 | } | |
361 | 332 | ||
362 | 333 | ||
363 | 334 | ||
364 | - | @Callable(aI) | |
365 | - | func setAdmins (bQ) = { | |
366 | - | let bF = aH(aI) | |
367 | - | if ((bF == bF)) | |
368 | - | then [StringEntry(J(), makeString(bQ, h))] | |
369 | - | else throw("Strict value is not equal to itself.") | |
370 | - | } | |
371 | - | ||
372 | - | ||
373 | - | ||
374 | - | @Callable(aI) | |
375 | - | func activateNewPool (P,bb,bc,bR,bS,bT,bi) = { | |
376 | - | let bF = by(aI) | |
377 | - | if ((bF == bF)) | |
378 | - | then if (isDefined(getString(ae(P)))) | |
379 | - | then throw((("Pool address " + P) + " already registered.")) | |
335 | + | @Callable(aG) | |
336 | + | func activateNewPool (N,aZ,ba,bK,bL,bM,bg) = { | |
337 | + | let bA = aF(aG) | |
338 | + | if ((bA == bA)) | |
339 | + | then if (isDefined(getString(ac(N)))) | |
340 | + | then throw((("Pool address " + N) + " already registered.")) | |
380 | 341 | else { | |
381 | - | let | |
382 | - | let | |
383 | - | let | |
342 | + | let bN = bm(aZ, 1) | |
343 | + | let bO = bN._1 | |
344 | + | let bP = bm(ba, if (bN._3) | |
384 | 345 | then 2 | |
385 | 346 | else 1) | |
386 | - | let | |
387 | - | let | |
388 | - | let | |
389 | - | let | |
390 | - | if (isDefined( | |
391 | - | then throw((((("Pool " + | |
347 | + | let bQ = bP._1 | |
348 | + | let bR = valueOrErrorMessage(scriptHash(addressFromStringValue(N)), ("No script has been found on pool account " + N)) | |
349 | + | let bS = getBinaryValue(D()) | |
350 | + | let bT = getString(this, U(toString(bO), toString(bQ))) | |
351 | + | if (isDefined(bT)) | |
352 | + | then throw((((("Pool " + aZ) + "/") + ba) + " has already been activated.")) | |
392 | 353 | else { | |
393 | - | let | |
394 | - | let | |
354 | + | let bU = value(getString(this, U(toString(bO), toString(bQ)))) | |
355 | + | let bV = if ((aZ == "WAVES")) | |
395 | 356 | then g | |
396 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
397 | - | let | |
357 | + | else pow(10, 0, value(assetInfo(fromBase58String(aZ))).decimals, 0, 0, DOWN) | |
358 | + | let bW = if ((ba == "WAVES")) | |
398 | 359 | then g | |
399 | - | else pow(10, 0, value(assetInfo(fromBase58String( | |
400 | - | let | |
401 | - | let | |
402 | - | let | |
403 | - | let | |
404 | - | if (( | |
405 | - | then if (( | |
360 | + | else pow(10, 0, value(assetInfo(fromBase58String(ba))).decimals, 0, 0, DOWN) | |
361 | + | let bX = Issue(bK, bL, 1, 8, true) | |
362 | + | let aY = calculateAssetId(bX) | |
363 | + | let bY = toBase58String(aY) | |
364 | + | let bZ = invoke(addressFromStringValue(N), "activate", [aZ, ba], nil) | |
365 | + | if ((bZ == bZ)) | |
366 | + | then if ((bZ != "success")) | |
406 | 367 | then throw("Pool initialisation error happened.") | |
407 | - | else { | |
408 | - | let bK = addressFromStringValue(aj(K())) | |
409 | - | let ch = invoke(bK, "addAssetsLink", [bb, bc, cf], nil) | |
410 | - | if ((ch == ch)) | |
411 | - | then { | |
412 | - | let ci = invoke(bK, "increaseAssetPoolsNumber", [bb], nil) | |
413 | - | if ((ci == ci)) | |
414 | - | then $Tuple2(((bU._2 ++ bW._2) ++ [ce, Burn(ba, 1), StringEntry(W(toString(bV), toString(bX)), aY(P, toString(j), cf, bb, bc, cc, cd, bV, bX, g, bi)), StringEntry(Z(cf), bj(bV, bX)), StringEntry(ab(toString(bV), toString(bX)), ("%s__" + cf)), StringEntry(ae(P), bj(bV, bX)), StringEntry(ag(bV, bX), P), StringEntry(ai(cf), P), StringEntry(ah(P), cf), IntegerEntry(O(P), bT), StringEntry(C(), bv(cf))]), cf) | |
415 | - | else throw("Strict value is not equal to itself.") | |
416 | - | } | |
417 | - | else throw("Strict value is not equal to itself.") | |
418 | - | } | |
368 | + | else $Tuple2(((bN._2 ++ bP._2) ++ [bX, Burn(aY, 1), StringEntry(U(toString(bO), toString(bQ)), aW(N, toString(j), bY, aZ, ba, bV, bW, bO, bQ, g, bg)), StringEntry(X(bY), bh(bO, bQ)), StringEntry(Z(toString(bO), toString(bQ)), ("%s__" + bY)), StringEntry(ac(N), bh(bO, bQ)), StringEntry(ae(bO, bQ), N), StringEntry(ag(bY), N), StringEntry(af(N), bY), IntegerEntry(M(N), bM), StringEntry(C(), bt(bY))]), "success") | |
419 | 369 | else throw("Strict value is not equal to itself.") | |
420 | 370 | } | |
421 | 371 | } | |
422 | 372 | else throw("Strict value is not equal to itself.") | |
423 | 373 | } | |
424 | 374 | ||
425 | 375 | ||
426 | 376 | ||
427 | - | @Callable( | |
428 | - | func managePool ( | |
429 | - | let | |
430 | - | if (( | |
377 | + | @Callable(aG) | |
378 | + | func managePool (N,ca) = { | |
379 | + | let bA = aF(aG) | |
380 | + | if ((bA == bA)) | |
431 | 381 | then { | |
432 | - | let | |
433 | - | let | |
434 | - | let | |
435 | - | let | |
436 | - | let | |
437 | - | let | |
438 | - | let | |
439 | - | let | |
440 | - | let | |
441 | - | let | |
442 | - | let | |
443 | - | [StringEntry( | |
382 | + | let bT = bk(N) | |
383 | + | let aX = bT[r] | |
384 | + | let bY = bT[s] | |
385 | + | let aZ = bT[t] | |
386 | + | let ba = bT[u] | |
387 | + | let bV = parseIntValue(bT[v]) | |
388 | + | let bW = parseIntValue(bT[w]) | |
389 | + | let bO = parseIntValue(bT[x]) | |
390 | + | let bQ = parseIntValue(bT[y]) | |
391 | + | let cb = parseIntValue(bT[z]) | |
392 | + | let bg = bT[A] | |
393 | + | [StringEntry(U(toString(bO), toString(bQ)), aW(N, toString(ca), bY, aZ, ba, bV, bW, bO, bQ, cb, bg))] | |
444 | 394 | } | |
445 | 395 | else throw("Strict value is not equal to itself.") | |
446 | 396 | } | |
447 | 397 | ||
448 | 398 | ||
449 | 399 | ||
450 | - | @Callable( | |
451 | - | func emit ( | |
452 | - | let | |
453 | - | let | |
454 | - | let | |
455 | - | let | |
456 | - | let | |
457 | - | let | |
458 | - | if ((0 >= | |
400 | + | @Callable(aG) | |
401 | + | func emit (cc) = { | |
402 | + | let cd = aG.caller | |
403 | + | let ce = aG.originCaller | |
404 | + | let cf = valueOrErrorMessage(getString(af(toString(cd))), "Invalid LP address called me.") | |
405 | + | let cg = fromBase58String(cf) | |
406 | + | let bE = split(valueOrElse(getString(G()), i), h) | |
407 | + | let bD = addressFromStringValue(valueOrErrorMessage(getString(F()), "Legacy factory contract does not exists.")) | |
408 | + | if ((0 >= cc)) | |
459 | 409 | then nil | |
460 | - | else if (containsElement( | |
461 | - | then $Tuple2(nil, | |
462 | - | else $Tuple2([Reissue( | |
410 | + | else if (containsElement(bE, toString(cd))) | |
411 | + | then $Tuple2(nil, bD) | |
412 | + | else $Tuple2([Reissue(cg, cc, true), ScriptTransfer(aG.caller, cc, cg)], "success") | |
463 | 413 | } | |
464 | 414 | ||
465 | 415 | ||
466 | 416 | ||
467 | - | @Callable( | |
468 | - | func burn ( | |
469 | - | let | |
470 | - | let | |
471 | - | let | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | if (( | |
417 | + | @Callable(aG) | |
418 | + | func burn (ch) = { | |
419 | + | let cd = aG.caller | |
420 | + | let ce = aG.originCaller | |
421 | + | let ci = value(aG.payments[0]) | |
422 | + | let cj = value(ci.amount) | |
423 | + | let ck = toBase58String(value(ci.assetId)) | |
424 | + | let cl = valueOrErrorMessage(getString(af(toString(cd))), "Invalid LP address called me.") | |
425 | + | if ((ck != cl)) | |
476 | 426 | then throw("Invalid asset passed.") | |
477 | - | else if (( | |
427 | + | else if ((ch != cj)) | |
478 | 428 | then throw("Invalid amount passed.") | |
479 | 429 | else { | |
480 | - | let | |
481 | - | $Tuple2([Burn( | |
430 | + | let cg = fromBase58String(cl) | |
431 | + | $Tuple2([Burn(cg, ch)], "success") | |
482 | 432 | } | |
483 | 433 | } | |
484 | 434 | ||
485 | 435 | ||
486 | 436 | ||
487 | - | @Callable( | |
488 | - | func modifyWeights ( | |
489 | - | let | |
490 | - | if (( | |
437 | + | @Callable(aG) | |
438 | + | func modifyWeights (cm,cn,co,cp) = { | |
439 | + | let bA = aF(aG) | |
440 | + | if ((bA == bA)) | |
491 | 441 | then { | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | let | |
496 | - | let | |
497 | - | let | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | let | |
504 | - | let | |
505 | - | let | |
506 | - | if ((0 >= | |
507 | - | then throw(("invalid btcWeightNew: " + toString( | |
508 | - | else if ((0 >= | |
509 | - | then throw(("invalid ethWeightNew: " + toString( | |
442 | + | let cq = ((5 * e) / 100) | |
443 | + | let cr = ((5 * e) / 100) | |
444 | + | let cs = ((5 * e) / 100) | |
445 | + | let ax = split(ah(B()), h) | |
446 | + | let ct = az(ax) | |
447 | + | let cu = aA(ax) | |
448 | + | let cv = M(cm) | |
449 | + | let cw = M(cn) | |
450 | + | let cx = M(co) | |
451 | + | let cy = M(cp) | |
452 | + | let cz = ak(cv) | |
453 | + | let cA = ak(cw) | |
454 | + | let cB = (cz - cs) | |
455 | + | let cC = (cA - cs) | |
456 | + | if ((0 >= cB)) | |
457 | + | then throw(("invalid btcWeightNew: " + toString(cB))) | |
458 | + | else if ((0 >= cC)) | |
459 | + | then throw(("invalid ethWeightNew: " + toString(cC))) | |
510 | 460 | else { | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | if (( | |
461 | + | let cD = ah(af(cm)) | |
462 | + | let cE = ah(af(cn)) | |
463 | + | let cF = ah(af(co)) | |
464 | + | let cG = ah(af(cp)) | |
465 | + | let cH = invoke(ct, "onModifyWeight", [cD, cm], nil) | |
466 | + | if ((cH == cH)) | |
517 | 467 | then { | |
518 | - | let | |
519 | - | if (( | |
468 | + | let cI = invoke(ct, "onModifyWeight", [cE, cn], nil) | |
469 | + | if ((cI == cI)) | |
520 | 470 | then { | |
521 | - | let | |
522 | - | if (( | |
471 | + | let cJ = invoke(ct, "onModifyWeight", [cF, co], nil) | |
472 | + | if ((cJ == cJ)) | |
523 | 473 | then { | |
524 | - | let | |
525 | - | if (( | |
526 | - | then [IntegerEntry( | |
474 | + | let cK = invoke(ct, "onModifyWeight", [cG, cp], nil) | |
475 | + | if ((cK == cK)) | |
476 | + | then [IntegerEntry(cv, cB), IntegerEntry(cw, cC), IntegerEntry(cx, cq), IntegerEntry(cy, cr), IntegerEntry(O(cm, 0), cz), IntegerEntry(O(cn, 0), cA), IntegerEntry(O(co, 0), cq), IntegerEntry(O(cp, 0), cr)] | |
527 | 477 | else throw("Strict value is not equal to itself.") | |
528 | 478 | } | |
529 | 479 | else throw("Strict value is not equal to itself.") | |
530 | 480 | } | |
531 | 481 | else throw("Strict value is not equal to itself.") | |
532 | 482 | } | |
533 | 483 | else throw("Strict value is not equal to itself.") | |
534 | 484 | } | |
535 | 485 | } | |
536 | 486 | else throw("Strict value is not equal to itself.") | |
537 | 487 | } | |
538 | 488 | ||
539 | 489 | ||
540 | - | @Verifier( | |
541 | - | func | |
542 | - | let | |
543 | - | let | |
544 | - | if ($isInstanceOf( | |
490 | + | @Verifier(cL) | |
491 | + | func cM () = { | |
492 | + | let cN = { | |
493 | + | let aC = aB() | |
494 | + | if ($isInstanceOf(aC, "ByteVector")) | |
545 | 495 | then { | |
546 | - | let | |
547 | - | | |
496 | + | let aI = aC | |
497 | + | aI | |
548 | 498 | } | |
549 | - | else if ($isInstanceOf( | |
550 | - | then | |
499 | + | else if ($isInstanceOf(aC, "Unit")) | |
500 | + | then cL.senderPublicKey | |
551 | 501 | else throw("Match error") | |
552 | 502 | } | |
553 | - | sigVerify( | |
503 | + | sigVerify(cL.bodyBytes, cL.proofs[0], cN) | |
554 | 504 | } | |
555 | 505 |
github/deemru/w8io/169f3d6 188.51 ms ◑