tx · AhJ6m9whffe9z9uf4dMo8b6VLrSsWMRYPFCKMW2CyHVQ

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01800000 Waves

2022.08.16 14:59 [2186995] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "AhJ6m9whffe9z9uf4dMo8b6VLrSsWMRYPFCKMW2CyHVQ", "fee": 1800000, "feeAssetId": null, "timestamp": 1660651178964, "version": 1, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "5J6mKXUJgdH89Gek7zyPEax1uf7hPmbY1W5z84mKCFBEFjL7nc71cKVnYfcVodXGmkaBhQAc2NnovhQC1ba8YKr1" ], "script": "base64:AAIFAAAAAAAAAC0IAhIJCgcICBgYAQgBEgASCAoGCAgICAgIEgMKARgSAwoBCBIAEgASBAoCCAgAAAAxAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAAAx3YXZlc0Fzc2V0SWQCAAAABVdBVkVTAAAAABFpbnZhbGlkUHJpY2VBc3NldAIAAAATSW52YWxpZCBwcmljZSBhc3NldAEAAAAHdGhyb3dQRAAAAAAJAAACAAAAAQIAAAARUGVybWlzc2lvbiBkZW5pZWQBAAAAFHRocm93Q3JlYXRlTm90Q2FsbGVkAAAAAAkAAAIAAAABAgAAACRDcmVhdGUgaXMgbm90IGNhbGxlZCBmb3IgYXNzZXRzIHBhaXIBAAAAEXRocm93WW91Tm90SXNzdWVyAAAAAAkAAAIAAAABAgAAAB5Zb3UgYXJlIG5vdCBhbW91bnRBc3NldCBpc3N1ZXIBAAAAD3Rocm93UG9vbEV4aXN0cwAAAAAJAAACAAAAAQIAAAAkUG9vbCB3aXRoIHN1Y2ggYXNzZXRzIGFscmVhZHkgZXhpc3RzAQAAABV0aHJvd0Fzc2V0Tm90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AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAZTdHJpbmcEAAAAAXMFAAAAByRtYXRjaDADCQAAAAAAAAIJAAExAAAAAQUAAAABcwAAAAAAAAAAAAUAAAADbmlsCQAEtQAAAAIFAAAAAXMFAAAAA1NFUAUAAAADbmlsCQAFFAAAAAIFAAAAA25pbAUAAAALcHJpY2VBc3NldHMAAAABaQEAAAAOc3RhdHVzUkVBRE9OTFkAAAACAAAADWFtb3VudEFzc2V0SWQAAAAMcHJpY2VBc3NldElkBAAAAAZzdGF0dXMEAAAAByRtYXRjaDAJAAQiAAAAAQkBAAAACWtleVN0YXR1cwAAAAIFAAAADWFtb3VudEFzc2V0SWQFAAAADHByaWNlQXNzZXRJZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFzBQAAAAckbWF0Y2gwBQAAAAFzBQAAAAR1bml0CQAFFAAAAAIFAAAAA25pbAUAAAAGc3RhdHVzAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAPdGFyZ2V0UHVibGljS2V5BAAAAAckbWF0Y2gwCQEAAAAWbWFuYWdlclB1YmxpY0tleU9yVW5pdAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAACkJ5dGVWZWN0b3IEAAAAAnBrBQAAAAckbWF0Y2gwBQAAAAJwawMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAEVW5pdAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQkAAAIAAAABAgAAAAtNYXRjaCBlcnJvcgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAD3RhcmdldFB1YmxpY0tleYyiB38=", "chainId": 84, "height": 2186995, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: T88UsL6ZTdyzGK4nXyBU466zzu9XuuaJoXpj3zseNzL Next: 7MCeyDtGLzXadSpGvAqG3WvPoSA9eYay4FHGQt5pPvhJ Diff:
OldNewDifferences
55
66 let b = ""
77
8-let c = "Invalid price asset"
8+let c = "WAVES"
99
10-func d () = throw("Permission denied")
10+let d = "Invalid price asset"
11+
12+func e () = throw("Permission denied")
1113
1214
13-func e () = throw("Create is not called for assets pair")
15+func f () = throw("Create is not called for assets pair")
1416
1517
16-func f () = throw("You are not amountAsset issuer")
18+func g () = throw("You are not amountAsset issuer")
1719
1820
19-func g () = throw("Pool with such assets already exists")
21+func h () = throw("Pool with such assets already exists")
2022
2123
22-func h () = throw("Asset is not verified")
24+func i () = throw("Asset is not verified")
2325
2426
25-func i () = throw(c)
27+func j () = throw(d)
2628
2729
28-func j () = throw("Invalid fee asset")
30+func k () = throw("Invalid fee asset")
2931
3032
31-func k () = throw("Invalid amount asset attached")
33+func l () = throw("Invalid amount asset attached")
3234
3335
34-func l () = throw("Invalid status")
36+func m () = throw("Invalid status")
3537
3638
37-func m () = throw("Can activate pool only in 'pending' status")
39+func n () = throw("Can activate pool only in 'pending' status")
3840
3941
40-func n () = throw("FactoryV2 returned not string")
42+func o () = throw("FactoryV2 returned not string")
4143
4244
43-func o () = makeString(["%s", "managerPublicKey"], a)
45+func p () = makeString(["%s", "managerPublicKey"], a)
4446
4547
46-func p () = makeString(["%s", "pendingManagerPublicKey"], a)
48+func q () = makeString(["%s", "pendingManagerPublicKey"], a)
4749
4850
49-func q () = makeString(["%s", "adminPubKeys"], a)
51+func r () = makeString(["%s", "adminPubKeys"], a)
5052
5153
52-func r (s,t) = makeString(["%s%s%s", "status", s, t], a)
54+func s (t,u) = makeString(["%s%s%s", "status", t, u], a)
5355
5456
55-func u () = makeString(["%s", "factoryContract"], a)
57+func v () = makeString(["%s", "factoryContract"], a)
5658
5759
58-func v () = makeString(["%s", "assetsStoreContract"], a)
60+func w () = makeString(["%s", "assetsStoreContract"], a)
5961
6062
61-func w (s,t) = makeString(["%s%s%s", "suffix", s, t], a)
63+func x (t,u) = makeString(["%s%s%s", "suffix", t, u], a)
6264
6365
64-func x () = makeString(["%s", "lastIndex"], a)
66+func y () = makeString(["%s", "lastIndex"], a)
6567
6668
67-let y = "u"
69+let z = "u"
6870
69-let z = "pending"
71+let A = "pending"
7072
71-let A = "declined"
73+let B = "declined"
7274
73-let B = "active"
75+let C = "active"
7476
75-let C = [z, A, B]
77+let D = [A, B, C]
7678
77-func D (s,t) = makeString(["%s%s%s", "createCalled", s, t], a)
79+func E (t,u) = makeString(["%s%s%s", "createCalled", t, u], a)
7880
7981
80-func E (s,t) = makeString(["%s%s%s", "amountAssetAmount", s, t], a)
82+func F (t,u) = makeString(["%s%s%s", "amountAssetAmount", t, u], a)
8183
8284
83-func F (s,t) = makeString(["%s%s%s", "priceAssetAmount", s, t], a)
85+func G (t,u) = makeString(["%s%s%s", "priceAssetAmount", t, u], a)
8486
8587
86-func G (s,t) = makeString(["%s%s%s", "height", s, t], a)
88+func H (t,u) = makeString(["%s%s%s", "height", t, u], a)
8789
8890
89-func H () = makeString(["%s", "feeAssetId"], a)
91+func I () = makeString(["%s", "feeAssetId"], a)
9092
9193
92-func I () = makeString(["%s", "feeAmount"], a)
94+func J () = makeString(["%s", "feeAmount"], a)
9395
9496
95-func J () = makeString(["%s", "amountAssetMinAmount"], a)
97+func K () = makeString(["%s", "amountAssetMinAmount"], a)
9698
9799
98-func K () = makeString(["%s", "priceAssetsMinAmount"], a)
100+func L () = makeString(["%s", "priceAssetsMinAmount"], a)
99101
100102
101-func L () = makeString(["%s", "priceAssetIds"], a)
103+func M () = makeString(["%s", "priceAssetIds"], a)
102104
103105
104-func M (N) = valueOrErrorMessage(getString(this, N), (N + " is not defined"))
106+func N (O) = valueOrErrorMessage(getString(this, O), (O + " is not defined"))
105107
106108
107-let O = addressFromStringValue(M(u()))
109+let P = addressFromStringValue(N(v()))
108110
109-func P (s,t) = valueOrElse(getBoolean(D(s, t)), false)
111+func Q (t,u) = valueOrElse(getBoolean(E(t, u)), false)
110112
111113
112-func Q (s,t) = if (P(s, t))
114+func R (t,u) = if (Q(t, u))
113115 then true
114- else e()
116+ else f()
115117
116118
117-func R () = {
118- let S = getString(o())
119- if ($isInstanceOf(S, "String"))
119+func S () = {
120+ let T = getString(p())
121+ if ($isInstanceOf(T, "String"))
120122 then {
121- let T = S
122- fromBase58String(T)
123+ let U = T
124+ fromBase58String(U)
123125 }
124- else if ($isInstanceOf(S, "Unit"))
126+ else if ($isInstanceOf(T, "Unit"))
125127 then unit
126128 else throw("Match error")
127129 }
128130
129131
130-func U () = {
131- let S = getString(p())
132- if ($isInstanceOf(S, "String"))
132+func V () = {
133+ let T = getString(q())
134+ if ($isInstanceOf(T, "String"))
133135 then {
134- let T = S
135- fromBase58String(T)
136+ let U = T
137+ fromBase58String(U)
136138 }
137- else if ($isInstanceOf(S, "Unit"))
139+ else if ($isInstanceOf(T, "Unit"))
138140 then unit
139141 else throw("Match error")
140142 }
141143
142144
143-func V (W) = {
144- let S = R()
145- if ($isInstanceOf(S, "ByteVector"))
145+func W (X) = {
146+ let T = S()
147+ if ($isInstanceOf(T, "ByteVector"))
146148 then {
147- let X = S
148- (W.callerPublicKey == X)
149+ let Y = T
150+ (X.callerPublicKey == Y)
149151 }
150- else if ($isInstanceOf(S, "Unit"))
151- then (W.caller == this)
152+ else if ($isInstanceOf(T, "Unit"))
153+ then (X.caller == this)
152154 else throw("Match error")
153155 }
154156
155157
156-func Y (W) = if (V(W))
158+func Z (X) = if (W(X))
157159 then true
158- else d()
160+ else e()
159161
160162
161-func Z (W) = {
162- let aa = split(valueOrElse(getString(q()), b), a)
163- if (containsElement(aa, toBase58String(W.callerPublicKey)))
163+func aa (X) = {
164+ let ab = split(valueOrElse(getString(r()), b), a)
165+ if (containsElement(ab, toBase58String(X.callerPublicKey)))
164166 then true
165- else Y(W)
167+ else Z(X)
166168 }
167169
168170
169-func ab (ac) = (valueOrElse(getInteger(addressFromStringValue(M(v())), (("status_<" + ac) + ">")), 0) == 2)
171+func ac (ad) = (valueOrElse(getInteger(addressFromStringValue(N(w())), (("status_<" + ad) + ">")), 0) == 2)
170172
171173
172-func ad (ae) = {
173- let af = value(ae.assetId)
174- let ag = value(assetInfo(af))
175- $Tuple2(toBase58String(af), ag)
174+func ae (af) = {
175+ let T = af.assetId
176+ if ($isInstanceOf(T, "ByteVector"))
177+ then {
178+ let ag = T
179+ let ah = value(assetInfo(ag))
180+ $Tuple2(toBase58String(ag), ah)
181+ }
182+ else if ($isInstanceOf(T, "Unit"))
183+ then $Tuple2(c, unit)
184+ else throw("Match error")
176185 }
177186
178187
179-func ah (ai) = containsElement(C, ai)
188+func ai (aj) = containsElement(D, aj)
180189
181190
182-@Callable(W)
183-func constructor (aj,ak,al,am,an,ao,ap) = {
184- let aq = Y(W)
185- if ((aq == aq))
186- then [StringEntry(u(), aj), StringEntry(v(), ak), StringEntry(L(), makeString(al, a)), StringEntry(K(), makeString(am, a)), IntegerEntry(J(), an), StringEntry(H(), ao), IntegerEntry(I(), ap)]
191+@Callable(X)
192+func constructor (ak,al,am,an,ao,ap,aq) = {
193+ let ar = Z(X)
194+ if ((ar == ar))
195+ then [StringEntry(v(), ak), StringEntry(w(), al), StringEntry(M(), makeString(am, a)), StringEntry(L(), makeString(an, a)), IntegerEntry(K(), ao), StringEntry(I(), ap), IntegerEntry(J(), aq)]
187196 else throw("Strict value is not equal to itself.")
188197 }
189198
190199
191200
192-@Callable(W)
201+@Callable(X)
193202 func create () = {
194- let ar = value(W.payments[0])
195- let as = value(W.payments[1])
196- let at = value(W.payments[2])
197- let au = ad(ar)
198- let s = au._1
199- let av = au._2
200- let aw = ad(as)
201- let t = aw._1
202- let ax = aw._2
203- let ay = ad(at)
204- let ao = ay._1
205- let az = ay._2
206- let aA = split(valueOrElse(getString(L()), b), a)
207- let aB = 1
208- let aC = if (V(W))
209- then aB
203+ let as = value(X.payments[0])
204+ let at = value(X.payments[1])
205+ let au = value(X.payments[2])
206+ let av = ae(as)
207+ let t = av._1
208+ let aw = av._2
209+ let ax = ae(at)
210+ let u = ax._1
211+ let ay = ax._2
212+ let az = ae(au)
213+ let ap = az._1
214+ let aA = az._2
215+ let aB = split(valueOrElse(getString(M()), b), a)
216+ let aC = 1
217+ let aD = if (W(X))
218+ then aC
210219 else {
211- let aD = valueOrErrorMessage(indexOf(aA, t), c)
212- value(parseInt(split(valueOrElse(getString(K()), b), a)[aD]))
220+ let aE = valueOrErrorMessage(indexOf(aB, u), d)
221+ value(parseInt(split(valueOrElse(getString(L()), b), a)[aE]))
213222 }
214- let aE = valueOrElse(getInteger(x()), 0)
215- let aF = (aE + 1)
216- let aG = [if (!(P(s, t)))
223+ let aF = valueOrElse(getInteger(y()), 0)
224+ let aG = (aF + 1)
225+ let aH = [if (!(Q(t, u)))
217226 then true
218- else g(), if ((av.issuer == W.caller))
227+ else h(), if (if (W(X))
219228 then true
220- else f(), if (ab(s))
229+ else (value(aw).issuer == X.caller))
221230 then true
222- else h(), if ((getString(H()) == ao))
231+ else g(), if (ac(t))
223232 then true
224- else j(), if ((ar.amount >= getIntegerValue(J())))
233+ else i(), if ((getString(I()) == ap))
225234 then true
226- else k(), if ((as.amount >= aC))
235+ else k(), if ((as.amount >= getIntegerValue(K())))
227236 then true
228- else throw("invalid price asset amount"), if ((at.amount == getInteger(I())))
237+ else l(), if ((at.amount >= aD))
238+ then true
239+ else throw("invalid price asset amount"), if ((au.amount == getInteger(J())))
229240 then true
230241 else throw()]
231- if ((aG == aG))
232- then [BooleanEntry(D(s, t), true), IntegerEntry(x(), aF), StringEntry(w(s, t), (toString(aF) + y)), IntegerEntry(G(s, t), height), StringEntry(r(s, t), z), IntegerEntry(E(s, t), ar.amount), IntegerEntry(F(s, t), as.amount)]
242+ if ((aH == aH))
243+ then [BooleanEntry(E(t, u), true), IntegerEntry(y(), aG), StringEntry(x(t, u), (toString(aG) + z)), IntegerEntry(H(t, u), height), StringEntry(s(t, u), A), IntegerEntry(F(t, u), as.amount), IntegerEntry(G(t, u), at.amount)]
233244 else throw("Strict value is not equal to itself.")
234245 }
235246
236247
237248
238-@Callable(W)
239-func activate (aH,s,aI,t,aJ,aK) = {
240- let aG = [Z(W), if (P(s, t))
249+@Callable(X)
250+func activate (aI,t,aJ,u,aK,aL) = {
251+ let aH = [aa(X), if (Q(t, u))
241252 then true
242- else e(), if ((value(getString(r(s, t))) == z))
253+ else f(), if ((value(getString(s(t, u))) == A))
243254 then true
244- else m()]
245- if ((aG == aG))
255+ else n()]
256+ if ((aH == aH))
246257 then {
247- let aL = invoke(O, "activateNewPool", [aH, s, t, ((aI + aJ) + "LP"), (((aI + "/") + aJ) + " pool liquidity provider token"), 0, "VLTPOOL", aK], nil)
248- if ((aL == aL))
258+ let aM = invoke(P, "activateNewPool", [aI, t, u, ((aJ + aK) + "LP"), (((aJ + "/") + aK) + " pool liquidity provider token"), 0, "VLTPOOL", aL], nil)
259+ if ((aM == aM))
249260 then {
250- let aM = {
251- let S = aL
252- if ($isInstanceOf(S, "String"))
261+ let aN = {
262+ let T = aM
263+ if ($isInstanceOf(T, "String"))
253264 then {
254- let af = S
255- af
265+ let ag = T
266+ ag
256267 }
257- else n()
268+ else o()
258269 }
259- if ((aM == aM))
270+ if ((aN == aN))
260271 then {
261- let aN = assetBalance(this, fromBase58String(aM))
262- if ((aN == aN))
272+ let aO = assetBalance(this, fromBase58String(aN))
273+ if ((aO == aO))
263274 then {
264- let aO = invoke(addressFromStringValue(aH), "put", [0, false], [AttachedPayment(fromBase58String(s), value(getInteger(E(s, t)))), AttachedPayment(fromBase58String(t), value(getInteger(F(s, t))))])
265- if ((aO == aO))
275+ let aP = invoke(addressFromStringValue(aI), "put", [0, false], [AttachedPayment(fromBase58String(t), value(getInteger(F(t, u)))), AttachedPayment(fromBase58String(u), value(getInteger(G(t, u))))])
276+ if ((aP == aP))
266277 then {
267- let aP = assetBalance(this, fromBase58String(aM))
268- if ((aP == aP))
278+ let aQ = assetBalance(this, fromBase58String(aN))
279+ if ((aQ == aQ))
269280 then {
270- let aQ = value(assetInfo(fromBase58String(s))).issuer
271-[StringEntry(r(s, t), B), ScriptTransfer(aQ, (aP - aN), fromBase58String(aM))]
281+ let aR = value(assetInfo(fromBase58String(t))).issuer
282+[StringEntry(s(t, u), C), ScriptTransfer(aR, (aQ - aO), fromBase58String(aN))]
272283 }
273284 else throw("Strict value is not equal to itself.")
274285 }
285296
286297
287298
288-@Callable(W)
289-func setAdmins (aR) = {
290- let aq = Y(W)
291- if ((aq == aq))
292- then [StringEntry(q(), makeString(aR, a))]
299+@Callable(X)
300+func setAdmins (aS) = {
301+ let ar = Z(X)
302+ if ((ar == ar))
303+ then [StringEntry(r(), makeString(aS, a))]
293304 else throw("Strict value is not equal to itself.")
294305 }
295306
296307
297308
298-@Callable(W)
299-func setManager (aS) = {
300- let aq = Y(W)
301- if ((aq == aq))
309+@Callable(X)
310+func setManager (aT) = {
311+ let ar = Z(X)
312+ if ((ar == ar))
302313 then {
303- let aT = fromBase58String(aS)
304- if ((aT == aT))
305- then [StringEntry(p(), aS)]
314+ let aU = fromBase58String(aT)
315+ if ((aU == aU))
316+ then [StringEntry(q(), aT)]
306317 else throw("Strict value is not equal to itself.")
307318 }
308319 else throw("Strict value is not equal to itself.")
310321
311322
312323
313-@Callable(W)
324+@Callable(X)
314325 func confirmManager () = {
315- let aU = U()
316- let aV = if (isDefined(aU))
326+ let aV = V()
327+ let aW = if (isDefined(aV))
317328 then true
318329 else throw("No pending manager")
319- if ((aV == aV))
330+ if ((aW == aW))
320331 then {
321- let aW = if ((W.callerPublicKey == value(aU)))
332+ let aX = if ((X.callerPublicKey == value(aV)))
322333 then true
323334 else throw("You are not pending manager")
324- if ((aW == aW))
325- then [StringEntry(o(), toBase58String(value(aU))), DeleteEntry(p())]
335+ if ((aX == aX))
336+ then [StringEntry(p(), toBase58String(value(aV))), DeleteEntry(q())]
326337 else throw("Strict value is not equal to itself.")
327338 }
328339 else throw("Strict value is not equal to itself.")
330341
331342
332343
333-@Callable(W)
344+@Callable(X)
334345 func priceAssetsREADONLY () = {
335- let aX = {
336- let S = getString(L())
337- if ($isInstanceOf(S, "String"))
346+ let aY = {
347+ let T = getString(M())
348+ if ($isInstanceOf(T, "String"))
338349 then {
339- let T = S
340- if ((size(T) == 0))
350+ let U = T
351+ if ((size(U) == 0))
341352 then nil
342- else split(T, a)
353+ else split(U, a)
343354 }
344355 else nil
345356 }
346- $Tuple2(nil, aX)
357+ $Tuple2(nil, aY)
347358 }
348359
349360
350361
351-@Callable(W)
352-func statusREADONLY (s,t) = {
353- let ai = {
354- let S = getString(r(s, t))
355- if ($isInstanceOf(S, "String"))
362+@Callable(X)
363+func statusREADONLY (t,u) = {
364+ let aj = {
365+ let T = getString(s(t, u))
366+ if ($isInstanceOf(T, "String"))
356367 then {
357- let T = S
358- T
368+ let U = T
369+ U
359370 }
360371 else unit
361372 }
362- $Tuple2(nil, ai)
373+ $Tuple2(nil, aj)
363374 }
364375
365376
366-@Verifier(aY)
367-func aZ () = {
368- let ba = {
369- let S = R()
370- if ($isInstanceOf(S, "ByteVector"))
377+@Verifier(aZ)
378+func ba () = {
379+ let bb = {
380+ let T = S()
381+ if ($isInstanceOf(T, "ByteVector"))
371382 then {
372- let X = S
373- X
383+ let Y = T
384+ Y
374385 }
375- else if ($isInstanceOf(S, "Unit"))
376- then aY.senderPublicKey
386+ else if ($isInstanceOf(T, "Unit"))
387+ then aZ.senderPublicKey
377388 else throw("Match error")
378389 }
379- sigVerify(aY.bodyBytes, aY.proofs[0], ba)
390+ sigVerify(aZ.bodyBytes, aZ.proofs[0], bb)
380391 }
381392
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
8-let c = "Invalid price asset"
8+let c = "WAVES"
99
10-func d () = throw("Permission denied")
10+let d = "Invalid price asset"
11+
12+func e () = throw("Permission denied")
1113
1214
13-func e () = throw("Create is not called for assets pair")
15+func f () = throw("Create is not called for assets pair")
1416
1517
16-func f () = throw("You are not amountAsset issuer")
18+func g () = throw("You are not amountAsset issuer")
1719
1820
19-func g () = throw("Pool with such assets already exists")
21+func h () = throw("Pool with such assets already exists")
2022
2123
22-func h () = throw("Asset is not verified")
24+func i () = throw("Asset is not verified")
2325
2426
25-func i () = throw(c)
27+func j () = throw(d)
2628
2729
28-func j () = throw("Invalid fee asset")
30+func k () = throw("Invalid fee asset")
2931
3032
31-func k () = throw("Invalid amount asset attached")
33+func l () = throw("Invalid amount asset attached")
3234
3335
34-func l () = throw("Invalid status")
36+func m () = throw("Invalid status")
3537
3638
37-func m () = throw("Can activate pool only in 'pending' status")
39+func n () = throw("Can activate pool only in 'pending' status")
3840
3941
40-func n () = throw("FactoryV2 returned not string")
42+func o () = throw("FactoryV2 returned not string")
4143
4244
43-func o () = makeString(["%s", "managerPublicKey"], a)
45+func p () = makeString(["%s", "managerPublicKey"], a)
4446
4547
46-func p () = makeString(["%s", "pendingManagerPublicKey"], a)
48+func q () = makeString(["%s", "pendingManagerPublicKey"], a)
4749
4850
49-func q () = makeString(["%s", "adminPubKeys"], a)
51+func r () = makeString(["%s", "adminPubKeys"], a)
5052
5153
52-func r (s,t) = makeString(["%s%s%s", "status", s, t], a)
54+func s (t,u) = makeString(["%s%s%s", "status", t, u], a)
5355
5456
55-func u () = makeString(["%s", "factoryContract"], a)
57+func v () = makeString(["%s", "factoryContract"], a)
5658
5759
58-func v () = makeString(["%s", "assetsStoreContract"], a)
60+func w () = makeString(["%s", "assetsStoreContract"], a)
5961
6062
61-func w (s,t) = makeString(["%s%s%s", "suffix", s, t], a)
63+func x (t,u) = makeString(["%s%s%s", "suffix", t, u], a)
6264
6365
64-func x () = makeString(["%s", "lastIndex"], a)
66+func y () = makeString(["%s", "lastIndex"], a)
6567
6668
67-let y = "u"
69+let z = "u"
6870
69-let z = "pending"
71+let A = "pending"
7072
71-let A = "declined"
73+let B = "declined"
7274
73-let B = "active"
75+let C = "active"
7476
75-let C = [z, A, B]
77+let D = [A, B, C]
7678
77-func D (s,t) = makeString(["%s%s%s", "createCalled", s, t], a)
79+func E (t,u) = makeString(["%s%s%s", "createCalled", t, u], a)
7880
7981
80-func E (s,t) = makeString(["%s%s%s", "amountAssetAmount", s, t], a)
82+func F (t,u) = makeString(["%s%s%s", "amountAssetAmount", t, u], a)
8183
8284
83-func F (s,t) = makeString(["%s%s%s", "priceAssetAmount", s, t], a)
85+func G (t,u) = makeString(["%s%s%s", "priceAssetAmount", t, u], a)
8486
8587
86-func G (s,t) = makeString(["%s%s%s", "height", s, t], a)
88+func H (t,u) = makeString(["%s%s%s", "height", t, u], a)
8789
8890
89-func H () = makeString(["%s", "feeAssetId"], a)
91+func I () = makeString(["%s", "feeAssetId"], a)
9092
9193
92-func I () = makeString(["%s", "feeAmount"], a)
94+func J () = makeString(["%s", "feeAmount"], a)
9395
9496
95-func J () = makeString(["%s", "amountAssetMinAmount"], a)
97+func K () = makeString(["%s", "amountAssetMinAmount"], a)
9698
9799
98-func K () = makeString(["%s", "priceAssetsMinAmount"], a)
100+func L () = makeString(["%s", "priceAssetsMinAmount"], a)
99101
100102
101-func L () = makeString(["%s", "priceAssetIds"], a)
103+func M () = makeString(["%s", "priceAssetIds"], a)
102104
103105
104-func M (N) = valueOrErrorMessage(getString(this, N), (N + " is not defined"))
106+func N (O) = valueOrErrorMessage(getString(this, O), (O + " is not defined"))
105107
106108
107-let O = addressFromStringValue(M(u()))
109+let P = addressFromStringValue(N(v()))
108110
109-func P (s,t) = valueOrElse(getBoolean(D(s, t)), false)
111+func Q (t,u) = valueOrElse(getBoolean(E(t, u)), false)
110112
111113
112-func Q (s,t) = if (P(s, t))
114+func R (t,u) = if (Q(t, u))
113115 then true
114- else e()
116+ else f()
115117
116118
117-func R () = {
118- let S = getString(o())
119- if ($isInstanceOf(S, "String"))
119+func S () = {
120+ let T = getString(p())
121+ if ($isInstanceOf(T, "String"))
120122 then {
121- let T = S
122- fromBase58String(T)
123+ let U = T
124+ fromBase58String(U)
123125 }
124- else if ($isInstanceOf(S, "Unit"))
126+ else if ($isInstanceOf(T, "Unit"))
125127 then unit
126128 else throw("Match error")
127129 }
128130
129131
130-func U () = {
131- let S = getString(p())
132- if ($isInstanceOf(S, "String"))
132+func V () = {
133+ let T = getString(q())
134+ if ($isInstanceOf(T, "String"))
133135 then {
134- let T = S
135- fromBase58String(T)
136+ let U = T
137+ fromBase58String(U)
136138 }
137- else if ($isInstanceOf(S, "Unit"))
139+ else if ($isInstanceOf(T, "Unit"))
138140 then unit
139141 else throw("Match error")
140142 }
141143
142144
143-func V (W) = {
144- let S = R()
145- if ($isInstanceOf(S, "ByteVector"))
145+func W (X) = {
146+ let T = S()
147+ if ($isInstanceOf(T, "ByteVector"))
146148 then {
147- let X = S
148- (W.callerPublicKey == X)
149+ let Y = T
150+ (X.callerPublicKey == Y)
149151 }
150- else if ($isInstanceOf(S, "Unit"))
151- then (W.caller == this)
152+ else if ($isInstanceOf(T, "Unit"))
153+ then (X.caller == this)
152154 else throw("Match error")
153155 }
154156
155157
156-func Y (W) = if (V(W))
158+func Z (X) = if (W(X))
157159 then true
158- else d()
160+ else e()
159161
160162
161-func Z (W) = {
162- let aa = split(valueOrElse(getString(q()), b), a)
163- if (containsElement(aa, toBase58String(W.callerPublicKey)))
163+func aa (X) = {
164+ let ab = split(valueOrElse(getString(r()), b), a)
165+ if (containsElement(ab, toBase58String(X.callerPublicKey)))
164166 then true
165- else Y(W)
167+ else Z(X)
166168 }
167169
168170
169-func ab (ac) = (valueOrElse(getInteger(addressFromStringValue(M(v())), (("status_<" + ac) + ">")), 0) == 2)
171+func ac (ad) = (valueOrElse(getInteger(addressFromStringValue(N(w())), (("status_<" + ad) + ">")), 0) == 2)
170172
171173
172-func ad (ae) = {
173- let af = value(ae.assetId)
174- let ag = value(assetInfo(af))
175- $Tuple2(toBase58String(af), ag)
174+func ae (af) = {
175+ let T = af.assetId
176+ if ($isInstanceOf(T, "ByteVector"))
177+ then {
178+ let ag = T
179+ let ah = value(assetInfo(ag))
180+ $Tuple2(toBase58String(ag), ah)
181+ }
182+ else if ($isInstanceOf(T, "Unit"))
183+ then $Tuple2(c, unit)
184+ else throw("Match error")
176185 }
177186
178187
179-func ah (ai) = containsElement(C, ai)
188+func ai (aj) = containsElement(D, aj)
180189
181190
182-@Callable(W)
183-func constructor (aj,ak,al,am,an,ao,ap) = {
184- let aq = Y(W)
185- if ((aq == aq))
186- then [StringEntry(u(), aj), StringEntry(v(), ak), StringEntry(L(), makeString(al, a)), StringEntry(K(), makeString(am, a)), IntegerEntry(J(), an), StringEntry(H(), ao), IntegerEntry(I(), ap)]
191+@Callable(X)
192+func constructor (ak,al,am,an,ao,ap,aq) = {
193+ let ar = Z(X)
194+ if ((ar == ar))
195+ then [StringEntry(v(), ak), StringEntry(w(), al), StringEntry(M(), makeString(am, a)), StringEntry(L(), makeString(an, a)), IntegerEntry(K(), ao), StringEntry(I(), ap), IntegerEntry(J(), aq)]
187196 else throw("Strict value is not equal to itself.")
188197 }
189198
190199
191200
192-@Callable(W)
201+@Callable(X)
193202 func create () = {
194- let ar = value(W.payments[0])
195- let as = value(W.payments[1])
196- let at = value(W.payments[2])
197- let au = ad(ar)
198- let s = au._1
199- let av = au._2
200- let aw = ad(as)
201- let t = aw._1
202- let ax = aw._2
203- let ay = ad(at)
204- let ao = ay._1
205- let az = ay._2
206- let aA = split(valueOrElse(getString(L()), b), a)
207- let aB = 1
208- let aC = if (V(W))
209- then aB
203+ let as = value(X.payments[0])
204+ let at = value(X.payments[1])
205+ let au = value(X.payments[2])
206+ let av = ae(as)
207+ let t = av._1
208+ let aw = av._2
209+ let ax = ae(at)
210+ let u = ax._1
211+ let ay = ax._2
212+ let az = ae(au)
213+ let ap = az._1
214+ let aA = az._2
215+ let aB = split(valueOrElse(getString(M()), b), a)
216+ let aC = 1
217+ let aD = if (W(X))
218+ then aC
210219 else {
211- let aD = valueOrErrorMessage(indexOf(aA, t), c)
212- value(parseInt(split(valueOrElse(getString(K()), b), a)[aD]))
220+ let aE = valueOrErrorMessage(indexOf(aB, u), d)
221+ value(parseInt(split(valueOrElse(getString(L()), b), a)[aE]))
213222 }
214- let aE = valueOrElse(getInteger(x()), 0)
215- let aF = (aE + 1)
216- let aG = [if (!(P(s, t)))
223+ let aF = valueOrElse(getInteger(y()), 0)
224+ let aG = (aF + 1)
225+ let aH = [if (!(Q(t, u)))
217226 then true
218- else g(), if ((av.issuer == W.caller))
227+ else h(), if (if (W(X))
219228 then true
220- else f(), if (ab(s))
229+ else (value(aw).issuer == X.caller))
221230 then true
222- else h(), if ((getString(H()) == ao))
231+ else g(), if (ac(t))
223232 then true
224- else j(), if ((ar.amount >= getIntegerValue(J())))
233+ else i(), if ((getString(I()) == ap))
225234 then true
226- else k(), if ((as.amount >= aC))
235+ else k(), if ((as.amount >= getIntegerValue(K())))
227236 then true
228- else throw("invalid price asset amount"), if ((at.amount == getInteger(I())))
237+ else l(), if ((at.amount >= aD))
238+ then true
239+ else throw("invalid price asset amount"), if ((au.amount == getInteger(J())))
229240 then true
230241 else throw()]
231- if ((aG == aG))
232- then [BooleanEntry(D(s, t), true), IntegerEntry(x(), aF), StringEntry(w(s, t), (toString(aF) + y)), IntegerEntry(G(s, t), height), StringEntry(r(s, t), z), IntegerEntry(E(s, t), ar.amount), IntegerEntry(F(s, t), as.amount)]
242+ if ((aH == aH))
243+ then [BooleanEntry(E(t, u), true), IntegerEntry(y(), aG), StringEntry(x(t, u), (toString(aG) + z)), IntegerEntry(H(t, u), height), StringEntry(s(t, u), A), IntegerEntry(F(t, u), as.amount), IntegerEntry(G(t, u), at.amount)]
233244 else throw("Strict value is not equal to itself.")
234245 }
235246
236247
237248
238-@Callable(W)
239-func activate (aH,s,aI,t,aJ,aK) = {
240- let aG = [Z(W), if (P(s, t))
249+@Callable(X)
250+func activate (aI,t,aJ,u,aK,aL) = {
251+ let aH = [aa(X), if (Q(t, u))
241252 then true
242- else e(), if ((value(getString(r(s, t))) == z))
253+ else f(), if ((value(getString(s(t, u))) == A))
243254 then true
244- else m()]
245- if ((aG == aG))
255+ else n()]
256+ if ((aH == aH))
246257 then {
247- let aL = invoke(O, "activateNewPool", [aH, s, t, ((aI + aJ) + "LP"), (((aI + "/") + aJ) + " pool liquidity provider token"), 0, "VLTPOOL", aK], nil)
248- if ((aL == aL))
258+ let aM = invoke(P, "activateNewPool", [aI, t, u, ((aJ + aK) + "LP"), (((aJ + "/") + aK) + " pool liquidity provider token"), 0, "VLTPOOL", aL], nil)
259+ if ((aM == aM))
249260 then {
250- let aM = {
251- let S = aL
252- if ($isInstanceOf(S, "String"))
261+ let aN = {
262+ let T = aM
263+ if ($isInstanceOf(T, "String"))
253264 then {
254- let af = S
255- af
265+ let ag = T
266+ ag
256267 }
257- else n()
268+ else o()
258269 }
259- if ((aM == aM))
270+ if ((aN == aN))
260271 then {
261- let aN = assetBalance(this, fromBase58String(aM))
262- if ((aN == aN))
272+ let aO = assetBalance(this, fromBase58String(aN))
273+ if ((aO == aO))
263274 then {
264- let aO = invoke(addressFromStringValue(aH), "put", [0, false], [AttachedPayment(fromBase58String(s), value(getInteger(E(s, t)))), AttachedPayment(fromBase58String(t), value(getInteger(F(s, t))))])
265- if ((aO == aO))
275+ let aP = invoke(addressFromStringValue(aI), "put", [0, false], [AttachedPayment(fromBase58String(t), value(getInteger(F(t, u)))), AttachedPayment(fromBase58String(u), value(getInteger(G(t, u))))])
276+ if ((aP == aP))
266277 then {
267- let aP = assetBalance(this, fromBase58String(aM))
268- if ((aP == aP))
278+ let aQ = assetBalance(this, fromBase58String(aN))
279+ if ((aQ == aQ))
269280 then {
270- let aQ = value(assetInfo(fromBase58String(s))).issuer
271-[StringEntry(r(s, t), B), ScriptTransfer(aQ, (aP - aN), fromBase58String(aM))]
281+ let aR = value(assetInfo(fromBase58String(t))).issuer
282+[StringEntry(s(t, u), C), ScriptTransfer(aR, (aQ - aO), fromBase58String(aN))]
272283 }
273284 else throw("Strict value is not equal to itself.")
274285 }
275286 else throw("Strict value is not equal to itself.")
276287 }
277288 else throw("Strict value is not equal to itself.")
278289 }
279290 else throw("Strict value is not equal to itself.")
280291 }
281292 else throw("Strict value is not equal to itself.")
282293 }
283294 else throw("Strict value is not equal to itself.")
284295 }
285296
286297
287298
288-@Callable(W)
289-func setAdmins (aR) = {
290- let aq = Y(W)
291- if ((aq == aq))
292- then [StringEntry(q(), makeString(aR, a))]
299+@Callable(X)
300+func setAdmins (aS) = {
301+ let ar = Z(X)
302+ if ((ar == ar))
303+ then [StringEntry(r(), makeString(aS, a))]
293304 else throw("Strict value is not equal to itself.")
294305 }
295306
296307
297308
298-@Callable(W)
299-func setManager (aS) = {
300- let aq = Y(W)
301- if ((aq == aq))
309+@Callable(X)
310+func setManager (aT) = {
311+ let ar = Z(X)
312+ if ((ar == ar))
302313 then {
303- let aT = fromBase58String(aS)
304- if ((aT == aT))
305- then [StringEntry(p(), aS)]
314+ let aU = fromBase58String(aT)
315+ if ((aU == aU))
316+ then [StringEntry(q(), aT)]
306317 else throw("Strict value is not equal to itself.")
307318 }
308319 else throw("Strict value is not equal to itself.")
309320 }
310321
311322
312323
313-@Callable(W)
324+@Callable(X)
314325 func confirmManager () = {
315- let aU = U()
316- let aV = if (isDefined(aU))
326+ let aV = V()
327+ let aW = if (isDefined(aV))
317328 then true
318329 else throw("No pending manager")
319- if ((aV == aV))
330+ if ((aW == aW))
320331 then {
321- let aW = if ((W.callerPublicKey == value(aU)))
332+ let aX = if ((X.callerPublicKey == value(aV)))
322333 then true
323334 else throw("You are not pending manager")
324- if ((aW == aW))
325- then [StringEntry(o(), toBase58String(value(aU))), DeleteEntry(p())]
335+ if ((aX == aX))
336+ then [StringEntry(p(), toBase58String(value(aV))), DeleteEntry(q())]
326337 else throw("Strict value is not equal to itself.")
327338 }
328339 else throw("Strict value is not equal to itself.")
329340 }
330341
331342
332343
333-@Callable(W)
344+@Callable(X)
334345 func priceAssetsREADONLY () = {
335- let aX = {
336- let S = getString(L())
337- if ($isInstanceOf(S, "String"))
346+ let aY = {
347+ let T = getString(M())
348+ if ($isInstanceOf(T, "String"))
338349 then {
339- let T = S
340- if ((size(T) == 0))
350+ let U = T
351+ if ((size(U) == 0))
341352 then nil
342- else split(T, a)
353+ else split(U, a)
343354 }
344355 else nil
345356 }
346- $Tuple2(nil, aX)
357+ $Tuple2(nil, aY)
347358 }
348359
349360
350361
351-@Callable(W)
352-func statusREADONLY (s,t) = {
353- let ai = {
354- let S = getString(r(s, t))
355- if ($isInstanceOf(S, "String"))
362+@Callable(X)
363+func statusREADONLY (t,u) = {
364+ let aj = {
365+ let T = getString(s(t, u))
366+ if ($isInstanceOf(T, "String"))
356367 then {
357- let T = S
358- T
368+ let U = T
369+ U
359370 }
360371 else unit
361372 }
362- $Tuple2(nil, ai)
373+ $Tuple2(nil, aj)
363374 }
364375
365376
366-@Verifier(aY)
367-func aZ () = {
368- let ba = {
369- let S = R()
370- if ($isInstanceOf(S, "ByteVector"))
377+@Verifier(aZ)
378+func ba () = {
379+ let bb = {
380+ let T = S()
381+ if ($isInstanceOf(T, "ByteVector"))
371382 then {
372- let X = S
373- X
383+ let Y = T
384+ Y
374385 }
375- else if ($isInstanceOf(S, "Unit"))
376- then aY.senderPublicKey
386+ else if ($isInstanceOf(T, "Unit"))
387+ then aZ.senderPublicKey
377388 else throw("Match error")
378389 }
379- sigVerify(aY.bodyBytes, aY.proofs[0], ba)
390+ sigVerify(aZ.bodyBytes, aZ.proofs[0], bb)
380391 }
381392

github/deemru/w8io/026f985 
157.53 ms