tx · 9mtHfAgaGN7N91fkPGmPhsUBTh3D6wTaYQWxY2A7hnSX

3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T:  -0.01400000 Waves

2022.04.29 18:49 [2029966] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves

{ "type": 13, "id": "9mtHfAgaGN7N91fkPGmPhsUBTh3D6wTaYQWxY2A7hnSX", "fee": 1400000, "feeAssetId": null, "timestamp": 1651247392618, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "qvt8cRpPZaDnMwuwcDiNxMjQsoSuSAcuKNgFkWhTWLtqtL9pFiXPzFqzsytDToqG3j1xJPEwUBK2rJxJKPyyxfn" ], "script": "base64:AAIFAAAAAAAAACMIAhILCgkICAgIAQgBAQgSBAoCCAgSBQoDCAgEEgMKAQgSAAAAABgAAAAACXNlcGFyYXRvcgIAAAACX18AAAAADGtleUZlZUFtb3VudAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAAA2ZlZQUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAADmtleVVzZG5Bc3NldElkCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALdXNkbkFzc2V0SWQFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlWb3RpbmdEdXJhdGlvbgkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAAC2Vwb2NoTGVuZ3RoBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAASa2V5Vm90aW5nVGhyZXNob2xkCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAAPdm90aW5nVGhyZXNob2xkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAMa2V5V3hBc3NldElkCQAEuQAAAAIJAARMAAAAAgIA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ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAA90YXJnZXRQdWJsaWNLZXkEAAAAByRtYXRjaDAJAQAAABZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAAAAAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAKQnl0ZVZlY3RvcgQAAAACcGsFAAAAByRtYXRjaDAFAAAAAnBrAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAARVbml0CAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5CQAAAgAAAAECAAAAC01hdGNoIGVycm9yCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAPdGFyZ2V0UHVibGljS2V5+oW66g==", "chainId": 84, "height": 2029966, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: J7CtRfvmR6nxAmVpGH798a1n9V3WL4HU17ZVEzPLqXak Next: 9vHL7r6M9ndfd8VKh1tFWGn3LPm3pCoMpHG6mo8JoZy5 Diff:
OldNewDifferences
149149 then true
150150 else throw("priceAssetId is not USDN"), if ((getBoolean(m(n, o)) == unit))
151151 then true
152- else throw("Already in voting list"), if (valueOrElse(invoke(w, "keyStatus", [n, o], nil), false))
153- then true
154- else throw("User pool is not active")]
152+ else throw("Already in voting list")]
155153 if ((S == S))
156154 then {
157155 let V = {
158- let z = invoke(value(addressFromString(g)), "isVerifiedREADONLY", [n], nil)
159- if ($isInstanceOf(z, "Boolean"))
156+ let z = invoke(w, "statusREADONLY", [n, o], nil)
157+ if ($isInstanceOf(z, "String"))
160158 then {
161- let W = z
162- W
159+ let A = z
160+ if ((A == "active"))
161+ then true
162+ else throw("User pool is not active")
163163 }
164- else throw("Asset is not verified")
164+ else throw("User pool is not active")
165165 }
166- let X = invoke(v, "burn", nil, [AttachedPayment(T.assetId, T.amount)])
167- if ((X == X))
168- then [BooleanEntry(m(n, o), true), IntegerEntry(p(n, o), height)]
166+ if ((V == V))
167+ then {
168+ let W = {
169+ let z = invoke(value(addressFromString(g)), "isVerifiedREADONLY", [n], nil)
170+ if ($isInstanceOf(z, "Boolean"))
171+ then {
172+ let X = z
173+ X
174+ }
175+ else throw("Asset is not verified")
176+ }
177+ if ((W == W))
178+ then {
179+ let Y = invoke(v, "burn", nil, [AttachedPayment(T.assetId, T.amount)])
180+ if ((Y == Y))
181+ then [BooleanEntry(m(n, o), true), IntegerEntry(p(n, o), height)]
182+ else throw("Strict value is not equal to itself.")
183+ }
184+ else throw("Strict value is not equal to itself.")
185+ }
169186 else throw("Strict value is not equal to itself.")
170187 }
171188 else throw("Strict value is not equal to itself.")
174191
175192
176193 @Callable(D)
177-func vote (n,o,Y) = {
194+func vote (n,o,Z) = {
178195 let S = [if (valueOrElse(getBoolean(m(n, o)), false))
179196 then true
180197 else throw("The token isn't on the voting list"), (height >= (value(getInteger(p(n, o))) + value(getInteger(d))))]
181198 if ((S == S))
182199 then {
183- let Z = split(value(getString(q(n, o))), a)
184- let aa = Z[1]
185- let ab = Z[2]
186- let ac = invoke(x, "getUserGwxAmountAtHeightREADONLY", [toString(D.caller), height], nil)
187- let ad = if (Y)
200+ let aa = split(value(getString(q(n, o))), a)
201+ let ab = aa[1]
202+ let ac = aa[2]
203+ let ad = invoke(x, "getUserGwxAmountAtHeightREADONLY", [toString(D.caller), height], nil)
204+ let ae = if (Z)
188205 then {
189- let ae = (parseIntValue(aa) + G(ac))
190- let af = makeString(["%d%d", toString(ae), ab], a)
191- let ag = r(n, o, toString(D.caller))
192- let ah = makeString([q(n, o), "yes"], a)
193- $Tuple2([StringEntry(q(n, o), af), StringEntry(ag, ah)], unit)
206+ let af = (parseIntValue(ab) + G(ad))
207+ let ag = makeString(["%d%d", toString(af), ac], a)
208+ let ah = r(n, o, toString(D.caller))
209+ let ai = makeString([q(n, o), "yes"], a)
210+ $Tuple2([StringEntry(q(n, o), ag), StringEntry(ah, ai)], unit)
194211 }
195212 else {
196- let ai = (parseIntValue(ab) + G(ac))
197- let af = makeString(["%d%d", aa, toString(ai)], a)
198- let aj = r(n, o, toString(D.caller))
199- let ak = makeString([q(n, o), "no"], a)
200- $Tuple2([StringEntry(q(n, o), af), StringEntry(aj, ak)], unit)
213+ let aj = (parseIntValue(ac) + G(ad))
214+ let ag = makeString(["%d%d", ab, toString(aj)], a)
215+ let ak = r(n, o, toString(D.caller))
216+ let al = makeString([q(n, o), "no"], a)
217+ $Tuple2([StringEntry(q(n, o), ag), StringEntry(ak, al)], unit)
201218 }
202- ad
219+ ae
203220 }
204221 else throw("Strict value is not equal to itself.")
205222 }
207224
208225
209226 @Callable(D)
210-func setManager (al) = {
211- let am = C(D)
212- if ((am == am))
227+func setManager (am) = {
228+ let an = C(D)
229+ if ((an == an))
213230 then {
214- let an = fromBase58String(al)
215- if ((an == an))
216- then [StringEntry(u(), al)]
231+ let ao = fromBase58String(am)
232+ if ((ao == ao))
233+ then [StringEntry(u(), am)]
217234 else throw("Strict value is not equal to itself.")
218235 }
219236 else throw("Strict value is not equal to itself.")
223240
224241 @Callable(D)
225242 func confirmManager () = {
226- let ao = B()
227- let ap = if (isDefined(ao))
243+ let ap = B()
244+ let aq = if (isDefined(ap))
228245 then true
229246 else throw("No pending manager")
230- if ((ap == ap))
247+ if ((aq == aq))
231248 then {
232- let aq = if ((D.callerPublicKey == value(ao)))
249+ let ar = if ((D.callerPublicKey == value(ap)))
233250 then true
234251 else throw("You are not pending manager")
235- if ((aq == aq))
236- then [StringEntry(t(), toBase58String(value(ao))), DeleteEntry(u())]
252+ if ((ar == ar))
253+ then [StringEntry(t(), toBase58String(value(ap))), DeleteEntry(u())]
237254 else throw("Strict value is not equal to itself.")
238255 }
239256 else throw("Strict value is not equal to itself.")
240257 }
241258
242259
243-@Verifier(ar)
244-func as () = {
245- let at = {
260+@Verifier(as)
261+func at () = {
262+ let au = {
246263 let z = y()
247264 if ($isInstanceOf(z, "ByteVector"))
248265 then {
250267 F
251268 }
252269 else if ($isInstanceOf(z, "Unit"))
253- then ar.senderPublicKey
270+ then as.senderPublicKey
254271 else throw("Match error")
255272 }
256- sigVerify(ar.bodyBytes, ar.proofs[0], at)
273+ sigVerify(as.bodyBytes, as.proofs[0], au)
257274 }
258275
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", "votingThreshold"], a)
1313
1414 let f = makeString(["%s", "wxAssetId"], a)
1515
1616 let g = makeString(["%s", "assetsStoreContract"], a)
1717
1818 let h = makeString(["%s", "userPoolContract"], a)
1919
2020 let i = makeString(["%s", "emissionContract"], a)
2121
2222 let j = makeString(["%s", "boostingContract"], a)
2323
2424 func k (l) = valueOrErrorMessage(getString(this, l), (l + " is not defined"))
2525
2626
2727 func m (n,o) = makeString([("%s%s%s" + "inList"), n, o], a)
2828
2929
3030 func p (n,o) = makeString([("%s%s%s" + "startHeight"), n, o], a)
3131
3232
3333 func q (n,o) = makeString(["%s%s%s", "votingResult", n, o], a)
3434
3535
3636 func r (n,o,s) = makeString(["%s%s%s%s", "vote", n, o, s], a)
3737
3838
3939 func t () = "%s__managerPublicKey"
4040
4141
4242 func u () = "%s__pendingManagerPublicKey"
4343
4444
4545 let v = addressFromStringValue(k(i))
4646
4747 let w = addressFromStringValue(k(h))
4848
4949 let x = addressFromStringValue(k(j))
5050
5151 func y () = {
5252 let z = getString(t())
5353 if ($isInstanceOf(z, "String"))
5454 then {
5555 let A = z
5656 fromBase58String(A)
5757 }
5858 else if ($isInstanceOf(z, "Unit"))
5959 then unit
6060 else throw("Match error")
6161 }
6262
6363
6464 func B () = {
6565 let z = getString(u())
6666 if ($isInstanceOf(z, "String"))
6767 then {
6868 let A = z
6969 fromBase58String(A)
7070 }
7171 else if ($isInstanceOf(z, "Unit"))
7272 then unit
7373 else throw("Match error")
7474 }
7575
7676
7777 func C (D) = {
7878 let E = throw("Permission denied")
7979 let z = y()
8080 if ($isInstanceOf(z, "ByteVector"))
8181 then {
8282 let F = z
8383 if ((D.callerPublicKey == F))
8484 then true
8585 else E
8686 }
8787 else if ($isInstanceOf(z, "Unit"))
8888 then if ((D.caller == this))
8989 then true
9090 else E
9191 else throw("Match error")
9292 }
9393
9494
9595 func G (H) = {
9696 let z = H
9797 if ($isInstanceOf(z, "Int"))
9898 then {
9999 let I = z
100100 I
101101 }
102102 else throw("Failed to cast into Integer")
103103 }
104104
105105
106106 @Callable(D)
107107 func constructor (J,K,L,M,N,O,P,Q,R) = {
108108 let S = [if (C(D))
109109 then true
110110 else throw("Must manager"), if (isDefined(addressFromString(J)))
111111 then true
112112 else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(L)))
113113 then true
114114 else throw("Invalid boosting contract address"), if (isDefined(addressFromString(K)))
115115 then true
116116 else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(M)))
117117 then true
118118 else throw("Invalid emission contract address"), if ((N >= 0))
119119 then true
120120 else throw("Invalid fee amount"), if ((Q > 0))
121121 then true
122122 else throw("Invalid voting duration"), if ((P >= 0))
123123 then true
124124 else throw("Invalid voting threshold"), if (isDefined(assetInfo(fromBase58String(O))))
125125 then true
126126 else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(R))))
127127 then true
128128 else throw("Invalid USDN asset ID")]
129129 if ((S == S))
130130 then $Tuple2([StringEntry(g, J), StringEntry(h, K), StringEntry(i, M), IntegerEntry(b, N), IntegerEntry(d, Q), IntegerEntry(e, P), StringEntry(f, O), StringEntry(c, R)], unit)
131131 else throw("Strict value is not equal to itself.")
132132 }
133133
134134
135135
136136 @Callable(D)
137137 func suggest (n,o) = {
138138 let T = value(D.payments[0])
139139 let U = valueOrErrorMessage(assetInfo(fromBase58String(n)), "Invalid amountAssetId ID")
140140 let S = [if ((U.issuer == D.caller))
141141 then true
142142 else throw("Asset can only be suggested by its issuer"), if ((U.scripted == false))
143143 then true
144144 else throw("Asset is smart"), if ((toBase58String(value(T.assetId)) == value(getString(f))))
145145 then true
146146 else throw("Invalid fee asset"), if ((T.amount == value(getInteger(b))))
147147 then true
148148 else throw("Invalid fee amount"), if ((o == value(getString(c))))
149149 then true
150150 else throw("priceAssetId is not USDN"), if ((getBoolean(m(n, o)) == unit))
151151 then true
152- else throw("Already in voting list"), if (valueOrElse(invoke(w, "keyStatus", [n, o], nil), false))
153- then true
154- else throw("User pool is not active")]
152+ else throw("Already in voting list")]
155153 if ((S == S))
156154 then {
157155 let V = {
158- let z = invoke(value(addressFromString(g)), "isVerifiedREADONLY", [n], nil)
159- if ($isInstanceOf(z, "Boolean"))
156+ let z = invoke(w, "statusREADONLY", [n, o], nil)
157+ if ($isInstanceOf(z, "String"))
160158 then {
161- let W = z
162- W
159+ let A = z
160+ if ((A == "active"))
161+ then true
162+ else throw("User pool is not active")
163163 }
164- else throw("Asset is not verified")
164+ else throw("User pool is not active")
165165 }
166- let X = invoke(v, "burn", nil, [AttachedPayment(T.assetId, T.amount)])
167- if ((X == X))
168- then [BooleanEntry(m(n, o), true), IntegerEntry(p(n, o), height)]
166+ if ((V == V))
167+ then {
168+ let W = {
169+ let z = invoke(value(addressFromString(g)), "isVerifiedREADONLY", [n], nil)
170+ if ($isInstanceOf(z, "Boolean"))
171+ then {
172+ let X = z
173+ X
174+ }
175+ else throw("Asset is not verified")
176+ }
177+ if ((W == W))
178+ then {
179+ let Y = invoke(v, "burn", nil, [AttachedPayment(T.assetId, T.amount)])
180+ if ((Y == Y))
181+ then [BooleanEntry(m(n, o), true), IntegerEntry(p(n, o), height)]
182+ else throw("Strict value is not equal to itself.")
183+ }
184+ else throw("Strict value is not equal to itself.")
185+ }
169186 else throw("Strict value is not equal to itself.")
170187 }
171188 else throw("Strict value is not equal to itself.")
172189 }
173190
174191
175192
176193 @Callable(D)
177-func vote (n,o,Y) = {
194+func vote (n,o,Z) = {
178195 let S = [if (valueOrElse(getBoolean(m(n, o)), false))
179196 then true
180197 else throw("The token isn't on the voting list"), (height >= (value(getInteger(p(n, o))) + value(getInteger(d))))]
181198 if ((S == S))
182199 then {
183- let Z = split(value(getString(q(n, o))), a)
184- let aa = Z[1]
185- let ab = Z[2]
186- let ac = invoke(x, "getUserGwxAmountAtHeightREADONLY", [toString(D.caller), height], nil)
187- let ad = if (Y)
200+ let aa = split(value(getString(q(n, o))), a)
201+ let ab = aa[1]
202+ let ac = aa[2]
203+ let ad = invoke(x, "getUserGwxAmountAtHeightREADONLY", [toString(D.caller), height], nil)
204+ let ae = if (Z)
188205 then {
189- let ae = (parseIntValue(aa) + G(ac))
190- let af = makeString(["%d%d", toString(ae), ab], a)
191- let ag = r(n, o, toString(D.caller))
192- let ah = makeString([q(n, o), "yes"], a)
193- $Tuple2([StringEntry(q(n, o), af), StringEntry(ag, ah)], unit)
206+ let af = (parseIntValue(ab) + G(ad))
207+ let ag = makeString(["%d%d", toString(af), ac], a)
208+ let ah = r(n, o, toString(D.caller))
209+ let ai = makeString([q(n, o), "yes"], a)
210+ $Tuple2([StringEntry(q(n, o), ag), StringEntry(ah, ai)], unit)
194211 }
195212 else {
196- let ai = (parseIntValue(ab) + G(ac))
197- let af = makeString(["%d%d", aa, toString(ai)], a)
198- let aj = r(n, o, toString(D.caller))
199- let ak = makeString([q(n, o), "no"], a)
200- $Tuple2([StringEntry(q(n, o), af), StringEntry(aj, ak)], unit)
213+ let aj = (parseIntValue(ac) + G(ad))
214+ let ag = makeString(["%d%d", ab, toString(aj)], a)
215+ let ak = r(n, o, toString(D.caller))
216+ let al = makeString([q(n, o), "no"], a)
217+ $Tuple2([StringEntry(q(n, o), ag), StringEntry(ak, al)], unit)
201218 }
202- ad
219+ ae
203220 }
204221 else throw("Strict value is not equal to itself.")
205222 }
206223
207224
208225
209226 @Callable(D)
210-func setManager (al) = {
211- let am = C(D)
212- if ((am == am))
227+func setManager (am) = {
228+ let an = C(D)
229+ if ((an == an))
213230 then {
214- let an = fromBase58String(al)
215- if ((an == an))
216- then [StringEntry(u(), al)]
231+ let ao = fromBase58String(am)
232+ if ((ao == ao))
233+ then [StringEntry(u(), am)]
217234 else throw("Strict value is not equal to itself.")
218235 }
219236 else throw("Strict value is not equal to itself.")
220237 }
221238
222239
223240
224241 @Callable(D)
225242 func confirmManager () = {
226- let ao = B()
227- let ap = if (isDefined(ao))
243+ let ap = B()
244+ let aq = if (isDefined(ap))
228245 then true
229246 else throw("No pending manager")
230- if ((ap == ap))
247+ if ((aq == aq))
231248 then {
232- let aq = if ((D.callerPublicKey == value(ao)))
249+ let ar = if ((D.callerPublicKey == value(ap)))
233250 then true
234251 else throw("You are not pending manager")
235- if ((aq == aq))
236- then [StringEntry(t(), toBase58String(value(ao))), DeleteEntry(u())]
252+ if ((ar == ar))
253+ then [StringEntry(t(), toBase58String(value(ap))), DeleteEntry(u())]
237254 else throw("Strict value is not equal to itself.")
238255 }
239256 else throw("Strict value is not equal to itself.")
240257 }
241258
242259
243-@Verifier(ar)
244-func as () = {
245- let at = {
260+@Verifier(as)
261+func at () = {
262+ let au = {
246263 let z = y()
247264 if ($isInstanceOf(z, "ByteVector"))
248265 then {
249266 let F = z
250267 F
251268 }
252269 else if ($isInstanceOf(z, "Unit"))
253- then ar.senderPublicKey
270+ then as.senderPublicKey
254271 else throw("Match error")
255272 }
256- sigVerify(ar.bodyBytes, ar.proofs[0], at)
273+ sigVerify(as.bodyBytes, as.proofs[0], au)
257274 }
258275

github/deemru/w8io/169f3d6 
55.52 ms