tx · 5VyiDTUwoBk1r5BhpGBRCuc8iPCsmoZg9rjkNLjkvdZ3

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01600000 Waves

2023.01.19 12:48 [2411648] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "5VyiDTUwoBk1r5BhpGBRCuc8iPCsmoZg9rjkNLjkvdZ3", "fee": 1600000, "feeAssetId": null, "timestamp": 1674121740258, "version": 1, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "33yEP8tu1fGQXkvYB8JzWCG92GVTjzhmVQyazpx4S3ropg7yxEbymJMrA7mXgYbX7xyhcXAXRVR9ZCL5G8SDhyFU" ], "script": "base64:AAIFAAAAAAAABrcIAhIICgYICBgBCAESABIICgYICAgICAgSAwoBGBIDCgEIEgASABIECgIICCIDU0VQIgx3YXZlc0Fzc2V0SWQiEWludmFsaWRQcmljZUFzc2V0Igh0aHJvd0VyciIDbXNnIgd0aHJvd1BEIhR0aHJvd0NyZWF0ZU5vdENhbGxlZCIRdGhyb3dZb3VOb3RJc3N1ZXIiD3Rocm93UG9vbEV4aXN0cyIVdGhyb3dBc3NldE5vdFZlcmlmaWVkIhZ0aHJvd0ludmFsaWRQcmljZUFzc2V0IhR0aHJvd0ludmFsaWRGZWVBc3NldCIXdGhyb3dJbnZhbGlkQW1vdW50QXNzZXQiEnRocm93SW52YWxpZFN0YXR1cyIfdGhyb3dDYW5BY3RpdmF0ZU9ubHlQZW5kaW5nUG9vbCIddGhyb3dGYWN0b3J5UmV0dXJuZWROb3RTdHJpbmciHHRocm93SW52YWxpZFByaWNlQXNzZXRBbW91bnQiD3Rocm93SW52YWxpZEZlZSITa2V5TWFuYWdlclB1YmxpY0tleSIaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkiD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AAFWAgAAAApCeXRlVmVjdG9yBAAAAAJhZQUAAAABVgUAAAACYWUDCQAAAQAAAAIFAAAAAVYCAAAABFVuaXQIBQAAAAJiZAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAmJkAAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACYmQAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAJiZq2zsJg=", "chainId": 84, "height": 2411648, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AZiP2VDawge6qnHUL3WmQdRzAjdjDUC3DA2X1RAxBE1n Next: 4UVbEFEj1Eji37zVRuxKutfbCVxWQs5m8f2jZ4Xc87hc Diff:
OldNewDifferences
6767 func z () = makeString(["%s", "assetsStoreContract"], a)
6868
6969
70-func A () = makeString(["%s", "emissionContract"], a)
70+func A (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
7171
7272
73-func B (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
73+func B () = makeString(["%s", "lastIndex"], a)
7474
7575
76-func C () = makeString(["%s", "lastIndex"], a)
76+let C = "u"
77+
78+let D = "pending"
79+
80+let E = "declined"
81+
82+let F = "active"
83+
84+let G = [D, E, F]
85+
86+func H (w,x) = makeString(["%s%s%s", "createCalled", w, x], a)
7787
7888
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)
89+func I (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
9090
9191
92-func J (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
92+func J (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
9393
9494
95-func K (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
95+func K (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
9696
9797
98-func L (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
98+func L (w,x) = makeString(["%s%s%s", "height", w, x], a)
9999
100100
101-func M (w,x) = makeString(["%s%s%s", "height", w, x], a)
101+func M () = makeString(["%s", "feeAssetId"], a)
102102
103103
104-func N () = makeString(["%s", "feeAssetId"], a)
104+func N () = makeString(["%s", "feeAmount"], a)
105105
106106
107-func O () = makeString(["%s", "feeAmount"], a)
107+func O () = makeString(["%s", "amountAssetMinAmount"], a)
108108
109109
110-func P () = makeString(["%s", "amountAssetMinAmount"], a)
110+func P () = makeString(["%s", "priceAssetsMinAmount"], a)
111111
112112
113-func Q () = makeString(["%s", "priceAssetsMinAmount"], a)
113+func Q () = makeString(["%s", "priceAssets"], a)
114114
115115
116-func R () = makeString(["%s", "priceAssets"], a)
116+func R (S) = valueOrErrorMessage(getString(this, S), (S + " is not defined"))
117117
118118
119-func S (T) = valueOrErrorMessage(getString(this, T), (T + " is not defined"))
120-
121-
122-func U (V) = {
123- let W = V
124- if ($isInstanceOf(W, "String"))
119+func T (U) = {
120+ let V = U
121+ if ($isInstanceOf(V, "String"))
125122 then {
126- let X = W
127- if ((size(X) == 0))
123+ let W = V
124+ if ((size(W) == 0))
128125 then nil
129- else split(X, a)
126+ else split(W, a)
130127 }
131- else if ($isInstanceOf(W, "Unit"))
128+ else if ($isInstanceOf(V, "Unit"))
132129 then nil
133130 else throw("Match error")
134131 }
135132
136133
137-let Y = addressFromStringValue(S(y()))
134+let X = addressFromStringValue(R(y()))
138135
139-func Z (w,x) = valueOrElse(getBoolean(I(w, x)), false)
136+func Y (w,x) = valueOrElse(getBoolean(H(w, x)), false)
140137
141138
142-func aa (w,x) = if (Z(w, x))
139+func Z (w,x) = if (Y(w, x))
143140 then true
144141 else g()
145142
146143
147-func ab () = {
148- let W = getString(s())
149- if ($isInstanceOf(W, "String"))
144+func aa () = {
145+ let V = getString(s())
146+ if ($isInstanceOf(V, "String"))
150147 then {
151- let X = W
152- fromBase58String(X)
148+ let W = V
149+ fromBase58String(W)
153150 }
154- else if ($isInstanceOf(W, "Unit"))
151+ else if ($isInstanceOf(V, "Unit"))
155152 then unit
156153 else throw("Match error")
157154 }
158155
159156
160-func ac () = {
161- let W = getString(t())
162- if ($isInstanceOf(W, "String"))
157+func ab () = {
158+ let V = getString(t())
159+ if ($isInstanceOf(V, "String"))
163160 then {
164- let X = W
165- fromBase58String(X)
161+ let W = V
162+ fromBase58String(W)
166163 }
167- else if ($isInstanceOf(W, "Unit"))
164+ else if ($isInstanceOf(V, "Unit"))
168165 then unit
169166 else throw("Match error")
170167 }
171168
172169
173-func ad (ae) = {
174- let W = ab()
175- if ($isInstanceOf(W, "ByteVector"))
170+func ac (ad) = {
171+ let V = aa()
172+ if ($isInstanceOf(V, "ByteVector"))
176173 then {
177- let af = W
178- (ae.callerPublicKey == af)
174+ let ae = V
175+ (ad.callerPublicKey == ae)
179176 }
180- else if ($isInstanceOf(W, "Unit"))
181- then (ae.caller == this)
177+ else if ($isInstanceOf(V, "Unit"))
178+ then (ad.caller == this)
182179 else throw("Match error")
183180 }
184181
185182
186-func ag (ae) = if (ad(ae))
183+func af (ad) = if (ac(ad))
187184 then true
188185 else f()
189186
190187
191-func ah (ae) = {
192- let ai = U(getString(u()))
193- if (containsElement(ai, toBase58String(ae.callerPublicKey)))
188+func ag (ad) = {
189+ let ah = T(getString(u()))
190+ if (containsElement(ah, toBase58String(ad.callerPublicKey)))
194191 then true
195- else ag(ae)
192+ else af(ad)
196193 }
197194
198195
199-func aj (ak) = (valueOrElse(getInteger(addressFromStringValue(S(z())), (("status_<" + ak) + ">")), 0) == 2)
196+func ai (aj) = (valueOrElse(getInteger(addressFromStringValue(R(z())), (("status_<" + aj) + ">")), 0) == 2)
200197
201198
202-func al (am) = {
203- let W = am.assetId
204- if ($isInstanceOf(W, "ByteVector"))
199+func ak (al) = {
200+ let V = al.assetId
201+ if ($isInstanceOf(V, "ByteVector"))
205202 then {
206- let an = W
207- let ao = value(assetInfo(an))
208- $Tuple2(toBase58String(an), ao)
203+ let am = V
204+ let an = value(assetInfo(am))
205+ $Tuple2(toBase58String(am), an)
209206 }
210- else if ($isInstanceOf(W, "Unit"))
207+ else if ($isInstanceOf(V, "Unit"))
211208 then $Tuple2(b, unit)
212209 else throw("Match error")
213210 }
214211
215212
216-func ap (aq) = containsElement(H, aq)
213+func ao (ap) = containsElement(G, ap)
217214
218215
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)]
216+@Callable(ad)
217+func constructor (aq,ar,as,at,au,av) = {
218+ let aw = af(ad)
219+ if ((aw == aw))
220+ then [StringEntry(y(), aq), StringEntry(z(), ar), StringEntry(P(), makeString(as, a)), IntegerEntry(O(), at), StringEntry(M(), au), IntegerEntry(N(), av)]
224221 else throw("Strict value is not equal to itself.")
225222 }
226223
227224
228225
229-@Callable(ae)
226+@Callable(ad)
230227 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
228+ let ax = value(ad.payments[0])
229+ let ay = value(ad.payments[1])
230+ let az = value(ad.payments[2])
231+ let aA = ak(ax)
232+ let w = aA._1
233+ let aB = aA._2
234+ let aC = ak(ay)
235+ let x = aC._1
236236 let aD = aC._2
237- let aE = al(aA)
238- let x = aE._1
237+ let aE = ak(az)
238+ let au = aE._1
239239 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
240+ let aG = T(getString(X, Q()))
241+ let aH = 1
242+ let aI = if (ac(ad))
243+ then aH
247244 else {
248- let aL = valueOrErrorMessage(indexOf(aI, x), c)
249- value(parseInt(U(getString(Q()))[aL]))
245+ let aJ = valueOrErrorMessage(indexOf(aG, x), c)
246+ value(parseInt(T(getString(P()))[aJ]))
250247 }
251- let aM = valueOrElse(getInteger(C()), 0)
252- let aN = (aM + 1)
253- let aO = addressFromStringValue(S(A()))
254- let aP = [if (!(Z(w, x)))
248+ let aK = valueOrElse(getInteger(B()), 0)
249+ let aL = (aK + 1)
250+ let aM = [if (!(Y(w, x)))
255251 then true
256- else i(), if (if (ad(ae))
252+ else i(), if (if (ac(ad))
257253 then true
258- else aj(w))
254+ else ai(w))
259255 then true
260- else j(), if ((getString(N()) == aw))
256+ else j(), if ((getString(M()) == au))
261257 then true
262- else l(), if (if (ad(ae))
258+ else l(), if (if (ac(ad))
263259 then true
264- else (az.amount >= getIntegerValue(P())))
260+ else (ax.amount >= getIntegerValue(O())))
265261 then true
266- else m(), if (if (ad(ae))
262+ else m(), if (if (ac(ad))
267263 then true
268- else (aA.amount >= aK))
264+ else (ay.amount >= aI))
269265 then true
270- else q(), if ((aB.amount == getInteger(O())))
266+ else q(), if ((az.amount == getInteger(N())))
271267 then true
272268 else r()]
273- if ((aP == aP))
274- then {
275- let aQ = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
276- if ((aQ == aQ))
277- 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)]
278- else throw("Strict value is not equal to itself.")
279- }
269+ if ((aM == aM))
270+ then [BooleanEntry(H(w, x), true), StringEntry(I(w, x), toString(ad.caller)), IntegerEntry(B(), aL), StringEntry(A(w, x), (toString(aL) + C)), IntegerEntry(L(w, x), height), StringEntry(v(w, x), D), IntegerEntry(J(w, x), ax.amount), IntegerEntry(K(w, x), ay.amount)]
280271 else throw("Strict value is not equal to itself.")
281272 }
282273
283274
284275
285-@Callable(ae)
286-func activate (aR,w,aS,x,aT,aU) = {
287- let aP = [ah(ae), if (Z(w, x))
276+@Callable(ad)
277+func activate (aN,w,aO,x,aP,aQ) = {
278+ let aM = [ag(ad), if (Y(w, x))
288279 then true
289- else g(), if ((value(getString(v(w, x))) == E))
280+ else g(), if ((value(getString(v(w, x))) == D))
290281 then true
291282 else o()]
292- if ((aP == aP))
283+ if ((aM == aM))
293284 then {
294- let aV = invoke(Y, "activateNewPool", [aR, w, x, ((aS + aT) + "LP"), (((aS + "/") + aT) + " pool liquidity provider token"), 0, "VLTPOOL", aU], nil)
295- if ((aV == aV))
285+ let aR = invoke(X, "activateNewPool", [aN, w, x, ((aO + aP) + "LP"), (((aO + "/") + aP) + " pool liquidity provider token"), 0, "VLTPOOL", aQ], nil)
286+ if ((aR == aR))
296287 then {
297- let aW = {
298- let W = aV
299- if ($isInstanceOf(W, "String"))
288+ let aS = {
289+ let V = aR
290+ if ($isInstanceOf(V, "String"))
300291 then {
301- let an = W
302- an
292+ let am = V
293+ am
303294 }
304295 else p()
305296 }
306- if ((aW == aW))
297+ if ((aS == aS))
307298 then {
308- let aX = assetBalance(this, fromBase58String(aW))
309- if ((aX == aX))
299+ let aT = assetBalance(this, fromBase58String(aS))
300+ if ((aT == aT))
310301 then {
311- let aY = invoke(addressFromStringValue(aR), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
302+ let aU = invoke(addressFromStringValue(aN), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
312303 then unit
313- else fromBase58String(w), value(getInteger(K(w, x)))), AttachedPayment(if ((x == "WAVES"))
304+ else fromBase58String(w), value(getInteger(J(w, x)))), AttachedPayment(if ((x == "WAVES"))
314305 then unit
315- else fromBase58String(x), value(getInteger(L(w, x))))])
316- if ((aY == aY))
306+ else fromBase58String(x), value(getInteger(K(w, x))))])
307+ if ((aU == aU))
317308 then {
318- let aZ = assetBalance(this, fromBase58String(aW))
319- if ((aZ == aZ))
309+ let aV = assetBalance(this, fromBase58String(aS))
310+ if ((aV == aV))
320311 then {
321- let ba = value(addressFromString(value(getString(J(w, x)))))
322-[StringEntry(v(w, x), G), ScriptTransfer(ba, (aZ - aX), fromBase58String(aW))]
312+ let aW = value(addressFromString(value(getString(I(w, x)))))
313+[StringEntry(v(w, x), F), ScriptTransfer(aW, (aV - aT), fromBase58String(aS))]
323314 }
324315 else throw("Strict value is not equal to itself.")
325316 }
336327
337328
338329
339-@Callable(ae)
340-func setAdmins (bb) = {
341- let ay = ag(ae)
342- if ((ay == ay))
343- then [StringEntry(u(), makeString(bb, a))]
330+@Callable(ad)
331+func setAdmins (aX) = {
332+ let aw = af(ad)
333+ if ((aw == aw))
334+ then [StringEntry(u(), makeString(aX, a))]
344335 else throw("Strict value is not equal to itself.")
345336 }
346337
347338
348339
349-@Callable(ae)
350-func setManager (bc) = {
351- let ay = ag(ae)
352- if ((ay == ay))
340+@Callable(ad)
341+func setManager (aY) = {
342+ let aw = af(ad)
343+ if ((aw == aw))
353344 then {
354- let bd = fromBase58String(bc)
355- if ((bd == bd))
356- then [StringEntry(t(), bc)]
345+ let aZ = fromBase58String(aY)
346+ if ((aZ == aZ))
347+ then [StringEntry(t(), aY)]
357348 else throw("Strict value is not equal to itself.")
358349 }
359350 else throw("Strict value is not equal to itself.")
361352
362353
363354
364-@Callable(ae)
355+@Callable(ad)
365356 func confirmManager () = {
366- let be = ac()
367- let bf = if (isDefined(be))
357+ let ba = ab()
358+ let bb = if (isDefined(ba))
368359 then true
369360 else throw("No pending manager")
370- if ((bf == bf))
361+ if ((bb == bb))
371362 then {
372- let bg = if ((ae.callerPublicKey == value(be)))
363+ let bc = if ((ad.callerPublicKey == value(ba)))
373364 then true
374365 else throw("You are not pending manager")
375- if ((bg == bg))
376- then [StringEntry(s(), toBase58String(value(be))), DeleteEntry(t())]
366+ if ((bc == bc))
367+ then [StringEntry(s(), toBase58String(value(ba))), DeleteEntry(t())]
377368 else throw("Strict value is not equal to itself.")
378369 }
379370 else throw("Strict value is not equal to itself.")
381372
382373
383374
384-@Callable(ae)
385-func priceAssetsREADONLY () = $Tuple2(nil, U(getString(R())))
375+@Callable(ad)
376+func priceAssetsREADONLY () = $Tuple2(nil, T(getString(Q())))
386377
387378
388379
389-@Callable(ae)
380+@Callable(ad)
390381 func statusREADONLY (w,x) = {
391- let aq = {
392- let W = getString(v(w, x))
393- if ($isInstanceOf(W, "String"))
382+ let ap = {
383+ let V = getString(v(w, x))
384+ if ($isInstanceOf(V, "String"))
394385 then {
395- let X = W
396- X
386+ let W = V
387+ W
397388 }
398389 else unit
399390 }
400- $Tuple2(nil, aq)
391+ $Tuple2(nil, ap)
401392 }
402393
403394
404-@Verifier(bh)
405-func bi () = {
406- let bj = {
407- let W = ab()
408- if ($isInstanceOf(W, "ByteVector"))
395+@Verifier(bd)
396+func be () = {
397+ let bf = {
398+ let V = aa()
399+ if ($isInstanceOf(V, "ByteVector"))
409400 then {
410- let af = W
411- af
401+ let ae = V
402+ ae
412403 }
413- else if ($isInstanceOf(W, "Unit"))
414- then bh.senderPublicKey
404+ else if ($isInstanceOf(V, "Unit"))
405+ then bd.senderPublicKey
415406 else throw("Match error")
416407 }
417- sigVerify(bh.bodyBytes, bh.proofs[0], bj)
408+ sigVerify(bd.bodyBytes, bd.proofs[0], bf)
418409 }
419410
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
5252 func s () = makeString(["%s", "managerPublicKey"], a)
5353
5454
5555 func t () = makeString(["%s", "pendingManagerPublicKey"], a)
5656
5757
5858 func u () = makeString(["%s", "adminPubKeys"], a)
5959
6060
6161 func v (w,x) = makeString(["%s%s%s", "status", w, x], a)
6262
6363
6464 func y () = makeString(["%s", "factoryContract"], a)
6565
6666
6767 func z () = makeString(["%s", "assetsStoreContract"], a)
6868
6969
70-func A () = makeString(["%s", "emissionContract"], a)
70+func A (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
7171
7272
73-func B (w,x) = makeString(["%s%s%s", "suffix", w, x], a)
73+func B () = makeString(["%s", "lastIndex"], a)
7474
7575
76-func C () = makeString(["%s", "lastIndex"], a)
76+let C = "u"
77+
78+let D = "pending"
79+
80+let E = "declined"
81+
82+let F = "active"
83+
84+let G = [D, E, F]
85+
86+func H (w,x) = makeString(["%s%s%s", "createCalled", w, x], a)
7787
7888
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)
89+func I (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
9090
9191
92-func J (w,x) = makeString(["%s%s%s", "createCaller", w, x], a)
92+func J (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
9393
9494
95-func K (w,x) = makeString(["%s%s%s", "amountAssetAmount", w, x], a)
95+func K (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
9696
9797
98-func L (w,x) = makeString(["%s%s%s", "priceAssetAmount", w, x], a)
98+func L (w,x) = makeString(["%s%s%s", "height", w, x], a)
9999
100100
101-func M (w,x) = makeString(["%s%s%s", "height", w, x], a)
101+func M () = makeString(["%s", "feeAssetId"], a)
102102
103103
104-func N () = makeString(["%s", "feeAssetId"], a)
104+func N () = makeString(["%s", "feeAmount"], a)
105105
106106
107-func O () = makeString(["%s", "feeAmount"], a)
107+func O () = makeString(["%s", "amountAssetMinAmount"], a)
108108
109109
110-func P () = makeString(["%s", "amountAssetMinAmount"], a)
110+func P () = makeString(["%s", "priceAssetsMinAmount"], a)
111111
112112
113-func Q () = makeString(["%s", "priceAssetsMinAmount"], a)
113+func Q () = makeString(["%s", "priceAssets"], a)
114114
115115
116-func R () = makeString(["%s", "priceAssets"], a)
116+func R (S) = valueOrErrorMessage(getString(this, S), (S + " is not defined"))
117117
118118
119-func S (T) = valueOrErrorMessage(getString(this, T), (T + " is not defined"))
120-
121-
122-func U (V) = {
123- let W = V
124- if ($isInstanceOf(W, "String"))
119+func T (U) = {
120+ let V = U
121+ if ($isInstanceOf(V, "String"))
125122 then {
126- let X = W
127- if ((size(X) == 0))
123+ let W = V
124+ if ((size(W) == 0))
128125 then nil
129- else split(X, a)
126+ else split(W, a)
130127 }
131- else if ($isInstanceOf(W, "Unit"))
128+ else if ($isInstanceOf(V, "Unit"))
132129 then nil
133130 else throw("Match error")
134131 }
135132
136133
137-let Y = addressFromStringValue(S(y()))
134+let X = addressFromStringValue(R(y()))
138135
139-func Z (w,x) = valueOrElse(getBoolean(I(w, x)), false)
136+func Y (w,x) = valueOrElse(getBoolean(H(w, x)), false)
140137
141138
142-func aa (w,x) = if (Z(w, x))
139+func Z (w,x) = if (Y(w, x))
143140 then true
144141 else g()
145142
146143
147-func ab () = {
148- let W = getString(s())
149- if ($isInstanceOf(W, "String"))
144+func aa () = {
145+ let V = getString(s())
146+ if ($isInstanceOf(V, "String"))
150147 then {
151- let X = W
152- fromBase58String(X)
148+ let W = V
149+ fromBase58String(W)
153150 }
154- else if ($isInstanceOf(W, "Unit"))
151+ else if ($isInstanceOf(V, "Unit"))
155152 then unit
156153 else throw("Match error")
157154 }
158155
159156
160-func ac () = {
161- let W = getString(t())
162- if ($isInstanceOf(W, "String"))
157+func ab () = {
158+ let V = getString(t())
159+ if ($isInstanceOf(V, "String"))
163160 then {
164- let X = W
165- fromBase58String(X)
161+ let W = V
162+ fromBase58String(W)
166163 }
167- else if ($isInstanceOf(W, "Unit"))
164+ else if ($isInstanceOf(V, "Unit"))
168165 then unit
169166 else throw("Match error")
170167 }
171168
172169
173-func ad (ae) = {
174- let W = ab()
175- if ($isInstanceOf(W, "ByteVector"))
170+func ac (ad) = {
171+ let V = aa()
172+ if ($isInstanceOf(V, "ByteVector"))
176173 then {
177- let af = W
178- (ae.callerPublicKey == af)
174+ let ae = V
175+ (ad.callerPublicKey == ae)
179176 }
180- else if ($isInstanceOf(W, "Unit"))
181- then (ae.caller == this)
177+ else if ($isInstanceOf(V, "Unit"))
178+ then (ad.caller == this)
182179 else throw("Match error")
183180 }
184181
185182
186-func ag (ae) = if (ad(ae))
183+func af (ad) = if (ac(ad))
187184 then true
188185 else f()
189186
190187
191-func ah (ae) = {
192- let ai = U(getString(u()))
193- if (containsElement(ai, toBase58String(ae.callerPublicKey)))
188+func ag (ad) = {
189+ let ah = T(getString(u()))
190+ if (containsElement(ah, toBase58String(ad.callerPublicKey)))
194191 then true
195- else ag(ae)
192+ else af(ad)
196193 }
197194
198195
199-func aj (ak) = (valueOrElse(getInteger(addressFromStringValue(S(z())), (("status_<" + ak) + ">")), 0) == 2)
196+func ai (aj) = (valueOrElse(getInteger(addressFromStringValue(R(z())), (("status_<" + aj) + ">")), 0) == 2)
200197
201198
202-func al (am) = {
203- let W = am.assetId
204- if ($isInstanceOf(W, "ByteVector"))
199+func ak (al) = {
200+ let V = al.assetId
201+ if ($isInstanceOf(V, "ByteVector"))
205202 then {
206- let an = W
207- let ao = value(assetInfo(an))
208- $Tuple2(toBase58String(an), ao)
203+ let am = V
204+ let an = value(assetInfo(am))
205+ $Tuple2(toBase58String(am), an)
209206 }
210- else if ($isInstanceOf(W, "Unit"))
207+ else if ($isInstanceOf(V, "Unit"))
211208 then $Tuple2(b, unit)
212209 else throw("Match error")
213210 }
214211
215212
216-func ap (aq) = containsElement(H, aq)
213+func ao (ap) = containsElement(G, ap)
217214
218215
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)]
216+@Callable(ad)
217+func constructor (aq,ar,as,at,au,av) = {
218+ let aw = af(ad)
219+ if ((aw == aw))
220+ then [StringEntry(y(), aq), StringEntry(z(), ar), StringEntry(P(), makeString(as, a)), IntegerEntry(O(), at), StringEntry(M(), au), IntegerEntry(N(), av)]
224221 else throw("Strict value is not equal to itself.")
225222 }
226223
227224
228225
229-@Callable(ae)
226+@Callable(ad)
230227 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
228+ let ax = value(ad.payments[0])
229+ let ay = value(ad.payments[1])
230+ let az = value(ad.payments[2])
231+ let aA = ak(ax)
232+ let w = aA._1
233+ let aB = aA._2
234+ let aC = ak(ay)
235+ let x = aC._1
236236 let aD = aC._2
237- let aE = al(aA)
238- let x = aE._1
237+ let aE = ak(az)
238+ let au = aE._1
239239 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
240+ let aG = T(getString(X, Q()))
241+ let aH = 1
242+ let aI = if (ac(ad))
243+ then aH
247244 else {
248- let aL = valueOrErrorMessage(indexOf(aI, x), c)
249- value(parseInt(U(getString(Q()))[aL]))
245+ let aJ = valueOrErrorMessage(indexOf(aG, x), c)
246+ value(parseInt(T(getString(P()))[aJ]))
250247 }
251- let aM = valueOrElse(getInteger(C()), 0)
252- let aN = (aM + 1)
253- let aO = addressFromStringValue(S(A()))
254- let aP = [if (!(Z(w, x)))
248+ let aK = valueOrElse(getInteger(B()), 0)
249+ let aL = (aK + 1)
250+ let aM = [if (!(Y(w, x)))
255251 then true
256- else i(), if (if (ad(ae))
252+ else i(), if (if (ac(ad))
257253 then true
258- else aj(w))
254+ else ai(w))
259255 then true
260- else j(), if ((getString(N()) == aw))
256+ else j(), if ((getString(M()) == au))
261257 then true
262- else l(), if (if (ad(ae))
258+ else l(), if (if (ac(ad))
263259 then true
264- else (az.amount >= getIntegerValue(P())))
260+ else (ax.amount >= getIntegerValue(O())))
265261 then true
266- else m(), if (if (ad(ae))
262+ else m(), if (if (ac(ad))
267263 then true
268- else (aA.amount >= aK))
264+ else (ay.amount >= aI))
269265 then true
270- else q(), if ((aB.amount == getInteger(O())))
266+ else q(), if ((az.amount == getInteger(N())))
271267 then true
272268 else r()]
273- if ((aP == aP))
274- then {
275- let aQ = invoke(aO, "burn", nil, [AttachedPayment(fromBase58String(aw), aB.amount)])
276- if ((aQ == aQ))
277- 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)]
278- else throw("Strict value is not equal to itself.")
279- }
269+ if ((aM == aM))
270+ then [BooleanEntry(H(w, x), true), StringEntry(I(w, x), toString(ad.caller)), IntegerEntry(B(), aL), StringEntry(A(w, x), (toString(aL) + C)), IntegerEntry(L(w, x), height), StringEntry(v(w, x), D), IntegerEntry(J(w, x), ax.amount), IntegerEntry(K(w, x), ay.amount)]
280271 else throw("Strict value is not equal to itself.")
281272 }
282273
283274
284275
285-@Callable(ae)
286-func activate (aR,w,aS,x,aT,aU) = {
287- let aP = [ah(ae), if (Z(w, x))
276+@Callable(ad)
277+func activate (aN,w,aO,x,aP,aQ) = {
278+ let aM = [ag(ad), if (Y(w, x))
288279 then true
289- else g(), if ((value(getString(v(w, x))) == E))
280+ else g(), if ((value(getString(v(w, x))) == D))
290281 then true
291282 else o()]
292- if ((aP == aP))
283+ if ((aM == aM))
293284 then {
294- let aV = invoke(Y, "activateNewPool", [aR, w, x, ((aS + aT) + "LP"), (((aS + "/") + aT) + " pool liquidity provider token"), 0, "VLTPOOL", aU], nil)
295- if ((aV == aV))
285+ let aR = invoke(X, "activateNewPool", [aN, w, x, ((aO + aP) + "LP"), (((aO + "/") + aP) + " pool liquidity provider token"), 0, "VLTPOOL", aQ], nil)
286+ if ((aR == aR))
296287 then {
297- let aW = {
298- let W = aV
299- if ($isInstanceOf(W, "String"))
288+ let aS = {
289+ let V = aR
290+ if ($isInstanceOf(V, "String"))
300291 then {
301- let an = W
302- an
292+ let am = V
293+ am
303294 }
304295 else p()
305296 }
306- if ((aW == aW))
297+ if ((aS == aS))
307298 then {
308- let aX = assetBalance(this, fromBase58String(aW))
309- if ((aX == aX))
299+ let aT = assetBalance(this, fromBase58String(aS))
300+ if ((aT == aT))
310301 then {
311- let aY = invoke(addressFromStringValue(aR), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
302+ let aU = invoke(addressFromStringValue(aN), "put", [0, false], [AttachedPayment(if ((w == "WAVES"))
312303 then unit
313- else fromBase58String(w), value(getInteger(K(w, x)))), AttachedPayment(if ((x == "WAVES"))
304+ else fromBase58String(w), value(getInteger(J(w, x)))), AttachedPayment(if ((x == "WAVES"))
314305 then unit
315- else fromBase58String(x), value(getInteger(L(w, x))))])
316- if ((aY == aY))
306+ else fromBase58String(x), value(getInteger(K(w, x))))])
307+ if ((aU == aU))
317308 then {
318- let aZ = assetBalance(this, fromBase58String(aW))
319- if ((aZ == aZ))
309+ let aV = assetBalance(this, fromBase58String(aS))
310+ if ((aV == aV))
320311 then {
321- let ba = value(addressFromString(value(getString(J(w, x)))))
322-[StringEntry(v(w, x), G), ScriptTransfer(ba, (aZ - aX), fromBase58String(aW))]
312+ let aW = value(addressFromString(value(getString(I(w, x)))))
313+[StringEntry(v(w, x), F), ScriptTransfer(aW, (aV - aT), fromBase58String(aS))]
323314 }
324315 else throw("Strict value is not equal to itself.")
325316 }
326317 else throw("Strict value is not equal to itself.")
327318 }
328319 else throw("Strict value is not equal to itself.")
329320 }
330321 else throw("Strict value is not equal to itself.")
331322 }
332323 else throw("Strict value is not equal to itself.")
333324 }
334325 else throw("Strict value is not equal to itself.")
335326 }
336327
337328
338329
339-@Callable(ae)
340-func setAdmins (bb) = {
341- let ay = ag(ae)
342- if ((ay == ay))
343- then [StringEntry(u(), makeString(bb, a))]
330+@Callable(ad)
331+func setAdmins (aX) = {
332+ let aw = af(ad)
333+ if ((aw == aw))
334+ then [StringEntry(u(), makeString(aX, a))]
344335 else throw("Strict value is not equal to itself.")
345336 }
346337
347338
348339
349-@Callable(ae)
350-func setManager (bc) = {
351- let ay = ag(ae)
352- if ((ay == ay))
340+@Callable(ad)
341+func setManager (aY) = {
342+ let aw = af(ad)
343+ if ((aw == aw))
353344 then {
354- let bd = fromBase58String(bc)
355- if ((bd == bd))
356- then [StringEntry(t(), bc)]
345+ let aZ = fromBase58String(aY)
346+ if ((aZ == aZ))
347+ then [StringEntry(t(), aY)]
357348 else throw("Strict value is not equal to itself.")
358349 }
359350 else throw("Strict value is not equal to itself.")
360351 }
361352
362353
363354
364-@Callable(ae)
355+@Callable(ad)
365356 func confirmManager () = {
366- let be = ac()
367- let bf = if (isDefined(be))
357+ let ba = ab()
358+ let bb = if (isDefined(ba))
368359 then true
369360 else throw("No pending manager")
370- if ((bf == bf))
361+ if ((bb == bb))
371362 then {
372- let bg = if ((ae.callerPublicKey == value(be)))
363+ let bc = if ((ad.callerPublicKey == value(ba)))
373364 then true
374365 else throw("You are not pending manager")
375- if ((bg == bg))
376- then [StringEntry(s(), toBase58String(value(be))), DeleteEntry(t())]
366+ if ((bc == bc))
367+ then [StringEntry(s(), toBase58String(value(ba))), DeleteEntry(t())]
377368 else throw("Strict value is not equal to itself.")
378369 }
379370 else throw("Strict value is not equal to itself.")
380371 }
381372
382373
383374
384-@Callable(ae)
385-func priceAssetsREADONLY () = $Tuple2(nil, U(getString(R())))
375+@Callable(ad)
376+func priceAssetsREADONLY () = $Tuple2(nil, T(getString(Q())))
386377
387378
388379
389-@Callable(ae)
380+@Callable(ad)
390381 func statusREADONLY (w,x) = {
391- let aq = {
392- let W = getString(v(w, x))
393- if ($isInstanceOf(W, "String"))
382+ let ap = {
383+ let V = getString(v(w, x))
384+ if ($isInstanceOf(V, "String"))
394385 then {
395- let X = W
396- X
386+ let W = V
387+ W
397388 }
398389 else unit
399390 }
400- $Tuple2(nil, aq)
391+ $Tuple2(nil, ap)
401392 }
402393
403394
404-@Verifier(bh)
405-func bi () = {
406- let bj = {
407- let W = ab()
408- if ($isInstanceOf(W, "ByteVector"))
395+@Verifier(bd)
396+func be () = {
397+ let bf = {
398+ let V = aa()
399+ if ($isInstanceOf(V, "ByteVector"))
409400 then {
410- let af = W
411- af
401+ let ae = V
402+ ae
412403 }
413- else if ($isInstanceOf(W, "Unit"))
414- then bh.senderPublicKey
404+ else if ($isInstanceOf(V, "Unit"))
405+ then bd.senderPublicKey
415406 else throw("Match error")
416407 }
417- sigVerify(bh.bodyBytes, bh.proofs[0], bj)
408+ sigVerify(bd.bodyBytes, bd.proofs[0], bf)
418409 }
419410

github/deemru/w8io/026f985 
101.69 ms