tx · H1SUpEXa863ijp7fS86XeAnKSBvesHBgjmEZLvG1kLAe 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T: -0.01400000 Waves 2022.05.11 12:48 [2046839] smart account 3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T > SELF 0.00000000 Waves
{ "type": 13, "id": "H1SUpEXa863ijp7fS86XeAnKSBvesHBgjmEZLvG1kLAe", "fee": 1400000, "feeAssetId": null, "timestamp": 1652262530032, "version": 1, "sender": "3N1Epwa6GQuTQr2K9WzeUcqSFCdERwuvL5T", "senderPublicKey": "7iXEgsFNsnbLZ3ca4tmz8jffnyxMu9keuBV6CuQPJLuA", "proofs": [ "5iAWP9ZvxsGbsi2mquJwkrVa54T88aCmga6mTB8G3tR18hufdgaaYS3WtbVSDGb9iKGQQoivWY9unJmG85891kEe" ], "script": "base64:AAIFAAAAAAAAADQIAhILCgkICAgIAQgBCAESBAoCCAgSBQoDCAgEEgQKAggIEgMKAQESBAoCCAgSAwoBCBIAAAAAGwAAAAAJc2VwYXJhdG9yAgAAAAJfXwAAAAAMa2V5RmVlQW1vdW50CQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAADZmVlBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAAOa2V5VXNkbkFzc2V0SWQJAAS5AAAAAgkABEwAAAACAgAAAAIlcwkABEwAAAACAgAAAAt1c2RuQXNzZXRJZAUAAAADbmlsBQAAAAlzZXBhcmF0b3IAAAAAEWtleVZvdGluZ0R1cmF0aW9uCQAEuQAAAAIJAARMAAAAAgIAAAACJXMJAARMAAAAAgIAAAALZXBvY2hMZW5ndGgFAAAAA25pbAUAAAAJc2VwYXJhdG9yAAAAABFrZXlGaW5hbGl6ZVJld2FyZAkABLkAAAACCQAETAAAAAICAAAAAiVzCQAETAAAAAICAAAADmZpbmFsaXplUmV3YXJkBQAAAANuaWwFAAAACXNlcGFyYXRvcgAAAAASa2V5Vm90aW5nVGhyZXNob2xkCQAEu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APdGFyZ2V0UHVibGljS2V5NuD9Lg==", "chainId": 84, "height": 2046839, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6fRp6dfcnfwgf5DffwywYQMKBLaTAFZhu8XDARq31cGD Next: EfH64ov9Pc8YTaE9prTQihx791knnLjqfEkZdejRVdLT Diff:
Old | New | Differences | |
---|---|---|---|
26 | 26 | func l (m) = valueOrErrorMessage(getString(this, m), (m + " is not defined")) | |
27 | 27 | ||
28 | 28 | ||
29 | - | func n (o,p) = makeString([ | |
29 | + | func n (o,p) = makeString(["%s%s%s", "inList", o, p], a) | |
30 | 30 | ||
31 | 31 | ||
32 | - | func q (o,p) = makeString([ | |
32 | + | func q (o,p) = makeString(["%s%s%s", "startHeight", o, p], a) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func r (o,p) = makeString(["%s%s%s", "votingResult", o, p], a) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = makeString(["%s", "fee"], a) | |
7 | 7 | ||
8 | 8 | let c = makeString(["%s", "usdnAssetId"], a) | |
9 | 9 | ||
10 | 10 | let d = makeString(["%s", "epochLength"], a) | |
11 | 11 | ||
12 | 12 | let e = makeString(["%s", "finalizeReward"], a) | |
13 | 13 | ||
14 | 14 | let f = makeString(["%s", "votingThreshold"], a) | |
15 | 15 | ||
16 | 16 | let g = makeString(["%s", "wxAssetId"], a) | |
17 | 17 | ||
18 | 18 | let h = makeString(["%s", "assetsStoreContract"], a) | |
19 | 19 | ||
20 | 20 | let i = makeString(["%s", "userPoolContract"], a) | |
21 | 21 | ||
22 | 22 | let j = makeString(["%s", "emissionContract"], a) | |
23 | 23 | ||
24 | 24 | let k = makeString(["%s", "boostingContract"], a) | |
25 | 25 | ||
26 | 26 | func l (m) = valueOrErrorMessage(getString(this, m), (m + " is not defined")) | |
27 | 27 | ||
28 | 28 | ||
29 | - | func n (o,p) = makeString([ | |
29 | + | func n (o,p) = makeString(["%s%s%s", "inList", o, p], a) | |
30 | 30 | ||
31 | 31 | ||
32 | - | func q (o,p) = makeString([ | |
32 | + | func q (o,p) = makeString(["%s%s%s", "startHeight", o, p], a) | |
33 | 33 | ||
34 | 34 | ||
35 | 35 | func r (o,p) = makeString(["%s%s%s", "votingResult", o, p], a) | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | func s (o,p,t) = makeString(["%s%s%s%s", "vote", o, p, t], a) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func u (v,w) = { | |
42 | 42 | let m = if (w) | |
43 | 43 | then makeString(["%d%s", v, "yes"], a) | |
44 | 44 | else makeString(["%d%s", v, "no"], a) | |
45 | 45 | m | |
46 | 46 | } | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func x () = "%s__managerPublicKey" | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func y () = "%s__pendingManagerPublicKey" | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | let z = addressFromStringValue(l(j)) | |
56 | 56 | ||
57 | 57 | let A = addressFromStringValue(l(i)) | |
58 | 58 | ||
59 | 59 | let B = addressFromStringValue(l(k)) | |
60 | 60 | ||
61 | 61 | let C = addressFromStringValue(l(h)) | |
62 | 62 | ||
63 | 63 | func D () = { | |
64 | 64 | let E = getString(x()) | |
65 | 65 | if ($isInstanceOf(E, "String")) | |
66 | 66 | then { | |
67 | 67 | let F = E | |
68 | 68 | fromBase58String(F) | |
69 | 69 | } | |
70 | 70 | else if ($isInstanceOf(E, "Unit")) | |
71 | 71 | then unit | |
72 | 72 | else throw("Match error") | |
73 | 73 | } | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func G () = { | |
77 | 77 | let E = getString(y()) | |
78 | 78 | if ($isInstanceOf(E, "String")) | |
79 | 79 | then { | |
80 | 80 | let F = E | |
81 | 81 | fromBase58String(F) | |
82 | 82 | } | |
83 | 83 | else if ($isInstanceOf(E, "Unit")) | |
84 | 84 | then unit | |
85 | 85 | else throw("Match error") | |
86 | 86 | } | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func H (I) = { | |
90 | 90 | let J = throw("Permission denied") | |
91 | 91 | let E = D() | |
92 | 92 | if ($isInstanceOf(E, "ByteVector")) | |
93 | 93 | then { | |
94 | 94 | let K = E | |
95 | 95 | if ((I.callerPublicKey == K)) | |
96 | 96 | then true | |
97 | 97 | else J | |
98 | 98 | } | |
99 | 99 | else if ($isInstanceOf(E, "Unit")) | |
100 | 100 | then if ((I.caller == this)) | |
101 | 101 | then true | |
102 | 102 | else J | |
103 | 103 | else throw("Match error") | |
104 | 104 | } | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func L (M) = { | |
108 | 108 | let E = M | |
109 | 109 | if ($isInstanceOf(E, "Int")) | |
110 | 110 | then { | |
111 | 111 | let N = E | |
112 | 112 | N | |
113 | 113 | } | |
114 | 114 | else throw("Failed to cast into Integer") | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | @Callable(I) | |
119 | 119 | func constructor (O,P,Q,R,S,T,U,V,W) = { | |
120 | 120 | let X = [H(I), if (isDefined(addressFromString(O))) | |
121 | 121 | then true | |
122 | 122 | else throw("Invalid asset_store contract address"), if (isDefined(addressFromString(Q))) | |
123 | 123 | then true | |
124 | 124 | else throw("Invalid boosting contract address"), if (isDefined(addressFromString(P))) | |
125 | 125 | then true | |
126 | 126 | else throw("Invalid user_pools contract address"), if (isDefined(addressFromString(R))) | |
127 | 127 | then true | |
128 | 128 | else throw("Invalid emission contract address"), if ((S >= 0)) | |
129 | 129 | then true | |
130 | 130 | else throw("Invalid fee amount"), if ((U > 0)) | |
131 | 131 | then true | |
132 | 132 | else throw("Invalid voting duration"), if ((W > 0)) | |
133 | 133 | then true | |
134 | 134 | else throw("Invalid finalize reward"), if (isDefined(assetInfo(fromBase58String(T)))) | |
135 | 135 | then true | |
136 | 136 | else throw("Invalid WX asset ID"), if (isDefined(assetInfo(fromBase58String(V)))) | |
137 | 137 | then true | |
138 | 138 | else throw("Invalid USDN asset ID")] | |
139 | 139 | if ((X == X)) | |
140 | 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) | |
141 | 141 | else throw("Strict value is not equal to itself.") | |
142 | 142 | } | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | ||
146 | 146 | @Callable(I) | |
147 | 147 | func suggest (o,p) = { | |
148 | 148 | let Y = value(I.payments[0]) | |
149 | 149 | let Z = valueOrErrorMessage(assetInfo(fromBase58String(o)), "Invalid amountAssetId ID") | |
150 | 150 | let X = [if ((Z.issuer == I.caller)) | |
151 | 151 | then true | |
152 | 152 | else throw("Asset can only be suggested by its issuer"), if ((Z.scripted == false)) | |
153 | 153 | then true | |
154 | 154 | else throw("Asset is smart"), if ((toBase58String(value(Y.assetId)) == value(getString(g)))) | |
155 | 155 | then true | |
156 | 156 | else throw("Invalid fee asset"), if ((Y.amount == value(getInteger(b)))) | |
157 | 157 | then true | |
158 | 158 | else throw("Invalid fee amount"), if ((p == value(getString(c)))) | |
159 | 159 | then true | |
160 | 160 | else throw("priceAssetId is not USDN"), if ((getBoolean(n(o, p)) == unit)) | |
161 | 161 | then true | |
162 | 162 | else throw("Already in voting list")] | |
163 | 163 | if ((X == X)) | |
164 | 164 | then { | |
165 | 165 | let aa = { | |
166 | 166 | let E = invoke(A, "statusREADONLY", [o, p], nil) | |
167 | 167 | if ($isInstanceOf(E, "String")) | |
168 | 168 | then { | |
169 | 169 | let F = E | |
170 | 170 | if ((F == "active")) | |
171 | 171 | then true | |
172 | 172 | else throw("User pool is not active") | |
173 | 173 | } | |
174 | 174 | else throw("User pool is not active") | |
175 | 175 | } | |
176 | 176 | if ((aa == aa)) | |
177 | 177 | then { | |
178 | 178 | let ab = { | |
179 | 179 | let E = invoke(C, "isVerifiedREADONLY", [o], nil) | |
180 | 180 | if ($isInstanceOf(E, "Boolean")) | |
181 | 181 | then { | |
182 | 182 | let ac = E | |
183 | 183 | ac | |
184 | 184 | } | |
185 | 185 | else throw("Asset is not verified") | |
186 | 186 | } | |
187 | 187 | if ((ab == ab)) | |
188 | 188 | then { | |
189 | 189 | let ad = invoke(z, "burn", nil, [AttachedPayment(Y.assetId, Y.amount)]) | |
190 | 190 | if ((ad == ad)) | |
191 | 191 | then [BooleanEntry(n(o, p), true), IntegerEntry(q(o, p), height)] | |
192 | 192 | else throw("Strict value is not equal to itself.") | |
193 | 193 | } | |
194 | 194 | else throw("Strict value is not equal to itself.") | |
195 | 195 | } | |
196 | 196 | else throw("Strict value is not equal to itself.") | |
197 | 197 | } | |
198 | 198 | else throw("Strict value is not equal to itself.") | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | ||
203 | 203 | @Callable(I) | |
204 | 204 | func vote (o,p,ae) = { | |
205 | 205 | let af = (value(getInteger(q(o, p))) + value(getInteger(d))) | |
206 | 206 | let X = [if (valueOrElse(getBoolean(n(o, p)), false)) | |
207 | 207 | then true | |
208 | 208 | else throw("The token isn't on the voting list"), if ((height >= af)) | |
209 | 209 | then true | |
210 | 210 | else throw("too late to vote")] | |
211 | 211 | if ((X == X)) | |
212 | 212 | then { | |
213 | 213 | let ag = split(value(getString(r(o, p))), a) | |
214 | 214 | let ah = ag[1] | |
215 | 215 | let ai = ag[2] | |
216 | 216 | let v = invoke(B, "getUserGwxAmountAtHeightREADONLY", [toString(I.caller), af], nil) | |
217 | 217 | let aj = if (ae) | |
218 | 218 | then { | |
219 | 219 | let ak = (parseIntValue(ah) + L(v)) | |
220 | 220 | let al = makeString(["%d%d", toString(ak), ai], a) | |
221 | 221 | let am = s(o, p, toString(I.caller)) | |
222 | 222 | let an = u(toString(L(v)), ae) | |
223 | 223 | $Tuple2([StringEntry(r(o, p), al), StringEntry(am, an)], unit) | |
224 | 224 | } | |
225 | 225 | else { | |
226 | 226 | let ao = (parseIntValue(ai) + L(v)) | |
227 | 227 | let al = makeString(["%d%d", ah, toString(ao)], a) | |
228 | 228 | let ap = s(o, p, toString(I.caller)) | |
229 | 229 | let aq = u(toString(L(v)), ae) | |
230 | 230 | $Tuple2([StringEntry(r(o, p), al), StringEntry(ap, aq)], unit) | |
231 | 231 | } | |
232 | 232 | aj | |
233 | 233 | } | |
234 | 234 | else throw("Strict value is not equal to itself.") | |
235 | 235 | } | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | ||
239 | 239 | @Callable(I) | |
240 | 240 | func cancelVote (o,p) = { | |
241 | 241 | let X = [if (isDefined(r(o, p))) | |
242 | 242 | then true | |
243 | 243 | else throw("No vote for assets pair")] | |
244 | 244 | if ((X == X)) | |
245 | 245 | then { | |
246 | 246 | let w = split(value(getString(s(o, p, toString(I.caller)))), a) | |
247 | 247 | let ar = w[1] | |
248 | 248 | let as = w[2] | |
249 | 249 | let ag = split(value(getString(r(o, p))), a) | |
250 | 250 | let ah = ag[1] | |
251 | 251 | let ai = ag[2] | |
252 | 252 | let at = if ((as == "yes")) | |
253 | 253 | then { | |
254 | 254 | let ak = (parseIntValue(ah) - parseIntValue(ar)) | |
255 | 255 | let al = makeString(["%d%d", toString(ak), ai], a) | |
256 | 256 | $Tuple2([StringEntry(r(o, p), al), DeleteEntry(s(o, p, toString(I.caller)))], unit) | |
257 | 257 | } | |
258 | 258 | else { | |
259 | 259 | let ao = (parseIntValue(ai) - parseIntValue(ar)) | |
260 | 260 | let al = makeString(["%d%d", toString(ao), ai], a) | |
261 | 261 | $Tuple2([StringEntry(r(o, p), al), DeleteEntry(s(o, p, toString(I.caller)))], unit) | |
262 | 262 | } | |
263 | 263 | at | |
264 | 264 | } | |
265 | 265 | else throw("Strict value is not equal to itself.") | |
266 | 266 | } | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | ||
270 | 270 | @Callable(I) | |
271 | 271 | func setFee (au) = { | |
272 | 272 | let X = [H(I)] | |
273 | 273 | if ((X == X)) | |
274 | 274 | then [IntegerEntry(b, au)] | |
275 | 275 | else throw("Strict value is not equal to itself.") | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | ||
280 | 280 | @Callable(I) | |
281 | 281 | func finalize (o,p) = { | |
282 | 282 | let af = (value(getInteger(q(o, p))) + value(getInteger(d))) | |
283 | 283 | let X = [if (isDefined(n(o, p))) | |
284 | 284 | then true | |
285 | 285 | else throw("No assets pair"), if ((af > height)) | |
286 | 286 | then true | |
287 | 287 | else throw("insufficient height for completion")] | |
288 | 288 | if ((X == X)) | |
289 | 289 | then { | |
290 | 290 | let ag = split(value(getString(r(o, p))), a) | |
291 | 291 | let ah = parseIntValue(ag[1]) | |
292 | 292 | let ai = parseIntValue(ag[2]) | |
293 | 293 | let at = if ((ah > ai)) | |
294 | 294 | then { | |
295 | 295 | let av = invoke(C, "setPoolLabels", [o, p, "WX_EMISSION"], nil) | |
296 | 296 | if ((av == av)) | |
297 | 297 | then $Tuple2([DeleteEntry(n(o, p))], unit) | |
298 | 298 | else throw("Strict value is not equal to itself.") | |
299 | 299 | } | |
300 | 300 | else $Tuple2([DeleteEntry(n(o, p))], unit) | |
301 | 301 | at | |
302 | 302 | } | |
303 | 303 | else throw("Strict value is not equal to itself.") | |
304 | 304 | } | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | ||
308 | 308 | @Callable(I) | |
309 | 309 | func setManager (aw) = { | |
310 | 310 | let ax = H(I) | |
311 | 311 | if ((ax == ax)) | |
312 | 312 | then { | |
313 | 313 | let ay = fromBase58String(aw) | |
314 | 314 | if ((ay == ay)) | |
315 | 315 | then [StringEntry(y(), aw)] | |
316 | 316 | else throw("Strict value is not equal to itself.") | |
317 | 317 | } | |
318 | 318 | else throw("Strict value is not equal to itself.") | |
319 | 319 | } | |
320 | 320 | ||
321 | 321 | ||
322 | 322 | ||
323 | 323 | @Callable(I) | |
324 | 324 | func confirmManager () = { | |
325 | 325 | let az = G() | |
326 | 326 | let aA = if (isDefined(az)) | |
327 | 327 | then true | |
328 | 328 | else throw("No pending manager") | |
329 | 329 | if ((aA == aA)) | |
330 | 330 | then { | |
331 | 331 | let aB = if ((I.callerPublicKey == value(az))) | |
332 | 332 | then true | |
333 | 333 | else throw("You are not pending manager") | |
334 | 334 | if ((aB == aB)) | |
335 | 335 | then [StringEntry(x(), toBase58String(value(az))), DeleteEntry(y())] | |
336 | 336 | else throw("Strict value is not equal to itself.") | |
337 | 337 | } | |
338 | 338 | else throw("Strict value is not equal to itself.") | |
339 | 339 | } | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | @Verifier(aC) | |
343 | 343 | func aD () = { | |
344 | 344 | let aE = { | |
345 | 345 | let E = D() | |
346 | 346 | if ($isInstanceOf(E, "ByteVector")) | |
347 | 347 | then { | |
348 | 348 | let K = E | |
349 | 349 | K | |
350 | 350 | } | |
351 | 351 | else if ($isInstanceOf(E, "Unit")) | |
352 | 352 | then aC.senderPublicKey | |
353 | 353 | else throw("Match error") | |
354 | 354 | } | |
355 | 355 | sigVerify(aC.bodyBytes, aC.proofs[0], aE) | |
356 | 356 | } | |
357 | 357 |
github/deemru/w8io/169f3d6 62.83 ms ◑