tx · 7ZVgY8jEJDCALb44jGL7Varwv6yL21rwCsaATfF7SH6g 3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh: -0.01000000 Waves 2023.05.18 16:07 [2583437] smart account 3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh > SELF 0.00000000 Waves
{ "type": 13, "id": "7ZVgY8jEJDCALb44jGL7Varwv6yL21rwCsaATfF7SH6g", "fee": 1000000, "feeAssetId": null, "timestamp": 1684415309570, "version": 2, "chainId": 84, "sender": "3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh", "senderPublicKey": "EU9obW1yVhR8qug3EmXPeew3DMagvJFQzY5Ku8bmcsU7", "proofs": [ "62F3cYFDpF6CKpHLCdPs5YMukhzEmMmUMYi3Uo5vhzCzkLqzeSNUbSEhXQVoExLodiN7pXuGDQAHKtKWgKpU64SK" ], "script": "base64:BgIbCAISBwoFCAgBAQESABIDCgEBEgASAwoBARIAHAAJc2VwYXJhdG9yAgJfXwAQY29udHJhY3RGaWxlbmFtZQIZdm90aW5nX2VtaXNzaW9uX3JhdGUucmlkZQAOa2V5RXBvY2hMZW5ndGgJALkJAgkAzAgCAgIlcwkAzAgCAgtlcG9jaExlbmd0aAUDbmlsBQlzZXBhcmF0b3IAE2tleUVtaXNzaW9uQ29udHJhY3QJALkJAgkAzAgCAgIlcwkAzAgCAhBlbWlzc2lvbkNvbnRyYWN0BQNuaWwFCXNlcGFyYXRvcgATa2V5Qm9vc3RpbmdDb250cmFjdAkAuQkCCQDMCAICAiVzCQDMCAICEGJvb3N0aW5nQ29udHJhY3QFA25pbAUJc2VwYXJhdG9yAAxrZXlUaHJlc2hvbGQJALkJAgkAzAgCAgIlcwkAzAgCAg92b3RpbmdUaHJlc2hvbGQFA25pbAUJc2VwYXJhdG9yAA9rZXlSYXRlUGVyQmxvY2sJALkJAgkAzAgCAgQlcyVzCQDMCAICDHJhdGVQZXJCbG9jawkAzAgCAgdjdXJyZW50BQNuaWwFCXNlcGFyYX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xWb3RlcwMCATACATACATAFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgDT7wz0", "height": 2583437, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 75H7XxBiqjXVS1RAzut7RK42aV16oZ1xhQGzPfdHXfD9 Next: 5DHqA3M2YdRrmdfsQpq33J9SEPAjaTbp5wQLUFoUQrem Diff:
Old | New | Differences | |
---|---|---|---|
45 | 45 | then makeString(["%d%s", x, "increase"], a) | |
46 | 46 | else if ((y == -1)) | |
47 | 47 | then makeString(["%d%s", x, "decrease"], a) | |
48 | - | else makeString(["%d%s", x, " | |
48 | + | else makeString(["%d%s", x, "current"], a) | |
49 | 49 | m | |
50 | 50 | } | |
51 | 51 | ||
187 | 187 | then (ac == -1) | |
188 | 188 | else false) | |
189 | 189 | then true | |
190 | - | else if ((ag == " | |
190 | + | else if ((ag == "current")) | |
191 | 191 | then (ac == 0) | |
192 | 192 | else false | |
193 | 193 | let ai = if (ah) | |
268 | 268 | $Tuple2([StringEntry(p(), q(am, an, toString(ax))), DeleteEntry(u(au))], unit) | |
269 | 269 | } | |
270 | 270 | else { | |
271 | - | let | |
272 | - | $Tuple2([StringEntry(p(), q(am, toString( | |
271 | + | let ay = (parseIntValue(an) - parseIntValue(af)) | |
272 | + | $Tuple2([StringEntry(p(), q(am, toString(ay), ao)), DeleteEntry(u(au))], unit) | |
273 | 273 | } | |
274 | 274 | av | |
275 | 275 | } | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | @Callable(I) | |
282 | - | func setThreshold ( | |
283 | - | let ab = [K(I), if (( | |
282 | + | func setThreshold (az) = { | |
283 | + | let ab = [K(I), if ((az > 0)) | |
284 | 284 | then true | |
285 | 285 | else j("invalid threshold")] | |
286 | 286 | if ((ab == ab)) | |
287 | - | then $Tuple2([IntegerEntry(f, | |
287 | + | then $Tuple2([IntegerEntry(f, az)], unit) | |
288 | 288 | else throw("Strict value is not equal to itself.") | |
289 | 289 | } | |
290 | 290 | ||
302 | 302 | let am = parseIntValue(al[1]) | |
303 | 303 | let an = parseIntValue(al[2]) | |
304 | 304 | let ao = parseIntValue(al[3]) | |
305 | - | let | |
305 | + | let aA = ((am + an) + ao) | |
306 | 306 | let aa = n(f) | |
307 | - | let aA = V() | |
308 | - | let T = aA._1 | |
309 | - | let aB = aA._2 | |
310 | - | let U = aA._3 | |
311 | - | let aC = [am, an, ao] | |
312 | - | let av = if ((aa > az)) | |
313 | - | then nil | |
314 | - | else if ((an == max(aC))) | |
315 | - | then [StringEntry("foo", "NONE"), IntegerEntry("bar", aB)] | |
316 | - | else if ((am == max(aC))) | |
317 | - | then [StringEntry("foo", "INC"), IntegerEntry("bar", T)] | |
318 | - | else [StringEntry("foo", "DEC"), IntegerEntry("bar", U)] | |
319 | - | (av ++ [IntegerEntry(o(), height)]) | |
307 | + | let aB = V() | |
308 | + | let T = aB._1 | |
309 | + | let aC = aB._2 | |
310 | + | let U = aB._3 | |
311 | + | let aD = [am, an, ao] | |
312 | + | let aE = if (if ((aa > aA)) | |
313 | + | then true | |
314 | + | else (an == max(aD))) | |
315 | + | then unit | |
316 | + | else if ((am == max(aD))) | |
317 | + | then T | |
318 | + | else U | |
319 | + | let aF = { | |
320 | + | let E = aE | |
321 | + | if ($isInstanceOf(E, "Int")) | |
322 | + | then { | |
323 | + | let aG = E | |
324 | + | invoke(A, "changeRatePerBlock", [aG], nil) | |
325 | + | } | |
326 | + | else unit | |
327 | + | } | |
328 | + | if ((aF == aF)) | |
329 | + | then [IntegerEntry(o(), height), StringEntry(p(), q("0", "0", "0"))] | |
330 | + | else throw("Strict value is not equal to itself.") | |
320 | 331 | } | |
321 | 332 | else throw("Strict value is not equal to itself.") | |
322 | 333 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "voting_emission_rate.ride" | |
7 | 7 | ||
8 | 8 | let c = makeString(["%s", "epochLength"], a) | |
9 | 9 | ||
10 | 10 | let d = makeString(["%s", "emissionContract"], a) | |
11 | 11 | ||
12 | 12 | let e = makeString(["%s", "boostingContract"], a) | |
13 | 13 | ||
14 | 14 | let f = makeString(["%s", "votingThreshold"], a) | |
15 | 15 | ||
16 | 16 | let g = makeString(["%s%s", "ratePerBlock", "current"], a) | |
17 | 17 | ||
18 | 18 | let h = makeString(["%s%s", "ratePerBlockMax", "current"], a) | |
19 | 19 | ||
20 | 20 | let i = makeString(["%s", "rateChangeStep"], a) | |
21 | 21 | ||
22 | 22 | func j (k) = throw(((b + ": ") + k)) | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func l (m) = valueOrErrorMessage(getString(this, m), (m + " is not defined")) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func n (m) = valueOrErrorMessage(getInteger(this, m), (m + " is not defined")) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func o () = makeString(["%s", "startHeight"], a) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func p () = makeString(["%s", "votingResult"], a) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func q (r,s,t) = makeString(["%d%d%d", r, s, t], a) | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func u (v) = makeString(["%s%s", "vote", v], a) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func w (x,y) = { | |
44 | 44 | let m = if ((y == 1)) | |
45 | 45 | then makeString(["%d%s", x, "increase"], a) | |
46 | 46 | else if ((y == -1)) | |
47 | 47 | then makeString(["%d%s", x, "decrease"], a) | |
48 | - | else makeString(["%d%s", x, " | |
48 | + | else makeString(["%d%s", x, "current"], a) | |
49 | 49 | m | |
50 | 50 | } | |
51 | 51 | ||
52 | 52 | ||
53 | 53 | let z = addressFromStringValue(l(e)) | |
54 | 54 | ||
55 | 55 | let A = addressFromStringValue(l(d)) | |
56 | 56 | ||
57 | 57 | func B () = "%s__managerPublicKey" | |
58 | 58 | ||
59 | 59 | ||
60 | 60 | func C () = "%s__managerVaultAddress" | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | func D () = { | |
64 | 64 | let E = getString(C()) | |
65 | 65 | if ($isInstanceOf(E, "String")) | |
66 | 66 | then { | |
67 | 67 | let k = E | |
68 | 68 | addressFromStringValue(k) | |
69 | 69 | } | |
70 | 70 | else this | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func F () = { | |
75 | 75 | let G = D() | |
76 | 76 | let E = getString(G, B()) | |
77 | 77 | if ($isInstanceOf(E, "String")) | |
78 | 78 | then { | |
79 | 79 | let k = E | |
80 | 80 | fromBase58String(k) | |
81 | 81 | } | |
82 | 82 | else if ($isInstanceOf(E, "Unit")) | |
83 | 83 | then unit | |
84 | 84 | else throw("Match error") | |
85 | 85 | } | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func H (I) = { | |
89 | 89 | let E = F() | |
90 | 90 | if ($isInstanceOf(E, "ByteVector")) | |
91 | 91 | then { | |
92 | 92 | let J = E | |
93 | 93 | (I.callerPublicKey == J) | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(E, "Unit")) | |
96 | 96 | then (I.caller == this) | |
97 | 97 | else throw("Match error") | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func K (I) = if (H(I)) | |
102 | 102 | then true | |
103 | 103 | else j("permission denied") | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func L (M) = { | |
107 | 107 | let E = M | |
108 | 108 | if ($isInstanceOf(E, "Int")) | |
109 | 109 | then { | |
110 | 110 | let N = E | |
111 | 111 | N | |
112 | 112 | } | |
113 | 113 | else j("failed to cast into Integer") | |
114 | 114 | } | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func O (P,Q,R) = { | |
118 | 118 | let S = fraction(100, P, 120) | |
119 | 119 | let T = min([fraction((100 + R), Q, 100), S]) | |
120 | 120 | let U = max([fraction((100 - R), Q, 100), 0]) | |
121 | 121 | $Tuple3(T, Q, U) | |
122 | 122 | } | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func V () = { | |
126 | 126 | let P = getIntegerValue(A, h) | |
127 | 127 | let Q = getIntegerValue(A, g) | |
128 | 128 | let W = getIntegerValue(this, i) | |
129 | 129 | O(P, Q, W) | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | @Callable(I) | |
134 | 134 | func constructor (X,Y,Z,aa,W) = { | |
135 | 135 | let ab = [if (isDefined(addressFromString(X))) | |
136 | 136 | then true | |
137 | 137 | else j("Invalid boosting contract address"), if (isDefined(addressFromString(Y))) | |
138 | 138 | then true | |
139 | 139 | else j("Invalid emission contract address"), if ((Z > 0)) | |
140 | 140 | then true | |
141 | 141 | else j("Invalid voting duration"), if ((aa > 0)) | |
142 | 142 | then true | |
143 | 143 | else j("invalid threshold"), if ((W > 0)) | |
144 | 144 | then true | |
145 | 145 | else j("invalid rateChangeStep")] | |
146 | 146 | if ((ab == ab)) | |
147 | 147 | then $Tuple2([StringEntry(e, X), StringEntry(d, Y), IntegerEntry(c, Z), IntegerEntry(f, aa), IntegerEntry(i, W), IntegerEntry(o(), height), StringEntry(p(), q("0", "0", "0"))], unit) | |
148 | 148 | else throw("Strict value is not equal to itself.") | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | ||
153 | 153 | @Callable(I) | |
154 | 154 | func getRateChangeAmountsREADONLY () = $Tuple2(nil, V()) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | ||
158 | 158 | @Callable(I) | |
159 | 159 | func vote (ac) = { | |
160 | 160 | let ad = (value(getInteger(o())) + value(getInteger(c))) | |
161 | 161 | let ab = [if ((ad > height)) | |
162 | 162 | then true | |
163 | 163 | else j("too late to vote"), if (containsElement([1, 0, -1], ac)) | |
164 | 164 | then true | |
165 | 165 | else j("not valid argument")] | |
166 | 166 | if ((ab == ab)) | |
167 | 167 | then { | |
168 | 168 | let x = invoke(z, "getUserGwxAmountAtHeightREADONLY", [toString(I.caller), ad], nil) | |
169 | 169 | let ae = if ((L(x) > 0)) | |
170 | 170 | then true | |
171 | 171 | else j("you don't have gwx") | |
172 | 172 | if ((ae == ae)) | |
173 | 173 | then { | |
174 | 174 | let y = { | |
175 | 175 | let E = getString(u(toString(I.caller))) | |
176 | 176 | if ($isInstanceOf(E, "String")) | |
177 | 177 | then { | |
178 | 178 | let k = E | |
179 | 179 | let y = split(k, a) | |
180 | 180 | let af = y[1] | |
181 | 181 | let ag = y[2] | |
182 | 182 | let ah = if (if (if ((ag == "increase")) | |
183 | 183 | then (ac == 1) | |
184 | 184 | else false) | |
185 | 185 | then true | |
186 | 186 | else if ((ag == "decrease")) | |
187 | 187 | then (ac == -1) | |
188 | 188 | else false) | |
189 | 189 | then true | |
190 | - | else if ((ag == " | |
190 | + | else if ((ag == "current")) | |
191 | 191 | then (ac == 0) | |
192 | 192 | else false | |
193 | 193 | let ai = if (ah) | |
194 | 194 | then (L(x) == parseIntValue(af)) | |
195 | 195 | else false | |
196 | 196 | let aj = if (if (ah) | |
197 | 197 | then ai | |
198 | 198 | else false) | |
199 | 199 | then j("you already voted") | |
200 | 200 | else invoke(this, "cancelVote", nil, nil) | |
201 | 201 | aj | |
202 | 202 | } | |
203 | 203 | else if ($isInstanceOf(E, "Unit")) | |
204 | 204 | then { | |
205 | 205 | let ak = E | |
206 | 206 | ak | |
207 | 207 | } | |
208 | 208 | else throw("Match error") | |
209 | 209 | } | |
210 | 210 | if ((y == y)) | |
211 | 211 | then { | |
212 | 212 | let al = split(value(getString(p())), a) | |
213 | 213 | let am = al[1] | |
214 | 214 | let an = al[2] | |
215 | 215 | let ao = al[3] | |
216 | 216 | let ap = if ((ac == 1)) | |
217 | 217 | then { | |
218 | 218 | let aq = (parseIntValue(am) + L(x)) | |
219 | 219 | [toString(aq), an, ao] | |
220 | 220 | } | |
221 | 221 | else if ((ac == -1)) | |
222 | 222 | then { | |
223 | 223 | let ar = (parseIntValue(an) + L(x)) | |
224 | 224 | [am, an, toString(ar)] | |
225 | 225 | } | |
226 | 226 | else { | |
227 | 227 | let as = (parseIntValue(an) + L(x)) | |
228 | 228 | [am, toString(as), ao] | |
229 | 229 | } | |
230 | 230 | let at = u(toString(I.caller)) | |
231 | 231 | let af = w(toString(L(x)), ac) | |
232 | 232 | $Tuple2([StringEntry(p(), q(ap[0], ap[1], ap[2])), StringEntry(at, af)], unit) | |
233 | 233 | } | |
234 | 234 | else throw("Strict value is not equal to itself.") | |
235 | 235 | } | |
236 | 236 | else throw("Strict value is not equal to itself.") | |
237 | 237 | } | |
238 | 238 | else throw("Strict value is not equal to itself.") | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | ||
243 | 243 | @Callable(I) | |
244 | 244 | func cancelVote () = { | |
245 | 245 | let au = if ((I.caller == this)) | |
246 | 246 | then toString(I.originCaller) | |
247 | 247 | else toString(I.caller) | |
248 | 248 | let ab = [if (isDefined(getString(p()))) | |
249 | 249 | then true | |
250 | 250 | else j("no vote")] | |
251 | 251 | if ((ab == ab)) | |
252 | 252 | then { | |
253 | 253 | let y = split(value(getString(u(au))), a) | |
254 | 254 | let af = y[1] | |
255 | 255 | let ag = y[2] | |
256 | 256 | let al = split(value(getString(p())), a) | |
257 | 257 | let am = al[1] | |
258 | 258 | let an = al[2] | |
259 | 259 | let ao = al[3] | |
260 | 260 | let av = if ((ag == "increase")) | |
261 | 261 | then { | |
262 | 262 | let aw = (parseIntValue(am) - parseIntValue(af)) | |
263 | 263 | $Tuple2([StringEntry(p(), q(toString(aw), an, ao)), DeleteEntry(u(au))], unit) | |
264 | 264 | } | |
265 | 265 | else if ((ag == "decrease")) | |
266 | 266 | then { | |
267 | 267 | let ax = (parseIntValue(ao) - parseIntValue(af)) | |
268 | 268 | $Tuple2([StringEntry(p(), q(am, an, toString(ax))), DeleteEntry(u(au))], unit) | |
269 | 269 | } | |
270 | 270 | else { | |
271 | - | let | |
272 | - | $Tuple2([StringEntry(p(), q(am, toString( | |
271 | + | let ay = (parseIntValue(an) - parseIntValue(af)) | |
272 | + | $Tuple2([StringEntry(p(), q(am, toString(ay), ao)), DeleteEntry(u(au))], unit) | |
273 | 273 | } | |
274 | 274 | av | |
275 | 275 | } | |
276 | 276 | else throw("Strict value is not equal to itself.") | |
277 | 277 | } | |
278 | 278 | ||
279 | 279 | ||
280 | 280 | ||
281 | 281 | @Callable(I) | |
282 | - | func setThreshold ( | |
283 | - | let ab = [K(I), if (( | |
282 | + | func setThreshold (az) = { | |
283 | + | let ab = [K(I), if ((az > 0)) | |
284 | 284 | then true | |
285 | 285 | else j("invalid threshold")] | |
286 | 286 | if ((ab == ab)) | |
287 | - | then $Tuple2([IntegerEntry(f, | |
287 | + | then $Tuple2([IntegerEntry(f, az)], unit) | |
288 | 288 | else throw("Strict value is not equal to itself.") | |
289 | 289 | } | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | ||
293 | 293 | @Callable(I) | |
294 | 294 | func finalize () = { | |
295 | 295 | let ad = (value(getInteger(o())) + value(getInteger(c))) | |
296 | 296 | let ab = [if ((height >= ad)) | |
297 | 297 | then true | |
298 | 298 | else j("insufficient height for completion")] | |
299 | 299 | if ((ab == ab)) | |
300 | 300 | then { | |
301 | 301 | let al = split(value(getString(p())), a) | |
302 | 302 | let am = parseIntValue(al[1]) | |
303 | 303 | let an = parseIntValue(al[2]) | |
304 | 304 | let ao = parseIntValue(al[3]) | |
305 | - | let | |
305 | + | let aA = ((am + an) + ao) | |
306 | 306 | let aa = n(f) | |
307 | - | let aA = V() | |
308 | - | let T = aA._1 | |
309 | - | let aB = aA._2 | |
310 | - | let U = aA._3 | |
311 | - | let aC = [am, an, ao] | |
312 | - | let av = if ((aa > az)) | |
313 | - | then nil | |
314 | - | else if ((an == max(aC))) | |
315 | - | then [StringEntry("foo", "NONE"), IntegerEntry("bar", aB)] | |
316 | - | else if ((am == max(aC))) | |
317 | - | then [StringEntry("foo", "INC"), IntegerEntry("bar", T)] | |
318 | - | else [StringEntry("foo", "DEC"), IntegerEntry("bar", U)] | |
319 | - | (av ++ [IntegerEntry(o(), height)]) | |
307 | + | let aB = V() | |
308 | + | let T = aB._1 | |
309 | + | let aC = aB._2 | |
310 | + | let U = aB._3 | |
311 | + | let aD = [am, an, ao] | |
312 | + | let aE = if (if ((aa > aA)) | |
313 | + | then true | |
314 | + | else (an == max(aD))) | |
315 | + | then unit | |
316 | + | else if ((am == max(aD))) | |
317 | + | then T | |
318 | + | else U | |
319 | + | let aF = { | |
320 | + | let E = aE | |
321 | + | if ($isInstanceOf(E, "Int")) | |
322 | + | then { | |
323 | + | let aG = E | |
324 | + | invoke(A, "changeRatePerBlock", [aG], nil) | |
325 | + | } | |
326 | + | else unit | |
327 | + | } | |
328 | + | if ((aF == aF)) | |
329 | + | then [IntegerEntry(o(), height), StringEntry(p(), q("0", "0", "0"))] | |
330 | + | else throw("Strict value is not equal to itself.") | |
320 | 331 | } | |
321 | 332 | else throw("Strict value is not equal to itself.") | |
322 | 333 | } | |
323 | 334 | ||
324 | 335 |
github/deemru/w8io/169f3d6 62.57 ms ◑