tx · 8APS9VxBw6m1H6xQeAc3s8qDVJTJiCVearEBF6RY37dS

3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T:  -0.01400000 Waves

2022.05.11 16:56 [2047090] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves

{ "type": 13, "id": "8APS9VxBw6m1H6xQeAc3s8qDVJTJiCVearEBF6RY37dS", "fee": 1400000, "feeAssetId": null, "timestamp": 1652277432668, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "5FaTSBGWYAhkV66NbuB2NL4qNdjAntrJ15cT4mNsJRitgdBZgdmPh7fSvqpKDtzaHGeVvjJmjnGHe4BCbZ2kCh4u" ], "script": "base64:AAIFAAAAAAAAADQIAhILCgkICAgIAQgBCAESBAoCCAgSBQoDCAgEEgQKAggIEgMKAQESBAoCCAgSAwoBCBIAAAAAGwAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAAEWtleVZvdGluZ0R1cmF0aW9uCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAMa2V5V3hBc3NldElkCQA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GNoMAkBAAAAFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAAAAAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAApCeXRlVmVjdG9yBAAAAAJwawUAAAAHJG1hdGNoMAUAAAACcGsDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXmnfKNy", "chainId": 84, "height": 2047090, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6FAX2uLk4oBSHzCdLXJGbGf1Qc4zyNUgQt6zrwRSAz7u Next: EMY3noiCERkeoHPvN2aneYMCDo5RXpxNNbLDchkTnzxr Diff:
OldNewDifferences
1111
1212 let e = makeString(["%s", "finalizeReward"], a)
1313
14-let f = makeString(["%s", "votingThreshold"], a)
14+let f = makeString(["%s", "wxAssetId"], a)
1515
16-let g = makeString(["%s", "wxAssetId"], a)
16+let g = makeString(["%s", "assetsStoreContract"], a)
1717
18-let h = makeString(["%s", "assetsStoreContract"], a)
18+let h = makeString(["%s", "userPoolContract"], a)
1919
20-let i = makeString(["%s", "userPoolContract"], a)
20+let i = makeString(["%s", "emissionContract"], a)
2121
22-let j = makeString(["%s", "emissionContract"], a)
22+let j = makeString(["%s", "boostingContract"], a)
2323
24-let k = makeString(["%s", "boostingContract"], a)
25-
26-func l (m) = valueOrErrorMessage(getString(this, m), (m + " is not defined"))
24+func k (l) = valueOrErrorMessage(getString(this, l), (l + " is not defined"))
2725
2826
29-func n (o,p) = makeString(["%s%s%s", "inList", o, p], a)
27+func m (n,o) = makeString(["%s%s%s", "inList", n, o], a)
3028
3129
32-func q (o,p) = makeString(["%s%s%s", "startHeight", o, p], a)
30+func p (n,o) = makeString(["%s%s%s", "startHeight", n, o], a)
3331
3432
35-func r (o,p) = makeString(["%s%s%s", "votingResult", o, p], a)
33+func q (n,o) = makeString(["%s%s%s", "votingResult", n, o], a)
3634
3735
38-func s (t,u) = makeString(["%d%d", t, u], a)
36+func r (s,t) = makeString(["%d%d", s, t], a)
3937
4038
41-func v (o,p,w) = makeString(["%s%s%s%s", "vote", o, p, w], a)
39+func u (n,o,v) = makeString(["%s%s%s%s", "vote", n, o, v], a)
4240
4341
44-func x (y,z) = {
45- let m = if (z)
46- then makeString(["%d%s", y, "yes"], a)
47- else makeString(["%d%s", y, "no"], a)
48- m
42+func w (x,y) = {
43+ let l = if (y)
44+ then makeString(["%d%s", x, "yes"], a)
45+ else makeString(["%d%s", x, "no"], a)
46+ l
4947 }
5048
5149
52-func A () = "%s__managerPublicKey"
50+func z () = "%s__managerPublicKey"
5351
5452
55-func B () = "%s__pendingManagerPublicKey"
53+func A () = "%s__pendingManagerPublicKey"
5654
5755
58-let C = addressFromStringValue(l(j))
56+let B = addressFromStringValue(k(i))
5957
60-let D = addressFromStringValue(l(i))
58+let C = addressFromStringValue(k(h))
6159
62-let E = addressFromStringValue(l(k))
60+let D = addressFromStringValue(k(j))
6361
64-let F = addressFromStringValue(l(h))
62+let E = addressFromStringValue(k(g))
6563
66-func G () = {
67- let H = getString(A())
68- if ($isInstanceOf(H, "String"))
64+func F () = {
65+ let G = getString(z())
66+ if ($isInstanceOf(G, "String"))
6967 then {
70- let I = H
71- fromBase58String(I)
68+ let H = G
69+ fromBase58String(H)
7270 }
73- else if ($isInstanceOf(H, "Unit"))
71+ else if ($isInstanceOf(G, "Unit"))
7472 then unit
7573 else throw("Match error")
7674 }
7775
7876
79-func J () = {
80- let H = getString(B())
81- if ($isInstanceOf(H, "String"))
77+func I () = {
78+ let G = getString(A())
79+ if ($isInstanceOf(G, "String"))
8280 then {
83- let I = H
84- fromBase58String(I)
81+ let H = G
82+ fromBase58String(H)
8583 }
86- else if ($isInstanceOf(H, "Unit"))
84+ else if ($isInstanceOf(G, "Unit"))
8785 then unit
8886 else throw("Match error")
8987 }
9088
9189
92-func K (L) = {
93- let M = throw("permission denied")
94- let H = G()
95- if ($isInstanceOf(H, "ByteVector"))
90+func J (K) = {
91+ let L = throw("permission denied")
92+ let G = F()
93+ if ($isInstanceOf(G, "ByteVector"))
9694 then {
97- let N = H
98- if ((L.callerPublicKey == N))
95+ let M = G
96+ if ((K.callerPublicKey == M))
9997 then true
100- else M
98+ else L
10199 }
102- else if ($isInstanceOf(H, "Unit"))
103- then if ((L.caller == this))
100+ else if ($isInstanceOf(G, "Unit"))
101+ then if ((K.caller == this))
104102 then true
105- else M
103+ else L
106104 else throw("Match error")
107105 }
108106
109107
110-func O (P) = {
111- let H = P
112- if ($isInstanceOf(H, "Int"))
108+func N (O) = {
109+ let G = O
110+ if ($isInstanceOf(G, "Int"))
113111 then {
114- let Q = H
115- Q
112+ let P = G
113+ P
116114 }
117115 else throw("failed to cast into Integer")
118116 }
119117
120118
121-@Callable(L)
122-func constructor (R,S,T,U,V,W,X,Y,Z) = {
123- let aa = [K(L), if (isDefined(addressFromString(R)))
119+@Callable(K)
120+func constructor (Q,R,S,T,U,V,W,X,Y) = {
121+ let Z = [J(K), if (isDefined(addressFromString(Q)))
124122 then true
125- else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(T)))
123+ else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(S)))
126124 then true
127- else throw("Invalid boosting contract address"), if (isDefined(addressFromString(S)))
125+ else throw("Invalid boosting contract address"), if (isDefined(addressFromString(R)))
128126 then true
129- else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(U)))
127+ else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(T)))
130128 then true
131- else throw("Invalid emission contract address"), if ((V >= 0))
129+ else throw("Invalid emission contract address"), if ((U >= 0))
132130 then true
133- else throw("Invalid fee amount"), if ((X > 0))
131+ else throw("Invalid fee amount"), if ((W > 0))
134132 then true
135- else throw("Invalid voting duration"), if ((Z > 0))
133+ else throw("Invalid voting duration"), if ((Y > 0))
136134 then true
137- else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(W))))
135+ else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(V))))
138136 then true
139- else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(Y))))
137+ else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(X))))
140138 then true
141139 else throw("Invalid USDN asset ID")]
142- if ((aa == aa))
143- then $Tuple2([StringEntry(h, R), StringEntry(i, S), StringEntry(j, U), IntegerEntry(b, V), IntegerEntry(d, X), IntegerEntry(e, Z), StringEntry(g, W), StringEntry(c, Y), StringEntry(k, T)], unit)
140+ if ((Z == Z))
141+ then $Tuple2([StringEntry(g, Q), StringEntry(h, R), StringEntry(i, T), IntegerEntry(b, U), IntegerEntry(d, W), IntegerEntry(e, Y), StringEntry(f, V), StringEntry(c, X), StringEntry(j, S)], unit)
144142 else throw("Strict value is not equal to itself.")
145143 }
146144
147145
148146
149-@Callable(L)
150-func suggest (o,p) = {
151- let ab = value(L.payments[0])
152- let ac = valueOrErrorMessage(assetInfo(fromBase58String(o)), "invalid amountAssetId ID")
153- let aa = [if ((ac.issuer == L.caller))
147+@Callable(K)
148+func suggest (n,o) = {
149+ let aa = value(K.payments[0])
150+ let ab = valueOrErrorMessage(assetInfo(fromBase58String(n)), "invalid amountAssetId ID")
151+ let Z = [if ((ab.issuer == K.caller))
154152 then true
155- else throw("asset can only be suggested by its issuer"), if ((ac.scripted == false))
153+ else throw("asset can only be suggested by its issuer"), if ((ab.scripted == false))
156154 then true
157- else throw("asset is smart"), if ((toBase58String(value(ab.assetId)) == value(getString(g))))
155+ else throw("asset is smart"), if ((toBase58String(value(aa.assetId)) == value(getString(f))))
158156 then true
159- else throw("invalid fee asset"), if ((ab.amount == value(getInteger(b))))
157+ else throw("invalid fee asset"), if ((aa.amount == value(getInteger(b))))
160158 then true
161- else throw("invalid fee amount"), if ((p == value(getString(c))))
159+ else throw("invalid fee amount"), if ((o == value(getString(c))))
162160 then true
163- else throw("priceAssetId is not USDN"), if ((getBoolean(n(o, p)) == unit))
161+ else throw("priceAssetId is not USDN"), if ((getBoolean(m(n, o)) == unit))
164162 then true
165163 else throw("already in voting list")]
166- if ((aa == aa))
164+ if ((Z == Z))
167165 then {
168- let ad = {
169- let H = invoke(D, "statusREADONLY", [o, p], nil)
170- if ($isInstanceOf(H, "String"))
166+ let ac = {
167+ let G = invoke(C, "statusREADONLY", [n, o], nil)
168+ if ($isInstanceOf(G, "String"))
171169 then {
172- let I = H
173- if ((I == "active"))
170+ let H = G
171+ if ((H == "active"))
174172 then true
175173 else throw("user pool is not active")
176174 }
177175 else throw("user pool is not active")
178176 }
179- if ((ad == ad))
177+ if ((ac == ac))
180178 then {
181- let ae = {
182- let H = invoke(F, "isVerifiedREADONLY", [o], nil)
183- if ($isInstanceOf(H, "Boolean"))
179+ let ad = {
180+ let G = invoke(E, "isVerifiedREADONLY", [n], nil)
181+ if ($isInstanceOf(G, "Boolean"))
184182 then {
185- let af = H
186- af
183+ let ae = G
184+ ae
187185 }
188186 else throw("asset is not verified")
189187 }
190- if ((ae == ae))
188+ if ((ad == ad))
191189 then {
192- let ag = invoke(C, "burn", nil, [AttachedPayment(ab.assetId, ab.amount)])
193- if ((ag == ag))
194- then [BooleanEntry(n(o, p), true), IntegerEntry(q(o, p), height), StringEntry(r(o, p), s("0", "0"))]
190+ let af = invoke(B, "burn", nil, [AttachedPayment(aa.assetId, aa.amount)])
191+ if ((af == af))
192+ then [BooleanEntry(m(n, o), true), IntegerEntry(p(n, o), height), StringEntry(q(n, o), r("0", "0"))]
195193 else throw("Strict value is not equal to itself.")
196194 }
197195 else throw("Strict value is not equal to itself.")
203201
204202
205203
206-@Callable(L)
207-func vote (o,p,ah) = {
208- let ai = (value(getInteger(q(o, p))) + value(getInteger(d)))
209- let aa = [if ((getString(v(o, p, toString(L.caller))) != unit))
204+@Callable(K)
205+func vote (n,o,ag) = {
206+ let ah = (value(getInteger(p(n, o))) + value(getInteger(d)))
207+ let Z = [if ((getString(u(n, o, toString(K.caller))) != unit))
210208 then true
211- else throw("you already voted"), if (valueOrElse(getBoolean(n(o, p)), false))
209+ else throw("you already voted"), if (valueOrElse(getBoolean(m(n, o)), false))
212210 then true
213- else throw("the token isn't on the voting list"), if ((ai > height))
211+ else throw("the token isn't on the voting list"), if ((ah > height))
214212 then true
215213 else throw("too late to vote")]
216- if ((aa == aa))
214+ if ((Z == Z))
217215 then {
218- let aj = split(value(getString(r(o, p))), a)
219- let ak = aj[1]
220- let al = aj[2]
221- let y = invoke(E, "getUserGwxAmountAtHeightREADONLY", [toString(L.caller), ai], nil)
222- let am = if ((O(y) > 0))
216+ let ai = split(value(getString(q(n, o))), a)
217+ let aj = ai[1]
218+ let ak = ai[2]
219+ let x = invoke(D, "getUserGwxAmountAtHeightREADONLY", [toString(K.caller), ah], nil)
220+ let al = if ((N(x) > 0))
223221 then true
224222 else throw("you don't have gwx")
225- if ((am == am))
223+ if ((al == al))
226224 then {
227- let an = if (ah)
225+ let am = if (ag)
228226 then {
229- let ao = (parseIntValue(ak) + O(y))
230- let ap = v(o, p, toString(L.caller))
231- let aq = x(toString(O(y)), ah)
232- $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), StringEntry(ap, aq)], unit)
227+ let an = (parseIntValue(aj) + N(x))
228+ let ao = u(n, o, toString(K.caller))
229+ let ap = w(toString(N(x)), ag)
230+ $Tuple2([StringEntry(q(n, o), r(toString(an), ak)), StringEntry(ao, ap)], unit)
233231 }
234232 else {
235- let ar = (parseIntValue(al) + O(y))
236- let as = v(o, p, toString(L.caller))
237- let at = x(toString(O(y)), ah)
238- $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), StringEntry(as, at)], unit)
233+ let aq = (parseIntValue(ak) + N(x))
234+ let ar = u(n, o, toString(K.caller))
235+ let as = w(toString(N(x)), ag)
236+ $Tuple2([StringEntry(q(n, o), r(aj, toString(aq))), StringEntry(ar, as)], unit)
239237 }
240- an
238+ am
241239 }
242240 else throw("Strict value is not equal to itself.")
243241 }
246244
247245
248246
249-@Callable(L)
250-func cancelVote (o,p) = {
251- let aa = [if (isDefined(getString(r(o, p))))
247+@Callable(K)
248+func cancelVote (n,o) = {
249+ let Z = [if (isDefined(getString(q(n, o))))
252250 then true
253251 else throw("no vote for assets pair")]
254- if ((aa == aa))
252+ if ((Z == Z))
255253 then {
256- let z = split(value(getString(v(o, p, toString(L.caller)))), a)
257- let au = z[1]
258- let av = z[2]
259- let aj = split(value(getString(r(o, p))), a)
260- let ak = aj[1]
261- let al = aj[2]
262- let aw = if ((av == "yes"))
254+ let y = split(value(getString(u(n, o, toString(K.caller)))), a)
255+ let at = y[1]
256+ let au = y[2]
257+ let ai = split(value(getString(q(n, o))), a)
258+ let aj = ai[1]
259+ let ak = ai[2]
260+ let av = if ((au == "yes"))
263261 then {
264- let ao = (parseIntValue(ak) - parseIntValue(au))
265- $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), DeleteEntry(v(o, p, toString(L.caller)))], unit)
262+ let an = (parseIntValue(aj) - parseIntValue(at))
263+ $Tuple2([StringEntry(q(n, o), r(toString(an), ak)), DeleteEntry(u(n, o, toString(K.caller)))], unit)
266264 }
267265 else {
268- let ar = (parseIntValue(al) - parseIntValue(au))
269- $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), DeleteEntry(v(o, p, toString(L.caller)))], unit)
266+ let aq = (parseIntValue(ak) - parseIntValue(at))
267+ $Tuple2([StringEntry(q(n, o), r(aj, toString(aq))), DeleteEntry(u(n, o, toString(K.caller)))], unit)
270268 }
271- aw
269+ av
272270 }
273271 else throw("Strict value is not equal to itself.")
274272 }
275273
276274
277275
278-@Callable(L)
279-func setFee (ax) = {
280- let aa = [K(L)]
281- if ((aa == aa))
282- then [IntegerEntry(b, ax)]
276+@Callable(K)
277+func setFee (aw) = {
278+ let Z = [J(K)]
279+ if ((Z == Z))
280+ then [IntegerEntry(b, aw)]
283281 else throw("Strict value is not equal to itself.")
284282 }
285283
286284
287285
288-@Callable(L)
289-func finalize (o,p) = {
290- let ai = (value(getInteger(q(o, p))) + value(getInteger(d)))
291- let aa = [if (isDefined(getBoolean(n(o, p))))
286+@Callable(K)
287+func finalize (n,o) = {
288+ let ah = (value(getInteger(p(n, o))) + value(getInteger(d)))
289+ let Z = [if (isDefined(getBoolean(m(n, o))))
292290 then true
293- else throw("no assets pair"), if ((height >= ai))
291+ else throw("no assets pair"), if ((height >= ah))
294292 then true
295293 else throw("insufficient height for completion")]
296- if ((aa == aa))
294+ if ((Z == Z))
297295 then {
298- let aj = split(value(getString(r(o, p))), a)
299- let ak = parseIntValue(aj[1])
300- let al = parseIntValue(aj[2])
301- let aw = if ((ak > al))
296+ let ai = split(value(getString(q(n, o))), a)
297+ let aj = parseIntValue(ai[1])
298+ let ak = parseIntValue(ai[2])
299+ let av = if ((aj > ak))
302300 then {
303- let ay = invoke(F, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
304- if ((ay == ay))
305- then $Tuple2([DeleteEntry(n(o, p))], unit)
301+ let ax = invoke(E, "setPoolLabels", [n, o, "WX_EMISSION"], nil)
302+ if ((ax == ax))
303+ then $Tuple2([DeleteEntry(m(n, o))], unit)
306304 else throw("Strict value is not equal to itself.")
307305 }
308- else $Tuple2([DeleteEntry(n(o, p))], unit)
309- aw
306+ else $Tuple2([DeleteEntry(m(n, o))], unit)
307+ av
310308 }
311309 else throw("Strict value is not equal to itself.")
312310 }
313311
314312
315313
316-@Callable(L)
317-func setManager (az) = {
318- let aA = K(L)
319- if ((aA == aA))
314+@Callable(K)
315+func setManager (ay) = {
316+ let az = J(K)
317+ if ((az == az))
320318 then {
321- let aB = fromBase58String(az)
322- if ((aB == aB))
323- then [StringEntry(B(), az)]
319+ let aA = fromBase58String(ay)
320+ if ((aA == aA))
321+ then [StringEntry(A(), ay)]
324322 else throw("Strict value is not equal to itself.")
325323 }
326324 else throw("Strict value is not equal to itself.")
328326
329327
330328
331-@Callable(L)
329+@Callable(K)
332330 func confirmManager () = {
333- let aC = J()
334- let aD = if (isDefined(aC))
331+ let aB = I()
332+ let aC = if (isDefined(aB))
335333 then true
336334 else throw("no pending manager")
337- if ((aD == aD))
335+ if ((aC == aC))
338336 then {
339- let aE = if ((L.callerPublicKey == value(aC)))
337+ let aD = if ((K.callerPublicKey == value(aB)))
340338 then true
341339 else throw("you are not pending manager")
342- if ((aE == aE))
343- then [StringEntry(A(), toBase58String(value(aC))), DeleteEntry(B())]
340+ if ((aD == aD))
341+ then [StringEntry(z(), toBase58String(value(aB))), DeleteEntry(A())]
344342 else throw("Strict value is not equal to itself.")
345343 }
346344 else throw("Strict value is not equal to itself.")
347345 }
348346
349347
350-@Verifier(aF)
351-func aG () = {
352- let aH = {
353- let H = G()
354- if ($isInstanceOf(H, "ByteVector"))
348+@Verifier(aE)
349+func aF () = {
350+ let aG = {
351+ let G = F()
352+ if ($isInstanceOf(G, "ByteVector"))
355353 then {
356- let N = H
357- N
354+ let M = G
355+ M
358356 }
359- else if ($isInstanceOf(H, "Unit"))
360- then aF.senderPublicKey
357+ else if ($isInstanceOf(G, "Unit"))
358+ then aE.senderPublicKey
361359 else throw("Match error")
362360 }
363- sigVerify(aF.bodyBytes, aF.proofs[0], aH)
361+ sigVerify(aE.bodyBytes, aE.proofs[0], aG)
364362 }
365363
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = makeString(["%s", "fee"], a)
77
88 let c = makeString(["%s", "usdnAssetId"], a)
99
1010 let d = makeString(["%s", "epochLength"], a)
1111
1212 let e = makeString(["%s", "finalizeReward"], a)
1313
14-let f = makeString(["%s", "votingThreshold"], a)
14+let f = makeString(["%s", "wxAssetId"], a)
1515
16-let g = makeString(["%s", "wxAssetId"], a)
16+let g = makeString(["%s", "assetsStoreContract"], a)
1717
18-let h = makeString(["%s", "assetsStoreContract"], a)
18+let h = makeString(["%s", "userPoolContract"], a)
1919
20-let i = makeString(["%s", "userPoolContract"], a)
20+let i = makeString(["%s", "emissionContract"], a)
2121
22-let j = makeString(["%s", "emissionContract"], a)
22+let j = makeString(["%s", "boostingContract"], a)
2323
24-let k = makeString(["%s", "boostingContract"], a)
25-
26-func l (m) = valueOrErrorMessage(getString(this, m), (m + " is not defined"))
24+func k (l) = valueOrErrorMessage(getString(this, l), (l + " is not defined"))
2725
2826
29-func n (o,p) = makeString(["%s%s%s", "inList", o, p], a)
27+func m (n,o) = makeString(["%s%s%s", "inList", n, o], a)
3028
3129
32-func q (o,p) = makeString(["%s%s%s", "startHeight", o, p], a)
30+func p (n,o) = makeString(["%s%s%s", "startHeight", n, o], a)
3331
3432
35-func r (o,p) = makeString(["%s%s%s", "votingResult", o, p], a)
33+func q (n,o) = makeString(["%s%s%s", "votingResult", n, o], a)
3634
3735
38-func s (t,u) = makeString(["%d%d", t, u], a)
36+func r (s,t) = makeString(["%d%d", s, t], a)
3937
4038
41-func v (o,p,w) = makeString(["%s%s%s%s", "vote", o, p, w], a)
39+func u (n,o,v) = makeString(["%s%s%s%s", "vote", n, o, v], a)
4240
4341
44-func x (y,z) = {
45- let m = if (z)
46- then makeString(["%d%s", y, "yes"], a)
47- else makeString(["%d%s", y, "no"], a)
48- m
42+func w (x,y) = {
43+ let l = if (y)
44+ then makeString(["%d%s", x, "yes"], a)
45+ else makeString(["%d%s", x, "no"], a)
46+ l
4947 }
5048
5149
52-func A () = "%s__managerPublicKey"
50+func z () = "%s__managerPublicKey"
5351
5452
55-func B () = "%s__pendingManagerPublicKey"
53+func A () = "%s__pendingManagerPublicKey"
5654
5755
58-let C = addressFromStringValue(l(j))
56+let B = addressFromStringValue(k(i))
5957
60-let D = addressFromStringValue(l(i))
58+let C = addressFromStringValue(k(h))
6159
62-let E = addressFromStringValue(l(k))
60+let D = addressFromStringValue(k(j))
6361
64-let F = addressFromStringValue(l(h))
62+let E = addressFromStringValue(k(g))
6563
66-func G () = {
67- let H = getString(A())
68- if ($isInstanceOf(H, "String"))
64+func F () = {
65+ let G = getString(z())
66+ if ($isInstanceOf(G, "String"))
6967 then {
70- let I = H
71- fromBase58String(I)
68+ let H = G
69+ fromBase58String(H)
7270 }
73- else if ($isInstanceOf(H, "Unit"))
71+ else if ($isInstanceOf(G, "Unit"))
7472 then unit
7573 else throw("Match error")
7674 }
7775
7876
79-func J () = {
80- let H = getString(B())
81- if ($isInstanceOf(H, "String"))
77+func I () = {
78+ let G = getString(A())
79+ if ($isInstanceOf(G, "String"))
8280 then {
83- let I = H
84- fromBase58String(I)
81+ let H = G
82+ fromBase58String(H)
8583 }
86- else if ($isInstanceOf(H, "Unit"))
84+ else if ($isInstanceOf(G, "Unit"))
8785 then unit
8886 else throw("Match error")
8987 }
9088
9189
92-func K (L) = {
93- let M = throw("permission denied")
94- let H = G()
95- if ($isInstanceOf(H, "ByteVector"))
90+func J (K) = {
91+ let L = throw("permission denied")
92+ let G = F()
93+ if ($isInstanceOf(G, "ByteVector"))
9694 then {
97- let N = H
98- if ((L.callerPublicKey == N))
95+ let M = G
96+ if ((K.callerPublicKey == M))
9997 then true
100- else M
98+ else L
10199 }
102- else if ($isInstanceOf(H, "Unit"))
103- then if ((L.caller == this))
100+ else if ($isInstanceOf(G, "Unit"))
101+ then if ((K.caller == this))
104102 then true
105- else M
103+ else L
106104 else throw("Match error")
107105 }
108106
109107
110-func O (P) = {
111- let H = P
112- if ($isInstanceOf(H, "Int"))
108+func N (O) = {
109+ let G = O
110+ if ($isInstanceOf(G, "Int"))
113111 then {
114- let Q = H
115- Q
112+ let P = G
113+ P
116114 }
117115 else throw("failed to cast into Integer")
118116 }
119117
120118
121-@Callable(L)
122-func constructor (R,S,T,U,V,W,X,Y,Z) = {
123- let aa = [K(L), if (isDefined(addressFromString(R)))
119+@Callable(K)
120+func constructor (Q,R,S,T,U,V,W,X,Y) = {
121+ let Z = [J(K), if (isDefined(addressFromString(Q)))
124122 then true
125- else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(T)))
123+ else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(S)))
126124 then true
127- else throw("Invalid boosting contract address"), if (isDefined(addressFromString(S)))
125+ else throw("Invalid boosting contract address"), if (isDefined(addressFromString(R)))
128126 then true
129- else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(U)))
127+ else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(T)))
130128 then true
131- else throw("Invalid emission contract address"), if ((V >= 0))
129+ else throw("Invalid emission contract address"), if ((U >= 0))
132130 then true
133- else throw("Invalid fee amount"), if ((X > 0))
131+ else throw("Invalid fee amount"), if ((W > 0))
134132 then true
135- else throw("Invalid voting duration"), if ((Z > 0))
133+ else throw("Invalid voting duration"), if ((Y > 0))
136134 then true
137- else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(W))))
135+ else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(V))))
138136 then true
139- else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(Y))))
137+ else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(X))))
140138 then true
141139 else throw("Invalid USDN asset ID")]
142- if ((aa == aa))
143- then $Tuple2([StringEntry(h, R), StringEntry(i, S), StringEntry(j, U), IntegerEntry(b, V), IntegerEntry(d, X), IntegerEntry(e, Z), StringEntry(g, W), StringEntry(c, Y), StringEntry(k, T)], unit)
140+ if ((Z == Z))
141+ then $Tuple2([StringEntry(g, Q), StringEntry(h, R), StringEntry(i, T), IntegerEntry(b, U), IntegerEntry(d, W), IntegerEntry(e, Y), StringEntry(f, V), StringEntry(c, X), StringEntry(j, S)], unit)
144142 else throw("Strict value is not equal to itself.")
145143 }
146144
147145
148146
149-@Callable(L)
150-func suggest (o,p) = {
151- let ab = value(L.payments[0])
152- let ac = valueOrErrorMessage(assetInfo(fromBase58String(o)), "invalid amountAssetId ID")
153- let aa = [if ((ac.issuer == L.caller))
147+@Callable(K)
148+func suggest (n,o) = {
149+ let aa = value(K.payments[0])
150+ let ab = valueOrErrorMessage(assetInfo(fromBase58String(n)), "invalid amountAssetId ID")
151+ let Z = [if ((ab.issuer == K.caller))
154152 then true
155- else throw("asset can only be suggested by its issuer"), if ((ac.scripted == false))
153+ else throw("asset can only be suggested by its issuer"), if ((ab.scripted == false))
156154 then true
157- else throw("asset is smart"), if ((toBase58String(value(ab.assetId)) == value(getString(g))))
155+ else throw("asset is smart"), if ((toBase58String(value(aa.assetId)) == value(getString(f))))
158156 then true
159- else throw("invalid fee asset"), if ((ab.amount == value(getInteger(b))))
157+ else throw("invalid fee asset"), if ((aa.amount == value(getInteger(b))))
160158 then true
161- else throw("invalid fee amount"), if ((p == value(getString(c))))
159+ else throw("invalid fee amount"), if ((o == value(getString(c))))
162160 then true
163- else throw("priceAssetId is not USDN"), if ((getBoolean(n(o, p)) == unit))
161+ else throw("priceAssetId is not USDN"), if ((getBoolean(m(n, o)) == unit))
164162 then true
165163 else throw("already in voting list")]
166- if ((aa == aa))
164+ if ((Z == Z))
167165 then {
168- let ad = {
169- let H = invoke(D, "statusREADONLY", [o, p], nil)
170- if ($isInstanceOf(H, "String"))
166+ let ac = {
167+ let G = invoke(C, "statusREADONLY", [n, o], nil)
168+ if ($isInstanceOf(G, "String"))
171169 then {
172- let I = H
173- if ((I == "active"))
170+ let H = G
171+ if ((H == "active"))
174172 then true
175173 else throw("user pool is not active")
176174 }
177175 else throw("user pool is not active")
178176 }
179- if ((ad == ad))
177+ if ((ac == ac))
180178 then {
181- let ae = {
182- let H = invoke(F, "isVerifiedREADONLY", [o], nil)
183- if ($isInstanceOf(H, "Boolean"))
179+ let ad = {
180+ let G = invoke(E, "isVerifiedREADONLY", [n], nil)
181+ if ($isInstanceOf(G, "Boolean"))
184182 then {
185- let af = H
186- af
183+ let ae = G
184+ ae
187185 }
188186 else throw("asset is not verified")
189187 }
190- if ((ae == ae))
188+ if ((ad == ad))
191189 then {
192- let ag = invoke(C, "burn", nil, [AttachedPayment(ab.assetId, ab.amount)])
193- if ((ag == ag))
194- then [BooleanEntry(n(o, p), true), IntegerEntry(q(o, p), height), StringEntry(r(o, p), s("0", "0"))]
190+ let af = invoke(B, "burn", nil, [AttachedPayment(aa.assetId, aa.amount)])
191+ if ((af == af))
192+ then [BooleanEntry(m(n, o), true), IntegerEntry(p(n, o), height), StringEntry(q(n, o), r("0", "0"))]
195193 else throw("Strict value is not equal to itself.")
196194 }
197195 else throw("Strict value is not equal to itself.")
198196 }
199197 else throw("Strict value is not equal to itself.")
200198 }
201199 else throw("Strict value is not equal to itself.")
202200 }
203201
204202
205203
206-@Callable(L)
207-func vote (o,p,ah) = {
208- let ai = (value(getInteger(q(o, p))) + value(getInteger(d)))
209- let aa = [if ((getString(v(o, p, toString(L.caller))) != unit))
204+@Callable(K)
205+func vote (n,o,ag) = {
206+ let ah = (value(getInteger(p(n, o))) + value(getInteger(d)))
207+ let Z = [if ((getString(u(n, o, toString(K.caller))) != unit))
210208 then true
211- else throw("you already voted"), if (valueOrElse(getBoolean(n(o, p)), false))
209+ else throw("you already voted"), if (valueOrElse(getBoolean(m(n, o)), false))
212210 then true
213- else throw("the token isn't on the voting list"), if ((ai > height))
211+ else throw("the token isn't on the voting list"), if ((ah > height))
214212 then true
215213 else throw("too late to vote")]
216- if ((aa == aa))
214+ if ((Z == Z))
217215 then {
218- let aj = split(value(getString(r(o, p))), a)
219- let ak = aj[1]
220- let al = aj[2]
221- let y = invoke(E, "getUserGwxAmountAtHeightREADONLY", [toString(L.caller), ai], nil)
222- let am = if ((O(y) > 0))
216+ let ai = split(value(getString(q(n, o))), a)
217+ let aj = ai[1]
218+ let ak = ai[2]
219+ let x = invoke(D, "getUserGwxAmountAtHeightREADONLY", [toString(K.caller), ah], nil)
220+ let al = if ((N(x) > 0))
223221 then true
224222 else throw("you don't have gwx")
225- if ((am == am))
223+ if ((al == al))
226224 then {
227- let an = if (ah)
225+ let am = if (ag)
228226 then {
229- let ao = (parseIntValue(ak) + O(y))
230- let ap = v(o, p, toString(L.caller))
231- let aq = x(toString(O(y)), ah)
232- $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), StringEntry(ap, aq)], unit)
227+ let an = (parseIntValue(aj) + N(x))
228+ let ao = u(n, o, toString(K.caller))
229+ let ap = w(toString(N(x)), ag)
230+ $Tuple2([StringEntry(q(n, o), r(toString(an), ak)), StringEntry(ao, ap)], unit)
233231 }
234232 else {
235- let ar = (parseIntValue(al) + O(y))
236- let as = v(o, p, toString(L.caller))
237- let at = x(toString(O(y)), ah)
238- $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), StringEntry(as, at)], unit)
233+ let aq = (parseIntValue(ak) + N(x))
234+ let ar = u(n, o, toString(K.caller))
235+ let as = w(toString(N(x)), ag)
236+ $Tuple2([StringEntry(q(n, o), r(aj, toString(aq))), StringEntry(ar, as)], unit)
239237 }
240- an
238+ am
241239 }
242240 else throw("Strict value is not equal to itself.")
243241 }
244242 else throw("Strict value is not equal to itself.")
245243 }
246244
247245
248246
249-@Callable(L)
250-func cancelVote (o,p) = {
251- let aa = [if (isDefined(getString(r(o, p))))
247+@Callable(K)
248+func cancelVote (n,o) = {
249+ let Z = [if (isDefined(getString(q(n, o))))
252250 then true
253251 else throw("no vote for assets pair")]
254- if ((aa == aa))
252+ if ((Z == Z))
255253 then {
256- let z = split(value(getString(v(o, p, toString(L.caller)))), a)
257- let au = z[1]
258- let av = z[2]
259- let aj = split(value(getString(r(o, p))), a)
260- let ak = aj[1]
261- let al = aj[2]
262- let aw = if ((av == "yes"))
254+ let y = split(value(getString(u(n, o, toString(K.caller)))), a)
255+ let at = y[1]
256+ let au = y[2]
257+ let ai = split(value(getString(q(n, o))), a)
258+ let aj = ai[1]
259+ let ak = ai[2]
260+ let av = if ((au == "yes"))
263261 then {
264- let ao = (parseIntValue(ak) - parseIntValue(au))
265- $Tuple2([StringEntry(r(o, p), s(toString(ao), al)), DeleteEntry(v(o, p, toString(L.caller)))], unit)
262+ let an = (parseIntValue(aj) - parseIntValue(at))
263+ $Tuple2([StringEntry(q(n, o), r(toString(an), ak)), DeleteEntry(u(n, o, toString(K.caller)))], unit)
266264 }
267265 else {
268- let ar = (parseIntValue(al) - parseIntValue(au))
269- $Tuple2([StringEntry(r(o, p), s(ak, toString(ar))), DeleteEntry(v(o, p, toString(L.caller)))], unit)
266+ let aq = (parseIntValue(ak) - parseIntValue(at))
267+ $Tuple2([StringEntry(q(n, o), r(aj, toString(aq))), DeleteEntry(u(n, o, toString(K.caller)))], unit)
270268 }
271- aw
269+ av
272270 }
273271 else throw("Strict value is not equal to itself.")
274272 }
275273
276274
277275
278-@Callable(L)
279-func setFee (ax) = {
280- let aa = [K(L)]
281- if ((aa == aa))
282- then [IntegerEntry(b, ax)]
276+@Callable(K)
277+func setFee (aw) = {
278+ let Z = [J(K)]
279+ if ((Z == Z))
280+ then [IntegerEntry(b, aw)]
283281 else throw("Strict value is not equal to itself.")
284282 }
285283
286284
287285
288-@Callable(L)
289-func finalize (o,p) = {
290- let ai = (value(getInteger(q(o, p))) + value(getInteger(d)))
291- let aa = [if (isDefined(getBoolean(n(o, p))))
286+@Callable(K)
287+func finalize (n,o) = {
288+ let ah = (value(getInteger(p(n, o))) + value(getInteger(d)))
289+ let Z = [if (isDefined(getBoolean(m(n, o))))
292290 then true
293- else throw("no assets pair"), if ((height >= ai))
291+ else throw("no assets pair"), if ((height >= ah))
294292 then true
295293 else throw("insufficient height for completion")]
296- if ((aa == aa))
294+ if ((Z == Z))
297295 then {
298- let aj = split(value(getString(r(o, p))), a)
299- let ak = parseIntValue(aj[1])
300- let al = parseIntValue(aj[2])
301- let aw = if ((ak > al))
296+ let ai = split(value(getString(q(n, o))), a)
297+ let aj = parseIntValue(ai[1])
298+ let ak = parseIntValue(ai[2])
299+ let av = if ((aj > ak))
302300 then {
303- let ay = invoke(F, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
304- if ((ay == ay))
305- then $Tuple2([DeleteEntry(n(o, p))], unit)
301+ let ax = invoke(E, "setPoolLabels", [n, o, "WX_EMISSION"], nil)
302+ if ((ax == ax))
303+ then $Tuple2([DeleteEntry(m(n, o))], unit)
306304 else throw("Strict value is not equal to itself.")
307305 }
308- else $Tuple2([DeleteEntry(n(o, p))], unit)
309- aw
306+ else $Tuple2([DeleteEntry(m(n, o))], unit)
307+ av
310308 }
311309 else throw("Strict value is not equal to itself.")
312310 }
313311
314312
315313
316-@Callable(L)
317-func setManager (az) = {
318- let aA = K(L)
319- if ((aA == aA))
314+@Callable(K)
315+func setManager (ay) = {
316+ let az = J(K)
317+ if ((az == az))
320318 then {
321- let aB = fromBase58String(az)
322- if ((aB == aB))
323- then [StringEntry(B(), az)]
319+ let aA = fromBase58String(ay)
320+ if ((aA == aA))
321+ then [StringEntry(A(), ay)]
324322 else throw("Strict value is not equal to itself.")
325323 }
326324 else throw("Strict value is not equal to itself.")
327325 }
328326
329327
330328
331-@Callable(L)
329+@Callable(K)
332330 func confirmManager () = {
333- let aC = J()
334- let aD = if (isDefined(aC))
331+ let aB = I()
332+ let aC = if (isDefined(aB))
335333 then true
336334 else throw("no pending manager")
337- if ((aD == aD))
335+ if ((aC == aC))
338336 then {
339- let aE = if ((L.callerPublicKey == value(aC)))
337+ let aD = if ((K.callerPublicKey == value(aB)))
340338 then true
341339 else throw("you are not pending manager")
342- if ((aE == aE))
343- then [StringEntry(A(), toBase58String(value(aC))), DeleteEntry(B())]
340+ if ((aD == aD))
341+ then [StringEntry(z(), toBase58String(value(aB))), DeleteEntry(A())]
344342 else throw("Strict value is not equal to itself.")
345343 }
346344 else throw("Strict value is not equal to itself.")
347345 }
348346
349347
350-@Verifier(aF)
351-func aG () = {
352- let aH = {
353- let H = G()
354- if ($isInstanceOf(H, "ByteVector"))
348+@Verifier(aE)
349+func aF () = {
350+ let aG = {
351+ let G = F()
352+ if ($isInstanceOf(G, "ByteVector"))
355353 then {
356- let N = H
357- N
354+ let M = G
355+ M
358356 }
359- else if ($isInstanceOf(H, "Unit"))
360- then aF.senderPublicKey
357+ else if ($isInstanceOf(G, "Unit"))
358+ then aE.senderPublicKey
361359 else throw("Match error")
362360 }
363- sigVerify(aF.bodyBytes, aF.proofs[0], aH)
361+ sigVerify(aE.bodyBytes, aE.proofs[0], aG)
364362 }
365363

github/deemru/w8io/169f3d6 
127.83 ms