tx · H1K2u4rQ2pRmD3uGHNEUoJimbdsBVXhfL6seYoYTnzkv 3Mp3nG9T5fKGziHW8mcCqx3jMFx3towh3WA: -0.02100000 Waves 2022.12.09 14:18 [2352704] smart account 3Mp3nG9T5fKGziHW8mcCqx3jMFx3towh3WA > SELF 0.00000000 Waves
{ "type": 13, "id": "H1K2u4rQ2pRmD3uGHNEUoJimbdsBVXhfL6seYoYTnzkv", "fee": 2100000, "feeAssetId": null, "timestamp": 1670584711514, "version": 1, "sender": "3Mp3nG9T5fKGziHW8mcCqx3jMFx3towh3WA", "senderPublicKey": "D46gQxzmdzdCTYRg6dMcwFoUrc6ZmxF6GKd5ZoTkvzp1", "proofs": [ "4xMHEzXi2M7ywA4VDodDUFaev7UN4Mv8FvUAeBzr2WnkbQNF1PvFZfR5ssPh7FpFSpJiDp97JCVqCSsj5frwkb5g" ], "script": "base64:BgLFEwgCEgMKAQgSABIECgIIARIHCgUICAgIARIECgIICBIFCgMICAESBAoCCAgSAwoBARIDCgEBEgQKAggIEgQKAggEEgASAwoBARIAEgQKAggIEgQKAggIEgQKAggIIglzZXBhcmF0b3IiDnBvb2xXZWlnaHRNdWx0Ig9tYXhEZXB0aERlZmF1bHQiFmZpbmFsaXphdGlvblN0YWdlVG90YWwiF2ZpbmFsaXphdGlvblN0YWdlU2hhcmVzIg5rZXlFcG9jaExlbmd0aCIPa2V5Q3VycmVudEVwb2NoIgtrZXlNYXhEZXB0aCIia2V5Vm90aW5nRW1pc3Npb25DYW5kaWRhdGVDb250cmFjdCISa2V5RmFjdG9yeUNvbnRyYWN0IhNrZXlCb29zdGluZ0NvbnRyYWN0IhJrZXlTdGFraW5nQ29udHJhY3QiFGtleUZpbmFsaXphdGlvblN0YWdlIgtrZXlOZXh0UG9vbCILa2V5TmV4dFVzZXIiDmtleVN0YXJ0SGVpZ2h0IhFrZXlDdXJyZW50RXBvY2hVaSIQa2V5U3RhcnRIZWlnaHRVaSIda2V5RmluYWxpemF0aW9uU2hvdWxkQmV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bGYuCQCUCgIFA25pbAUEdW5pdAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgJhSwEIZmluYWxpemUABAJjZQkA/AcEBQR0aGlzAg9maW5hbGl6ZVdyYXBwZXIJAMwIAgAABQNuaWwFA25pbAMJAAACBQJjZQUCY2UJAJQKAgUDbmlsBQR1bml0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAmFLARRjb250YWluc05vZGVSRUFET05MWQICYXACYXQJAJQKAgUDbmlsCQECYXYCBQJhcAUCYXQCYUsBCmluc2VydE5vZGUCAmFwAmF0BAJhTwkBAmFMAQUCYUsDCQAAAgUCYU8FAmFPCQCUCgIJAQJhegIFAmFwBQJhdAUEdW5pdAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgJhSwEKZGVsZXRlTm9kZQICYXACYXQEAmFPCQECYUwBBQJhSwMJAAACBQJhTwUCYU8JAJQKAgkBAmFDAgUCYXAFAmF0BQR1bml0CQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJjZgECY2cABAJjaAQBTwkBAmFGAAMJAAECBQFPAgpCeXRlVmVjdG9yBAJhTQUBTwUCYU0DCQABAgUBTwIEVW5pdAgFAmNmD3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJjZglib2R5Qnl0ZXMJAJEDAggFAmNmBnByb29mcwAABQJjaE88kmM=", "chainId": 84, "height": 2352704, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CTRfpKuBhPrSohAaLoopKiyvAn2htBoPoc2NepCTSjXs Next: Bjrq5ZKKTXBH7kVYjFrqip8Zue5XQsyunE7JCEV1FkxF Full:
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 = 100000000 | |
7 | 7 | ||
8 | 8 | let c = 10 | |
9 | 9 | ||
10 | 10 | let d = 0 | |
11 | 11 | ||
12 | 12 | let e = 1 | |
13 | 13 | ||
14 | 14 | let f = makeString(["%s", "epochLength"], a) | |
15 | 15 | ||
16 | 16 | let g = makeString(["%s", "currentEpoch"], a) | |
17 | 17 | ||
18 | 18 | let h = makeString(["%s", "maxDepth"], a) | |
19 | 19 | ||
20 | 20 | let i = makeString(["%s", "votingEmissionCandidateContract"], a) | |
21 | 21 | ||
22 | 22 | let j = makeString(["%s", "factoryContract"], a) | |
23 | 23 | ||
24 | 24 | let k = makeString(["%s", "boostingContract"], a) | |
25 | 25 | ||
26 | 26 | let l = makeString(["%s", "stakingContract"], a) | |
27 | 27 | ||
28 | 28 | let m = makeString(["%s", "finalizationStage"], a) | |
29 | 29 | ||
30 | 30 | let n = makeString(["%s", "nextPool"], a) | |
31 | 31 | ||
32 | 32 | let o = makeString(["%s", "nextUser"], a) | |
33 | 33 | ||
34 | 34 | let p = makeString(["%s", "startHeight"], a) | |
35 | 35 | ||
36 | 36 | let q = makeString(["%s", "currentEpochUi"], a) | |
37 | 37 | ||
38 | 38 | let r = makeString(["%s", "startHeightUi"], a) | |
39 | 39 | ||
40 | 40 | let s = makeString(["%s", "force"], a) | |
41 | 41 | ||
42 | 42 | func t (u) = makeString(["%s%d", "startHeight", toString(u)], a) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func v (u) = makeString(["%s%d", "finalized", toString(u)], a) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func w (x) = { | |
49 | 49 | let y = x | |
50 | 50 | let z = y._1 | |
51 | 51 | let A = y._2 | |
52 | 52 | makeString(["%s%s%s", "inList", z, A], a) | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func B (C,u) = makeString(["%s%s%d", "used", toString(C), toString(u)], a) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func D (x,C,u) = { | |
60 | 60 | let E = x | |
61 | 61 | let z = E._1 | |
62 | 62 | let A = E._2 | |
63 | 63 | makeString(["%s%s%s%s%d", "vote", z, A, toString(C), toString(u)], a) | |
64 | 64 | } | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func F (x,u) = { | |
68 | 68 | let G = x | |
69 | 69 | let z = G._1 | |
70 | 70 | let A = G._2 | |
71 | 71 | makeString(["%s%s%s%d", "votingResult", z, A, toString(u)], a) | |
72 | 72 | } | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func H (x,u) = { | |
76 | 76 | let I = x | |
77 | 77 | let z = I._1 | |
78 | 78 | let A = I._2 | |
79 | 79 | makeString(["%s%s%s%d", "poolShare", z, A, toString(u)], a) | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func J (u) = makeString(["%s%d", "totalVotes", toString(u)], a) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func K (C,L,M) = { | |
87 | 87 | let N = makeString(["mandatory ", toString(C), ".", L, " is not defined"], "") | |
88 | 88 | valueOrErrorMessage({ | |
89 | 89 | let O = M | |
90 | 90 | if ($isInstanceOf(O, "String")) | |
91 | 91 | then { | |
92 | 92 | let P = O | |
93 | 93 | getString(C, L) | |
94 | 94 | } | |
95 | 95 | else if ($isInstanceOf(O, "Int")) | |
96 | 96 | then { | |
97 | 97 | let Q = O | |
98 | 98 | getInteger(C, L) | |
99 | 99 | } | |
100 | 100 | else throw("invalid entry type") | |
101 | 101 | }, N) | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func R (C,L) = { | |
106 | 106 | let S = K(C, L, "") | |
107 | 107 | if ($isInstanceOf(S, "String")) | |
108 | 108 | then S | |
109 | 109 | else throw(($getType(S) + " couldn't be cast to String")) | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func T (C,L) = { | |
114 | 114 | let S = K(C, L, 0) | |
115 | 115 | if ($isInstanceOf(S, "Int")) | |
116 | 116 | then S | |
117 | 117 | else throw(($getType(S) + " couldn't be cast to Int")) | |
118 | 118 | } | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func U (x) = ((x._1 + a) + x._2) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func V (P) = { | |
125 | 125 | let W = split(P, a) | |
126 | 126 | if ((size(W) == 2)) | |
127 | 127 | then $Tuple2(W[0], W[1]) | |
128 | 128 | else throw("invalid pool string") | |
129 | 129 | } | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func X (z,A) = { | |
133 | 133 | func Y (Z) = ("%s%s%s__mappings__baseAsset2internalId__" + Z) | |
134 | 134 | ||
135 | 135 | func aa (ab,ac) = (((("%d%d%s%s__" + toString(ab)) + "__") + toString(ac)) + "__mappings__poolAssets2PoolContract") | |
136 | 136 | ||
137 | 137 | func ad (ae) = (("%s%s%s__" + ae) + "__mappings__poolContract2LpAsset") | |
138 | 138 | ||
139 | 139 | let af = addressFromStringValue(R(this, j)) | |
140 | 140 | let ag = T(af, Y(z)) | |
141 | 141 | let ah = T(af, Y(A)) | |
142 | 142 | let ae = R(af, aa(ag, ah)) | |
143 | 143 | let ai = R(af, ad(ae)) | |
144 | 144 | ai | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func aj (x) = { | |
149 | 149 | let ak = x | |
150 | 150 | let z = ak._1 | |
151 | 151 | let A = ak._2 | |
152 | 152 | let af = addressFromStringValue(R(this, j)) | |
153 | 153 | let S = invoke(af, "checkWxEmissionPoolLabel", [z, A], nil) | |
154 | 154 | if ($isInstanceOf(S, "Boolean")) | |
155 | 155 | then S | |
156 | 156 | else throw(($getType(S) + " couldn't be cast to Boolean")) | |
157 | 157 | } | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | let al = "pools" | |
161 | 161 | ||
162 | 162 | func am (x) = { | |
163 | 163 | let an = x | |
164 | 164 | let z = an._1 | |
165 | 165 | let A = an._2 | |
166 | 166 | makeString(["votes", z, A], a) | |
167 | 167 | } | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func ao (ap) = { | |
171 | 171 | let aq = if ((ap == al)) | |
172 | 172 | then "%s%s" | |
173 | 173 | else "%s%s%s%s" | |
174 | 174 | makeString([aq, ap, "head"], a) | |
175 | 175 | } | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func ar (ap) = { | |
179 | 179 | let aq = if ((ap == al)) | |
180 | 180 | then "%s%s" | |
181 | 181 | else "%s%s%s%s" | |
182 | 182 | makeString([aq, ap, "size"], a) | |
183 | 183 | } | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func as (ap,at) = { | |
187 | 187 | let aq = if ((ap == al)) | |
188 | 188 | then "%s%s%s%s" | |
189 | 189 | else "%s%s%s%s%s" | |
190 | 190 | makeString([aq, ap, at, "prev"], a) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func au (ap,at) = { | |
195 | 195 | let aq = if ((ap == al)) | |
196 | 196 | then "%s%s%s%s" | |
197 | 197 | else "%s%s%s%s%s" | |
198 | 198 | makeString([aq, ap, at, "next"], a) | |
199 | 199 | } | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func av (ap,at) = { | |
203 | 203 | let aw = getString(this, ao(ap)) | |
204 | 204 | let ax = getString(this, as(ap, at)) | |
205 | 205 | let ay = getString(this, au(ap, at)) | |
206 | 206 | if (if ((at == valueOrElse(aw, ""))) | |
207 | 207 | then true | |
208 | 208 | else (ax != unit)) | |
209 | 209 | then true | |
210 | 210 | else (ay != unit) | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func az (ap,at) = { | |
215 | 215 | let aw = getString(this, ao(ap)) | |
216 | 216 | let aA = valueOrElse(getInteger(this, ar(ap)), 0) | |
217 | 217 | let aB = if (!(av(ap, at))) | |
218 | 218 | then true | |
219 | 219 | else throw("Node exists") | |
220 | 220 | if ((aB == aB)) | |
221 | 221 | then (([IntegerEntry(ar(ap), (aA + 1))] ++ (if ((aw != unit)) | |
222 | 222 | then [StringEntry(au(ap, at), value(aw)), StringEntry(as(ap, value(aw)), at)] | |
223 | 223 | else nil)) ++ [StringEntry(ao(ap), at)]) | |
224 | 224 | else throw("Strict value is not equal to itself.") | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func aC (ap,at) = { | |
229 | 229 | let aw = getString(this, ao(ap)) | |
230 | 230 | let aA = valueOrElse(getInteger(this, ar(ap)), 0) | |
231 | 231 | let ax = getString(this, as(ap, at)) | |
232 | 232 | let ay = getString(this, au(ap, at)) | |
233 | 233 | ([IntegerEntry(ar(ap), (aA - 1))] ++ (if (if ((ax != unit)) | |
234 | 234 | then (ay != unit) | |
235 | 235 | else false) | |
236 | 236 | then [StringEntry(au(ap, value(ax)), value(ay)), StringEntry(as(ap, value(ay)), value(ax)), DeleteEntry(as(ap, at)), DeleteEntry(au(ap, at))] | |
237 | 237 | else if ((ay != unit)) | |
238 | 238 | then [StringEntry(ao(ap), value(ay)), DeleteEntry(au(ap, at)), DeleteEntry(as(ap, value(ay)))] | |
239 | 239 | else if ((ax != unit)) | |
240 | 240 | then [DeleteEntry(as(ap, at)), DeleteEntry(au(ap, value(ax)))] | |
241 | 241 | else if ((at == valueOrElse(aw, ""))) | |
242 | 242 | then [DeleteEntry(ao(ap))] | |
243 | 243 | else throw(((("invalid node: " + ap) + ".") + at)))) | |
244 | 244 | } | |
245 | 245 | ||
246 | 246 | ||
247 | 247 | func aD () = "%s__managerPublicKey" | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func aE () = "%s__pendingManagerPublicKey" | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func aF () = { | |
254 | 254 | let O = getString(aD()) | |
255 | 255 | if ($isInstanceOf(O, "String")) | |
256 | 256 | then { | |
257 | 257 | let aG = O | |
258 | 258 | fromBase58String(aG) | |
259 | 259 | } | |
260 | 260 | else if ($isInstanceOf(O, "Unit")) | |
261 | 261 | then unit | |
262 | 262 | else throw("Match error") | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func aH () = { | |
267 | 267 | let O = getString(aE()) | |
268 | 268 | if ($isInstanceOf(O, "String")) | |
269 | 269 | then { | |
270 | 270 | let aG = O | |
271 | 271 | fromBase58String(aG) | |
272 | 272 | } | |
273 | 273 | else if ($isInstanceOf(O, "Unit")) | |
274 | 274 | then unit | |
275 | 275 | else throw("Match error") | |
276 | 276 | } | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | let aI = throw("Permission denied") | |
280 | 280 | ||
281 | 281 | func aJ (aK) = if ((aK.caller == this)) | |
282 | 282 | then true | |
283 | 283 | else aI | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | func aL (aK) = { | |
287 | 287 | let O = aF() | |
288 | 288 | if ($isInstanceOf(O, "ByteVector")) | |
289 | 289 | then { | |
290 | 290 | let aM = O | |
291 | 291 | if ((aK.callerPublicKey == aM)) | |
292 | 292 | then true | |
293 | 293 | else aI | |
294 | 294 | } | |
295 | 295 | else if ($isInstanceOf(O, "Unit")) | |
296 | 296 | then aJ(aK) | |
297 | 297 | else throw("Match error") | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | @Callable(aK) | |
302 | 302 | func setManager (aN) = { | |
303 | 303 | let aO = aL(aK) | |
304 | 304 | if ((aO == aO)) | |
305 | 305 | then { | |
306 | 306 | let aP = fromBase58String(aN) | |
307 | 307 | if ((aP == aP)) | |
308 | 308 | then [StringEntry(aE(), aN)] | |
309 | 309 | else throw("Strict value is not equal to itself.") | |
310 | 310 | } | |
311 | 311 | else throw("Strict value is not equal to itself.") | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | ||
316 | 316 | @Callable(aK) | |
317 | 317 | func confirmManager () = { | |
318 | 318 | let aQ = aH() | |
319 | 319 | let aR = if (isDefined(aQ)) | |
320 | 320 | then true | |
321 | 321 | else throw("No pending manager") | |
322 | 322 | if ((aR == aR)) | |
323 | 323 | then { | |
324 | 324 | let aS = if ((aK.callerPublicKey == value(aQ))) | |
325 | 325 | then true | |
326 | 326 | else throw("You are not pending manager") | |
327 | 327 | if ((aS == aS)) | |
328 | 328 | then [StringEntry(aD(), toBase58String(value(aQ))), DeleteEntry(aE())] | |
329 | 329 | else throw("Strict value is not equal to itself.") | |
330 | 330 | } | |
331 | 331 | else throw("Strict value is not equal to itself.") | |
332 | 332 | } | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | ||
336 | 336 | @Callable(aK) | |
337 | 337 | func getUserGwxAmountAtHeight (aT,aU) = { | |
338 | 338 | let aV = valueOrErrorMessage(addressFromString(R(this, k)), "invalid boosting contract address") | |
339 | 339 | $Tuple2(nil, { | |
340 | 340 | let S = invoke(aV, "getUserGwxAmountAtHeightREADONLY", [aT, aU], nil) | |
341 | 341 | if ($isInstanceOf(S, "Int")) | |
342 | 342 | then S | |
343 | 343 | else throw(($getType(S) + " couldn't be cast to Int")) | |
344 | 344 | }) | |
345 | 345 | } | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | ||
349 | 349 | @Callable(aK) | |
350 | 350 | func constructor (af,aW,aX,aY,aZ) = { | |
351 | 351 | let ba = [aL(aK), if ((addressFromString(af) != unit)) | |
352 | 352 | then true | |
353 | 353 | else "invalid factory contract address", if ((addressFromString(aW) != unit)) | |
354 | 354 | then true | |
355 | 355 | else "invalid voting emission candidate contract address", if ((addressFromString(aX) != unit)) | |
356 | 356 | then true | |
357 | 357 | else "invalid boosting contract address", if ((addressFromString(aY) != unit)) | |
358 | 358 | then true | |
359 | 359 | else "invalid staking contract address", if ((aZ > 0)) | |
360 | 360 | then true | |
361 | 361 | else throw("invalid epoch length")] | |
362 | 362 | if ((ba == ba)) | |
363 | 363 | then $Tuple2([StringEntry(j, af), StringEntry(i, aW), StringEntry(k, aX), StringEntry(l, aY), IntegerEntry(f, aZ)], unit) | |
364 | 364 | else throw("Strict value is not equal to itself.") | |
365 | 365 | } | |
366 | 366 | ||
367 | 367 | ||
368 | 368 | ||
369 | 369 | @Callable(aK) | |
370 | 370 | func create (z,A) = { | |
371 | 371 | let ba = [if ((toBase58String(aK.caller.bytes) == valueOrElse(getString(this, i), ""))) | |
372 | 372 | then true | |
373 | 373 | else aL(aK)] | |
374 | 374 | if ((ba == ba)) | |
375 | 375 | then { | |
376 | 376 | let x = $Tuple2(z, A) | |
377 | 377 | let bb = ([BooleanEntry(w(x), true)] ++ az(al, U(x))) | |
378 | 378 | let bc = (getInteger(this, g) == unit) | |
379 | 379 | let bd = if (bc) | |
380 | 380 | then { | |
381 | 381 | let u = 0 | |
382 | 382 | [IntegerEntry(g, u), IntegerEntry(t(u), height), IntegerEntry(p, height), IntegerEntry(q, u), IntegerEntry(r, height)] | |
383 | 383 | } | |
384 | 384 | else nil | |
385 | 385 | $Tuple2((bb ++ bd), unit) | |
386 | 386 | } | |
387 | 387 | else throw("Strict value is not equal to itself.") | |
388 | 388 | } | |
389 | 389 | ||
390 | 390 | ||
391 | 391 | ||
392 | 392 | @Callable(aK) | |
393 | 393 | func vote (z,A,be) = { | |
394 | 394 | let x = $Tuple2(z, A) | |
395 | 395 | let u = valueOrElse(getInteger(this, g), 0) | |
396 | 396 | let bf = T(this, t(u)) | |
397 | 397 | let aZ = T(this, f) | |
398 | 398 | let bg = (bf + aZ) | |
399 | 399 | let bh = getInteger(this, m) | |
400 | 400 | let bi = valueOrElse(getInteger(this, B(aK.caller, u)), 0) | |
401 | 401 | let bj = valueOrElse(getInteger(this, D(x, aK.caller, u)), 0) | |
402 | 402 | let bk = valueOrElse(getInteger(this, F(x, u)), 0) | |
403 | 403 | let bl = valueOrElse(getInteger(this, J(u)), 0) | |
404 | 404 | let bm = { | |
405 | 405 | let S = invoke(this, "getUserGwxAmountAtHeight", [toBase58String(aK.caller.bytes), bg], nil) | |
406 | 406 | if ($isInstanceOf(S, "Int")) | |
407 | 407 | then S | |
408 | 408 | else throw(($getType(S) + " couldn't be cast to Int")) | |
409 | 409 | } | |
410 | 410 | let bn = (bm - bi) | |
411 | 411 | let bo = (bj + be) | |
412 | 412 | let bp = aj(x) | |
413 | 413 | let ba = [if ((getBoolean(w(x)) != unit)) | |
414 | 414 | then true | |
415 | 415 | else throw("invalid assets"), if ((bg > height)) | |
416 | 416 | then true | |
417 | 417 | else throw("invalid height"), if ((bh == unit)) | |
418 | 418 | then true | |
419 | 419 | else throw("finalization in progress"), if ((bm > 0)) | |
420 | 420 | then true | |
421 | 421 | else throw("you do not have gWX"), if (if ((be > 0)) | |
422 | 422 | then (bn >= be) | |
423 | 423 | else false) | |
424 | 424 | then true | |
425 | 425 | else throw("invalid amount"), if (bp) | |
426 | 426 | then true | |
427 | 427 | else throw("pool hasn't WX_EMISSION label")] | |
428 | 428 | if ((ba == ba)) | |
429 | 429 | then { | |
430 | 430 | let bq = am(x) | |
431 | 431 | let br = toString(aK.caller) | |
432 | 432 | let bs = if (av(bq, br)) | |
433 | 433 | then nil | |
434 | 434 | else az(bq, br) | |
435 | 435 | $Tuple2(([IntegerEntry(B(aK.caller, u), (bi + be)), IntegerEntry(D(x, aK.caller, u), bo), IntegerEntry(F(x, u), (bk + be)), IntegerEntry(J(u), (bl + be))] ++ bs), unit) | |
436 | 436 | } | |
437 | 437 | else throw("Strict value is not equal to itself.") | |
438 | 438 | } | |
439 | 439 | ||
440 | 440 | ||
441 | 441 | ||
442 | 442 | @Callable(aK) | |
443 | 443 | func cancelVote (z,A) = { | |
444 | 444 | let x = $Tuple2(z, A) | |
445 | 445 | let u = valueOrElse(getInteger(this, g), 0) | |
446 | 446 | let bf = T(this, t(u)) | |
447 | 447 | let aZ = T(this, f) | |
448 | 448 | let bg = (bf + aZ) | |
449 | 449 | let bh = getInteger(this, m) | |
450 | 450 | let bi = valueOrElse(getInteger(this, B(aK.caller, u)), 0) | |
451 | 451 | let bj = valueOrElse(getInteger(this, D(x, aK.caller, u)), 0) | |
452 | 452 | let bk = valueOrElse(getInteger(this, F(x, u)), 0) | |
453 | 453 | let bl = valueOrElse(getInteger(this, J(u)), 0) | |
454 | 454 | let ba = [if ((getBoolean(w(x)) != unit)) | |
455 | 455 | then true | |
456 | 456 | else throw("invalid assets"), if ((bg > height)) | |
457 | 457 | then true | |
458 | 458 | else throw("invalid height"), if ((bh == unit)) | |
459 | 459 | then true | |
460 | 460 | else throw("finalization in progress"), if ((bj > 0)) | |
461 | 461 | then true | |
462 | 462 | else throw("no vote")] | |
463 | 463 | if ((ba == ba)) | |
464 | 464 | then { | |
465 | 465 | let bq = am(x) | |
466 | 466 | let br = toString(aK.caller) | |
467 | 467 | $Tuple2(([IntegerEntry(B(aK.caller, u), max([(bi - bj), 0])), DeleteEntry(D(x, aK.caller, u)), IntegerEntry(F(x, u), (bk - bj)), IntegerEntry(J(u), (bl - bj))] ++ aC(bq, br)), unit) | |
468 | 468 | } | |
469 | 469 | else throw("Strict value is not equal to itself.") | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | ||
474 | 474 | @Callable(aK) | |
475 | 475 | func setEpochLength (bt) = { | |
476 | 476 | let ba = [aL(aK), if ((bt > 0)) | |
477 | 477 | then true | |
478 | 478 | else throw("invalid epoch length")] | |
479 | 479 | if ((ba == ba)) | |
480 | 480 | then $Tuple2([IntegerEntry(f, bt)], unit) | |
481 | 481 | else throw("Strict value is not equal to itself.") | |
482 | 482 | } | |
483 | 483 | ||
484 | 484 | ||
485 | 485 | ||
486 | 486 | @Callable(aK) | |
487 | 487 | func setMaxDepth (bu) = { | |
488 | 488 | let ba = [aL(aK), if ((bu > 0)) | |
489 | 489 | then true | |
490 | 490 | else throw("invalid max depth")] | |
491 | 491 | if ((ba == ba)) | |
492 | 492 | then $Tuple2([IntegerEntry(h, bu)], unit) | |
493 | 493 | else throw("Strict value is not equal to itself.") | |
494 | 494 | } | |
495 | 495 | ||
496 | 496 | ||
497 | 497 | ||
498 | 498 | @Callable(aK) | |
499 | 499 | func processVoteINTERNAL (bv,br) = { | |
500 | 500 | let aO = aJ(aK) | |
501 | 501 | if ((aO == aO)) | |
502 | 502 | then { | |
503 | 503 | let aT = valueOrErrorMessage(addressFromString(br), ("processVoteINTERNAL: invalid user address " + br)) | |
504 | 504 | let u = T(this, g) | |
505 | 505 | let bw = (u - 1) | |
506 | 506 | let aZ = T(this, f) | |
507 | 507 | let bf = T(this, t(u)) | |
508 | 508 | let bg = (bf + aZ) | |
509 | 509 | let bx = T(this, t(bw)) | |
510 | 510 | let by = (bx + aZ) | |
511 | 511 | let bz = if ((bw >= 0)) | |
512 | 512 | then true | |
513 | 513 | else throw("processVoteINTERNAL: invalid previous epoch") | |
514 | 514 | if ((bz == bz)) | |
515 | 515 | then { | |
516 | 516 | let x = V(bv) | |
517 | 517 | let bA = x | |
518 | 518 | let z = bA._1 | |
519 | 519 | let A = bA._2 | |
520 | 520 | let bp = aj(x) | |
521 | 521 | let bm = { | |
522 | 522 | let S = invoke(this, "getUserGwxAmountAtHeight", [br, bg], nil) | |
523 | 523 | if ($isInstanceOf(S, "Int")) | |
524 | 524 | then S | |
525 | 525 | else throw(($getType(S) + " couldn't be cast to Int")) | |
526 | 526 | } | |
527 | 527 | let bB = { | |
528 | 528 | let S = invoke(this, "getUserGwxAmountAtHeight", [br, by], nil) | |
529 | 529 | if ($isInstanceOf(S, "Int")) | |
530 | 530 | then S | |
531 | 531 | else throw(($getType(S) + " couldn't be cast to Int")) | |
532 | 532 | } | |
533 | 533 | let bl = valueOrElse(getInteger(J(u)), 0) | |
534 | 534 | let bC = valueOrElse(getInteger(F(x, u)), 0) | |
535 | 535 | let bD = valueOrErrorMessage(getInteger(D(x, aT, bw)), (((("processVoteINTERNAL " + bv) + " ") + br) + ": no previous vote")) | |
536 | 536 | let bi = valueOrElse(getInteger(this, B(aT, u)), 0) | |
537 | 537 | let bo = if ((bB > 0)) | |
538 | 538 | then fraction(bD, bm, bB) | |
539 | 539 | else 0 | |
540 | 540 | let bE = if (if ((bo > 0)) | |
541 | 541 | then bp | |
542 | 542 | else false) | |
543 | 543 | then [IntegerEntry(D(x, aT, u), bo), IntegerEntry(J(u), (bl + bo)), IntegerEntry(F(x, u), (bC + bo)), IntegerEntry(B(aT, u), (bi + bo))] | |
544 | 544 | else aC(am(x), br) | |
545 | 545 | $Tuple2(bE, unit) | |
546 | 546 | } | |
547 | 547 | else throw("Strict value is not equal to itself.") | |
548 | 548 | } | |
549 | 549 | else throw("Strict value is not equal to itself.") | |
550 | 550 | } | |
551 | 551 | ||
552 | 552 | ||
553 | 553 | ||
554 | 554 | @Callable(aK) | |
555 | 555 | func processPoolINTERNAL (bv,bF) = { | |
556 | 556 | let aO = aJ(aK) | |
557 | 557 | if ((aO == aO)) | |
558 | 558 | then { | |
559 | 559 | let bG = { | |
560 | 560 | let bH = T(this, g) | |
561 | 561 | if (bF) | |
562 | 562 | then bH | |
563 | 563 | else (bH - 1) | |
564 | 564 | } | |
565 | 565 | let bz = if ((bG >= 0)) | |
566 | 566 | then true | |
567 | 567 | else throw("processPoolINTERNAL: invalid target epoch") | |
568 | 568 | if ((bz == bz)) | |
569 | 569 | then { | |
570 | 570 | let x = V(bv) | |
571 | 571 | let bI = x | |
572 | 572 | let z = bI._1 | |
573 | 573 | let A = bI._2 | |
574 | 574 | let aY = addressFromStringValue(R(this, l)) | |
575 | 575 | let af = addressFromStringValue(R(this, j)) | |
576 | 576 | let ai = X(z, A) | |
577 | 577 | let bJ = { | |
578 | 578 | let S = invoke(aY, "usersListTraversal", [ai], nil) | |
579 | 579 | if ($isInstanceOf(S, "Boolean")) | |
580 | 580 | then S | |
581 | 581 | else throw(($getType(S) + " couldn't be cast to Boolean")) | |
582 | 582 | } | |
583 | 583 | if ((bJ == bJ)) | |
584 | 584 | then if (bJ) | |
585 | 585 | then $Tuple2(nil, true) | |
586 | 586 | else { | |
587 | 587 | let bp = aj(x) | |
588 | 588 | let bl = valueOrElse(getInteger(this, J(bG)), 0) | |
589 | 589 | let bC = valueOrElse(getInteger(this, F(x, bG)), 0) | |
590 | 590 | let bK = if (if ((bl == 0)) | |
591 | 591 | then true | |
592 | 592 | else !(bp)) | |
593 | 593 | then 0 | |
594 | 594 | else fraction(bC, b, bl) | |
595 | 595 | let bL = invoke(af, "modifyWeight", [ai, bK], nil) | |
596 | 596 | if ((bL == bL)) | |
597 | 597 | then { | |
598 | 598 | let bM = if (if (bp) | |
599 | 599 | then true | |
600 | 600 | else bF) | |
601 | 601 | then nil | |
602 | 602 | else ([DeleteEntry(w(x))] ++ aC(al, bv)) | |
603 | 603 | $Tuple2(([IntegerEntry(H(x, bG), bK)] ++ bM), false) | |
604 | 604 | } | |
605 | 605 | else throw("Strict value is not equal to itself.") | |
606 | 606 | } | |
607 | 607 | else throw("Strict value is not equal to itself.") | |
608 | 608 | } | |
609 | 609 | else throw("Strict value is not equal to itself.") | |
610 | 610 | } | |
611 | 611 | else throw("Strict value is not equal to itself.") | |
612 | 612 | } | |
613 | 613 | ||
614 | 614 | ||
615 | 615 | ||
616 | 616 | @Callable(aK) | |
617 | 617 | func finalizeHelper () = { | |
618 | 618 | let bF = valueOrElse(getBoolean(s), false) | |
619 | 619 | let u = valueOrElse(getInteger(this, g), 0) | |
620 | 620 | let bN = (u - 1) | |
621 | 621 | let bf = T(this, t(u)) | |
622 | 622 | let aZ = T(this, f) | |
623 | 623 | let bg = (bf + aZ) | |
624 | 624 | let bh = getInteger(this, m) | |
625 | 625 | if (if (if ((height >= bg)) | |
626 | 626 | then (bh == unit) | |
627 | 627 | else false) | |
628 | 628 | then !(bF) | |
629 | 629 | else false) | |
630 | 630 | then { | |
631 | 631 | let bO = (u + 1) | |
632 | 632 | $Tuple2([IntegerEntry(t(bO), height), IntegerEntry(p, height), IntegerEntry(g, bO), IntegerEntry(m, d)], true) | |
633 | 633 | } | |
634 | 634 | else if (if (bF) | |
635 | 635 | then (bh == unit) | |
636 | 636 | else false) | |
637 | 637 | then $Tuple2([IntegerEntry(m, e)], true) | |
638 | 638 | else if ((bh == unit)) | |
639 | 639 | then $Tuple2(nil, false) | |
640 | 640 | else if ((bh == d)) | |
641 | 641 | then { | |
642 | 642 | let bP = getString(n) | |
643 | 643 | let bQ = getString(o) | |
644 | 644 | let O = bP | |
645 | 645 | if ($isInstanceOf(O, "Unit")) | |
646 | 646 | then { | |
647 | 647 | let bR = getString(ao(al)) | |
648 | 648 | if ($isInstanceOf(bR, "Unit")) | |
649 | 649 | then $Tuple2([IntegerEntry(m, e), DeleteEntry(n), DeleteEntry(o)], true) | |
650 | 650 | else if ($isInstanceOf(bR, "String")) | |
651 | 651 | then { | |
652 | 652 | let bS = bR | |
653 | 653 | $Tuple2([StringEntry(n, bS)], true) | |
654 | 654 | } | |
655 | 655 | else throw("Match error") | |
656 | 656 | } | |
657 | 657 | else if ($isInstanceOf(O, "String")) | |
658 | 658 | then { | |
659 | 659 | let bv = O | |
660 | 660 | let x = V(bv) | |
661 | 661 | let bT = { | |
662 | 662 | let bR = bQ | |
663 | 663 | if ($isInstanceOf(bR, "Unit")) | |
664 | 664 | then getString(ao(am(x))) | |
665 | 665 | else if ($isInstanceOf(bR, "String")) | |
666 | 666 | then { | |
667 | 667 | let bU = bR | |
668 | 668 | let bV = getString(au(am(x), bU)) | |
669 | 669 | if ((bV == bV)) | |
670 | 670 | then { | |
671 | 671 | let bW = invoke(this, "processVoteINTERNAL", [bv, bU], nil) | |
672 | 672 | if ((bW == bW)) | |
673 | 673 | then bV | |
674 | 674 | else throw("Strict value is not equal to itself.") | |
675 | 675 | } | |
676 | 676 | else throw("Strict value is not equal to itself.") | |
677 | 677 | } | |
678 | 678 | else throw("Match error") | |
679 | 679 | } | |
680 | 680 | let bR = bT | |
681 | 681 | if ($isInstanceOf(bR, "Unit")) | |
682 | 682 | then { | |
683 | 683 | let bX = getString(au(al, bv)) | |
684 | 684 | let bY = bX | |
685 | 685 | if ($isInstanceOf(bY, "Unit")) | |
686 | 686 | then $Tuple2([IntegerEntry(m, e), DeleteEntry(n), DeleteEntry(o)], true) | |
687 | 687 | else if ($isInstanceOf(bY, "String")) | |
688 | 688 | then { | |
689 | 689 | let aG = bY | |
690 | 690 | $Tuple2([StringEntry(n, aG), DeleteEntry(o)], true) | |
691 | 691 | } | |
692 | 692 | else throw("Match error") | |
693 | 693 | } | |
694 | 694 | else if ($isInstanceOf(bR, "String")) | |
695 | 695 | then { | |
696 | 696 | let bZ = bR | |
697 | 697 | $Tuple2([StringEntry(o, bZ)], true) | |
698 | 698 | } | |
699 | 699 | else throw("Match error") | |
700 | 700 | } | |
701 | 701 | else throw("Match error") | |
702 | 702 | } | |
703 | 703 | else if ((bh == e)) | |
704 | 704 | then { | |
705 | 705 | let bP = getString(n) | |
706 | 706 | let O = bP | |
707 | 707 | if ($isInstanceOf(O, "Unit")) | |
708 | 708 | then { | |
709 | 709 | let bR = getString(ao(al)) | |
710 | 710 | if ($isInstanceOf(bR, "Unit")) | |
711 | 711 | then { | |
712 | 712 | let bE = if (bF) | |
713 | 713 | then [DeleteEntry(m), DeleteEntry(s)] | |
714 | 714 | else [DeleteEntry(m), BooleanEntry(v(bN), true), IntegerEntry(q, u), IntegerEntry(r, bf)] | |
715 | 715 | $Tuple2(bE, true) | |
716 | 716 | } | |
717 | 717 | else if ($isInstanceOf(bR, "String")) | |
718 | 718 | then { | |
719 | 719 | let ca = bR | |
720 | 720 | $Tuple2([StringEntry(n, ca)], true) | |
721 | 721 | } | |
722 | 722 | else throw("Match error") | |
723 | 723 | } | |
724 | 724 | else if ($isInstanceOf(O, "String")) | |
725 | 725 | then { | |
726 | 726 | let bv = O | |
727 | 727 | let bX = getString(au(al, bv)) | |
728 | 728 | if ((bX == bX)) | |
729 | 729 | then { | |
730 | 730 | let bJ = { | |
731 | 731 | let S = invoke(this, "processPoolINTERNAL", [bv, bF], nil) | |
732 | 732 | if ($isInstanceOf(S, "Boolean")) | |
733 | 733 | then S | |
734 | 734 | else throw(($getType(S) + " couldn't be cast to Boolean")) | |
735 | 735 | } | |
736 | 736 | if ((bJ == bJ)) | |
737 | 737 | then if (bJ) | |
738 | 738 | then $Tuple2(nil, true) | |
739 | 739 | else { | |
740 | 740 | let bR = bX | |
741 | 741 | if ($isInstanceOf(bR, "Unit")) | |
742 | 742 | then { | |
743 | 743 | let bE = if (bF) | |
744 | 744 | then [DeleteEntry(m), DeleteEntry(s), DeleteEntry(n)] | |
745 | 745 | else [DeleteEntry(m), BooleanEntry(v(bN), true), IntegerEntry(q, u), IntegerEntry(r, bf), DeleteEntry(n)] | |
746 | 746 | $Tuple2(bE, true) | |
747 | 747 | } | |
748 | 748 | else if ($isInstanceOf(bR, "String")) | |
749 | 749 | then { | |
750 | 750 | let ca = bR | |
751 | 751 | $Tuple2([StringEntry(n, ca)], true) | |
752 | 752 | } | |
753 | 753 | else throw("Match error") | |
754 | 754 | } | |
755 | 755 | else throw("Strict value is not equal to itself.") | |
756 | 756 | } | |
757 | 757 | else throw("Strict value is not equal to itself.") | |
758 | 758 | } | |
759 | 759 | else throw("Match error") | |
760 | 760 | } | |
761 | 761 | else throw("finalization is broken") | |
762 | 762 | } | |
763 | 763 | ||
764 | 764 | ||
765 | 765 | ||
766 | 766 | @Callable(aK) | |
767 | 767 | func finalizeWrapper (cb) = { | |
768 | 768 | let cc = { | |
769 | 769 | let S = invoke(this, "finalizeHelper", nil, nil) | |
770 | 770 | if ($isInstanceOf(S, "Boolean")) | |
771 | 771 | then S | |
772 | 772 | else throw(($getType(S) + " couldn't be cast to Boolean")) | |
773 | 773 | } | |
774 | 774 | if ((cc == cc)) | |
775 | 775 | then if (!(cc)) | |
776 | 776 | then if ((cb == 0)) | |
777 | 777 | then throw("Current voting is not over yet") | |
778 | 778 | else $Tuple2(nil, unit) | |
779 | 779 | else { | |
780 | 780 | let cd = valueOrElse(getInteger(this, h), c) | |
781 | 781 | if ((cd > cb)) | |
782 | 782 | then { | |
783 | 783 | let ce = invoke(this, "finalizeWrapper", [(cb + 1)], nil) | |
784 | 784 | if ((ce == ce)) | |
785 | 785 | then $Tuple2(nil, unit) | |
786 | 786 | else throw("Strict value is not equal to itself.") | |
787 | 787 | } | |
788 | 788 | else $Tuple2(nil, unit) | |
789 | 789 | } | |
790 | 790 | else throw("Strict value is not equal to itself.") | |
791 | 791 | } | |
792 | 792 | ||
793 | 793 | ||
794 | 794 | ||
795 | 795 | @Callable(aK) | |
796 | 796 | func finalize () = { | |
797 | 797 | let ce = invoke(this, "finalizeWrapper", [0], nil) | |
798 | 798 | if ((ce == ce)) | |
799 | 799 | then $Tuple2(nil, unit) | |
800 | 800 | else throw("Strict value is not equal to itself.") | |
801 | 801 | } | |
802 | 802 | ||
803 | 803 | ||
804 | 804 | ||
805 | 805 | @Callable(aK) | |
806 | 806 | func containsNodeREADONLY (ap,at) = $Tuple2(nil, av(ap, at)) | |
807 | 807 | ||
808 | 808 | ||
809 | 809 | ||
810 | 810 | @Callable(aK) | |
811 | 811 | func insertNode (ap,at) = { | |
812 | 812 | let aO = aL(aK) | |
813 | 813 | if ((aO == aO)) | |
814 | 814 | then $Tuple2(az(ap, at), unit) | |
815 | 815 | else throw("Strict value is not equal to itself.") | |
816 | 816 | } | |
817 | 817 | ||
818 | 818 | ||
819 | 819 | ||
820 | 820 | @Callable(aK) | |
821 | 821 | func deleteNode (ap,at) = { | |
822 | 822 | let aO = aL(aK) | |
823 | 823 | if ((aO == aO)) | |
824 | 824 | then $Tuple2(aC(ap, at), unit) | |
825 | 825 | else throw("Strict value is not equal to itself.") | |
826 | 826 | } | |
827 | 827 | ||
828 | 828 | ||
829 | 829 | @Verifier(cf) | |
830 | 830 | func cg () = { | |
831 | 831 | let ch = { | |
832 | 832 | let O = aF() | |
833 | 833 | if ($isInstanceOf(O, "ByteVector")) | |
834 | 834 | then { | |
835 | 835 | let aM = O | |
836 | 836 | aM | |
837 | 837 | } | |
838 | 838 | else if ($isInstanceOf(O, "Unit")) | |
839 | 839 | then cf.senderPublicKey | |
840 | 840 | else throw("Match error") | |
841 | 841 | } | |
842 | 842 | sigVerify(cf.bodyBytes, cf.proofs[0], ch) | |
843 | 843 | } | |
844 | 844 |
github/deemru/w8io/026f985 75.74 ms ◑