tx · 6fRp6dfcnfwgf5DffwywYQMKBLaTAFZhu8XDARq31cGD

3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T:  -0.01400000 Waves

2022.05.11 11:09 [2046745] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves

{ "type": 13, "id": "6fRp6dfcnfwgf5DffwywYQMKBLaTAFZhu8XDARq31cGD", "fee": 1400000, "feeAssetId": null, "timestamp": 1652256667721, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "3TcUsPCvqciskYmqyxkmd8pbEmq2PqTvznoK7mVDJwJRRqxsCf1PEJpmBhXtyfBrzxW8W4STvzsk1iF63sEKmuGr" ], "script": "base64:AAIFAAAAAAAAADQIAhILCgkICAgIAQgBCAESBAoCCAgSBQoDCAgEEgQKAggIEgMKAQESBAoCCAgSAwoBCBIAAAAAGwAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAAEWtleVZvdGluZ0R1cmF0aW9uCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAASa2V5Vm90aW5nVGhyZXNob2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AUAAAAPdGFyZ2V0UHVibGljS2V57wnRHQ==", "chainId": 84, "height": 2046745, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 66aDmYgExJDGMj1nKA9pEAZrpsf6rqFUCGu9cuCFQdHj Next: H1SUpEXa863ijp7fS86XeAnKSBvesHBgjmEZLvG1kLAe Diff:
OldNewDifferences
116116
117117
118118 @Callable(I)
119-func constructor (O,P,Q,R,S,T,U,V,W,X) = {
120- let Y = [H(I), if (isDefined(addressFromString(O)))
119+func constructor (O,P,Q,R,S,T,U,V,W) = {
120+ let X = [H(I), if (isDefined(addressFromString(O)))
121121 then true
122122 else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(Q)))
123123 then true
127127 then true
128128 else throw("Invalid emission contract address"), if ((S >= 0))
129129 then true
130- else throw("Invalid fee amount"), if ((V > 0))
130+ else throw("Invalid fee amount"), if ((U > 0))
131131 then true
132- else throw("Invalid voting duration"), if ((X > 0))
132+ else throw("Invalid voting duration"), if ((W > 0))
133133 then true
134- else throw("Invalid finalize reward"), if ((U >= 0))
134+ else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(T))))
135135 then true
136- else throw("Invalid voting threshold"), if (isDefined(assetInfo(fromBase58String(T))))
137- then true
138- else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(W))))
136+ else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(V))))
139137 then true
140138 else throw("Invalid USDN asset ID")]
141- if ((Y == Y))
142- then $Tuple2([StringEntry(h, O), StringEntry(i, P), StringEntry(j, R), IntegerEntry(b, S), IntegerEntry(d, V), IntegerEntry(e, X), IntegerEntry(f, U), StringEntry(g, T), StringEntry(c, W)], unit)
139+ if ((X == X))
140+ then $Tuple2([StringEntry(h, O), StringEntry(i, P), StringEntry(j, R), IntegerEntry(b, S), IntegerEntry(d, U), IntegerEntry(e, W), StringEntry(g, T), StringEntry(c, V)], unit)
143141 else throw("Strict value is not equal to itself.")
144142 }
145143
147145
148146 @Callable(I)
149147 func suggest (o,p) = {
150- let Z = value(I.payments[0])
151- let aa = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid amountAssetId ID")
152- let Y = [if ((aa.issuer == I.caller))
148+ let Y = value(I.payments[0])
149+ let Z = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid amountAssetId ID")
150+ let X = [if ((Z.issuer == I.caller))
153151 then true
154- else throw("Asset can only be suggested by its issuer"), if ((aa.scripted == false))
152+ else throw("Asset can only be suggested by its issuer"), if ((Z.scripted == false))
155153 then true
156- else throw("Asset is smart"), if ((toBase58String(value(Z.assetId)) == value(getString(g))))
154+ else throw("Asset is smart"), if ((toBase58String(value(Y.assetId)) == value(getString(g))))
157155 then true
158- else throw("Invalid fee asset"), if ((Z.amount == value(getInteger(b))))
156+ else throw("Invalid fee asset"), if ((Y.amount == value(getInteger(b))))
159157 then true
160158 else throw("Invalid fee amount"), if ((p == value(getString(c))))
161159 then true
162160 else throw("priceAssetId is not USDN"), if ((getBoolean(n(o, p)) == unit))
163161 then true
164162 else throw("Already in voting list")]
165- if ((Y == Y))
163+ if ((X == X))
166164 then {
167- let ab = {
165+ let aa = {
168166 let E = invoke(A, "statusREADONLY", [o, p], nil)
169167 if ($isInstanceOf(E, "String"))
170168 then {
175173 }
176174 else throw("User pool is not active")
177175 }
178- if ((ab == ab))
176+ if ((aa == aa))
179177 then {
180- let ac = {
178+ let ab = {
181179 let E = invoke(C, "isVerifiedREADONLY", [o], nil)
182180 if ($isInstanceOf(E, "Boolean"))
183181 then {
184- let ad = E
185- ad
182+ let ac = E
183+ ac
186184 }
187185 else throw("Asset is not verified")
188186 }
189- if ((ac == ac))
187+ if ((ab == ab))
190188 then {
191- let ae = invoke(z, "burn", nil, [AttachedPayment(Z.assetId, Z.amount)])
192- if ((ae == ae))
189+ let ad = invoke(z, "burn", nil, [AttachedPayment(Y.assetId, Y.amount)])
190+ if ((ad == ad))
193191 then [BooleanEntry(n(o, p), true), IntegerEntry(q(o, p), height)]
194192 else throw("Strict value is not equal to itself.")
195193 }
203201
204202
205203 @Callable(I)
206-func vote (o,p,af) = {
207- let ag = (value(getInteger(q(o, p))) + value(getInteger(d)))
208- let Y = [if (valueOrElse(getBoolean(n(o, p)), false))
204+func vote (o,p,ae) = {
205+ let af = (value(getInteger(q(o, p))) + value(getInteger(d)))
206+ let X = [if (valueOrElse(getBoolean(n(o, p)), false))
209207 then true
210- else throw("The token isn't on the voting list"), if ((height >= ag))
208+ else throw("The token isn't on the voting list"), if ((height >= af))
211209 then true
212210 else throw("too late to vote")]
213- if ((Y == Y))
211+ if ((X == X))
214212 then {
215- let ah = split(value(getString(r(o, p))), a)
216- let ai = ah[1]
217- let aj = ah[2]
218- let v = invoke(B, "getUserGwxAmountAtHeightREADONLY", [toString(I.caller), ag], nil)
219- let ak = if (af)
213+ let ag = split(value(getString(r(o, p))), a)
214+ let ah = ag[1]
215+ let ai = ag[2]
216+ let v = invoke(B, "getUserGwxAmountAtHeightREADONLY", [toString(I.caller), af], nil)
217+ let aj = if (ae)
220218 then {
221- let al = (parseIntValue(ai) + L(v))
222- let am = makeString(["%d%d", toString(al), aj], a)
223- let an = s(o, p, toString(I.caller))
224- let ao = u(toString(L(v)), af)
225- $Tuple2([StringEntry(r(o, p), am), StringEntry(an, ao)], unit)
219+ let ak = (parseIntValue(ah) + L(v))
220+ let al = makeString(["%d%d", toString(ak), ai], a)
221+ let am = s(o, p, toString(I.caller))
222+ let an = u(toString(L(v)), ae)
223+ $Tuple2([StringEntry(r(o, p), al), StringEntry(am, an)], unit)
226224 }
227225 else {
228- let ap = (parseIntValue(aj) + L(v))
229- let am = makeString(["%d%d", ai, toString(ap)], a)
230- let aq = s(o, p, toString(I.caller))
231- let ar = u(toString(L(v)), af)
232- $Tuple2([StringEntry(r(o, p), am), StringEntry(aq, ar)], unit)
226+ let ao = (parseIntValue(ai) + L(v))
227+ let al = makeString(["%d%d", ah, toString(ao)], a)
228+ let ap = s(o, p, toString(I.caller))
229+ let aq = u(toString(L(v)), ae)
230+ $Tuple2([StringEntry(r(o, p), al), StringEntry(ap, aq)], unit)
233231 }
234- ak
232+ aj
235233 }
236234 else throw("Strict value is not equal to itself.")
237235 }
240238
241239 @Callable(I)
242240 func cancelVote (o,p) = {
243- let Y = [if (isDefined(r(o, p)))
241+ let X = [if (isDefined(r(o, p)))
244242 then true
245243 else throw("No vote for assets pair")]
246- if ((Y == Y))
244+ if ((X == X))
247245 then {
248246 let w = split(value(getString(s(o, p, toString(I.caller)))), a)
249- let as = w[1]
250- let at = w[2]
251- let ah = split(value(getString(r(o, p))), a)
252- let ai = ah[1]
253- let aj = ah[2]
254- let au = if ((at == "yes"))
247+ let ar = w[1]
248+ let as = w[2]
249+ let ag = split(value(getString(r(o, p))), a)
250+ let ah = ag[1]
251+ let ai = ag[2]
252+ let at = if ((as == "yes"))
255253 then {
256- let al = (parseIntValue(ai) - parseIntValue(as))
257- let am = makeString(["%d%d", toString(al), aj], a)
258- $Tuple2([StringEntry(r(o, p), am), DeleteEntry(s(o, p, toString(I.caller)))], unit)
254+ let ak = (parseIntValue(ah) - parseIntValue(ar))
255+ let al = makeString(["%d%d", toString(ak), ai], a)
256+ $Tuple2([StringEntry(r(o, p), al), DeleteEntry(s(o, p, toString(I.caller)))], unit)
259257 }
260258 else {
261- let ap = (parseIntValue(aj) - parseIntValue(as))
262- let am = makeString(["%d%d", toString(ap), aj], a)
263- $Tuple2([StringEntry(r(o, p), am), DeleteEntry(s(o, p, toString(I.caller)))], unit)
259+ let ao = (parseIntValue(ai) - parseIntValue(ar))
260+ let al = makeString(["%d%d", toString(ao), ai], a)
261+ $Tuple2([StringEntry(r(o, p), al), DeleteEntry(s(o, p, toString(I.caller)))], unit)
264262 }
265- au
263+ at
266264 }
267265 else throw("Strict value is not equal to itself.")
268266 }
270268
271269
272270 @Callable(I)
273-func setVotingThreshold (av) = {
274- let Y = [if (H(I))
275- then true
276- else throw("Must manager")]
277- if ((Y == Y))
278- then [IntegerEntry(f, av)]
279- else throw("Strict value is not equal to itself.")
280- }
281-
282-
283-
284-@Callable(I)
285-func setFee (aw) = {
286- let Y = [if (H(I))
287- then true
288- else throw("Must manager")]
289- if ((Y == Y))
290- then [IntegerEntry(b, aw)]
271+func setFee (au) = {
272+ let X = [H(I)]
273+ if ((X == X))
274+ then [IntegerEntry(b, au)]
291275 else throw("Strict value is not equal to itself.")
292276 }
293277
295279
296280 @Callable(I)
297281 func finalize (o,p) = {
298- let ag = (value(getInteger(q(o, p))) + value(getInteger(d)))
299- let Y = [if (isDefined(n(o, p)))
282+ let af = (value(getInteger(q(o, p))) + value(getInteger(d)))
283+ let X = [if (isDefined(n(o, p)))
300284 then true
301- else throw("No assets pair"), if ((ag > height))
285+ else throw("No assets pair"), if ((af > height))
302286 then true
303287 else throw("insufficient height for completion")]
304- if ((Y == Y))
288+ if ((X == X))
305289 then {
306- let ah = split(value(getString(r(o, p))), a)
307- let ai = parseIntValue(ah[1])
308- let aj = parseIntValue(ah[2])
309- let au = if ((ai > aj))
290+ let ag = split(value(getString(r(o, p))), a)
291+ let ah = parseIntValue(ag[1])
292+ let ai = parseIntValue(ag[2])
293+ let at = if ((ah > ai))
310294 then {
311- let ax = invoke(C, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
312- if ((ax == ax))
295+ let av = invoke(C, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
296+ if ((av == av))
313297 then $Tuple2([DeleteEntry(n(o, p))], unit)
314298 else throw("Strict value is not equal to itself.")
315299 }
316300 else $Tuple2([DeleteEntry(n(o, p))], unit)
317- au
301+ at
318302 }
319303 else throw("Strict value is not equal to itself.")
320304 }
322306
323307
324308 @Callable(I)
325-func setManager (ay) = {
326- let az = H(I)
327- if ((az == az))
309+func setManager (aw) = {
310+ let ax = H(I)
311+ if ((ax == ax))
328312 then {
329- let aA = fromBase58String(ay)
330- if ((aA == aA))
331- then [StringEntry(y(), ay)]
313+ let ay = fromBase58String(aw)
314+ if ((ay == ay))
315+ then [StringEntry(y(), aw)]
332316 else throw("Strict value is not equal to itself.")
333317 }
334318 else throw("Strict value is not equal to itself.")
338322
339323 @Callable(I)
340324 func confirmManager () = {
341- let aB = G()
342- let aC = if (isDefined(aB))
325+ let az = G()
326+ let aA = if (isDefined(az))
343327 then true
344328 else throw("No pending manager")
345- if ((aC == aC))
329+ if ((aA == aA))
346330 then {
347- let aD = if ((I.callerPublicKey == value(aB)))
331+ let aB = if ((I.callerPublicKey == value(az)))
348332 then true
349333 else throw("You are not pending manager")
350- if ((aD == aD))
351- then [StringEntry(x(), toBase58String(value(aB))), DeleteEntry(y())]
334+ if ((aB == aB))
335+ then [StringEntry(x(), toBase58String(value(az))), DeleteEntry(y())]
352336 else throw("Strict value is not equal to itself.")
353337 }
354338 else throw("Strict value is not equal to itself.")
355339 }
356340
357341
358-@Verifier(aE)
359-func aF () = {
360- let aG = {
342+@Verifier(aC)
343+func aD () = {
344+ let aE = {
361345 let E = D()
362346 if ($isInstanceOf(E, "ByteVector"))
363347 then {
365349 K
366350 }
367351 else if ($isInstanceOf(E, "Unit"))
368- then aE.senderPublicKey
352+ then aC.senderPublicKey
369353 else throw("Match error")
370354 }
371- sigVerify(aE.bodyBytes, aE.proofs[0], aG)
355+ sigVerify(aC.bodyBytes, aC.proofs[0], aE)
372356 }
373357
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
1414 let f = makeString(["%s", "votingThreshold"], a)
1515
1616 let g = makeString(["%s", "wxAssetId"], a)
1717
1818 let h = makeString(["%s", "assetsStoreContract"], a)
1919
2020 let i = makeString(["%s", "userPoolContract"], a)
2121
2222 let j = makeString(["%s", "emissionContract"], a)
2323
2424 let k = makeString(["%s", "boostingContract"], a)
2525
2626 func l (m) = valueOrErrorMessage(getString(this, m), (m + " is not defined"))
2727
2828
2929 func n (o,p) = makeString([("%s%s%s" + "inList"), o, p], a)
3030
3131
3232 func q (o,p) = makeString([("%s%s%s" + "startHeight"), o, p], a)
3333
3434
3535 func r (o,p) = makeString(["%s%s%s", "votingResult", o, p], a)
3636
3737
3838 func s (o,p,t) = makeString(["%s%s%s%s", "vote", o, p, t], a)
3939
4040
4141 func u (v,w) = {
4242 let m = if (w)
4343 then makeString(["%d%s", v, "yes"], a)
4444 else makeString(["%d%s", v, "no"], a)
4545 m
4646 }
4747
4848
4949 func x () = "%s__managerPublicKey"
5050
5151
5252 func y () = "%s__pendingManagerPublicKey"
5353
5454
5555 let z = addressFromStringValue(l(j))
5656
5757 let A = addressFromStringValue(l(i))
5858
5959 let B = addressFromStringValue(l(k))
6060
6161 let C = addressFromStringValue(l(h))
6262
6363 func D () = {
6464 let E = getString(x())
6565 if ($isInstanceOf(E, "String"))
6666 then {
6767 let F = E
6868 fromBase58String(F)
6969 }
7070 else if ($isInstanceOf(E, "Unit"))
7171 then unit
7272 else throw("Match error")
7373 }
7474
7575
7676 func G () = {
7777 let E = getString(y())
7878 if ($isInstanceOf(E, "String"))
7979 then {
8080 let F = E
8181 fromBase58String(F)
8282 }
8383 else if ($isInstanceOf(E, "Unit"))
8484 then unit
8585 else throw("Match error")
8686 }
8787
8888
8989 func H (I) = {
9090 let J = throw("Permission denied")
9191 let E = D()
9292 if ($isInstanceOf(E, "ByteVector"))
9393 then {
9494 let K = E
9595 if ((I.callerPublicKey == K))
9696 then true
9797 else J
9898 }
9999 else if ($isInstanceOf(E, "Unit"))
100100 then if ((I.caller == this))
101101 then true
102102 else J
103103 else throw("Match error")
104104 }
105105
106106
107107 func L (M) = {
108108 let E = M
109109 if ($isInstanceOf(E, "Int"))
110110 then {
111111 let N = E
112112 N
113113 }
114114 else throw("Failed to cast into Integer")
115115 }
116116
117117
118118 @Callable(I)
119-func constructor (O,P,Q,R,S,T,U,V,W,X) = {
120- let Y = [H(I), if (isDefined(addressFromString(O)))
119+func constructor (O,P,Q,R,S,T,U,V,W) = {
120+ let X = [H(I), if (isDefined(addressFromString(O)))
121121 then true
122122 else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(Q)))
123123 then true
124124 else throw("Invalid boosting contract address"), if (isDefined(addressFromString(P)))
125125 then true
126126 else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(R)))
127127 then true
128128 else throw("Invalid emission contract address"), if ((S >= 0))
129129 then true
130- else throw("Invalid fee amount"), if ((V > 0))
130+ else throw("Invalid fee amount"), if ((U > 0))
131131 then true
132- else throw("Invalid voting duration"), if ((X > 0))
132+ else throw("Invalid voting duration"), if ((W > 0))
133133 then true
134- else throw("Invalid finalize reward"), if ((U >= 0))
134+ else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(T))))
135135 then true
136- else throw("Invalid voting threshold"), if (isDefined(assetInfo(fromBase58String(T))))
137- then true
138- else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(W))))
136+ else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(V))))
139137 then true
140138 else throw("Invalid USDN asset ID")]
141- if ((Y == Y))
142- then $Tuple2([StringEntry(h, O), StringEntry(i, P), StringEntry(j, R), IntegerEntry(b, S), IntegerEntry(d, V), IntegerEntry(e, X), IntegerEntry(f, U), StringEntry(g, T), StringEntry(c, W)], unit)
139+ if ((X == X))
140+ then $Tuple2([StringEntry(h, O), StringEntry(i, P), StringEntry(j, R), IntegerEntry(b, S), IntegerEntry(d, U), IntegerEntry(e, W), StringEntry(g, T), StringEntry(c, V)], unit)
143141 else throw("Strict value is not equal to itself.")
144142 }
145143
146144
147145
148146 @Callable(I)
149147 func suggest (o,p) = {
150- let Z = value(I.payments[0])
151- let aa = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid amountAssetId ID")
152- let Y = [if ((aa.issuer == I.caller))
148+ let Y = value(I.payments[0])
149+ let Z = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid amountAssetId ID")
150+ let X = [if ((Z.issuer == I.caller))
153151 then true
154- else throw("Asset can only be suggested by its issuer"), if ((aa.scripted == false))
152+ else throw("Asset can only be suggested by its issuer"), if ((Z.scripted == false))
155153 then true
156- else throw("Asset is smart"), if ((toBase58String(value(Z.assetId)) == value(getString(g))))
154+ else throw("Asset is smart"), if ((toBase58String(value(Y.assetId)) == value(getString(g))))
157155 then true
158- else throw("Invalid fee asset"), if ((Z.amount == value(getInteger(b))))
156+ else throw("Invalid fee asset"), if ((Y.amount == value(getInteger(b))))
159157 then true
160158 else throw("Invalid fee amount"), if ((p == value(getString(c))))
161159 then true
162160 else throw("priceAssetId is not USDN"), if ((getBoolean(n(o, p)) == unit))
163161 then true
164162 else throw("Already in voting list")]
165- if ((Y == Y))
163+ if ((X == X))
166164 then {
167- let ab = {
165+ let aa = {
168166 let E = invoke(A, "statusREADONLY", [o, p], nil)
169167 if ($isInstanceOf(E, "String"))
170168 then {
171169 let F = E
172170 if ((F == "active"))
173171 then true
174172 else throw("User pool is not active")
175173 }
176174 else throw("User pool is not active")
177175 }
178- if ((ab == ab))
176+ if ((aa == aa))
179177 then {
180- let ac = {
178+ let ab = {
181179 let E = invoke(C, "isVerifiedREADONLY", [o], nil)
182180 if ($isInstanceOf(E, "Boolean"))
183181 then {
184- let ad = E
185- ad
182+ let ac = E
183+ ac
186184 }
187185 else throw("Asset is not verified")
188186 }
189- if ((ac == ac))
187+ if ((ab == ab))
190188 then {
191- let ae = invoke(z, "burn", nil, [AttachedPayment(Z.assetId, Z.amount)])
192- if ((ae == ae))
189+ let ad = invoke(z, "burn", nil, [AttachedPayment(Y.assetId, Y.amount)])
190+ if ((ad == ad))
193191 then [BooleanEntry(n(o, p), true), IntegerEntry(q(o, p), height)]
194192 else throw("Strict value is not equal to itself.")
195193 }
196194 else throw("Strict value is not equal to itself.")
197195 }
198196 else throw("Strict value is not equal to itself.")
199197 }
200198 else throw("Strict value is not equal to itself.")
201199 }
202200
203201
204202
205203 @Callable(I)
206-func vote (o,p,af) = {
207- let ag = (value(getInteger(q(o, p))) + value(getInteger(d)))
208- let Y = [if (valueOrElse(getBoolean(n(o, p)), false))
204+func vote (o,p,ae) = {
205+ let af = (value(getInteger(q(o, p))) + value(getInteger(d)))
206+ let X = [if (valueOrElse(getBoolean(n(o, p)), false))
209207 then true
210- else throw("The token isn't on the voting list"), if ((height >= ag))
208+ else throw("The token isn't on the voting list"), if ((height >= af))
211209 then true
212210 else throw("too late to vote")]
213- if ((Y == Y))
211+ if ((X == X))
214212 then {
215- let ah = split(value(getString(r(o, p))), a)
216- let ai = ah[1]
217- let aj = ah[2]
218- let v = invoke(B, "getUserGwxAmountAtHeightREADONLY", [toString(I.caller), ag], nil)
219- let ak = if (af)
213+ let ag = split(value(getString(r(o, p))), a)
214+ let ah = ag[1]
215+ let ai = ag[2]
216+ let v = invoke(B, "getUserGwxAmountAtHeightREADONLY", [toString(I.caller), af], nil)
217+ let aj = if (ae)
220218 then {
221- let al = (parseIntValue(ai) + L(v))
222- let am = makeString(["%d%d", toString(al), aj], a)
223- let an = s(o, p, toString(I.caller))
224- let ao = u(toString(L(v)), af)
225- $Tuple2([StringEntry(r(o, p), am), StringEntry(an, ao)], unit)
219+ let ak = (parseIntValue(ah) + L(v))
220+ let al = makeString(["%d%d", toString(ak), ai], a)
221+ let am = s(o, p, toString(I.caller))
222+ let an = u(toString(L(v)), ae)
223+ $Tuple2([StringEntry(r(o, p), al), StringEntry(am, an)], unit)
226224 }
227225 else {
228- let ap = (parseIntValue(aj) + L(v))
229- let am = makeString(["%d%d", ai, toString(ap)], a)
230- let aq = s(o, p, toString(I.caller))
231- let ar = u(toString(L(v)), af)
232- $Tuple2([StringEntry(r(o, p), am), StringEntry(aq, ar)], unit)
226+ let ao = (parseIntValue(ai) + L(v))
227+ let al = makeString(["%d%d", ah, toString(ao)], a)
228+ let ap = s(o, p, toString(I.caller))
229+ let aq = u(toString(L(v)), ae)
230+ $Tuple2([StringEntry(r(o, p), al), StringEntry(ap, aq)], unit)
233231 }
234- ak
232+ aj
235233 }
236234 else throw("Strict value is not equal to itself.")
237235 }
238236
239237
240238
241239 @Callable(I)
242240 func cancelVote (o,p) = {
243- let Y = [if (isDefined(r(o, p)))
241+ let X = [if (isDefined(r(o, p)))
244242 then true
245243 else throw("No vote for assets pair")]
246- if ((Y == Y))
244+ if ((X == X))
247245 then {
248246 let w = split(value(getString(s(o, p, toString(I.caller)))), a)
249- let as = w[1]
250- let at = w[2]
251- let ah = split(value(getString(r(o, p))), a)
252- let ai = ah[1]
253- let aj = ah[2]
254- let au = if ((at == "yes"))
247+ let ar = w[1]
248+ let as = w[2]
249+ let ag = split(value(getString(r(o, p))), a)
250+ let ah = ag[1]
251+ let ai = ag[2]
252+ let at = if ((as == "yes"))
255253 then {
256- let al = (parseIntValue(ai) - parseIntValue(as))
257- let am = makeString(["%d%d", toString(al), aj], a)
258- $Tuple2([StringEntry(r(o, p), am), DeleteEntry(s(o, p, toString(I.caller)))], unit)
254+ let ak = (parseIntValue(ah) - parseIntValue(ar))
255+ let al = makeString(["%d%d", toString(ak), ai], a)
256+ $Tuple2([StringEntry(r(o, p), al), DeleteEntry(s(o, p, toString(I.caller)))], unit)
259257 }
260258 else {
261- let ap = (parseIntValue(aj) - parseIntValue(as))
262- let am = makeString(["%d%d", toString(ap), aj], a)
263- $Tuple2([StringEntry(r(o, p), am), DeleteEntry(s(o, p, toString(I.caller)))], unit)
259+ let ao = (parseIntValue(ai) - parseIntValue(ar))
260+ let al = makeString(["%d%d", toString(ao), ai], a)
261+ $Tuple2([StringEntry(r(o, p), al), DeleteEntry(s(o, p, toString(I.caller)))], unit)
264262 }
265- au
263+ at
266264 }
267265 else throw("Strict value is not equal to itself.")
268266 }
269267
270268
271269
272270 @Callable(I)
273-func setVotingThreshold (av) = {
274- let Y = [if (H(I))
275- then true
276- else throw("Must manager")]
277- if ((Y == Y))
278- then [IntegerEntry(f, av)]
279- else throw("Strict value is not equal to itself.")
280- }
281-
282-
283-
284-@Callable(I)
285-func setFee (aw) = {
286- let Y = [if (H(I))
287- then true
288- else throw("Must manager")]
289- if ((Y == Y))
290- then [IntegerEntry(b, aw)]
271+func setFee (au) = {
272+ let X = [H(I)]
273+ if ((X == X))
274+ then [IntegerEntry(b, au)]
291275 else throw("Strict value is not equal to itself.")
292276 }
293277
294278
295279
296280 @Callable(I)
297281 func finalize (o,p) = {
298- let ag = (value(getInteger(q(o, p))) + value(getInteger(d)))
299- let Y = [if (isDefined(n(o, p)))
282+ let af = (value(getInteger(q(o, p))) + value(getInteger(d)))
283+ let X = [if (isDefined(n(o, p)))
300284 then true
301- else throw("No assets pair"), if ((ag > height))
285+ else throw("No assets pair"), if ((af > height))
302286 then true
303287 else throw("insufficient height for completion")]
304- if ((Y == Y))
288+ if ((X == X))
305289 then {
306- let ah = split(value(getString(r(o, p))), a)
307- let ai = parseIntValue(ah[1])
308- let aj = parseIntValue(ah[2])
309- let au = if ((ai > aj))
290+ let ag = split(value(getString(r(o, p))), a)
291+ let ah = parseIntValue(ag[1])
292+ let ai = parseIntValue(ag[2])
293+ let at = if ((ah > ai))
310294 then {
311- let ax = invoke(C, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
312- if ((ax == ax))
295+ let av = invoke(C, "setPoolLabels", [o, p, "WX_EMISSION"], nil)
296+ if ((av == av))
313297 then $Tuple2([DeleteEntry(n(o, p))], unit)
314298 else throw("Strict value is not equal to itself.")
315299 }
316300 else $Tuple2([DeleteEntry(n(o, p))], unit)
317- au
301+ at
318302 }
319303 else throw("Strict value is not equal to itself.")
320304 }
321305
322306
323307
324308 @Callable(I)
325-func setManager (ay) = {
326- let az = H(I)
327- if ((az == az))
309+func setManager (aw) = {
310+ let ax = H(I)
311+ if ((ax == ax))
328312 then {
329- let aA = fromBase58String(ay)
330- if ((aA == aA))
331- then [StringEntry(y(), ay)]
313+ let ay = fromBase58String(aw)
314+ if ((ay == ay))
315+ then [StringEntry(y(), aw)]
332316 else throw("Strict value is not equal to itself.")
333317 }
334318 else throw("Strict value is not equal to itself.")
335319 }
336320
337321
338322
339323 @Callable(I)
340324 func confirmManager () = {
341- let aB = G()
342- let aC = if (isDefined(aB))
325+ let az = G()
326+ let aA = if (isDefined(az))
343327 then true
344328 else throw("No pending manager")
345- if ((aC == aC))
329+ if ((aA == aA))
346330 then {
347- let aD = if ((I.callerPublicKey == value(aB)))
331+ let aB = if ((I.callerPublicKey == value(az)))
348332 then true
349333 else throw("You are not pending manager")
350- if ((aD == aD))
351- then [StringEntry(x(), toBase58String(value(aB))), DeleteEntry(y())]
334+ if ((aB == aB))
335+ then [StringEntry(x(), toBase58String(value(az))), DeleteEntry(y())]
352336 else throw("Strict value is not equal to itself.")
353337 }
354338 else throw("Strict value is not equal to itself.")
355339 }
356340
357341
358-@Verifier(aE)
359-func aF () = {
360- let aG = {
342+@Verifier(aC)
343+func aD () = {
344+ let aE = {
361345 let E = D()
362346 if ($isInstanceOf(E, "ByteVector"))
363347 then {
364348 let K = E
365349 K
366350 }
367351 else if ($isInstanceOf(E, "Unit"))
368- then aE.senderPublicKey
352+ then aC.senderPublicKey
369353 else throw("Match error")
370354 }
371- sigVerify(aE.bodyBytes, aE.proofs[0], aG)
355+ sigVerify(aC.bodyBytes, aC.proofs[0], aE)
372356 }
373357

github/deemru/w8io/169f3d6 
95.26 ms