tx · 8VMLbvKuxLnnqbh5BMzKX74ywJMra4hS6pZXLKLRkW8m

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01800000 Waves

2024.12.18 09:56 [3419649] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "8VMLbvKuxLnnqbh5BMzKX74ywJMra4hS6pZXLKLRkW8m", "fee": 1800000, "feeAssetId": null, "timestamp": 1734505029057, "version": 2, "chainId": 84, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "4NHveRmRwydEsfyX7WmDj3Kw3gKtrzcLWrLMhzdyQzzPR652DfAFPPdKgNmSaYi79D3m2Scocdc2zeeg4smZrWfv" ], "script": "base64:BgIyCAISBwoFCAgICAESABIAEggKBggICAgICBIDCgEYEgASBAoCCAgSBAoCCAgSBAoCCAhDABBjb250cmFjdEZpbGVuYW1lAg91c2VyX3Bvb2xzLnJpZGUAA1NFUAICX18ADHdhdmVzQXNzZXRJZAIFV0FWRVMAB1ZMVFBPT0wCB1ZMVFBPT0wACFNUQkxQT09MAghTVEJMUE9PTAARaW52YWxpZFByaWNlQXNzZXQCE0ludmFsaWQgcHJpY2UgYXNzZXQBB3dyYXBFcnIBA21zZwkAuQkCCQDMCAIFEGNvbnRyYWN0RmlsZW5hbWUJAMwIAgICOiAJAMwIAgUDbXNnBQNuaWwCAAEIdGhyb3dFcnIBA21zZwkAAgEJAQd3cmFwRXJyAQUDbXNnAQd0aHJvd1BEAAkBCHRocm93RXJyAQIRUGVybWlzc2lvbiBkZW5pZWQBFHRocm93Q3JlYXRlTm90Q2FsbGVkAAkBCHRocm93RXJyAQIkQ3JlYXRlIGlzIG5vdCBjYWxsZWQgZm9yIGFzc2V0cyBwYWlyARF0aHJvd1lvdU5vdElzc3VlcgAJAQh0aHJvd0VycgEC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YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXmq6nqa", "height": 3419649, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: C1WDv6ANK9MfpBf6GG3xXmP7H2tEPibczdoYiuDT8Am2 Next: none Diff:
OldNewDifferences
131131 func Y () = makeString(["%s", "priceAssets"], b)
132132
133133
134-func Z () = {
135- let aa = getString(y())
136- if ($isInstanceOf(aa, "String"))
134+func Z () = makeString(["%s", "memePoolFactory"], b)
135+
136+
137+func aa () = {
138+ let ab = getString(y())
139+ if ($isInstanceOf(ab, "String"))
137140 then {
138- let ab = aa
139- addressFromStringValue(ab)
141+ let ac = ab
142+ addressFromStringValue(ac)
140143 }
141144 else this
142145 }
143146
144147
145-func ac (ad) = valueOrErrorMessage(getString(this, ad), (ad + " is not defined"))
148+func ad (ae) = valueOrErrorMessage(getString(this, ae), (ae + " is not defined"))
146149
147150
148-func ae (af) = {
149- let aa = af
150- if ($isInstanceOf(aa, "String"))
151+func af (ag) = {
152+ let ab = ag
153+ if ($isInstanceOf(ab, "String"))
151154 then {
152- let ab = aa
153- if ((size(ab) == 0))
155+ let ac = ab
156+ if ((size(ac) == 0))
154157 then nil
155- else split_4C(ab, b)
158+ else split_4C(ac, b)
156159 }
157- else if ($isInstanceOf(aa, "Unit"))
160+ else if ($isInstanceOf(ab, "Unit"))
158161 then nil
159162 else throw("Match error")
160163 }
161164
162165
163-let ag = addressFromStringValue(ac(D()))
166+let ah = addressFromStringValue(ad(D()))
164167
165-let ah = makeString(["%s", "votingEmissionContract"], b)
168+let ai = makeString(["%s", "votingEmissionContract"], b)
166169
167-let ai = addressFromStringValue(valueOrErrorMessage(getString(ag, ah), g("voting emission contract address is required")))
170+let aj = addressFromStringValue(valueOrErrorMessage(getString(ah, ai), g("voting emission contract address is required")))
168171
169-let aj = makeString(["%s", "votingEmissionCandidateContract"], b)
172+let ak = makeString(["%s", "votingEmissionCandidateContract"], b)
170173
171-let ak = addressFromStringValue(valueOrErrorMessage(getString(ai, aj), g("voting emission candidate contract address is required")))
174+let al = addressFromStringValue(valueOrErrorMessage(getString(aj, ak), g("voting emission candidate contract address is required")))
172175
173-func al (B,C) = valueOrElse(getBoolean(N(B, C)), false)
176+func am (B,C) = valueOrElse(getBoolean(N(B, C)), false)
174177
175178
176-func am (B,C) = if (al(B, C))
179+func an (B,C) = if (am(B, C))
177180 then true
178181 else k()
179182
180183
181-func an () = {
182- let ao = Z()
183- let aa = getString(ao, x())
184- if ($isInstanceOf(aa, "String"))
184+func ao () = {
185+ let ap = aa()
186+ let ab = getString(ap, x())
187+ if ($isInstanceOf(ab, "String"))
185188 then {
186- let ab = aa
187- fromBase58String(ab)
189+ let ac = ab
190+ fromBase58String(ac)
188191 }
189- else if ($isInstanceOf(aa, "Unit"))
192+ else if ($isInstanceOf(ab, "Unit"))
190193 then unit
191194 else throw("Match error")
192195 }
193196
194197
195-func ap (aq) = {
196- let aa = an()
197- if ($isInstanceOf(aa, "ByteVector"))
198+func aq (ar) = {
199+ let ab = ao()
200+ if ($isInstanceOf(ab, "ByteVector"))
198201 then {
199- let ar = aa
200- (aq.callerPublicKey == ar)
202+ let as = ab
203+ (ar.callerPublicKey == as)
201204 }
202- else if ($isInstanceOf(aa, "Unit"))
203- then (aq.caller == this)
205+ else if ($isInstanceOf(ab, "Unit"))
206+ then (ar.caller == this)
204207 else throw("Match error")
205208 }
206209
207210
208-func as (aq) = if (ap(aq))
211+func at (ar) = if (aq(ar))
209212 then true
210213 else j()
211214
212215
213-func at (aq) = {
214- let au = ae(getString(z()))
215- if (containsElement(au, toBase58String(aq.callerPublicKey)))
216+func au (ar) = {
217+ let av = af(getString(z()))
218+ if (containsElement(av, toBase58String(ar.callerPublicKey)))
216219 then true
217- else as(aq)
220+ else at(ar)
218221 }
219222
220223
221-func av (X) = (valueOrElse(getInteger(addressFromStringValue(ac(E())), (("status_<" + X) + ">")), 0) == 2)
224+func aw (ar) = {
225+ let ax = getString(ah, Z())
226+ let ab = ax
227+ if ($isInstanceOf(ab, "String"))
228+ then {
229+ let ay = ab
230+ (toString(ar.caller) == ay)
231+ }
232+ else if ($isInstanceOf(ab, "Unit"))
233+ then false
234+ else throw("Match error")
235+ }
222236
223237
224-func aw (ax) = {
225- let aa = ax.assetId
226- if ($isInstanceOf(aa, "ByteVector"))
238+func az (X) = (valueOrElse(getInteger(addressFromStringValue(ad(E())), (("status_<" + X) + ">")), 0) == 2)
239+
240+
241+func aA (aB) = {
242+ let ab = aB.assetId
243+ if ($isInstanceOf(ab, "ByteVector"))
227244 then {
228- let ay = aa
229- let az = value(assetInfo(ay))
230- $Tuple2(toBase58String(ay), az)
245+ let aC = ab
246+ let aD = value(assetInfo(aC))
247+ $Tuple2(toBase58String(aC), aD)
231248 }
232- else if ($isInstanceOf(aa, "Unit"))
249+ else if ($isInstanceOf(ab, "Unit"))
233250 then $Tuple2(c, unit)
234251 else throw("Match error")
235252 }
236253
237254
238-func aA (aB) = containsElement(M, aB)
255+func aE (aF) = containsElement(M, aF)
239256
240257
241-func aC (aq,aD) = {
242- let aE = value(aq.payments[0])
243- let aF = value(aq.payments[1])
244- let aG = value(aq.payments[2])
245- let aH = aw(aE)
246- let B = aH._1
247- let aI = aH._2
248- let aJ = aw(aF)
249- let C = aJ._1
250- let aK = aJ._2
251- let aL = aw(aG)
252- let aM = aL._1
253- let aN = aL._2
254- let aO = aE.amount
255- let aP = aF.amount
256- let aQ = aG.amount
257- let aR = ae(getString(ag, Y()))
258- let aS = getIntegerValue(ag, V())
259- let aT = valueOrElse(getInteger(ag, W(B)), aS)
260- let aU = valueOrElse(getInteger(ag, W(C)), aS)
261- let aV = valueOrElse(getInteger(H()), 0)
262- let aW = (aV + 1)
263- let aX = addressFromStringValue(ac(F()))
264- let aY = {
265- let aZ = invoke(ag, "poolExistsREADONLY", [B, C], nil)
266- if ($isInstanceOf(aZ, "Boolean"))
267- then aZ
268- else throw(($getType(aZ) + " couldn't be cast to Boolean"))
258+func aG (ar,aH) = {
259+ let aI = value(ar.payments[0])
260+ let aJ = value(ar.payments[1])
261+ let aK = value(ar.payments[2])
262+ let aL = aA(aI)
263+ let B = aL._1
264+ let aM = aL._2
265+ let aN = aA(aJ)
266+ let C = aN._1
267+ let aO = aN._2
268+ let aP = aA(aK)
269+ let aQ = aP._1
270+ let aR = aP._2
271+ let aS = aI.amount
272+ let aT = aJ.amount
273+ let aU = aK.amount
274+ let aV = af(getString(ah, Y()))
275+ let aW = getIntegerValue(ah, V())
276+ let aX = valueOrElse(getInteger(ah, W(B)), aW)
277+ let aY = valueOrElse(getInteger(ah, W(C)), aW)
278+ let aZ = valueOrElse(getInteger(H()), 0)
279+ let ba = (aZ + 1)
280+ let bb = addressFromStringValue(ad(F()))
281+ let bc = {
282+ let bd = invoke(ah, "poolExistsREADONLY", [B, C], nil)
283+ if ($isInstanceOf(bd, "Boolean"))
284+ then bd
285+ else throw(($getType(bd) + " couldn't be cast to Boolean"))
269286 }
270- let ba = [if (!(al(B, C)))
287+ let be = [if (!(am(B, C)))
271288 then true
272- else m(), if (!(aY))
289+ else m(), if (!(bc))
273290 then true
274291 else m(), if ((B != C))
275292 then true
276- else w(), if (if (ap(aq))
293+ else w(), if (if (containsElement(aV, B))
277294 then true
278- else if (av(B))
279- then av(C)
295+ else containsElement(aV, C))
296+ then true
297+ else w(), if (if (if (aq(ar))
298+ then true
299+ else aw(ar))
300+ then true
301+ else if (az(B))
302+ then az(C)
280303 else false)
281304 then true
282- else w(), if (if (containsElement(aR, B))
305+ else w(), if (if (if (aq(ar))
283306 then true
284- else containsElement(aR, C))
307+ else aw(ar))
285308 then true
286- else w(), if (if (ap(aq))
309+ else (getString(T()) == aQ))
287310 then true
288- else (getString(T()) == aM))
311+ else p(), if (if (if (aq(ar))
289312 then true
290- else p(), if (if (ap(aq))
313+ else aw(ar))
291314 then true
292- else (aO >= aT))
315+ else (aS >= aX))
293316 then true
294- else q(), if (if (ap(aq))
317+ else q(), if (if (if (aq(ar))
295318 then true
296- else (aP >= aU))
319+ else aw(ar))
297320 then true
298- else u(), if (if (ap(aq))
321+ else (aT >= aY))
299322 then true
300- else (aQ == getInteger(U())))
323+ else u(), if (if (if (aq(ar))
324+ then true
325+ else aw(ar))
326+ then true
327+ else (aU == getInteger(U())))
301328 then true
302329 else v()]
303- if ((ba == ba))
330+ if ((be == be))
304331 then {
305- let bb = 3
306- let bc = if ((size(aq.payments) >= bb))
307- then invoke(aX, "burn", nil, [AttachedPayment(fromBase58String(aM), aQ)])
332+ let bf = 3
333+ let bg = if ((size(ar.payments) >= bf))
334+ then invoke(bb, "burn", nil, [AttachedPayment(fromBase58String(aQ), aU)])
308335 else unit
309- if ((bc == bc))
310- then [BooleanEntry(N(B, C), true), StringEntry(O(B, C), toString(aq.caller)), IntegerEntry(H(), aW), StringEntry(G(B, C), (toString(aW) + I)), IntegerEntry(R(B, C), height), StringEntry(A(B, C), J), IntegerEntry(P(B, C), aO), IntegerEntry(Q(B, C), aP), StringEntry(S(B, C), aD)]
336+ if ((bg == bg))
337+ then [BooleanEntry(N(B, C), true), StringEntry(O(B, C), toString(ar.caller)), IntegerEntry(H(), ba), StringEntry(G(B, C), (toString(ba) + I)), IntegerEntry(R(B, C), height), StringEntry(A(B, C), J), IntegerEntry(P(B, C), aS), IntegerEntry(Q(B, C), aT), StringEntry(S(B, C), aH)]
311338 else throw("Strict value is not equal to itself.")
312339 }
313340 else throw("Strict value is not equal to itself.")
314341 }
315342
316343
317-@Callable(aq)
318-func constructor (bd,be,bf,aM,bg) = {
319- let bh = as(aq)
320- if ((bh == bh))
321- then [StringEntry(D(), bd), StringEntry(E(), be), StringEntry(F(), bf), StringEntry(T(), aM), IntegerEntry(U(), bg)]
344+@Callable(ar)
345+func constructor (bh,bi,bj,aQ,bk) = {
346+ let bl = at(ar)
347+ if ((bl == bl))
348+ then [StringEntry(D(), bh), StringEntry(E(), bi), StringEntry(F(), bj), StringEntry(T(), aQ), IntegerEntry(U(), bk)]
322349 else throw("Strict value is not equal to itself.")
323350 }
324351
325352
326353
327-@Callable(aq)
328-func create () = aC(aq, d)
354+@Callable(ar)
355+func create () = aG(ar, d)
329356
330357
331358
332-@Callable(aq)
359+@Callable(ar)
333360 func createStable () = {
334- let bh = as(aq)
335- if ((bh == bh))
336- then aC(aq, e)
361+ let bl = at(ar)
362+ if ((bl == bl))
363+ then aG(ar, e)
337364 else throw("Strict value is not equal to itself.")
338365 }
339366
340367
341368
342-@Callable(aq)
343-func activate (bi,B,bj,C,bk,bl) = {
344- let ba = [at(aq), if (al(B, C))
369+@Callable(ar)
370+func activate (bm,B,bn,C,bo,bp) = {
371+ let be = [au(ar), if (am(B, C))
345372 then true
346373 else k(), if ((value(getString(A(B, C))) == J))
347374 then true
348375 else s()]
349- if ((ba == ba))
376+ if ((be == be))
350377 then {
351- let bm = getString(this, S(B, C))
352- let bn = invoke(ag, "activateNewPool", [bi, B, C, ((bj + bk) + "LP"), (((bj + "/") + bk) + " pool liquidity provider token"), 0, if ((bm == unit))
378+ let bq = getString(this, S(B, C))
379+ let br = invoke(ah, "activateNewPool", [bm, B, C, ((bn + bo) + "LP"), (((bn + "/") + bo) + " pool liquidity provider token"), 0, if ((bq == unit))
353380 then "VLTPOOL"
354- else value(bm), bl], nil)
355- if ((bn == bn))
381+ else value(bq), bp], nil)
382+ if ((br == br))
356383 then {
357- let bo = {
358- let aa = bn
359- if ($isInstanceOf(aa, "String"))
384+ let bs = {
385+ let ab = br
386+ if ($isInstanceOf(ab, "String"))
360387 then {
361- let ay = aa
362- ay
388+ let aC = ab
389+ aC
363390 }
364391 else t()
365392 }
366- if ((bo == bo))
393+ if ((bs == bs))
367394 then {
368- let bp = assetBalance(this, fromBase58String(bo))
369- if ((bp == bp))
395+ let bt = assetBalance(this, fromBase58String(bs))
396+ if ((bt == bt))
370397 then {
371- let bq = invoke(addressFromStringValue(bi), "put", [0, false], [AttachedPayment(if ((B == "WAVES"))
398+ let bu = invoke(addressFromStringValue(bm), "put", [0, false], [AttachedPayment(if ((B == "WAVES"))
372399 then unit
373400 else fromBase58String(B), value(getInteger(P(B, C)))), AttachedPayment(if ((C == "WAVES"))
374401 then unit
375402 else fromBase58String(C), value(getInteger(Q(B, C))))])
376- if ((bq == bq))
403+ if ((bu == bu))
377404 then {
378- let br = assetBalance(this, fromBase58String(bo))
379- if ((br == br))
405+ let bv = assetBalance(this, fromBase58String(bs))
406+ if ((bv == bv))
380407 then {
381- let bs = value(addressFromString(value(getString(O(B, C)))))
382- let bt = invoke(ak, "approve", [B, C], nil)
383- if ((bt == bt))
384- then [StringEntry(A(B, C), L), ScriptTransfer(bs, (br - bp), fromBase58String(bo))]
408+ let bw = value(addressFromString(value(getString(O(B, C)))))
409+ let bx = invoke(al, "approve", [B, C], nil)
410+ if ((bx == bx))
411+ then [StringEntry(A(B, C), L), ScriptTransfer(bw, (bv - bt), fromBase58String(bs))]
385412 else throw("Strict value is not equal to itself.")
386413 }
387414 else throw("Strict value is not equal to itself.")
399426
400427
401428
402-@Callable(aq)
403-func setAdmins (bu) = {
404- let bh = as(aq)
405- if ((bh == bh))
406- then [StringEntry(z(), makeString(bu, b))]
429+@Callable(ar)
430+func setAdmins (by) = {
431+ let bl = at(ar)
432+ if ((bl == bl))
433+ then [StringEntry(z(), makeString(by, b))]
407434 else throw("Strict value is not equal to itself.")
408435 }
409436
410437
411438
412-@Callable(aq)
413-func priceAssetsREADONLY () = $Tuple2(nil, ae(getString(Y())))
439+@Callable(ar)
440+func priceAssetsREADONLY () = $Tuple2(nil, af(getString(Y())))
414441
415442
416443
417-@Callable(aq)
444+@Callable(ar)
418445 func statusREADONLY (B,C) = {
419- let aB = {
420- let aa = getString(A(B, C))
421- if ($isInstanceOf(aa, "String"))
446+ let aF = {
447+ let ab = getString(A(B, C))
448+ if ($isInstanceOf(ab, "String"))
422449 then {
423- let ab = aa
424- ab
450+ let ac = ab
451+ ac
425452 }
426453 else unit
427454 }
428- $Tuple2(nil, aB)
455+ $Tuple2(nil, aF)
429456 }
430457
431458
432459
433-@Callable(aq)
460+@Callable(ar)
434461 func getPoolCreatorREADONLY (B,C) = {
435- let bv = valueOrElse(getString(O(B, C)), "")
436- $Tuple2(nil, bv)
462+ let bz = valueOrElse(getString(O(B, C)), "")
463+ $Tuple2(nil, bz)
437464 }
438465
439466
440467
441-@Callable(aq)
468+@Callable(ar)
442469 func deletePool (B,C) = {
443- let bh = if (if ((aq.caller == ag))
470+ let bl = if (if ((ar.caller == ah))
444471 then true
445- else as(aq))
472+ else at(ar))
446473 then true
447474 else i("Permission denied")
448- if ((bh == bh))
475+ if ((bl == bl))
449476 then [DeleteEntry(N(B, C)), DeleteEntry(O(B, C)), DeleteEntry(G(B, C)), DeleteEntry(R(B, C)), DeleteEntry(A(B, C)), DeleteEntry(P(B, C)), DeleteEntry(Q(B, C)), DeleteEntry(S(B, C))]
450477 else throw("Strict value is not equal to itself.")
451478 }
452479
453480
454-@Verifier(bw)
455-func bx () = {
456- let by = {
457- let aa = an()
458- if ($isInstanceOf(aa, "ByteVector"))
481+@Verifier(bA)
482+func bB () = {
483+ let bC = {
484+ let ab = ao()
485+ if ($isInstanceOf(ab, "ByteVector"))
459486 then {
460- let ar = aa
461- ar
487+ let as = ab
488+ as
462489 }
463- else if ($isInstanceOf(aa, "Unit"))
464- then bw.senderPublicKey
490+ else if ($isInstanceOf(ab, "Unit"))
491+ then bA.senderPublicKey
465492 else throw("Match error")
466493 }
467- sigVerify(bw.bodyBytes, bw.proofs[0], by)
494+ sigVerify(bA.bodyBytes, bA.proofs[0], bC)
468495 }
469496
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "user_pools.ride"
55
66 let b = "__"
77
88 let c = "WAVES"
99
1010 let d = "VLTPOOL"
1111
1212 let e = "STBLPOOL"
1313
1414 let f = "Invalid price asset"
1515
1616 func g (h) = makeString([a, ": ", h], "")
1717
1818
1919 func i (h) = throw(g(h))
2020
2121
2222 func j () = i("Permission denied")
2323
2424
2525 func k () = i("Create is not called for assets pair")
2626
2727
2828 func l () = i("You are not amountAsset issuer")
2929
3030
3131 func m () = i("Pool with such assets already exists")
3232
3333
3434 func n () = i("Asset is not verified")
3535
3636
3737 func o () = i(f)
3838
3939
4040 func p () = i("Invalid fee asset")
4141
4242
4343 func q () = i("Invalid amount asset attached")
4444
4545
4646 func r () = i("Invalid status")
4747
4848
4949 func s () = i("Can activate pool only in 'pending' status")
5050
5151
5252 func t () = i("FactoryV2 returned not string")
5353
5454
5555 func u () = i("invalid price asset amount")
5656
5757
5858 func v () = i("invalid fee")
5959
6060
6161 func w () = i("invalid asset pair")
6262
6363
6464 func x () = makeString(["%s", "managerPublicKey"], b)
6565
6666
6767 func y () = "%s__managerVaultAddress"
6868
6969
7070 func z () = makeString(["%s", "adminPubKeys"], b)
7171
7272
7373 func A (B,C) = makeString(["%s%s%s", "status", B, C], b)
7474
7575
7676 func D () = makeString(["%s", "factoryContract"], b)
7777
7878
7979 func E () = makeString(["%s", "assetsStoreContract"], b)
8080
8181
8282 func F () = makeString(["%s", "emissionContract"], b)
8383
8484
8585 func G (B,C) = makeString(["%s%s%s", "suffix", B, C], b)
8686
8787
8888 func H () = makeString(["%s", "lastIndex"], b)
8989
9090
9191 let I = "u"
9292
9393 let J = "pending"
9494
9595 let K = "declined"
9696
9797 let L = "active"
9898
9999 let M = [J, K, L]
100100
101101 func N (B,C) = makeString(["%s%s%s", "createCalled", B, C], b)
102102
103103
104104 func O (B,C) = makeString(["%s%s%s", "createCaller", B, C], b)
105105
106106
107107 func P (B,C) = makeString(["%s%s%s", "amountAssetAmount", B, C], b)
108108
109109
110110 func Q (B,C) = makeString(["%s%s%s", "priceAssetAmount", B, C], b)
111111
112112
113113 func R (B,C) = makeString(["%s%s%s", "height", B, C], b)
114114
115115
116116 func S (B,C) = makeString(["%s%s%s", "poolType", B, C], b)
117117
118118
119119 func T () = makeString(["%s", "feeAssetId"], b)
120120
121121
122122 func U () = makeString(["%s", "feeAmount"], b)
123123
124124
125125 func V () = makeString(["%s", "poolAssetDefaultMinAmount"], b)
126126
127127
128128 func W (X) = makeString(["%s%s", "poolAssetMinAmount", X], b)
129129
130130
131131 func Y () = makeString(["%s", "priceAssets"], b)
132132
133133
134-func Z () = {
135- let aa = getString(y())
136- if ($isInstanceOf(aa, "String"))
134+func Z () = makeString(["%s", "memePoolFactory"], b)
135+
136+
137+func aa () = {
138+ let ab = getString(y())
139+ if ($isInstanceOf(ab, "String"))
137140 then {
138- let ab = aa
139- addressFromStringValue(ab)
141+ let ac = ab
142+ addressFromStringValue(ac)
140143 }
141144 else this
142145 }
143146
144147
145-func ac (ad) = valueOrErrorMessage(getString(this, ad), (ad + " is not defined"))
148+func ad (ae) = valueOrErrorMessage(getString(this, ae), (ae + " is not defined"))
146149
147150
148-func ae (af) = {
149- let aa = af
150- if ($isInstanceOf(aa, "String"))
151+func af (ag) = {
152+ let ab = ag
153+ if ($isInstanceOf(ab, "String"))
151154 then {
152- let ab = aa
153- if ((size(ab) == 0))
155+ let ac = ab
156+ if ((size(ac) == 0))
154157 then nil
155- else split_4C(ab, b)
158+ else split_4C(ac, b)
156159 }
157- else if ($isInstanceOf(aa, "Unit"))
160+ else if ($isInstanceOf(ab, "Unit"))
158161 then nil
159162 else throw("Match error")
160163 }
161164
162165
163-let ag = addressFromStringValue(ac(D()))
166+let ah = addressFromStringValue(ad(D()))
164167
165-let ah = makeString(["%s", "votingEmissionContract"], b)
168+let ai = makeString(["%s", "votingEmissionContract"], b)
166169
167-let ai = addressFromStringValue(valueOrErrorMessage(getString(ag, ah), g("voting emission contract address is required")))
170+let aj = addressFromStringValue(valueOrErrorMessage(getString(ah, ai), g("voting emission contract address is required")))
168171
169-let aj = makeString(["%s", "votingEmissionCandidateContract"], b)
172+let ak = makeString(["%s", "votingEmissionCandidateContract"], b)
170173
171-let ak = addressFromStringValue(valueOrErrorMessage(getString(ai, aj), g("voting emission candidate contract address is required")))
174+let al = addressFromStringValue(valueOrErrorMessage(getString(aj, ak), g("voting emission candidate contract address is required")))
172175
173-func al (B,C) = valueOrElse(getBoolean(N(B, C)), false)
176+func am (B,C) = valueOrElse(getBoolean(N(B, C)), false)
174177
175178
176-func am (B,C) = if (al(B, C))
179+func an (B,C) = if (am(B, C))
177180 then true
178181 else k()
179182
180183
181-func an () = {
182- let ao = Z()
183- let aa = getString(ao, x())
184- if ($isInstanceOf(aa, "String"))
184+func ao () = {
185+ let ap = aa()
186+ let ab = getString(ap, x())
187+ if ($isInstanceOf(ab, "String"))
185188 then {
186- let ab = aa
187- fromBase58String(ab)
189+ let ac = ab
190+ fromBase58String(ac)
188191 }
189- else if ($isInstanceOf(aa, "Unit"))
192+ else if ($isInstanceOf(ab, "Unit"))
190193 then unit
191194 else throw("Match error")
192195 }
193196
194197
195-func ap (aq) = {
196- let aa = an()
197- if ($isInstanceOf(aa, "ByteVector"))
198+func aq (ar) = {
199+ let ab = ao()
200+ if ($isInstanceOf(ab, "ByteVector"))
198201 then {
199- let ar = aa
200- (aq.callerPublicKey == ar)
202+ let as = ab
203+ (ar.callerPublicKey == as)
201204 }
202- else if ($isInstanceOf(aa, "Unit"))
203- then (aq.caller == this)
205+ else if ($isInstanceOf(ab, "Unit"))
206+ then (ar.caller == this)
204207 else throw("Match error")
205208 }
206209
207210
208-func as (aq) = if (ap(aq))
211+func at (ar) = if (aq(ar))
209212 then true
210213 else j()
211214
212215
213-func at (aq) = {
214- let au = ae(getString(z()))
215- if (containsElement(au, toBase58String(aq.callerPublicKey)))
216+func au (ar) = {
217+ let av = af(getString(z()))
218+ if (containsElement(av, toBase58String(ar.callerPublicKey)))
216219 then true
217- else as(aq)
220+ else at(ar)
218221 }
219222
220223
221-func av (X) = (valueOrElse(getInteger(addressFromStringValue(ac(E())), (("status_<" + X) + ">")), 0) == 2)
224+func aw (ar) = {
225+ let ax = getString(ah, Z())
226+ let ab = ax
227+ if ($isInstanceOf(ab, "String"))
228+ then {
229+ let ay = ab
230+ (toString(ar.caller) == ay)
231+ }
232+ else if ($isInstanceOf(ab, "Unit"))
233+ then false
234+ else throw("Match error")
235+ }
222236
223237
224-func aw (ax) = {
225- let aa = ax.assetId
226- if ($isInstanceOf(aa, "ByteVector"))
238+func az (X) = (valueOrElse(getInteger(addressFromStringValue(ad(E())), (("status_<" + X) + ">")), 0) == 2)
239+
240+
241+func aA (aB) = {
242+ let ab = aB.assetId
243+ if ($isInstanceOf(ab, "ByteVector"))
227244 then {
228- let ay = aa
229- let az = value(assetInfo(ay))
230- $Tuple2(toBase58String(ay), az)
245+ let aC = ab
246+ let aD = value(assetInfo(aC))
247+ $Tuple2(toBase58String(aC), aD)
231248 }
232- else if ($isInstanceOf(aa, "Unit"))
249+ else if ($isInstanceOf(ab, "Unit"))
233250 then $Tuple2(c, unit)
234251 else throw("Match error")
235252 }
236253
237254
238-func aA (aB) = containsElement(M, aB)
255+func aE (aF) = containsElement(M, aF)
239256
240257
241-func aC (aq,aD) = {
242- let aE = value(aq.payments[0])
243- let aF = value(aq.payments[1])
244- let aG = value(aq.payments[2])
245- let aH = aw(aE)
246- let B = aH._1
247- let aI = aH._2
248- let aJ = aw(aF)
249- let C = aJ._1
250- let aK = aJ._2
251- let aL = aw(aG)
252- let aM = aL._1
253- let aN = aL._2
254- let aO = aE.amount
255- let aP = aF.amount
256- let aQ = aG.amount
257- let aR = ae(getString(ag, Y()))
258- let aS = getIntegerValue(ag, V())
259- let aT = valueOrElse(getInteger(ag, W(B)), aS)
260- let aU = valueOrElse(getInteger(ag, W(C)), aS)
261- let aV = valueOrElse(getInteger(H()), 0)
262- let aW = (aV + 1)
263- let aX = addressFromStringValue(ac(F()))
264- let aY = {
265- let aZ = invoke(ag, "poolExistsREADONLY", [B, C], nil)
266- if ($isInstanceOf(aZ, "Boolean"))
267- then aZ
268- else throw(($getType(aZ) + " couldn't be cast to Boolean"))
258+func aG (ar,aH) = {
259+ let aI = value(ar.payments[0])
260+ let aJ = value(ar.payments[1])
261+ let aK = value(ar.payments[2])
262+ let aL = aA(aI)
263+ let B = aL._1
264+ let aM = aL._2
265+ let aN = aA(aJ)
266+ let C = aN._1
267+ let aO = aN._2
268+ let aP = aA(aK)
269+ let aQ = aP._1
270+ let aR = aP._2
271+ let aS = aI.amount
272+ let aT = aJ.amount
273+ let aU = aK.amount
274+ let aV = af(getString(ah, Y()))
275+ let aW = getIntegerValue(ah, V())
276+ let aX = valueOrElse(getInteger(ah, W(B)), aW)
277+ let aY = valueOrElse(getInteger(ah, W(C)), aW)
278+ let aZ = valueOrElse(getInteger(H()), 0)
279+ let ba = (aZ + 1)
280+ let bb = addressFromStringValue(ad(F()))
281+ let bc = {
282+ let bd = invoke(ah, "poolExistsREADONLY", [B, C], nil)
283+ if ($isInstanceOf(bd, "Boolean"))
284+ then bd
285+ else throw(($getType(bd) + " couldn't be cast to Boolean"))
269286 }
270- let ba = [if (!(al(B, C)))
287+ let be = [if (!(am(B, C)))
271288 then true
272- else m(), if (!(aY))
289+ else m(), if (!(bc))
273290 then true
274291 else m(), if ((B != C))
275292 then true
276- else w(), if (if (ap(aq))
293+ else w(), if (if (containsElement(aV, B))
277294 then true
278- else if (av(B))
279- then av(C)
295+ else containsElement(aV, C))
296+ then true
297+ else w(), if (if (if (aq(ar))
298+ then true
299+ else aw(ar))
300+ then true
301+ else if (az(B))
302+ then az(C)
280303 else false)
281304 then true
282- else w(), if (if (containsElement(aR, B))
305+ else w(), if (if (if (aq(ar))
283306 then true
284- else containsElement(aR, C))
307+ else aw(ar))
285308 then true
286- else w(), if (if (ap(aq))
309+ else (getString(T()) == aQ))
287310 then true
288- else (getString(T()) == aM))
311+ else p(), if (if (if (aq(ar))
289312 then true
290- else p(), if (if (ap(aq))
313+ else aw(ar))
291314 then true
292- else (aO >= aT))
315+ else (aS >= aX))
293316 then true
294- else q(), if (if (ap(aq))
317+ else q(), if (if (if (aq(ar))
295318 then true
296- else (aP >= aU))
319+ else aw(ar))
297320 then true
298- else u(), if (if (ap(aq))
321+ else (aT >= aY))
299322 then true
300- else (aQ == getInteger(U())))
323+ else u(), if (if (if (aq(ar))
324+ then true
325+ else aw(ar))
326+ then true
327+ else (aU == getInteger(U())))
301328 then true
302329 else v()]
303- if ((ba == ba))
330+ if ((be == be))
304331 then {
305- let bb = 3
306- let bc = if ((size(aq.payments) >= bb))
307- then invoke(aX, "burn", nil, [AttachedPayment(fromBase58String(aM), aQ)])
332+ let bf = 3
333+ let bg = if ((size(ar.payments) >= bf))
334+ then invoke(bb, "burn", nil, [AttachedPayment(fromBase58String(aQ), aU)])
308335 else unit
309- if ((bc == bc))
310- then [BooleanEntry(N(B, C), true), StringEntry(O(B, C), toString(aq.caller)), IntegerEntry(H(), aW), StringEntry(G(B, C), (toString(aW) + I)), IntegerEntry(R(B, C), height), StringEntry(A(B, C), J), IntegerEntry(P(B, C), aO), IntegerEntry(Q(B, C), aP), StringEntry(S(B, C), aD)]
336+ if ((bg == bg))
337+ then [BooleanEntry(N(B, C), true), StringEntry(O(B, C), toString(ar.caller)), IntegerEntry(H(), ba), StringEntry(G(B, C), (toString(ba) + I)), IntegerEntry(R(B, C), height), StringEntry(A(B, C), J), IntegerEntry(P(B, C), aS), IntegerEntry(Q(B, C), aT), StringEntry(S(B, C), aH)]
311338 else throw("Strict value is not equal to itself.")
312339 }
313340 else throw("Strict value is not equal to itself.")
314341 }
315342
316343
317-@Callable(aq)
318-func constructor (bd,be,bf,aM,bg) = {
319- let bh = as(aq)
320- if ((bh == bh))
321- then [StringEntry(D(), bd), StringEntry(E(), be), StringEntry(F(), bf), StringEntry(T(), aM), IntegerEntry(U(), bg)]
344+@Callable(ar)
345+func constructor (bh,bi,bj,aQ,bk) = {
346+ let bl = at(ar)
347+ if ((bl == bl))
348+ then [StringEntry(D(), bh), StringEntry(E(), bi), StringEntry(F(), bj), StringEntry(T(), aQ), IntegerEntry(U(), bk)]
322349 else throw("Strict value is not equal to itself.")
323350 }
324351
325352
326353
327-@Callable(aq)
328-func create () = aC(aq, d)
354+@Callable(ar)
355+func create () = aG(ar, d)
329356
330357
331358
332-@Callable(aq)
359+@Callable(ar)
333360 func createStable () = {
334- let bh = as(aq)
335- if ((bh == bh))
336- then aC(aq, e)
361+ let bl = at(ar)
362+ if ((bl == bl))
363+ then aG(ar, e)
337364 else throw("Strict value is not equal to itself.")
338365 }
339366
340367
341368
342-@Callable(aq)
343-func activate (bi,B,bj,C,bk,bl) = {
344- let ba = [at(aq), if (al(B, C))
369+@Callable(ar)
370+func activate (bm,B,bn,C,bo,bp) = {
371+ let be = [au(ar), if (am(B, C))
345372 then true
346373 else k(), if ((value(getString(A(B, C))) == J))
347374 then true
348375 else s()]
349- if ((ba == ba))
376+ if ((be == be))
350377 then {
351- let bm = getString(this, S(B, C))
352- let bn = invoke(ag, "activateNewPool", [bi, B, C, ((bj + bk) + "LP"), (((bj + "/") + bk) + " pool liquidity provider token"), 0, if ((bm == unit))
378+ let bq = getString(this, S(B, C))
379+ let br = invoke(ah, "activateNewPool", [bm, B, C, ((bn + bo) + "LP"), (((bn + "/") + bo) + " pool liquidity provider token"), 0, if ((bq == unit))
353380 then "VLTPOOL"
354- else value(bm), bl], nil)
355- if ((bn == bn))
381+ else value(bq), bp], nil)
382+ if ((br == br))
356383 then {
357- let bo = {
358- let aa = bn
359- if ($isInstanceOf(aa, "String"))
384+ let bs = {
385+ let ab = br
386+ if ($isInstanceOf(ab, "String"))
360387 then {
361- let ay = aa
362- ay
388+ let aC = ab
389+ aC
363390 }
364391 else t()
365392 }
366- if ((bo == bo))
393+ if ((bs == bs))
367394 then {
368- let bp = assetBalance(this, fromBase58String(bo))
369- if ((bp == bp))
395+ let bt = assetBalance(this, fromBase58String(bs))
396+ if ((bt == bt))
370397 then {
371- let bq = invoke(addressFromStringValue(bi), "put", [0, false], [AttachedPayment(if ((B == "WAVES"))
398+ let bu = invoke(addressFromStringValue(bm), "put", [0, false], [AttachedPayment(if ((B == "WAVES"))
372399 then unit
373400 else fromBase58String(B), value(getInteger(P(B, C)))), AttachedPayment(if ((C == "WAVES"))
374401 then unit
375402 else fromBase58String(C), value(getInteger(Q(B, C))))])
376- if ((bq == bq))
403+ if ((bu == bu))
377404 then {
378- let br = assetBalance(this, fromBase58String(bo))
379- if ((br == br))
405+ let bv = assetBalance(this, fromBase58String(bs))
406+ if ((bv == bv))
380407 then {
381- let bs = value(addressFromString(value(getString(O(B, C)))))
382- let bt = invoke(ak, "approve", [B, C], nil)
383- if ((bt == bt))
384- then [StringEntry(A(B, C), L), ScriptTransfer(bs, (br - bp), fromBase58String(bo))]
408+ let bw = value(addressFromString(value(getString(O(B, C)))))
409+ let bx = invoke(al, "approve", [B, C], nil)
410+ if ((bx == bx))
411+ then [StringEntry(A(B, C), L), ScriptTransfer(bw, (bv - bt), fromBase58String(bs))]
385412 else throw("Strict value is not equal to itself.")
386413 }
387414 else throw("Strict value is not equal to itself.")
388415 }
389416 else throw("Strict value is not equal to itself.")
390417 }
391418 else throw("Strict value is not equal to itself.")
392419 }
393420 else throw("Strict value is not equal to itself.")
394421 }
395422 else throw("Strict value is not equal to itself.")
396423 }
397424 else throw("Strict value is not equal to itself.")
398425 }
399426
400427
401428
402-@Callable(aq)
403-func setAdmins (bu) = {
404- let bh = as(aq)
405- if ((bh == bh))
406- then [StringEntry(z(), makeString(bu, b))]
429+@Callable(ar)
430+func setAdmins (by) = {
431+ let bl = at(ar)
432+ if ((bl == bl))
433+ then [StringEntry(z(), makeString(by, b))]
407434 else throw("Strict value is not equal to itself.")
408435 }
409436
410437
411438
412-@Callable(aq)
413-func priceAssetsREADONLY () = $Tuple2(nil, ae(getString(Y())))
439+@Callable(ar)
440+func priceAssetsREADONLY () = $Tuple2(nil, af(getString(Y())))
414441
415442
416443
417-@Callable(aq)
444+@Callable(ar)
418445 func statusREADONLY (B,C) = {
419- let aB = {
420- let aa = getString(A(B, C))
421- if ($isInstanceOf(aa, "String"))
446+ let aF = {
447+ let ab = getString(A(B, C))
448+ if ($isInstanceOf(ab, "String"))
422449 then {
423- let ab = aa
424- ab
450+ let ac = ab
451+ ac
425452 }
426453 else unit
427454 }
428- $Tuple2(nil, aB)
455+ $Tuple2(nil, aF)
429456 }
430457
431458
432459
433-@Callable(aq)
460+@Callable(ar)
434461 func getPoolCreatorREADONLY (B,C) = {
435- let bv = valueOrElse(getString(O(B, C)), "")
436- $Tuple2(nil, bv)
462+ let bz = valueOrElse(getString(O(B, C)), "")
463+ $Tuple2(nil, bz)
437464 }
438465
439466
440467
441-@Callable(aq)
468+@Callable(ar)
442469 func deletePool (B,C) = {
443- let bh = if (if ((aq.caller == ag))
470+ let bl = if (if ((ar.caller == ah))
444471 then true
445- else as(aq))
472+ else at(ar))
446473 then true
447474 else i("Permission denied")
448- if ((bh == bh))
475+ if ((bl == bl))
449476 then [DeleteEntry(N(B, C)), DeleteEntry(O(B, C)), DeleteEntry(G(B, C)), DeleteEntry(R(B, C)), DeleteEntry(A(B, C)), DeleteEntry(P(B, C)), DeleteEntry(Q(B, C)), DeleteEntry(S(B, C))]
450477 else throw("Strict value is not equal to itself.")
451478 }
452479
453480
454-@Verifier(bw)
455-func bx () = {
456- let by = {
457- let aa = an()
458- if ($isInstanceOf(aa, "ByteVector"))
481+@Verifier(bA)
482+func bB () = {
483+ let bC = {
484+ let ab = ao()
485+ if ($isInstanceOf(ab, "ByteVector"))
459486 then {
460- let ar = aa
461- ar
487+ let as = ab
488+ as
462489 }
463- else if ($isInstanceOf(aa, "Unit"))
464- then bw.senderPublicKey
490+ else if ($isInstanceOf(ab, "Unit"))
491+ then bA.senderPublicKey
465492 else throw("Match error")
466493 }
467- sigVerify(bw.bodyBytes, bw.proofs[0], by)
494+ sigVerify(bA.bodyBytes, bA.proofs[0], bC)
468495 }
469496

github/deemru/w8io/169f3d6 
206.33 ms