tx · 2Fy3EBWKijGFHWFoDvT994B2TS7NtL4hpcbsCzRwmQwq

3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh:  -0.01400000 Waves

2022.04.13 17:39 [2006932] smart account 3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh > SELF 0.00000000 Waves

{ "type": 13, "id": "2Fy3EBWKijGFHWFoDvT994B2TS7NtL4hpcbsCzRwmQwq", "fee": 1400000, "feeAssetId": null, "timestamp": 1649860810710, "version": 1, "sender": "3N3g7W8FPoQ7g5EadbAD2GVjrZT5RWpHZZh", "senderPublicKey": "Ap7CkWd6fzBU34kGo4GJJzC5q4qWXuLVunzE25PchdGS", "proofs": [ "3jxyVvcupTjLxaJwfAHcEUVxQ3eZtw5TJeR66XzENLUGfm4M7UpJzedsbg5uUdqu9qwYs161EyVfpHpk6qEUGerP" ], "script": "base64:AAIFAAAAAAAAAC0IAhIJCgcICBgYAQgBEgASBQoDCAgIEgcKBQgICAgIEgMKARgSAwoBCBIAEgAAAAAsAAAAAANTRVACAAAAAl9fAAAAAAVFTVBUWQIAAAAAAAAAABFpbnZhbGlkUHJpY2VBc3NldAIAAAATSW52YWxpZCBwcmljZSBhc3NldAEAAAAHdGhyb3dQRAAAAAAJAAACAAAAAQIAAAARUGVybWlzc2lvbiBkZW5pZWQBAAAAFHRocm93Q3JlYXRlTm90Q2FsbGVkAAAAAAkAAAIAAAABAgAAACRDcmVhdGUgaXMgbm90IGNhbGxlZCBmb3IgYXNzZXRzIHBhaXIBAAAAEXRocm93WW91Tm90SXNzdWVyAAAAAAkAAAIAAAABAgAAAB5Zb3UgYXJlIG5vdCBhbW91bnRBc3NldCBpc3N1ZXIBAAAAD3Rocm93UG9vbEV4aXN0cwAAAAAJAAACAAAAAQIAAAAkUG9vbCB3aXRoIHN1Y2ggYXNzZXRzIGFscmVhZHkgZXhpc3RzAQAAABV0aHJvd0Fzc2V0Tm90VmVyaWZpZWQAAAAACQAAAgAAAAECAAAAFUFzc2V0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HJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXnePam/", "chainId": 84, "height": 2006932, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: TrRaCCk58qfzWhc2axGrmkbYVCGByZHbPxjtjoEQaFZ Next: FD55p2Px3Mzaqc9pBFSfAdpxZYHweBcZWUyETht3CEnh Diff:
OldNewDifferences
6262
6363 let x = "declined"
6464
65-let y = "creating"
65+let y = "active"
6666
67-let z = "active"
67+let z = [w, x, y]
6868
69-let A = "bot_disabled"
70-
71-let B = [w, x, y, z, A]
72-
73-func C (u,v) = makeString(["%s%s%s", "createCalled", u, v], a)
69+func A (u,v) = makeString(["%s%s%s", "createCalled", u, v], a)
7470
7571
76-func D (u,v) = makeString(["%s%s%s", "amountAssetAmount", u, v], a)
72+func B (u,v) = makeString(["%s%s%s", "amountAssetAmount", u, v], a)
7773
7874
79-func E (u,v) = makeString(["%s%s%s", "priceAssetAmount", u, v], a)
75+func C (u,v) = makeString(["%s%s%s", "priceAssetAmount", u, v], a)
8076
8177
82-func F (u,v) = makeString(["%s%s%s", "height", u, v], a)
78+func D (u,v) = makeString(["%s%s%s", "height", u, v], a)
8379
8480
85-func G () = makeString(["%s", "feeAssetId"], a)
81+func E () = makeString(["%s", "feeAssetId"], a)
8682
8783
88-func H () = makeString(["%s", "feeAmount"], a)
84+func F () = makeString(["%s", "feeAmount"], a)
8985
9086
91-func I () = makeString(["%s", "amountAssetMinAmount"], a)
87+func G () = makeString(["%s", "amountAssetMinAmount"], a)
9288
9389
94-func J () = makeString(["%s", "priceAssetsMinAmount"], a)
90+func H () = makeString(["%s", "priceAssetsMinAmount"], a)
9591
9692
97-func K () = makeString(["%s", "priceAssetIds"], a)
93+func I () = makeString(["%s", "priceAssetIds"], a)
9894
9995
100-func L (M) = valueOrErrorMessage(getString(this, M), (M + " is not defined"))
96+func J (K) = valueOrErrorMessage(getString(this, K), (K + " is not defined"))
10197
10298
103-let N = addressFromStringValue(L(r()))
99+let L = addressFromStringValue(J(r()))
104100
105-func O (u,v) = valueOrElse(getBoolean(C(u, v)), false)
101+func M (u,v) = valueOrElse(getBoolean(A(u, v)), false)
106102
107103
108-func P (u,v) = if (O(u, v))
104+func N (u,v) = if (M(u, v))
109105 then true
110106 else e()
111107
112108
113-func Q () = {
114- let R = getString(o())
115- if ($isInstanceOf(R, "String"))
109+func O () = {
110+ let P = getString(o())
111+ if ($isInstanceOf(P, "String"))
116112 then {
117- let S = R
118- fromBase58String(S)
113+ let Q = P
114+ fromBase58String(Q)
119115 }
120- else if ($isInstanceOf(R, "Unit"))
116+ else if ($isInstanceOf(P, "Unit"))
121117 then unit
122118 else throw("Match error")
123119 }
124120
125121
126-func T () = {
127- let R = getString(p())
128- if ($isInstanceOf(R, "String"))
122+func R () = {
123+ let P = getString(p())
124+ if ($isInstanceOf(P, "String"))
129125 then {
130- let S = R
131- fromBase58String(S)
126+ let Q = P
127+ fromBase58String(Q)
132128 }
133- else if ($isInstanceOf(R, "Unit"))
129+ else if ($isInstanceOf(P, "Unit"))
134130 then unit
135131 else throw("Match error")
136132 }
137133
138134
139-func U (V) = {
140- let R = Q()
141- if ($isInstanceOf(R, "ByteVector"))
135+func S (T) = {
136+ let P = O()
137+ if ($isInstanceOf(P, "ByteVector"))
142138 then {
143- let W = R
144- if ((V.callerPublicKey == W))
139+ let U = P
140+ if ((T.callerPublicKey == U))
145141 then true
146142 else d()
147143 }
148- else if ($isInstanceOf(R, "Unit"))
149- then if ((V.caller == this))
144+ else if ($isInstanceOf(P, "Unit"))
145+ then if ((T.caller == this))
150146 then true
151147 else d()
152148 else throw("Match error")
153149 }
154150
155151
156-func X (V) = {
157- let Y = split(valueOrElse(getString(q()), b), a)
158- if (containsElement(Y, toBase58String(V.callerPublicKey)))
152+func V (T) = {
153+ let W = split(valueOrElse(getString(q()), b), a)
154+ if (containsElement(W, toBase58String(T.callerPublicKey)))
159155 then true
160156 else {
161- let Z = U(V)
162- if ((Z == Z))
157+ let X = S(T)
158+ if ((X == X))
163159 then true
164160 else throw("Strict value is not equal to itself.")
165161 }
166162 }
167163
168164
169-func aa (ab) = (valueOrElse(getInteger(addressFromStringValue(L(s())), (("status_<" + ab) + ">")), 0) == 2)
165+func Y (Z) = (valueOrElse(getInteger(addressFromStringValue(J(s())), (("status_<" + Z) + ">")), 0) == 2)
170166
171167
172-func ac (ad) = {
173- let ae = value(ad.assetId)
174- let af = value(assetInfo(ae))
175- $Tuple2(toBase58String(ae), af)
168+func aa (ab) = {
169+ let ac = value(ab.assetId)
170+ let ad = value(assetInfo(ac))
171+ $Tuple2(toBase58String(ac), ad)
176172 }
177173
178174
179-func ag (ah) = containsElement(B, ah)
175+func ae (af) = containsElement(z, af)
180176
181177
182-@Callable(V)
183-func constructor (ai,aj,ak,al,am,an,ao) = {
184- let ap = U(V)
185- if ((ap == ap))
186- then [StringEntry(r(), ai), StringEntry(s(), aj), StringEntry(K(), makeString(ak, a)), StringEntry(J(), makeString(al, a)), IntegerEntry(I(), am), StringEntry(G(), an), IntegerEntry(H(), ao)]
178+@Callable(T)
179+func constructor (ag,ah,ai,aj,ak,al,am) = {
180+ let an = S(T)
181+ if ((an == an))
182+ then [StringEntry(r(), ag), StringEntry(s(), ah), StringEntry(I(), makeString(ai, a)), StringEntry(H(), makeString(aj, a)), IntegerEntry(G(), ak), StringEntry(E(), al), IntegerEntry(F(), am)]
187183 else throw("Strict value is not equal to itself.")
188184 }
189185
190186
191187
192-@Callable(V)
188+@Callable(T)
193189 func create () = {
194- let aq = value(V.payments[0])
195- let ar = value(V.payments[1])
196- let as = value(V.payments[2])
197- let at = ac(aq)
198- let u = at._1
190+ let ao = value(T.payments[0])
191+ let ap = value(T.payments[1])
192+ let aq = value(T.payments[2])
193+ let ar = aa(ao)
194+ let u = ar._1
195+ let as = ar._2
196+ let at = aa(ap)
197+ let v = at._1
199198 let au = at._2
200- let av = ac(ar)
201- let v = av._1
199+ let av = aa(aq)
200+ let al = av._1
202201 let aw = av._2
203- let ax = ac(as)
204- let an = ax._1
205- let ay = ax._2
206- let az = split(valueOrElse(getString(K()), b), a)
207- let aA = valueOrErrorMessage(indexOf(az, v), c)
208- let aB = [if (!(O(u, v)))
202+ let ax = split(valueOrElse(getString(I()), b), a)
203+ let ay = valueOrErrorMessage(indexOf(ax, v), c)
204+ let az = [if (!(M(u, v)))
209205 then true
210- else g(), if ((au.issuer == V.caller))
206+ else g(), if ((as.issuer == T.caller))
211207 then true
212- else f(), if (aa(u))
208+ else f(), if (Y(u))
213209 then true
214- else h(), if ((getString(G()) == an))
210+ else h(), if ((getString(E()) == al))
215211 then true
216- else j(), if ((aq.amount >= getIntegerValue(I())))
212+ else j(), if ((ao.amount >= getIntegerValue(G())))
217213 then true
218- else k(), if ((ar.amount >= value(parseInt(split(valueOrElse(getString(J()), b), a)[aA]))))
214+ else k(), if ((ap.amount >= value(parseInt(split(valueOrElse(getString(H()), b), a)[ay]))))
219215 then true
220- else throw(), if ((as.amount == getInteger(H())))
216+ else throw(), if ((aq.amount == getInteger(F())))
221217 then true
222218 else throw()]
223- if ((aB == aB))
224- then [BooleanEntry(C(u, v), true), IntegerEntry(F(u, v), height), StringEntry(t(u, v), w), IntegerEntry(D(u, v), aq.amount), IntegerEntry(E(u, v), ar.amount)]
219+ if ((az == az))
220+ then [BooleanEntry(A(u, v), true), IntegerEntry(D(u, v), height), StringEntry(t(u, v), w), IntegerEntry(B(u, v), ao.amount), IntegerEntry(C(u, v), ap.amount)]
225221 else throw("Strict value is not equal to itself.")
226222 }
227223
228224
229225
230-@Callable(V)
231-func setStatus (u,v,aC) = {
232- let aB = [X(V), if (O(u, v))
226+@Callable(T)
227+func setStatus (u,v,aA) = {
228+ let az = [V(T), if (M(u, v))
233229 then true
234- else e(), if (ag(aC))
230+ else e(), if (ae(aA))
235231 then true
236232 else l()]
237- if ((aB == aB))
238- then [StringEntry(t(u, v), aC)]
233+ if ((az == az))
234+ then [StringEntry(t(u, v), aA)]
239235 else throw("Strict value is not equal to itself.")
240236 }
241237
242238
243239
244-@Callable(V)
245-func activate (aD,u,aE,v,aF) = {
246- let aB = [U(V), if (O(u, v))
240+@Callable(T)
241+func activate (aB,u,aC,v,aD) = {
242+ let az = [S(T), if (M(u, v))
247243 then true
248244 else e(), if ((value(getString(t(u, v))) == w))
249245 then true
250246 else m()]
251- if ((aB == aB))
247+ if ((az == az))
252248 then {
253- let aG = invoke(N, "activateNewPool", [aD, u, v, ((aE + aF) + "LP"), (((("WX " + aE) + "/") + aF) + " pool liquidity provider token"), 0, "VLTPOOL"], nil)
254- if ((aG == aG))
249+ let aE = invoke(L, "activateNewPool", [aB, u, v, ((aC + aD) + "LP"), (((("WX " + aC) + "/") + aD) + " pool liquidity provider token"), 0, "VLTPOOL"], nil)
250+ if ((aE == aE))
255251 then {
256- let aH = {
257- let R = aG
258- if ($isInstanceOf(R, "String"))
252+ let aF = {
253+ let P = aE
254+ if ($isInstanceOf(P, "String"))
259255 then {
260- let ae = R
261- ae
256+ let ac = P
257+ ac
262258 }
263259 else n()
264260 }
265- if ((aH == aH))
261+ if ((aF == aF))
266262 then {
267- let aI = assetBalance(this, fromBase58String(aH))
268- if ((aI == aI))
263+ let aG = assetBalance(this, fromBase58String(aF))
264+ if ((aG == aG))
269265 then {
270- let aJ = invoke(addressFromStringValue(aD), "put", [0, false], [AttachedPayment(fromBase58String(u), value(getInteger(D(u, v)))), AttachedPayment(fromBase58String(v), value(getInteger(E(u, v))))])
271- if ((aJ == aJ))
266+ let aH = invoke(addressFromStringValue(aB), "put", [0, false], [AttachedPayment(fromBase58String(u), value(getInteger(B(u, v)))), AttachedPayment(fromBase58String(v), value(getInteger(C(u, v))))])
267+ if ((aH == aH))
272268 then {
273- let aK = assetBalance(this, fromBase58String(aH))
274- if ((aK == aK))
269+ let aI = assetBalance(this, fromBase58String(aF))
270+ if ((aI == aI))
275271 then {
276- let aL = value(assetInfo(fromBase58String(u))).issuer
277-[StringEntry(t(u, v), y), ScriptTransfer(aL, (aK - aI), fromBase58String(aH))]
272+ let aJ = value(assetInfo(fromBase58String(u))).issuer
273+[StringEntry(t(u, v), y), ScriptTransfer(aJ, (aI - aG), fromBase58String(aF))]
278274 }
279275 else throw("Strict value is not equal to itself.")
280276 }
291287
292288
293289
294-@Callable(V)
295-func setAdmins (aM) = {
296- let ap = U(V)
297- if ((ap == ap))
298- then [StringEntry(q(), makeString(aM, a))]
290+@Callable(T)
291+func setAdmins (aK) = {
292+ let an = S(T)
293+ if ((an == an))
294+ then [StringEntry(q(), makeString(aK, a))]
299295 else throw("Strict value is not equal to itself.")
300296 }
301297
302298
303299
304-@Callable(V)
305-func setManager (aN) = {
306- let ap = U(V)
307- if ((ap == ap))
300+@Callable(T)
301+func setManager (aL) = {
302+ let an = S(T)
303+ if ((an == an))
308304 then {
309- let aO = fromBase58String(aN)
310- if ((aO == aO))
311- then [StringEntry(p(), aN)]
305+ let aM = fromBase58String(aL)
306+ if ((aM == aM))
307+ then [StringEntry(p(), aL)]
312308 else throw("Strict value is not equal to itself.")
313309 }
314310 else throw("Strict value is not equal to itself.")
316312
317313
318314
319-@Callable(V)
315+@Callable(T)
320316 func confirmManager () = {
321- let aP = T()
322- let aQ = if (isDefined(aP))
317+ let aN = R()
318+ let aO = if (isDefined(aN))
323319 then true
324320 else throw("No pending manager")
325- if ((aQ == aQ))
321+ if ((aO == aO))
326322 then {
327- let aR = if ((V.callerPublicKey == value(aP)))
323+ let aP = if ((T.callerPublicKey == value(aN)))
328324 then true
329325 else throw("You are not pending manager")
330- if ((aR == aR))
331- then [StringEntry(o(), toBase58String(value(aP))), DeleteEntry(p())]
326+ if ((aP == aP))
327+ then [StringEntry(o(), toBase58String(value(aN))), DeleteEntry(p())]
332328 else throw("Strict value is not equal to itself.")
333329 }
334330 else throw("Strict value is not equal to itself.")
336332
337333
338334
339-@Callable(V)
340-func priceAssetsREADONLY () = $Tuple2(nil, split(valueOrElse(getString(K()), b), a))
335+@Callable(T)
336+func priceAssetsREADONLY () = {
337+ let aQ = getString(I())
338+ $Tuple2(nil, if ((aQ == unit))
339+ then nil
340+ else split(value(aQ), a))
341+ }
341342
342343
343-@Verifier(aS)
344-func aT () = {
345- let aU = {
346- let R = Q()
347- if ($isInstanceOf(R, "ByteVector"))
344+@Verifier(aR)
345+func aS () = {
346+ let aT = {
347+ let P = O()
348+ if ($isInstanceOf(P, "ByteVector"))
348349 then {
349- let W = R
350- W
350+ let U = P
351+ U
351352 }
352- else if ($isInstanceOf(R, "Unit"))
353- then aS.senderPublicKey
353+ else if ($isInstanceOf(P, "Unit"))
354+ then aR.senderPublicKey
354355 else throw("Match error")
355356 }
356- sigVerify(aS.bodyBytes, aS.proofs[0], aU)
357+ sigVerify(aR.bodyBytes, aR.proofs[0], aT)
357358 }
358359
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = ""
77
88 let c = "Invalid price asset"
99
1010 func d () = throw("Permission denied")
1111
1212
1313 func e () = throw("Create is not called for assets pair")
1414
1515
1616 func f () = throw("You are not amountAsset issuer")
1717
1818
1919 func g () = throw("Pool with such assets already exists")
2020
2121
2222 func h () = throw("Asset is not verified")
2323
2424
2525 func i () = throw(c)
2626
2727
2828 func j () = throw("Invalid fee asset")
2929
3030
3131 func k () = throw("Invalid amount asset attached")
3232
3333
3434 func l () = throw("Invalid status")
3535
3636
3737 func m () = throw("Can activate pool only in 'pending' status")
3838
3939
4040 func n () = throw("FactoryV2 returned not string")
4141
4242
4343 func o () = makeString(["%s", "managerPublicKey"], a)
4444
4545
4646 func p () = makeString(["%s", "pendingManagerPublicKey"], a)
4747
4848
4949 func q () = makeString(["%s", "adminPubKeys"], a)
5050
5151
5252 func r () = makeString(["%s", "factoryContract"], a)
5353
5454
5555 func s () = makeString(["%s", "assetsStoreContract"], a)
5656
5757
5858 func t (u,v) = makeString(["%s%s%s", "status", u, v], a)
5959
6060
6161 let w = "pending"
6262
6363 let x = "declined"
6464
65-let y = "creating"
65+let y = "active"
6666
67-let z = "active"
67+let z = [w, x, y]
6868
69-let A = "bot_disabled"
70-
71-let B = [w, x, y, z, A]
72-
73-func C (u,v) = makeString(["%s%s%s", "createCalled", u, v], a)
69+func A (u,v) = makeString(["%s%s%s", "createCalled", u, v], a)
7470
7571
76-func D (u,v) = makeString(["%s%s%s", "amountAssetAmount", u, v], a)
72+func B (u,v) = makeString(["%s%s%s", "amountAssetAmount", u, v], a)
7773
7874
79-func E (u,v) = makeString(["%s%s%s", "priceAssetAmount", u, v], a)
75+func C (u,v) = makeString(["%s%s%s", "priceAssetAmount", u, v], a)
8076
8177
82-func F (u,v) = makeString(["%s%s%s", "height", u, v], a)
78+func D (u,v) = makeString(["%s%s%s", "height", u, v], a)
8379
8480
85-func G () = makeString(["%s", "feeAssetId"], a)
81+func E () = makeString(["%s", "feeAssetId"], a)
8682
8783
88-func H () = makeString(["%s", "feeAmount"], a)
84+func F () = makeString(["%s", "feeAmount"], a)
8985
9086
91-func I () = makeString(["%s", "amountAssetMinAmount"], a)
87+func G () = makeString(["%s", "amountAssetMinAmount"], a)
9288
9389
94-func J () = makeString(["%s", "priceAssetsMinAmount"], a)
90+func H () = makeString(["%s", "priceAssetsMinAmount"], a)
9591
9692
97-func K () = makeString(["%s", "priceAssetIds"], a)
93+func I () = makeString(["%s", "priceAssetIds"], a)
9894
9995
100-func L (M) = valueOrErrorMessage(getString(this, M), (M + " is not defined"))
96+func J (K) = valueOrErrorMessage(getString(this, K), (K + " is not defined"))
10197
10298
103-let N = addressFromStringValue(L(r()))
99+let L = addressFromStringValue(J(r()))
104100
105-func O (u,v) = valueOrElse(getBoolean(C(u, v)), false)
101+func M (u,v) = valueOrElse(getBoolean(A(u, v)), false)
106102
107103
108-func P (u,v) = if (O(u, v))
104+func N (u,v) = if (M(u, v))
109105 then true
110106 else e()
111107
112108
113-func Q () = {
114- let R = getString(o())
115- if ($isInstanceOf(R, "String"))
109+func O () = {
110+ let P = getString(o())
111+ if ($isInstanceOf(P, "String"))
116112 then {
117- let S = R
118- fromBase58String(S)
113+ let Q = P
114+ fromBase58String(Q)
119115 }
120- else if ($isInstanceOf(R, "Unit"))
116+ else if ($isInstanceOf(P, "Unit"))
121117 then unit
122118 else throw("Match error")
123119 }
124120
125121
126-func T () = {
127- let R = getString(p())
128- if ($isInstanceOf(R, "String"))
122+func R () = {
123+ let P = getString(p())
124+ if ($isInstanceOf(P, "String"))
129125 then {
130- let S = R
131- fromBase58String(S)
126+ let Q = P
127+ fromBase58String(Q)
132128 }
133- else if ($isInstanceOf(R, "Unit"))
129+ else if ($isInstanceOf(P, "Unit"))
134130 then unit
135131 else throw("Match error")
136132 }
137133
138134
139-func U (V) = {
140- let R = Q()
141- if ($isInstanceOf(R, "ByteVector"))
135+func S (T) = {
136+ let P = O()
137+ if ($isInstanceOf(P, "ByteVector"))
142138 then {
143- let W = R
144- if ((V.callerPublicKey == W))
139+ let U = P
140+ if ((T.callerPublicKey == U))
145141 then true
146142 else d()
147143 }
148- else if ($isInstanceOf(R, "Unit"))
149- then if ((V.caller == this))
144+ else if ($isInstanceOf(P, "Unit"))
145+ then if ((T.caller == this))
150146 then true
151147 else d()
152148 else throw("Match error")
153149 }
154150
155151
156-func X (V) = {
157- let Y = split(valueOrElse(getString(q()), b), a)
158- if (containsElement(Y, toBase58String(V.callerPublicKey)))
152+func V (T) = {
153+ let W = split(valueOrElse(getString(q()), b), a)
154+ if (containsElement(W, toBase58String(T.callerPublicKey)))
159155 then true
160156 else {
161- let Z = U(V)
162- if ((Z == Z))
157+ let X = S(T)
158+ if ((X == X))
163159 then true
164160 else throw("Strict value is not equal to itself.")
165161 }
166162 }
167163
168164
169-func aa (ab) = (valueOrElse(getInteger(addressFromStringValue(L(s())), (("status_<" + ab) + ">")), 0) == 2)
165+func Y (Z) = (valueOrElse(getInteger(addressFromStringValue(J(s())), (("status_<" + Z) + ">")), 0) == 2)
170166
171167
172-func ac (ad) = {
173- let ae = value(ad.assetId)
174- let af = value(assetInfo(ae))
175- $Tuple2(toBase58String(ae), af)
168+func aa (ab) = {
169+ let ac = value(ab.assetId)
170+ let ad = value(assetInfo(ac))
171+ $Tuple2(toBase58String(ac), ad)
176172 }
177173
178174
179-func ag (ah) = containsElement(B, ah)
175+func ae (af) = containsElement(z, af)
180176
181177
182-@Callable(V)
183-func constructor (ai,aj,ak,al,am,an,ao) = {
184- let ap = U(V)
185- if ((ap == ap))
186- then [StringEntry(r(), ai), StringEntry(s(), aj), StringEntry(K(), makeString(ak, a)), StringEntry(J(), makeString(al, a)), IntegerEntry(I(), am), StringEntry(G(), an), IntegerEntry(H(), ao)]
178+@Callable(T)
179+func constructor (ag,ah,ai,aj,ak,al,am) = {
180+ let an = S(T)
181+ if ((an == an))
182+ then [StringEntry(r(), ag), StringEntry(s(), ah), StringEntry(I(), makeString(ai, a)), StringEntry(H(), makeString(aj, a)), IntegerEntry(G(), ak), StringEntry(E(), al), IntegerEntry(F(), am)]
187183 else throw("Strict value is not equal to itself.")
188184 }
189185
190186
191187
192-@Callable(V)
188+@Callable(T)
193189 func create () = {
194- let aq = value(V.payments[0])
195- let ar = value(V.payments[1])
196- let as = value(V.payments[2])
197- let at = ac(aq)
198- let u = at._1
190+ let ao = value(T.payments[0])
191+ let ap = value(T.payments[1])
192+ let aq = value(T.payments[2])
193+ let ar = aa(ao)
194+ let u = ar._1
195+ let as = ar._2
196+ let at = aa(ap)
197+ let v = at._1
199198 let au = at._2
200- let av = ac(ar)
201- let v = av._1
199+ let av = aa(aq)
200+ let al = av._1
202201 let aw = av._2
203- let ax = ac(as)
204- let an = ax._1
205- let ay = ax._2
206- let az = split(valueOrElse(getString(K()), b), a)
207- let aA = valueOrErrorMessage(indexOf(az, v), c)
208- let aB = [if (!(O(u, v)))
202+ let ax = split(valueOrElse(getString(I()), b), a)
203+ let ay = valueOrErrorMessage(indexOf(ax, v), c)
204+ let az = [if (!(M(u, v)))
209205 then true
210- else g(), if ((au.issuer == V.caller))
206+ else g(), if ((as.issuer == T.caller))
211207 then true
212- else f(), if (aa(u))
208+ else f(), if (Y(u))
213209 then true
214- else h(), if ((getString(G()) == an))
210+ else h(), if ((getString(E()) == al))
215211 then true
216- else j(), if ((aq.amount >= getIntegerValue(I())))
212+ else j(), if ((ao.amount >= getIntegerValue(G())))
217213 then true
218- else k(), if ((ar.amount >= value(parseInt(split(valueOrElse(getString(J()), b), a)[aA]))))
214+ else k(), if ((ap.amount >= value(parseInt(split(valueOrElse(getString(H()), b), a)[ay]))))
219215 then true
220- else throw(), if ((as.amount == getInteger(H())))
216+ else throw(), if ((aq.amount == getInteger(F())))
221217 then true
222218 else throw()]
223- if ((aB == aB))
224- then [BooleanEntry(C(u, v), true), IntegerEntry(F(u, v), height), StringEntry(t(u, v), w), IntegerEntry(D(u, v), aq.amount), IntegerEntry(E(u, v), ar.amount)]
219+ if ((az == az))
220+ then [BooleanEntry(A(u, v), true), IntegerEntry(D(u, v), height), StringEntry(t(u, v), w), IntegerEntry(B(u, v), ao.amount), IntegerEntry(C(u, v), ap.amount)]
225221 else throw("Strict value is not equal to itself.")
226222 }
227223
228224
229225
230-@Callable(V)
231-func setStatus (u,v,aC) = {
232- let aB = [X(V), if (O(u, v))
226+@Callable(T)
227+func setStatus (u,v,aA) = {
228+ let az = [V(T), if (M(u, v))
233229 then true
234- else e(), if (ag(aC))
230+ else e(), if (ae(aA))
235231 then true
236232 else l()]
237- if ((aB == aB))
238- then [StringEntry(t(u, v), aC)]
233+ if ((az == az))
234+ then [StringEntry(t(u, v), aA)]
239235 else throw("Strict value is not equal to itself.")
240236 }
241237
242238
243239
244-@Callable(V)
245-func activate (aD,u,aE,v,aF) = {
246- let aB = [U(V), if (O(u, v))
240+@Callable(T)
241+func activate (aB,u,aC,v,aD) = {
242+ let az = [S(T), if (M(u, v))
247243 then true
248244 else e(), if ((value(getString(t(u, v))) == w))
249245 then true
250246 else m()]
251- if ((aB == aB))
247+ if ((az == az))
252248 then {
253- let aG = invoke(N, "activateNewPool", [aD, u, v, ((aE + aF) + "LP"), (((("WX " + aE) + "/") + aF) + " pool liquidity provider token"), 0, "VLTPOOL"], nil)
254- if ((aG == aG))
249+ let aE = invoke(L, "activateNewPool", [aB, u, v, ((aC + aD) + "LP"), (((("WX " + aC) + "/") + aD) + " pool liquidity provider token"), 0, "VLTPOOL"], nil)
250+ if ((aE == aE))
255251 then {
256- let aH = {
257- let R = aG
258- if ($isInstanceOf(R, "String"))
252+ let aF = {
253+ let P = aE
254+ if ($isInstanceOf(P, "String"))
259255 then {
260- let ae = R
261- ae
256+ let ac = P
257+ ac
262258 }
263259 else n()
264260 }
265- if ((aH == aH))
261+ if ((aF == aF))
266262 then {
267- let aI = assetBalance(this, fromBase58String(aH))
268- if ((aI == aI))
263+ let aG = assetBalance(this, fromBase58String(aF))
264+ if ((aG == aG))
269265 then {
270- let aJ = invoke(addressFromStringValue(aD), "put", [0, false], [AttachedPayment(fromBase58String(u), value(getInteger(D(u, v)))), AttachedPayment(fromBase58String(v), value(getInteger(E(u, v))))])
271- if ((aJ == aJ))
266+ let aH = invoke(addressFromStringValue(aB), "put", [0, false], [AttachedPayment(fromBase58String(u), value(getInteger(B(u, v)))), AttachedPayment(fromBase58String(v), value(getInteger(C(u, v))))])
267+ if ((aH == aH))
272268 then {
273- let aK = assetBalance(this, fromBase58String(aH))
274- if ((aK == aK))
269+ let aI = assetBalance(this, fromBase58String(aF))
270+ if ((aI == aI))
275271 then {
276- let aL = value(assetInfo(fromBase58String(u))).issuer
277-[StringEntry(t(u, v), y), ScriptTransfer(aL, (aK - aI), fromBase58String(aH))]
272+ let aJ = value(assetInfo(fromBase58String(u))).issuer
273+[StringEntry(t(u, v), y), ScriptTransfer(aJ, (aI - aG), fromBase58String(aF))]
278274 }
279275 else throw("Strict value is not equal to itself.")
280276 }
281277 else throw("Strict value is not equal to itself.")
282278 }
283279 else throw("Strict value is not equal to itself.")
284280 }
285281 else throw("Strict value is not equal to itself.")
286282 }
287283 else throw("Strict value is not equal to itself.")
288284 }
289285 else throw("Strict value is not equal to itself.")
290286 }
291287
292288
293289
294-@Callable(V)
295-func setAdmins (aM) = {
296- let ap = U(V)
297- if ((ap == ap))
298- then [StringEntry(q(), makeString(aM, a))]
290+@Callable(T)
291+func setAdmins (aK) = {
292+ let an = S(T)
293+ if ((an == an))
294+ then [StringEntry(q(), makeString(aK, a))]
299295 else throw("Strict value is not equal to itself.")
300296 }
301297
302298
303299
304-@Callable(V)
305-func setManager (aN) = {
306- let ap = U(V)
307- if ((ap == ap))
300+@Callable(T)
301+func setManager (aL) = {
302+ let an = S(T)
303+ if ((an == an))
308304 then {
309- let aO = fromBase58String(aN)
310- if ((aO == aO))
311- then [StringEntry(p(), aN)]
305+ let aM = fromBase58String(aL)
306+ if ((aM == aM))
307+ then [StringEntry(p(), aL)]
312308 else throw("Strict value is not equal to itself.")
313309 }
314310 else throw("Strict value is not equal to itself.")
315311 }
316312
317313
318314
319-@Callable(V)
315+@Callable(T)
320316 func confirmManager () = {
321- let aP = T()
322- let aQ = if (isDefined(aP))
317+ let aN = R()
318+ let aO = if (isDefined(aN))
323319 then true
324320 else throw("No pending manager")
325- if ((aQ == aQ))
321+ if ((aO == aO))
326322 then {
327- let aR = if ((V.callerPublicKey == value(aP)))
323+ let aP = if ((T.callerPublicKey == value(aN)))
328324 then true
329325 else throw("You are not pending manager")
330- if ((aR == aR))
331- then [StringEntry(o(), toBase58String(value(aP))), DeleteEntry(p())]
326+ if ((aP == aP))
327+ then [StringEntry(o(), toBase58String(value(aN))), DeleteEntry(p())]
332328 else throw("Strict value is not equal to itself.")
333329 }
334330 else throw("Strict value is not equal to itself.")
335331 }
336332
337333
338334
339-@Callable(V)
340-func priceAssetsREADONLY () = $Tuple2(nil, split(valueOrElse(getString(K()), b), a))
335+@Callable(T)
336+func priceAssetsREADONLY () = {
337+ let aQ = getString(I())
338+ $Tuple2(nil, if ((aQ == unit))
339+ then nil
340+ else split(value(aQ), a))
341+ }
341342
342343
343-@Verifier(aS)
344-func aT () = {
345- let aU = {
346- let R = Q()
347- if ($isInstanceOf(R, "ByteVector"))
344+@Verifier(aR)
345+func aS () = {
346+ let aT = {
347+ let P = O()
348+ if ($isInstanceOf(P, "ByteVector"))
348349 then {
349- let W = R
350- W
350+ let U = P
351+ U
351352 }
352- else if ($isInstanceOf(R, "Unit"))
353- then aS.senderPublicKey
353+ else if ($isInstanceOf(P, "Unit"))
354+ then aR.senderPublicKey
354355 else throw("Match error")
355356 }
356- sigVerify(aS.bodyBytes, aS.proofs[0], aU)
357+ sigVerify(aR.bodyBytes, aR.proofs[0], aT)
357358 }
358359

github/deemru/w8io/026f985 
192.85 ms