tx · 4mxuGq5uWxUJ8vLPHGSTLsHrPCnicNcpaTC3oSs7Q1Gy

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01700000 Waves

2023.04.17 12:22 [2538380] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "4mxuGq5uWxUJ8vLPHGSTLsHrPCnicNcpaTC3oSs7Q1Gy", "fee": 1700000, "feeAssetId": null, "timestamp": 1681723392446, "version": 2, "chainId": 84, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "KAgUAMbZsbkt7qYnuNNybkCmKahvAbahrjH8oEtVHCQoHFHyeRDjSRV4arrRqPSxwBx19YknW7UyY6jpv3a3Vjy" ], "script": "base64:AAIFAAAAAAAAB3AIAhIJCgcICAgYAQgBEgASCAoGCAgICAgIEgMKARgSAwoBCBIAEgASBAoCCAgiA1NFUCIMd2F2ZXNBc3NldElkIhFpbnZhbGlkUHJpY2VBc3NldCIIdGhyb3dFcnIiA21zZyIHdGhyb3dQRCIUdGhyb3dDcmVhdGVOb3RDYWxsZWQiEXRocm93WW91Tm90SXNzdWVyIg90aHJvd1Bvb2xFeGlzdHMiFXRocm93QXNzZXROb3RWZXJpZmllZCIWdGhyb3dJbnZhbGlkUHJpY2VBc3NldCIUdGhyb3dJbnZhbGlkRmVlQXNzZXQiF3Rocm93SW52YWxpZEFtb3VudEFzc2V0IhJ0aHJvd0ludmFsaWRTdGF0dXMiH3Rocm93Q2FuQWN0aXZhdGVPbmx5UGVuZGluZ1Bvb2wiHXRocm93RmFjdG9yeVJldHVybmVkTm90U3RyaW5nIhx0aHJvd0ludmFsaWRQcmljZUFzc2V0QW1vdW50Ig90aHJvd0ludmFsaWRGZWUiFXRocm93SW52YWxpZEFzc2V0UGFpciITa2V5TWFuYWdlclB1YmxpY0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ZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAACYWYBAAAAE3ByaWNlQXNzZXRzUkVBRE9OTFkAAAAACQAFFAAAAAIFAAAAA25pbAkBAAAAAVYAAAABCQAEIgAAAAEJAQAAAAFTAAAAAAAAAAJhZgEAAAAOc3RhdHVzUkVBRE9OTFkAAAACAAAAAXgAAAABeQQAAAACYXIEAAAAAVgJAAQiAAAAAQkBAAAAAXcAAAACBQAAAAF4BQAAAAF5AwkAAAEAAAACBQAAAAFYAgAAAAZTdHJpbmcEAAAAAVkFAAAAAVgFAAAAAVkFAAAABHVuaXQJAAUUAAAAAgUAAAADbmlsBQAAAAJhcgAAAAEAAAACYnEBAAAAAmJyAAAAAAQAAAACYnMEAAAAAVgJAQAAAAJhYwAAAAADCQAAAQAAAAIFAAAAAVgCAAAACkJ5dGVWZWN0b3IEAAAAAmFnBQAAAAFYBQAAAAJhZwMJAAABAAAAAgUAAAABWAIAAAAEVW5pdAgFAAAAAmJxAAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACYnEAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJicQAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAAmJztU0lsA==", "height": 2538380, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: At5ie36JTGMoKjY9yft8zi7aBGFe55GmZy8NV4nTfMJ8 Next: GkjZUyBJNWL3LJGd6TD1hgVXrQVg28kkgqhX5TA2c9g Diff:
OldNewDifferences
4949 func r () = d("invalid fee")
5050
5151
52-func s () = makeString(["%s", "managerPublicKey"], a)
52+func s () = d("invalid asset pair")
5353
5454
55-func t () = makeString(["%s", "pendingManagerPublicKey"], a)
55+func t () = makeString(["%s", "managerPublicKey"], a)
5656
5757
58-func u () = makeString(["%s", "adminPubKeys"], a)
58+func u () = makeString(["%s", "pendingManagerPublicKey"], a)
5959
6060
61-func v (w,x) = makeString(["%s%s%s", "status", w, x], a)
61+func v () = makeString(["%s", "adminPubKeys"], a)
6262
6363
64-func y () = makeString(["%s", "factoryContract"], a)
64+func w (x,y) = makeString(["%s%s%s", "status", x, y], a)
6565
6666
67-func z () = makeString(["%s", "assetsStoreContract"], a)
67+func z () = makeString(["%s", "factoryContract"], a)
6868
6969
70-func A () = makeString(["%s", "emissionContract"], a)
70+func A () = makeString(["%s", "assetsStoreContract"], a)
7171
7272
73-func B (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
73+func B () = makeString(["%s", "emissionContract"], a)
7474
7575
76-func C () = makeString(["%s", "lastIndex"], a)
76+func C (x,y) = makeString(["%s%s%s", "suffix", x, y], a)
7777
7878
79-let D = "u"
80-
81-let E = "pending"
82-
83-let F = "declined"
84-
85-let G = "active"
86-
87-let H = [E, F, G]
88-
89-func I (w,x) = makeString(["%s%s%s", "createCalled", w, x], a)
79+func D () = makeString(["%s", "lastIndex"], a)
9080
9181
92-func J (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
82+let E = "u"
83+
84+let F = "pending"
85+
86+let G = "declined"
87+
88+let H = "active"
89+
90+let I = [F, G, H]
91+
92+func J (x,y) = makeString(["%s%s%s", "createCalled", x, y], a)
9393
9494
95-func K (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
95+func K (x,y) = makeString(["%s%s%s", "createCaller", x, y], a)
9696
9797
98-func L (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
98+func L (x,y) = makeString(["%s%s%s", "amountAssetAmount", x, y], a)
9999
100100
101-func M (w,x) = makeString(["%s%s%s", "height", w, x], a)
101+func M (x,y) = makeString(["%s%s%s", "priceAssetAmount", x, y], a)
102102
103103
104-func N () = makeString(["%s", "feeAssetId"], a)
104+func N (x,y) = makeString(["%s%s%s", "height", x, y], a)
105105
106106
107-func O () = makeString(["%s", "feeAmount"], a)
107+func O () = makeString(["%s", "feeAssetId"], a)
108108
109109
110-func P () = makeString(["%s", "amountAssetMinAmount"], a)
110+func P () = makeString(["%s", "feeAmount"], a)
111111
112112
113-func Q () = makeString(["%s", "priceAssetsMinAmount"], a)
113+func Q () = makeString(["%s", "amountAssetMinAmount"], a)
114114
115115
116-func R () = makeString(["%s", "priceAssets"], a)
116+func R () = makeString(["%s", "priceAssetsMinAmount"], a)
117117
118118
119-func S (T) = valueOrErrorMessage(getString(this, T), (T + " is not defined"))
119+func S () = makeString(["%s", "priceAssets"], a)
120120
121121
122-func U (V) = {
123- let W = V
124- if ($isInstanceOf(W, "String"))
122+func T (U) = valueOrErrorMessage(getString(this, U), (U + " is not defined"))
123+
124+
125+func V (W) = {
126+ let X = W
127+ if ($isInstanceOf(X, "String"))
125128 then {
126- let X = W
127- if ((size(X) == 0))
129+ let Y = X
130+ if ((size(Y) == 0))
128131 then nil
129- else split(X, a)
132+ else split(Y, a)
130133 }
131- else if ($isInstanceOf(W, "Unit"))
134+ else if ($isInstanceOf(X, "Unit"))
132135 then nil
133136 else throw("Match error")
134137 }
135138
136139
137-let Y = addressFromStringValue(S(y()))
140+let Z = addressFromStringValue(T(z()))
138141
139-func Z (w,x) = valueOrElse(getBoolean(I(w, x)), false)
142+func aa (x,y) = valueOrElse(getBoolean(J(x, y)), false)
140143
141144
142-func aa (w,x) = if (Z(w, x))
145+func ab (x,y) = if (aa(x, y))
143146 then true
144147 else g()
145148
146149
147-func ab () = {
148- let W = getString(s())
149- if ($isInstanceOf(W, "String"))
150+func ac () = {
151+ let X = getString(t())
152+ if ($isInstanceOf(X, "String"))
150153 then {
151- let X = W
152- fromBase58String(X)
154+ let Y = X
155+ fromBase58String(Y)
153156 }
154- else if ($isInstanceOf(W, "Unit"))
157+ else if ($isInstanceOf(X, "Unit"))
155158 then unit
156159 else throw("Match error")
157160 }
158161
159162
160-func ac () = {
161- let W = getString(t())
162- if ($isInstanceOf(W, "String"))
163+func ad () = {
164+ let X = getString(u())
165+ if ($isInstanceOf(X, "String"))
163166 then {
164- let X = W
165- fromBase58String(X)
167+ let Y = X
168+ fromBase58String(Y)
166169 }
167- else if ($isInstanceOf(W, "Unit"))
170+ else if ($isInstanceOf(X, "Unit"))
168171 then unit
169172 else throw("Match error")
170173 }
171174
172175
173-func ad (ae) = {
174- let W = ab()
175- if ($isInstanceOf(W, "ByteVector"))
176+func ae (af) = {
177+ let X = ac()
178+ if ($isInstanceOf(X, "ByteVector"))
176179 then {
177- let af = W
178- (ae.callerPublicKey == af)
180+ let ag = X
181+ (af.callerPublicKey == ag)
179182 }
180- else if ($isInstanceOf(W, "Unit"))
181- then (ae.caller == this)
183+ else if ($isInstanceOf(X, "Unit"))
184+ then (af.caller == this)
182185 else throw("Match error")
183186 }
184187
185188
186-func ag (ae) = if (ad(ae))
189+func ah (af) = if (ae(af))
187190 then true
188191 else f()
189192
190193
191-func ah (ae) = {
192- let ai = U(getString(u()))
193- if (containsElement(ai, toBase58String(ae.callerPublicKey)))
194+func ai (af) = {
195+ let aj = V(getString(v()))
196+ if (containsElement(aj, toBase58String(af.callerPublicKey)))
194197 then true
195- else ag(ae)
198+ else ah(af)
196199 }
197200
198201
199-func aj (ak) = (valueOrElse(getInteger(addressFromStringValue(S(z())), (("status_<" + ak) + ">")), 0) == 2)
202+func ak (al) = (valueOrElse(getInteger(addressFromStringValue(T(A())), (("status_<" + al) + ">")), 0) == 2)
200203
201204
202-func al (am) = {
203- let W = am.assetId
204- if ($isInstanceOf(W, "ByteVector"))
205+func am (an) = {
206+ let X = an.assetId
207+ if ($isInstanceOf(X, "ByteVector"))
205208 then {
206- let an = W
207- let ao = value(assetInfo(an))
208- $Tuple2(toBase58String(an), ao)
209+ let ao = X
210+ let ap = value(assetInfo(ao))
211+ $Tuple2(toBase58String(ao), ap)
209212 }
210- else if ($isInstanceOf(W, "Unit"))
213+ else if ($isInstanceOf(X, "Unit"))
211214 then $Tuple2(b, unit)
212215 else throw("Match error")
213216 }
214217
215218
216-func ap (aq) = containsElement(H, aq)
219+func aq (ar) = containsElement(I, ar)
217220
218221
219-@Callable(ae)
220-func constructor (ar,as,at,au,av,aw,ax) = {
221- let ay = ag(ae)
222- if ((ay == ay))
223- then [StringEntry(y(), ar), StringEntry(z(), as), StringEntry(A(), at), StringEntry(Q(), makeString(au, a)), IntegerEntry(P(), av), StringEntry(N(), aw), IntegerEntry(O(), ax)]
222+@Callable(af)
223+func constructor (as,at,au,av,aw,ax,ay) = {
224+ let az = ah(af)
225+ if ((az == az))
226+ then [StringEntry(z(), as), StringEntry(A(), at), StringEntry(B(), au), StringEntry(R(), makeString(av, a)), IntegerEntry(Q(), aw), StringEntry(O(), ax), IntegerEntry(P(), ay)]
224227 else throw("Strict value is not equal to itself.")
225228 }
226229
227230
228231
229-@Callable(ae)
232+@Callable(af)
230233 func create () = {
231- let az = value(ae.payments[0])
232- let aA = value(ae.payments[1])
233- let aB = value(ae.payments[2])
234- let aC = al(az)
235- let w = aC._1
236- let aD = aC._2
237- let aE = al(aA)
238- let x = aE._1
239- let aF = aE._2
240- let aG = al(aB)
241- let aw = aG._1
242- let aH = aG._2
243- let aI = U(getString(Y, R()))
244- let aJ = 1
245- let aK = if (ad(ae))
246- then aJ
247- else {
248- let aL = valueOrErrorMessage(indexOf(aI, x), c)
249- value(parseInt(U(getString(Q()))[aL]))
250- }
251- let aM = valueOrElse(getInteger(C()), 0)
252- let aN = (aM + 1)
253- let aO = addressFromStringValue(S(A()))
254- let aP = {
255- let aQ = invoke(Y, "poolExistsREADONLY", [w, x], nil)
256- if ($isInstanceOf(aQ, "Boolean"))
257- then aQ
258- else throw("Couldn't cast Any to Boolean")
259- }
260- let aR = [if (!(Z(w, x)))
234+ let aA = value(af.payments[0])
235+ let aB = value(af.payments[1])
236+ let aC = value(af.payments[2])
237+ let aD = am(aA)
238+ let aE = aD._1
239+ let aF = aD._2
240+ let aG = am(aB)
241+ let aH = aG._1
242+ let aI = aG._2
243+ let aJ = am(aC)
244+ let ax = aJ._1
245+ let aK = aJ._2
246+ let aL = V(getString(Z, S()))
247+ let aM = if ((aE != aH))
261248 then true
262- else i(), if (!(aP))
263- then true
264- else i(), if (if (ad(ae))
265- then true
266- else aj(w))
267- then true
268- else j(), if ((getString(N()) == aw))
269- then true
270- else l(), if (if (ad(ae))
271- then true
272- else (az.amount >= getIntegerValue(P())))
273- then true
274- else m(), if (if (ad(ae))
275- then true
276- else (aA.amount >= aK))
277- then true
278- else q(), if ((aB.amount == getInteger(O())))
279- then true
280- else r()]
281- if ((aR == aR))
249+ else s()
250+ if ((aM == aM))
282251 then {
283- let aS = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
284- if ((aS == aS))
285- then [BooleanEntry(I(w, x), true), StringEntry(J(w, x), toString(ae.caller)), IntegerEntry(C(), aN), StringEntry(B(w, x), (toString(aN) + D)), IntegerEntry(M(w, x), height), StringEntry(v(w, x), E), IntegerEntry(K(w, x), az.amount), IntegerEntry(L(w, x), aA.amount)]
252+ let aN = if (if (containsElement(aL, aH))
253+ then ak(aE)
254+ else false)
255+ then $Tuple4(aE, aA.amount, aH, aB.amount)
256+ else if (if (containsElement(aL, aE))
257+ then ak(aH)
258+ else false)
259+ then $Tuple4(aH, aB.amount, aE, aA.amount)
260+ else s()
261+ let x = aN._1
262+ let aO = aN._2
263+ let y = aN._3
264+ let aP = aN._4
265+ let aQ = 1
266+ let aR = if (ae(af))
267+ then aQ
268+ else {
269+ let aS = valueOrErrorMessage(indexOf(aL, y), c)
270+ value(parseInt(V(getString(R()))[aS]))
271+ }
272+ let aT = valueOrElse(getInteger(D()), 0)
273+ let aU = (aT + 1)
274+ let aV = addressFromStringValue(T(B()))
275+ let aW = {
276+ let aX = invoke(Z, "poolExistsREADONLY", [x, y], nil)
277+ if ($isInstanceOf(aX, "Boolean"))
278+ then aX
279+ else throw("Couldn't cast Any to Boolean")
280+ }
281+ let aY = [if (!(aa(x, y)))
282+ then true
283+ else i(), if (!(aW))
284+ then true
285+ else i(), if ((getString(O()) == ax))
286+ then true
287+ else l(), if (if (ae(af))
288+ then true
289+ else (aO >= getIntegerValue(Q())))
290+ then true
291+ else m(), if (if (ae(af))
292+ then true
293+ else (aP >= aR))
294+ then true
295+ else q(), if ((aC.amount == getInteger(P())))
296+ then true
297+ else r()]
298+ if ((aY == aY))
299+ then {
300+ let aZ = invoke(aV, "burn", nil, [AttachedPayment(fromBase58String(ax), aC.amount)])
301+ if ((aZ == aZ))
302+ then [BooleanEntry(J(x, y), true), StringEntry(K(x, y), toString(af.caller)), IntegerEntry(D(), aU), StringEntry(C(x, y), (toString(aU) + E)), IntegerEntry(N(x, y), height), StringEntry(w(x, y), F), IntegerEntry(L(x, y), aO), IntegerEntry(M(x, y), aP)]
303+ else throw("Strict value is not equal to itself.")
304+ }
286305 else throw("Strict value is not equal to itself.")
287306 }
288307 else throw("Strict value is not equal to itself.")
290309
291310
292311
293-@Callable(ae)
294-func activate (aT,w,aU,x,aV,aW) = {
295- let aR = [ah(ae), if (Z(w, x))
312+@Callable(af)
313+func activate (ba,x,bb,y,bc,bd) = {
314+ let aY = [ai(af), if (aa(x, y))
296315 then true
297- else g(), if ((value(getString(v(w, x))) == E))
316+ else g(), if ((value(getString(w(x, y))) == F))
298317 then true
299318 else o()]
300- if ((aR == aR))
319+ if ((aY == aY))
301320 then {
302- let aX = invoke(Y, "activateNewPool", [aT, w, x, ((aU + aV) + "LP"), (((aU + "/") + aV) + " pool liquidity provider token"), 0, "VLTPOOL", aW], nil)
303- if ((aX == aX))
321+ let be = invoke(Z, "activateNewPool", [ba, x, y, ((bb + bc) + "LP"), (((bb + "/") + bc) + " pool liquidity provider token"), 0, "VLTPOOL", bd], nil)
322+ if ((be == be))
304323 then {
305- let aY = {
306- let W = aX
307- if ($isInstanceOf(W, "String"))
324+ let bf = {
325+ let X = be
326+ if ($isInstanceOf(X, "String"))
308327 then {
309- let an = W
310- an
328+ let ao = X
329+ ao
311330 }
312331 else p()
313332 }
314- if ((aY == aY))
333+ if ((bf == bf))
315334 then {
316- let aZ = assetBalance(this, fromBase58String(aY))
317- if ((aZ == aZ))
335+ let bg = assetBalance(this, fromBase58String(bf))
336+ if ((bg == bg))
318337 then {
319- let ba = invoke(addressFromStringValue(aT), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
338+ let bh = invoke(addressFromStringValue(ba), "put", [0, false], [AttachedPayment(if ((x == "WAVES"))
320339 then unit
321- else fromBase58String(w), value(getInteger(K(w, x)))), AttachedPayment(if ((x == "WAVES"))
340+ else fromBase58String(x), value(getInteger(L(x, y)))), AttachedPayment(if ((y == "WAVES"))
322341 then unit
323- else fromBase58String(x), value(getInteger(L(w, x))))])
324- if ((ba == ba))
342+ else fromBase58String(y), value(getInteger(M(x, y))))])
343+ if ((bh == bh))
325344 then {
326- let bb = assetBalance(this, fromBase58String(aY))
327- if ((bb == bb))
345+ let bi = assetBalance(this, fromBase58String(bf))
346+ if ((bi == bi))
328347 then {
329- let bc = value(addressFromString(value(getString(J(w, x)))))
330-[StringEntry(v(w, x), G), ScriptTransfer(bc, (bb - aZ), fromBase58String(aY))]
348+ let bj = value(addressFromString(value(getString(K(x, y)))))
349+[StringEntry(w(x, y), H), ScriptTransfer(bj, (bi - bg), fromBase58String(bf))]
331350 }
332351 else throw("Strict value is not equal to itself.")
333352 }
344363
345364
346365
347-@Callable(ae)
348-func setAdmins (bd) = {
349- let ay = ag(ae)
350- if ((ay == ay))
351- then [StringEntry(u(), makeString(bd, a))]
366+@Callable(af)
367+func setAdmins (bk) = {
368+ let az = ah(af)
369+ if ((az == az))
370+ then [StringEntry(v(), makeString(bk, a))]
352371 else throw("Strict value is not equal to itself.")
353372 }
354373
355374
356375
357-@Callable(ae)
358-func setManager (be) = {
359- let ay = ag(ae)
360- if ((ay == ay))
376+@Callable(af)
377+func setManager (bl) = {
378+ let az = ah(af)
379+ if ((az == az))
361380 then {
362- let bf = fromBase58String(be)
363- if ((bf == bf))
364- then [StringEntry(t(), be)]
381+ let bm = fromBase58String(bl)
382+ if ((bm == bm))
383+ then [StringEntry(u(), bl)]
365384 else throw("Strict value is not equal to itself.")
366385 }
367386 else throw("Strict value is not equal to itself.")
369388
370389
371390
372-@Callable(ae)
391+@Callable(af)
373392 func confirmManager () = {
374- let bg = ac()
375- let bh = if (isDefined(bg))
393+ let bn = ad()
394+ let bo = if (isDefined(bn))
376395 then true
377396 else throw("No pending manager")
378- if ((bh == bh))
397+ if ((bo == bo))
379398 then {
380- let bi = if ((ae.callerPublicKey == value(bg)))
399+ let bp = if ((af.callerPublicKey == value(bn)))
381400 then true
382401 else throw("You are not pending manager")
383- if ((bi == bi))
384- then [StringEntry(s(), toBase58String(value(bg))), DeleteEntry(t())]
402+ if ((bp == bp))
403+ then [StringEntry(t(), toBase58String(value(bn))), DeleteEntry(u())]
385404 else throw("Strict value is not equal to itself.")
386405 }
387406 else throw("Strict value is not equal to itself.")
389408
390409
391410
392-@Callable(ae)
393-func priceAssetsREADONLY () = $Tuple2(nil, U(getString(R())))
411+@Callable(af)
412+func priceAssetsREADONLY () = $Tuple2(nil, V(getString(S())))
394413
395414
396415
397-@Callable(ae)
398-func statusREADONLY (w,x) = {
399- let aq = {
400- let W = getString(v(w, x))
401- if ($isInstanceOf(W, "String"))
416+@Callable(af)
417+func statusREADONLY (x,y) = {
418+ let ar = {
419+ let X = getString(w(x, y))
420+ if ($isInstanceOf(X, "String"))
402421 then {
403- let X = W
404- X
422+ let Y = X
423+ Y
405424 }
406425 else unit
407426 }
408- $Tuple2(nil, aq)
427+ $Tuple2(nil, ar)
409428 }
410429
411430
412-@Verifier(bj)
413-func bk () = {
414- let bl = {
415- let W = ab()
416- if ($isInstanceOf(W, "ByteVector"))
431+@Verifier(bq)
432+func br () = {
433+ let bs = {
434+ let X = ac()
435+ if ($isInstanceOf(X, "ByteVector"))
417436 then {
418- let af = W
419- af
437+ let ag = X
438+ ag
420439 }
421- else if ($isInstanceOf(W, "Unit"))
422- then bj.senderPublicKey
440+ else if ($isInstanceOf(X, "Unit"))
441+ then bq.senderPublicKey
423442 else throw("Match error")
424443 }
425- sigVerify(bj.bodyBytes, bj.proofs[0], bl)
444+ sigVerify(bq.bodyBytes, bq.proofs[0], bs)
426445 }
427446
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = "WAVES"
77
88 let c = "Invalid price asset"
99
1010 func d (e) = throw(makeString(["user_pools.ride:", e], " "))
1111
1212
1313 func f () = d("Permission denied")
1414
1515
1616 func g () = d("Create is not called for assets pair")
1717
1818
1919 func h () = d("You are not amountAsset issuer")
2020
2121
2222 func i () = d("Pool with such assets already exists")
2323
2424
2525 func j () = d("Asset is not verified")
2626
2727
2828 func k () = d(c)
2929
3030
3131 func l () = d("Invalid fee asset")
3232
3333
3434 func m () = d("Invalid amount asset attached")
3535
3636
3737 func n () = d("Invalid status")
3838
3939
4040 func o () = d("Can activate pool only in 'pending' status")
4141
4242
4343 func p () = d("FactoryV2 returned not string")
4444
4545
4646 func q () = d("invalid price asset amount")
4747
4848
4949 func r () = d("invalid fee")
5050
5151
52-func s () = makeString(["%s", "managerPublicKey"], a)
52+func s () = d("invalid asset pair")
5353
5454
55-func t () = makeString(["%s", "pendingManagerPublicKey"], a)
55+func t () = makeString(["%s", "managerPublicKey"], a)
5656
5757
58-func u () = makeString(["%s", "adminPubKeys"], a)
58+func u () = makeString(["%s", "pendingManagerPublicKey"], a)
5959
6060
61-func v (w,x) = makeString(["%s%s%s", "status", w, x], a)
61+func v () = makeString(["%s", "adminPubKeys"], a)
6262
6363
64-func y () = makeString(["%s", "factoryContract"], a)
64+func w (x,y) = makeString(["%s%s%s", "status", x, y], a)
6565
6666
67-func z () = makeString(["%s", "assetsStoreContract"], a)
67+func z () = makeString(["%s", "factoryContract"], a)
6868
6969
70-func A () = makeString(["%s", "emissionContract"], a)
70+func A () = makeString(["%s", "assetsStoreContract"], a)
7171
7272
73-func B (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
73+func B () = makeString(["%s", "emissionContract"], a)
7474
7575
76-func C () = makeString(["%s", "lastIndex"], a)
76+func C (x,y) = makeString(["%s%s%s", "suffix", x, y], a)
7777
7878
79-let D = "u"
80-
81-let E = "pending"
82-
83-let F = "declined"
84-
85-let G = "active"
86-
87-let H = [E, F, G]
88-
89-func I (w,x) = makeString(["%s%s%s", "createCalled", w, x], a)
79+func D () = makeString(["%s", "lastIndex"], a)
9080
9181
92-func J (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
82+let E = "u"
83+
84+let F = "pending"
85+
86+let G = "declined"
87+
88+let H = "active"
89+
90+let I = [F, G, H]
91+
92+func J (x,y) = makeString(["%s%s%s", "createCalled", x, y], a)
9393
9494
95-func K (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
95+func K (x,y) = makeString(["%s%s%s", "createCaller", x, y], a)
9696
9797
98-func L (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
98+func L (x,y) = makeString(["%s%s%s", "amountAssetAmount", x, y], a)
9999
100100
101-func M (w,x) = makeString(["%s%s%s", "height", w, x], a)
101+func M (x,y) = makeString(["%s%s%s", "priceAssetAmount", x, y], a)
102102
103103
104-func N () = makeString(["%s", "feeAssetId"], a)
104+func N (x,y) = makeString(["%s%s%s", "height", x, y], a)
105105
106106
107-func O () = makeString(["%s", "feeAmount"], a)
107+func O () = makeString(["%s", "feeAssetId"], a)
108108
109109
110-func P () = makeString(["%s", "amountAssetMinAmount"], a)
110+func P () = makeString(["%s", "feeAmount"], a)
111111
112112
113-func Q () = makeString(["%s", "priceAssetsMinAmount"], a)
113+func Q () = makeString(["%s", "amountAssetMinAmount"], a)
114114
115115
116-func R () = makeString(["%s", "priceAssets"], a)
116+func R () = makeString(["%s", "priceAssetsMinAmount"], a)
117117
118118
119-func S (T) = valueOrErrorMessage(getString(this, T), (T + " is not defined"))
119+func S () = makeString(["%s", "priceAssets"], a)
120120
121121
122-func U (V) = {
123- let W = V
124- if ($isInstanceOf(W, "String"))
122+func T (U) = valueOrErrorMessage(getString(this, U), (U + " is not defined"))
123+
124+
125+func V (W) = {
126+ let X = W
127+ if ($isInstanceOf(X, "String"))
125128 then {
126- let X = W
127- if ((size(X) == 0))
129+ let Y = X
130+ if ((size(Y) == 0))
128131 then nil
129- else split(X, a)
132+ else split(Y, a)
130133 }
131- else if ($isInstanceOf(W, "Unit"))
134+ else if ($isInstanceOf(X, "Unit"))
132135 then nil
133136 else throw("Match error")
134137 }
135138
136139
137-let Y = addressFromStringValue(S(y()))
140+let Z = addressFromStringValue(T(z()))
138141
139-func Z (w,x) = valueOrElse(getBoolean(I(w, x)), false)
142+func aa (x,y) = valueOrElse(getBoolean(J(x, y)), false)
140143
141144
142-func aa (w,x) = if (Z(w, x))
145+func ab (x,y) = if (aa(x, y))
143146 then true
144147 else g()
145148
146149
147-func ab () = {
148- let W = getString(s())
149- if ($isInstanceOf(W, "String"))
150+func ac () = {
151+ let X = getString(t())
152+ if ($isInstanceOf(X, "String"))
150153 then {
151- let X = W
152- fromBase58String(X)
154+ let Y = X
155+ fromBase58String(Y)
153156 }
154- else if ($isInstanceOf(W, "Unit"))
157+ else if ($isInstanceOf(X, "Unit"))
155158 then unit
156159 else throw("Match error")
157160 }
158161
159162
160-func ac () = {
161- let W = getString(t())
162- if ($isInstanceOf(W, "String"))
163+func ad () = {
164+ let X = getString(u())
165+ if ($isInstanceOf(X, "String"))
163166 then {
164- let X = W
165- fromBase58String(X)
167+ let Y = X
168+ fromBase58String(Y)
166169 }
167- else if ($isInstanceOf(W, "Unit"))
170+ else if ($isInstanceOf(X, "Unit"))
168171 then unit
169172 else throw("Match error")
170173 }
171174
172175
173-func ad (ae) = {
174- let W = ab()
175- if ($isInstanceOf(W, "ByteVector"))
176+func ae (af) = {
177+ let X = ac()
178+ if ($isInstanceOf(X, "ByteVector"))
176179 then {
177- let af = W
178- (ae.callerPublicKey == af)
180+ let ag = X
181+ (af.callerPublicKey == ag)
179182 }
180- else if ($isInstanceOf(W, "Unit"))
181- then (ae.caller == this)
183+ else if ($isInstanceOf(X, "Unit"))
184+ then (af.caller == this)
182185 else throw("Match error")
183186 }
184187
185188
186-func ag (ae) = if (ad(ae))
189+func ah (af) = if (ae(af))
187190 then true
188191 else f()
189192
190193
191-func ah (ae) = {
192- let ai = U(getString(u()))
193- if (containsElement(ai, toBase58String(ae.callerPublicKey)))
194+func ai (af) = {
195+ let aj = V(getString(v()))
196+ if (containsElement(aj, toBase58String(af.callerPublicKey)))
194197 then true
195- else ag(ae)
198+ else ah(af)
196199 }
197200
198201
199-func aj (ak) = (valueOrElse(getInteger(addressFromStringValue(S(z())), (("status_<" + ak) + ">")), 0) == 2)
202+func ak (al) = (valueOrElse(getInteger(addressFromStringValue(T(A())), (("status_<" + al) + ">")), 0) == 2)
200203
201204
202-func al (am) = {
203- let W = am.assetId
204- if ($isInstanceOf(W, "ByteVector"))
205+func am (an) = {
206+ let X = an.assetId
207+ if ($isInstanceOf(X, "ByteVector"))
205208 then {
206- let an = W
207- let ao = value(assetInfo(an))
208- $Tuple2(toBase58String(an), ao)
209+ let ao = X
210+ let ap = value(assetInfo(ao))
211+ $Tuple2(toBase58String(ao), ap)
209212 }
210- else if ($isInstanceOf(W, "Unit"))
213+ else if ($isInstanceOf(X, "Unit"))
211214 then $Tuple2(b, unit)
212215 else throw("Match error")
213216 }
214217
215218
216-func ap (aq) = containsElement(H, aq)
219+func aq (ar) = containsElement(I, ar)
217220
218221
219-@Callable(ae)
220-func constructor (ar,as,at,au,av,aw,ax) = {
221- let ay = ag(ae)
222- if ((ay == ay))
223- then [StringEntry(y(), ar), StringEntry(z(), as), StringEntry(A(), at), StringEntry(Q(), makeString(au, a)), IntegerEntry(P(), av), StringEntry(N(), aw), IntegerEntry(O(), ax)]
222+@Callable(af)
223+func constructor (as,at,au,av,aw,ax,ay) = {
224+ let az = ah(af)
225+ if ((az == az))
226+ then [StringEntry(z(), as), StringEntry(A(), at), StringEntry(B(), au), StringEntry(R(), makeString(av, a)), IntegerEntry(Q(), aw), StringEntry(O(), ax), IntegerEntry(P(), ay)]
224227 else throw("Strict value is not equal to itself.")
225228 }
226229
227230
228231
229-@Callable(ae)
232+@Callable(af)
230233 func create () = {
231- let az = value(ae.payments[0])
232- let aA = value(ae.payments[1])
233- let aB = value(ae.payments[2])
234- let aC = al(az)
235- let w = aC._1
236- let aD = aC._2
237- let aE = al(aA)
238- let x = aE._1
239- let aF = aE._2
240- let aG = al(aB)
241- let aw = aG._1
242- let aH = aG._2
243- let aI = U(getString(Y, R()))
244- let aJ = 1
245- let aK = if (ad(ae))
246- then aJ
247- else {
248- let aL = valueOrErrorMessage(indexOf(aI, x), c)
249- value(parseInt(U(getString(Q()))[aL]))
250- }
251- let aM = valueOrElse(getInteger(C()), 0)
252- let aN = (aM + 1)
253- let aO = addressFromStringValue(S(A()))
254- let aP = {
255- let aQ = invoke(Y, "poolExistsREADONLY", [w, x], nil)
256- if ($isInstanceOf(aQ, "Boolean"))
257- then aQ
258- else throw("Couldn't cast Any to Boolean")
259- }
260- let aR = [if (!(Z(w, x)))
234+ let aA = value(af.payments[0])
235+ let aB = value(af.payments[1])
236+ let aC = value(af.payments[2])
237+ let aD = am(aA)
238+ let aE = aD._1
239+ let aF = aD._2
240+ let aG = am(aB)
241+ let aH = aG._1
242+ let aI = aG._2
243+ let aJ = am(aC)
244+ let ax = aJ._1
245+ let aK = aJ._2
246+ let aL = V(getString(Z, S()))
247+ let aM = if ((aE != aH))
261248 then true
262- else i(), if (!(aP))
263- then true
264- else i(), if (if (ad(ae))
265- then true
266- else aj(w))
267- then true
268- else j(), if ((getString(N()) == aw))
269- then true
270- else l(), if (if (ad(ae))
271- then true
272- else (az.amount >= getIntegerValue(P())))
273- then true
274- else m(), if (if (ad(ae))
275- then true
276- else (aA.amount >= aK))
277- then true
278- else q(), if ((aB.amount == getInteger(O())))
279- then true
280- else r()]
281- if ((aR == aR))
249+ else s()
250+ if ((aM == aM))
282251 then {
283- let aS = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
284- if ((aS == aS))
285- then [BooleanEntry(I(w, x), true), StringEntry(J(w, x), toString(ae.caller)), IntegerEntry(C(), aN), StringEntry(B(w, x), (toString(aN) + D)), IntegerEntry(M(w, x), height), StringEntry(v(w, x), E), IntegerEntry(K(w, x), az.amount), IntegerEntry(L(w, x), aA.amount)]
252+ let aN = if (if (containsElement(aL, aH))
253+ then ak(aE)
254+ else false)
255+ then $Tuple4(aE, aA.amount, aH, aB.amount)
256+ else if (if (containsElement(aL, aE))
257+ then ak(aH)
258+ else false)
259+ then $Tuple4(aH, aB.amount, aE, aA.amount)
260+ else s()
261+ let x = aN._1
262+ let aO = aN._2
263+ let y = aN._3
264+ let aP = aN._4
265+ let aQ = 1
266+ let aR = if (ae(af))
267+ then aQ
268+ else {
269+ let aS = valueOrErrorMessage(indexOf(aL, y), c)
270+ value(parseInt(V(getString(R()))[aS]))
271+ }
272+ let aT = valueOrElse(getInteger(D()), 0)
273+ let aU = (aT + 1)
274+ let aV = addressFromStringValue(T(B()))
275+ let aW = {
276+ let aX = invoke(Z, "poolExistsREADONLY", [x, y], nil)
277+ if ($isInstanceOf(aX, "Boolean"))
278+ then aX
279+ else throw("Couldn't cast Any to Boolean")
280+ }
281+ let aY = [if (!(aa(x, y)))
282+ then true
283+ else i(), if (!(aW))
284+ then true
285+ else i(), if ((getString(O()) == ax))
286+ then true
287+ else l(), if (if (ae(af))
288+ then true
289+ else (aO >= getIntegerValue(Q())))
290+ then true
291+ else m(), if (if (ae(af))
292+ then true
293+ else (aP >= aR))
294+ then true
295+ else q(), if ((aC.amount == getInteger(P())))
296+ then true
297+ else r()]
298+ if ((aY == aY))
299+ then {
300+ let aZ = invoke(aV, "burn", nil, [AttachedPayment(fromBase58String(ax), aC.amount)])
301+ if ((aZ == aZ))
302+ then [BooleanEntry(J(x, y), true), StringEntry(K(x, y), toString(af.caller)), IntegerEntry(D(), aU), StringEntry(C(x, y), (toString(aU) + E)), IntegerEntry(N(x, y), height), StringEntry(w(x, y), F), IntegerEntry(L(x, y), aO), IntegerEntry(M(x, y), aP)]
303+ else throw("Strict value is not equal to itself.")
304+ }
286305 else throw("Strict value is not equal to itself.")
287306 }
288307 else throw("Strict value is not equal to itself.")
289308 }
290309
291310
292311
293-@Callable(ae)
294-func activate (aT,w,aU,x,aV,aW) = {
295- let aR = [ah(ae), if (Z(w, x))
312+@Callable(af)
313+func activate (ba,x,bb,y,bc,bd) = {
314+ let aY = [ai(af), if (aa(x, y))
296315 then true
297- else g(), if ((value(getString(v(w, x))) == E))
316+ else g(), if ((value(getString(w(x, y))) == F))
298317 then true
299318 else o()]
300- if ((aR == aR))
319+ if ((aY == aY))
301320 then {
302- let aX = invoke(Y, "activateNewPool", [aT, w, x, ((aU + aV) + "LP"), (((aU + "/") + aV) + " pool liquidity provider token"), 0, "VLTPOOL", aW], nil)
303- if ((aX == aX))
321+ let be = invoke(Z, "activateNewPool", [ba, x, y, ((bb + bc) + "LP"), (((bb + "/") + bc) + " pool liquidity provider token"), 0, "VLTPOOL", bd], nil)
322+ if ((be == be))
304323 then {
305- let aY = {
306- let W = aX
307- if ($isInstanceOf(W, "String"))
324+ let bf = {
325+ let X = be
326+ if ($isInstanceOf(X, "String"))
308327 then {
309- let an = W
310- an
328+ let ao = X
329+ ao
311330 }
312331 else p()
313332 }
314- if ((aY == aY))
333+ if ((bf == bf))
315334 then {
316- let aZ = assetBalance(this, fromBase58String(aY))
317- if ((aZ == aZ))
335+ let bg = assetBalance(this, fromBase58String(bf))
336+ if ((bg == bg))
318337 then {
319- let ba = invoke(addressFromStringValue(aT), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
338+ let bh = invoke(addressFromStringValue(ba), "put", [0, false], [AttachedPayment(if ((x == "WAVES"))
320339 then unit
321- else fromBase58String(w), value(getInteger(K(w, x)))), AttachedPayment(if ((x == "WAVES"))
340+ else fromBase58String(x), value(getInteger(L(x, y)))), AttachedPayment(if ((y == "WAVES"))
322341 then unit
323- else fromBase58String(x), value(getInteger(L(w, x))))])
324- if ((ba == ba))
342+ else fromBase58String(y), value(getInteger(M(x, y))))])
343+ if ((bh == bh))
325344 then {
326- let bb = assetBalance(this, fromBase58String(aY))
327- if ((bb == bb))
345+ let bi = assetBalance(this, fromBase58String(bf))
346+ if ((bi == bi))
328347 then {
329- let bc = value(addressFromString(value(getString(J(w, x)))))
330-[StringEntry(v(w, x), G), ScriptTransfer(bc, (bb - aZ), fromBase58String(aY))]
348+ let bj = value(addressFromString(value(getString(K(x, y)))))
349+[StringEntry(w(x, y), H), ScriptTransfer(bj, (bi - bg), fromBase58String(bf))]
331350 }
332351 else throw("Strict value is not equal to itself.")
333352 }
334353 else throw("Strict value is not equal to itself.")
335354 }
336355 else throw("Strict value is not equal to itself.")
337356 }
338357 else throw("Strict value is not equal to itself.")
339358 }
340359 else throw("Strict value is not equal to itself.")
341360 }
342361 else throw("Strict value is not equal to itself.")
343362 }
344363
345364
346365
347-@Callable(ae)
348-func setAdmins (bd) = {
349- let ay = ag(ae)
350- if ((ay == ay))
351- then [StringEntry(u(), makeString(bd, a))]
366+@Callable(af)
367+func setAdmins (bk) = {
368+ let az = ah(af)
369+ if ((az == az))
370+ then [StringEntry(v(), makeString(bk, a))]
352371 else throw("Strict value is not equal to itself.")
353372 }
354373
355374
356375
357-@Callable(ae)
358-func setManager (be) = {
359- let ay = ag(ae)
360- if ((ay == ay))
376+@Callable(af)
377+func setManager (bl) = {
378+ let az = ah(af)
379+ if ((az == az))
361380 then {
362- let bf = fromBase58String(be)
363- if ((bf == bf))
364- then [StringEntry(t(), be)]
381+ let bm = fromBase58String(bl)
382+ if ((bm == bm))
383+ then [StringEntry(u(), bl)]
365384 else throw("Strict value is not equal to itself.")
366385 }
367386 else throw("Strict value is not equal to itself.")
368387 }
369388
370389
371390
372-@Callable(ae)
391+@Callable(af)
373392 func confirmManager () = {
374- let bg = ac()
375- let bh = if (isDefined(bg))
393+ let bn = ad()
394+ let bo = if (isDefined(bn))
376395 then true
377396 else throw("No pending manager")
378- if ((bh == bh))
397+ if ((bo == bo))
379398 then {
380- let bi = if ((ae.callerPublicKey == value(bg)))
399+ let bp = if ((af.callerPublicKey == value(bn)))
381400 then true
382401 else throw("You are not pending manager")
383- if ((bi == bi))
384- then [StringEntry(s(), toBase58String(value(bg))), DeleteEntry(t())]
402+ if ((bp == bp))
403+ then [StringEntry(t(), toBase58String(value(bn))), DeleteEntry(u())]
385404 else throw("Strict value is not equal to itself.")
386405 }
387406 else throw("Strict value is not equal to itself.")
388407 }
389408
390409
391410
392-@Callable(ae)
393-func priceAssetsREADONLY () = $Tuple2(nil, U(getString(R())))
411+@Callable(af)
412+func priceAssetsREADONLY () = $Tuple2(nil, V(getString(S())))
394413
395414
396415
397-@Callable(ae)
398-func statusREADONLY (w,x) = {
399- let aq = {
400- let W = getString(v(w, x))
401- if ($isInstanceOf(W, "String"))
416+@Callable(af)
417+func statusREADONLY (x,y) = {
418+ let ar = {
419+ let X = getString(w(x, y))
420+ if ($isInstanceOf(X, "String"))
402421 then {
403- let X = W
404- X
422+ let Y = X
423+ Y
405424 }
406425 else unit
407426 }
408- $Tuple2(nil, aq)
427+ $Tuple2(nil, ar)
409428 }
410429
411430
412-@Verifier(bj)
413-func bk () = {
414- let bl = {
415- let W = ab()
416- if ($isInstanceOf(W, "ByteVector"))
431+@Verifier(bq)
432+func br () = {
433+ let bs = {
434+ let X = ac()
435+ if ($isInstanceOf(X, "ByteVector"))
417436 then {
418- let af = W
419- af
437+ let ag = X
438+ ag
420439 }
421- else if ($isInstanceOf(W, "Unit"))
422- then bj.senderPublicKey
440+ else if ($isInstanceOf(X, "Unit"))
441+ then bq.senderPublicKey
423442 else throw("Match error")
424443 }
425- sigVerify(bj.bodyBytes, bj.proofs[0], bl)
444+ sigVerify(bq.bodyBytes, bq.proofs[0], bs)
426445 }
427446

github/deemru/w8io/026f985 
112.01 ms