tx · 5Lrz9ARrmWLs4a4SSf12xH6ApDgh6XHk2Mm5bsL1RaAo 3N9Zi6AcWcGbM23jQJ4fnzFsoHoTsxYDznr: -0.02800000 Waves 2024.04.22 17:24 [3074113] smart account 3N9Zi6AcWcGbM23jQJ4fnzFsoHoTsxYDznr > SELF 0.00000000 Waves
{ "type": 13, "id": "5Lrz9ARrmWLs4a4SSf12xH6ApDgh6XHk2Mm5bsL1RaAo", "fee": 2800000, "feeAssetId": null, "timestamp": 1713795855619, "version": 2, "chainId": 84, "sender": "3N9Zi6AcWcGbM23jQJ4fnzFsoHoTsxYDznr", "senderPublicKey": "GFbasS3jufhZkK4xR7tdTjjnP8K33KvJFEDHRtxXDkaJ", "proofs": [ "5meqj8xQ5cddJ3MmKL1TeW64a2VHCDFyae6JHpTPxjaScBXp3sDgrXuHoAStXGBAB5juoRfz83feBLzFmbbpB2Rt" ], "script": "base64:BgKGHQgCEgQKAggBEgcKBQgICAgBEgQKAggIEgUKAwgIARIECgIICBIDCgEBEgMKAQESAwoBCBIECgIICBIECgIIBBIAEgMKAQESABIECgIICBIECgIICBIECgIICBIAEgQKAggIEgUKAwgIASIJc2VwYXJhdG9yIg5wb29sV2VpZ2h0TXVsdCIPbWF4RGVwdGhEZWZhdWx0IhlmaW5hbGl6YXRpb25TdGFnZUJhbGFuY2VzIhZmaW5hbGl6YXRpb25TdGFnZVRvdGFsIhdmaW5hbGl6YXRpb25TdGFnZVNoYXJlcyILd2F2ZXNTdHJpbmciEHBvb2xTdGF0dXNBY3RpdmUiFXBvb2xTdGF0dXNQdXREaXNhYmxlZCIZcG9vbFN0YXR1c01hdGNoZXJEaXNhYmxlZCIScG9vbFN0YXR1c1NodXRkb3duIg5rZXlFcG9jaExlbmd0aCIRa2V5RXBvY2hMZW5ndGhOZXciFWtleUVwb2NoTGVuZ3RoQnlFcG9jaCIFZXBvY2giD2tleUN1cnJlbnRFcG9jaCILa2V5TWF4RGVwdGgiEGtleVJlc3VtcHRpb25GZWUiImtle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WwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgECZHMBAmR0AAQCZHUEAmFpCQECYm8AAwkAAQIFAmFpAgpCeXRlVmVjdG9yBAJicwUCYWkFAmJzAwkAAQIFAmFpAgRVbml0CAUCZHMPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAmRzCWJvZHlCeXRlcwkAkQMCCAUCZHMGcHJvb2ZzAAAFAmR1uodZfQ==", "height": 3074113, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5HmkgC4yPdmKxBECrSjaNrXpyJUdUC5mTa1Xgq85b2ru Next: 92ea3wYcCXBKmFveQCqZYdk1c1BdNCBy77wUCXKQj3FL 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 = 2 | |
15 | 15 | ||
16 | 16 | let g = "WAVES" | |
17 | 17 | ||
18 | 18 | let h = 1 | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 3 | |
23 | 23 | ||
24 | 24 | let k = 4 | |
25 | 25 | ||
26 | 26 | let l = makeString(["%s", "epochLength"], a) | |
27 | 27 | ||
28 | 28 | let m = makeString(["%s%s", "epochLength__new"], a) | |
29 | 29 | ||
30 | 30 | func n (o) = makeString(["%s%d", "epochLength", toString(o)], a) | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | let p = makeString(["%s", "currentEpoch"], a) | |
34 | 34 | ||
35 | 35 | let q = makeString(["%s", "maxDepth"], a) | |
36 | 36 | ||
37 | 37 | let r = makeString(["%s", "resumptionFee"], a) | |
38 | 38 | ||
39 | 39 | let s = makeString(["%s", "votingEmissionCandidateContract"], a) | |
40 | 40 | ||
41 | 41 | let t = makeString(["%s", "votingEmissionRateContract"], a) | |
42 | 42 | ||
43 | 43 | let u = makeString(["%s", "factoryContract"], a) | |
44 | 44 | ||
45 | 45 | let v = makeString(["%s", "boostingContract"], a) | |
46 | 46 | ||
47 | 47 | let w = makeString(["%s", "stakingContract"], a) | |
48 | 48 | ||
49 | 49 | let x = makeString(["%s", "assetsStoreContract"], a) | |
50 | 50 | ||
51 | 51 | let y = makeString(["%s", "finalizationStage"], a) | |
52 | 52 | ||
53 | 53 | let z = makeString(["%s", "nextPool"], a) | |
54 | 54 | ||
55 | 55 | let A = makeString(["%s", "nextUser"], a) | |
56 | 56 | ||
57 | 57 | let B = makeString(["%s", "startHeight"], a) | |
58 | 58 | ||
59 | 59 | let C = makeString(["%s", "currentEpochUi"], a) | |
60 | 60 | ||
61 | 61 | let D = makeString(["%s", "startHeightUi"], a) | |
62 | 62 | ||
63 | 63 | let E = makeString(["%s", "force"], a) | |
64 | 64 | ||
65 | 65 | func F () = "%s__allowedLpScriptHash" | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func G () = "%s__allowedLpStableScriptHash" | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func H (o) = makeString(["%s%d", "startHeight", toString(o)], a) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func I (o) = makeString(["%s%d", "finalized", toString(o)], a) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func J (K) = { | |
78 | 78 | let L = K | |
79 | 79 | let M = L._1 | |
80 | 80 | let N = L._2 | |
81 | 81 | makeString(["%s%s%s", "inList", M, N], a) | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func O (P,o) = makeString(["%s%s%d", "used", toString(P), toString(o)], a) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func Q (K,P,o) = { | |
89 | 89 | let R = K | |
90 | 90 | let M = R._1 | |
91 | 91 | let N = R._2 | |
92 | 92 | makeString(["%s%s%s%s%d", "vote", M, N, toString(P), toString(o)], a) | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func S (K,o) = { | |
97 | 97 | let T = K | |
98 | 98 | let M = T._1 | |
99 | 99 | let N = T._2 | |
100 | 100 | makeString(["%s%s%s%d", "votingResult", M, N, toString(o)], a) | |
101 | 101 | } | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func U (V,o) = makeString(["%s%s%d", "votingResultStaked", V, toString(o)], a) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func W (K,o) = { | |
108 | 108 | let X = K | |
109 | 109 | let M = X._1 | |
110 | 110 | let N = X._2 | |
111 | 111 | makeString(["%s%s%s%d", "poolShare", M, N, toString(o)], a) | |
112 | 112 | } | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func Y (o) = makeString(["%s%d", "totalVotes", toString(o)], a) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func Z (V,aa) = makeString(["%s%s%s", "staked", aa, V], a) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func ab (ac) = makeString(["voting_emission.ride:", ac], " ") | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func ad (ac) = throw(ab(ac)) | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func ae (P,af,ag) = { | |
128 | 128 | let ah = ab(makeString(["mandatory ", toString(P), ".", af, " is not defined"], "")) | |
129 | 129 | valueOrErrorMessage({ | |
130 | 130 | let ai = ag | |
131 | 131 | if ($isInstanceOf(ai, "String")) | |
132 | 132 | then { | |
133 | 133 | let aj = ai | |
134 | 134 | getString(P, af) | |
135 | 135 | } | |
136 | 136 | else if ($isInstanceOf(ai, "Int")) | |
137 | 137 | then { | |
138 | 138 | let ak = ai | |
139 | 139 | getInteger(P, af) | |
140 | 140 | } | |
141 | 141 | else ad("invalid entry type") | |
142 | 142 | }, ah) | |
143 | 143 | } | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func al (P,af) = { | |
147 | 147 | let am = ae(P, af, "") | |
148 | 148 | if ($isInstanceOf(am, "String")) | |
149 | 149 | then am | |
150 | 150 | else throw(($getType(am) + " couldn't be cast to String")) | |
151 | 151 | } | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func an (P,af) = { | |
155 | 155 | let am = ae(P, af, 0) | |
156 | 156 | if ($isInstanceOf(am, "Int")) | |
157 | 157 | then am | |
158 | 158 | else throw(($getType(am) + " couldn't be cast to Int")) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ao (K) = ((K._1 + a) + K._2) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ap (aj) = { | |
166 | 166 | let aq = split(aj, a) | |
167 | 167 | if ((size(aq) == 2)) | |
168 | 168 | then $Tuple2(aq[0], aq[1]) | |
169 | 169 | else ad("invalid pool string") | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | let ar = addressFromStringValue(al(this, u)) | |
174 | 174 | ||
175 | 175 | let as = 10 | |
176 | 176 | ||
177 | 177 | func at () = "%s__factoryConfig" | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func au (av) = split(al(av, at()), a) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func aw (ax) = addressFromStringValue(ax[as]) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ay (az) = if ((az == g)) | |
187 | 187 | then unit | |
188 | 188 | else fromBase58String(az) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func aA (az) = if ((az == unit)) | |
192 | 192 | then g | |
193 | 193 | else toBase58String(value(az)) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func aB (M,N) = { | |
197 | 197 | let aC = { | |
198 | 198 | let am = invoke(ar, "poolInfoREADONLY", [M, N], nil) | |
199 | 199 | if ($isInstanceOf(am, "(Address, ByteVector)")) | |
200 | 200 | then am | |
201 | 201 | else unit | |
202 | 202 | } | |
203 | 203 | aC | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aD (M,N) = { | |
208 | 208 | func aE (aF) = ("%s%s%s__mappings__baseAsset2internalId__" + aF) | |
209 | 209 | ||
210 | 210 | func aG (aH,aI) = (((("%d%d%s%s__" + toString(aH)) + "__") + toString(aI)) + "__mappings__poolAssets2PoolContract") | |
211 | 211 | ||
212 | 212 | func aJ (aK) = (("%s%s%s__" + aK) + "__mappings__poolContract2LpAsset") | |
213 | 213 | ||
214 | 214 | let aL = an(ar, aE(M)) | |
215 | 215 | let aM = an(ar, aE(N)) | |
216 | 216 | let aK = al(ar, aG(aL, aM)) | |
217 | 217 | let aN = al(ar, aJ(aK)) | |
218 | 218 | aN | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aO (K) = { | |
223 | 223 | let aP = K | |
224 | 224 | let M = aP._1 | |
225 | 225 | let N = aP._2 | |
226 | 226 | let am = invoke(ar, "checkWxEmissionPoolLabel", [M, N], nil) | |
227 | 227 | if ($isInstanceOf(am, "Boolean")) | |
228 | 228 | then am | |
229 | 229 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
230 | 230 | } | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func aQ () = { | |
234 | 234 | let ax = au(ar) | |
235 | 235 | let aR = aw(ax) | |
236 | 236 | invoke(aR, "deposit", nil, nil) | |
237 | 237 | } | |
238 | 238 | ||
239 | 239 | ||
240 | 240 | let aS = "pools" | |
241 | 241 | ||
242 | 242 | func aT (K) = { | |
243 | 243 | let aU = K | |
244 | 244 | let M = aU._1 | |
245 | 245 | let N = aU._2 | |
246 | 246 | makeString(["votes", M, N], a) | |
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func aV (aW) = { | |
251 | 251 | let aX = if ((aW == aS)) | |
252 | 252 | then "%s%s" | |
253 | 253 | else "%s%s%s%s" | |
254 | 254 | makeString([aX, aW, "head"], a) | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func aY (aW) = { | |
259 | 259 | let aX = if ((aW == aS)) | |
260 | 260 | then "%s%s" | |
261 | 261 | else "%s%s%s%s" | |
262 | 262 | makeString([aX, aW, "size"], a) | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func aZ (aW,ba) = { | |
267 | 267 | let aX = if ((aW == aS)) | |
268 | 268 | then "%s%s%s%s" | |
269 | 269 | else "%s%s%s%s%s" | |
270 | 270 | makeString([aX, aW, ba, "prev"], a) | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bb (aW,ba) = { | |
275 | 275 | let aX = if ((aW == aS)) | |
276 | 276 | then "%s%s%s%s" | |
277 | 277 | else "%s%s%s%s%s" | |
278 | 278 | makeString([aX, aW, ba, "next"], a) | |
279 | 279 | } | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | func bc (aW,ba) = { | |
283 | 283 | let bd = getString(this, aV(aW)) | |
284 | 284 | let be = getString(this, aZ(aW, ba)) | |
285 | 285 | let bf = getString(this, bb(aW, ba)) | |
286 | 286 | if (if ((ba == valueOrElse(bd, ""))) | |
287 | 287 | then true | |
288 | 288 | else (be != unit)) | |
289 | 289 | then true | |
290 | 290 | else (bf != unit) | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func bg (aW,ba) = { | |
295 | 295 | let bd = getString(this, aV(aW)) | |
296 | 296 | let bh = valueOrElse(getInteger(this, aY(aW)), 0) | |
297 | 297 | let bi = if (!(bc(aW, ba))) | |
298 | 298 | then true | |
299 | 299 | else ad("Node exists") | |
300 | 300 | if ((bi == bi)) | |
301 | 301 | then (([IntegerEntry(aY(aW), (bh + 1))] ++ (if ((bd != unit)) | |
302 | 302 | then [StringEntry(bb(aW, ba), value(bd)), StringEntry(aZ(aW, value(bd)), ba)] | |
303 | 303 | else nil)) ++ [StringEntry(aV(aW), ba)]) | |
304 | 304 | else throw("Strict value is not equal to itself.") | |
305 | 305 | } | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func bj (aW,ba) = { | |
309 | 309 | let bd = getString(this, aV(aW)) | |
310 | 310 | let bh = valueOrElse(getInteger(this, aY(aW)), 0) | |
311 | 311 | let be = getString(this, aZ(aW, ba)) | |
312 | 312 | let bf = getString(this, bb(aW, ba)) | |
313 | 313 | ([IntegerEntry(aY(aW), (bh - 1))] ++ (if (if ((be != unit)) | |
314 | 314 | then (bf != unit) | |
315 | 315 | else false) | |
316 | 316 | then [StringEntry(bb(aW, value(be)), value(bf)), StringEntry(aZ(aW, value(bf)), value(be)), DeleteEntry(aZ(aW, ba)), DeleteEntry(bb(aW, ba))] | |
317 | 317 | else if ((bf != unit)) | |
318 | 318 | then [StringEntry(aV(aW), value(bf)), DeleteEntry(bb(aW, ba)), DeleteEntry(aZ(aW, value(bf)))] | |
319 | 319 | else if ((be != unit)) | |
320 | 320 | then [DeleteEntry(aZ(aW, ba)), DeleteEntry(bb(aW, value(be)))] | |
321 | 321 | else if ((ba == valueOrElse(bd, ""))) | |
322 | 322 | then [DeleteEntry(aV(aW))] | |
323 | 323 | else ad(((("invalid node: " + aW) + ".") + ba)))) | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | func bk () = "%s__managerVaultAddress" | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | func bl () = "%s__managerPublicKey" | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func bm () = { | |
334 | 334 | let ai = getString(bk()) | |
335 | 335 | if ($isInstanceOf(ai, "String")) | |
336 | 336 | then { | |
337 | 337 | let bn = ai | |
338 | 338 | addressFromStringValue(bn) | |
339 | 339 | } | |
340 | 340 | else this | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | func bo () = { | |
345 | 345 | let bp = bm() | |
346 | 346 | let ai = getString(bp, bl()) | |
347 | 347 | if ($isInstanceOf(ai, "String")) | |
348 | 348 | then { | |
349 | 349 | let bn = ai | |
350 | 350 | fromBase58String(bn) | |
351 | 351 | } | |
352 | 352 | else if ($isInstanceOf(ai, "Unit")) | |
353 | 353 | then unit | |
354 | 354 | else throw("Match error") | |
355 | 355 | } | |
356 | 356 | ||
357 | 357 | ||
358 | 358 | func bq (br) = { | |
359 | 359 | let ai = bo() | |
360 | 360 | if ($isInstanceOf(ai, "ByteVector")) | |
361 | 361 | then { | |
362 | 362 | let bs = ai | |
363 | 363 | (br.callerPublicKey == bs) | |
364 | 364 | } | |
365 | 365 | else if ($isInstanceOf(ai, "Unit")) | |
366 | 366 | then (br.caller == this) | |
367 | 367 | else throw("Match error") | |
368 | 368 | } | |
369 | 369 | ||
370 | 370 | ||
371 | 371 | func bt (br) = if (bq(br)) | |
372 | 372 | then true | |
373 | 373 | else throw("permission denied") | |
374 | 374 | ||
375 | 375 | ||
376 | 376 | func bu (br) = if ((br.caller == this)) | |
377 | 377 | then true | |
378 | 378 | else throw("permission denied") | |
379 | 379 | ||
380 | 380 | ||
381 | 381 | @Callable(br) | |
382 | 382 | func getUserGwxAmountAtHeight (bv,bw) = { | |
383 | 383 | let bx = valueOrErrorMessage(addressFromString(al(this, v)), ab("invalid boosting contract address")) | |
384 | 384 | $Tuple2(nil, { | |
385 | 385 | let am = invoke(bx, "getUserGwxAmountAtHeightREADONLY", [bv, bw], nil) | |
386 | 386 | if ($isInstanceOf(am, "Int")) | |
387 | 387 | then am | |
388 | 388 | else throw(($getType(am) + " couldn't be cast to Int")) | |
389 | 389 | }) | |
390 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | ||
394 | 394 | @Callable(br) | |
395 | 395 | func constructor (ar,by,bz,bA,bB) = { | |
396 | 396 | let bC = [bt(br), if ((addressFromString(ar) != unit)) | |
397 | 397 | then true | |
398 | 398 | else "invalid factory contract address", if ((addressFromString(by) != unit)) | |
399 | 399 | then true | |
400 | 400 | else "invalid voting emission candidate contract address", if ((addressFromString(bz) != unit)) | |
401 | 401 | then true | |
402 | 402 | else "invalid boosting contract address", if ((addressFromString(bA) != unit)) | |
403 | 403 | then true | |
404 | 404 | else "invalid staking contract address", if ((bB > 0)) | |
405 | 405 | then true | |
406 | 406 | else ad("invalid epoch length")] | |
407 | 407 | if ((bC == bC)) | |
408 | 408 | then $Tuple2([StringEntry(u, ar), StringEntry(s, by), StringEntry(v, bz), StringEntry(w, bA), IntegerEntry(l, bB)], unit) | |
409 | 409 | else throw("Strict value is not equal to itself.") | |
410 | 410 | } | |
411 | 411 | ||
412 | 412 | ||
413 | 413 | ||
414 | 414 | @Callable(br) | |
415 | 415 | func create (M,N) = { | |
416 | 416 | let bC = [if ((toBase58String(br.caller.bytes) == valueOrElse(getString(this, s), ""))) | |
417 | 417 | then true | |
418 | 418 | else bt(br)] | |
419 | 419 | if ((bC == bC)) | |
420 | 420 | then { | |
421 | 421 | let K = $Tuple2(M, N) | |
422 | 422 | let bD = ([BooleanEntry(J(K), true)] ++ bg(aS, ao(K))) | |
423 | 423 | let bE = (getInteger(this, p) == unit) | |
424 | 424 | let bF = if (bE) | |
425 | 425 | then { | |
426 | 426 | let o = 0 | |
427 | 427 | [IntegerEntry(p, o), IntegerEntry(H(o), height), IntegerEntry(B, height), IntegerEntry(C, o), IntegerEntry(D, height)] | |
428 | 428 | } | |
429 | 429 | else nil | |
430 | 430 | $Tuple2((bD ++ bF), unit) | |
431 | 431 | } | |
432 | 432 | else throw("Strict value is not equal to itself.") | |
433 | 433 | } | |
434 | 434 | ||
435 | 435 | ||
436 | 436 | ||
437 | 437 | @Callable(br) | |
438 | 438 | func vote (M,N,bG) = { | |
439 | 439 | let K = $Tuple2(M, N) | |
440 | 440 | let o = valueOrElse(getInteger(this, p), 0) | |
441 | 441 | let bH = an(this, H(o)) | |
442 | 442 | let bB = an(this, l) | |
443 | 443 | let bI = (bH + bB) | |
444 | 444 | let bJ = getInteger(this, y) | |
445 | 445 | let bK = valueOrElse(getInteger(this, O(br.caller, o)), 0) | |
446 | 446 | let bL = valueOrElse(getInteger(this, Q(K, br.caller, o)), 0) | |
447 | 447 | let bM = valueOrElse(getInteger(this, S(K, o)), 0) | |
448 | 448 | let bN = valueOrElse(getInteger(this, Y(o)), 0) | |
449 | 449 | let bO = { | |
450 | 450 | let am = invoke(this, "getUserGwxAmountAtHeight", [toBase58String(br.caller.bytes), bI], nil) | |
451 | 451 | if ($isInstanceOf(am, "Int")) | |
452 | 452 | then am | |
453 | 453 | else throw(($getType(am) + " couldn't be cast to Int")) | |
454 | 454 | } | |
455 | 455 | let bP = (bO - bK) | |
456 | 456 | let bQ = (bL + bG) | |
457 | 457 | let bR = aO(K) | |
458 | 458 | let bC = [if ((getBoolean(J(K)) != unit)) | |
459 | 459 | then true | |
460 | 460 | else ad("invalid assets"), if ((bI > height)) | |
461 | 461 | then true | |
462 | 462 | else ad("invalid height"), if ((bJ == unit)) | |
463 | 463 | then true | |
464 | 464 | else ad("finalization in progress"), if ((bO > 0)) | |
465 | 465 | then true | |
466 | 466 | else ad("you do not have gWX"), if (if ((bG > 0)) | |
467 | 467 | then (bP >= bG) | |
468 | 468 | else false) | |
469 | 469 | then true | |
470 | 470 | else ad("invalid amount"), if (bR) | |
471 | 471 | then true | |
472 | 472 | else ad("pool hasn't WX_EMISSION label")] | |
473 | 473 | if ((bC == bC)) | |
474 | 474 | then { | |
475 | 475 | let bS = aT(K) | |
476 | 476 | let aa = toString(br.caller) | |
477 | 477 | let bT = if (bc(bS, aa)) | |
478 | 478 | then nil | |
479 | 479 | else bg(bS, aa) | |
480 | 480 | $Tuple2(([IntegerEntry(O(br.caller, o), (bK + bG)), IntegerEntry(Q(K, br.caller, o), bQ), IntegerEntry(S(K, o), (bM + bG)), IntegerEntry(Y(o), (bN + bG))] ++ bT), unit) | |
481 | 481 | } | |
482 | 482 | else throw("Strict value is not equal to itself.") | |
483 | 483 | } | |
484 | 484 | ||
485 | 485 | ||
486 | 486 | ||
487 | 487 | @Callable(br) | |
488 | 488 | func cancelVote (M,N) = { | |
489 | 489 | let K = $Tuple2(M, N) | |
490 | 490 | let o = valueOrElse(getInteger(this, p), 0) | |
491 | 491 | let bH = an(this, H(o)) | |
492 | 492 | let bB = an(this, l) | |
493 | 493 | let bI = (bH + bB) | |
494 | 494 | let bJ = getInteger(this, y) | |
495 | 495 | let bK = valueOrElse(getInteger(this, O(br.caller, o)), 0) | |
496 | 496 | let bL = valueOrElse(getInteger(this, Q(K, br.caller, o)), 0) | |
497 | 497 | let bM = valueOrElse(getInteger(this, S(K, o)), 0) | |
498 | 498 | let bN = valueOrElse(getInteger(this, Y(o)), 0) | |
499 | 499 | let bC = [if ((getBoolean(J(K)) != unit)) | |
500 | 500 | then true | |
501 | 501 | else ad("invalid assets"), if ((bI > height)) | |
502 | 502 | then true | |
503 | 503 | else ad("invalid height"), if ((bJ == unit)) | |
504 | 504 | then true | |
505 | 505 | else ad("finalization in progress"), if ((bL > 0)) | |
506 | 506 | then true | |
507 | 507 | else ad("no vote")] | |
508 | 508 | if ((bC == bC)) | |
509 | 509 | then { | |
510 | 510 | let bS = aT(K) | |
511 | 511 | let aa = toString(br.caller) | |
512 | 512 | $Tuple2(([IntegerEntry(O(br.caller, o), max([(bK - bL), 0])), DeleteEntry(Q(K, br.caller, o)), IntegerEntry(S(K, o), (bM - bL)), IntegerEntry(Y(o), (bN - bL))] ++ bj(bS, aa)), unit) | |
513 | 513 | } | |
514 | 514 | else throw("Strict value is not equal to itself.") | |
515 | 515 | } | |
516 | 516 | ||
517 | 517 | ||
518 | 518 | ||
519 | 519 | @Callable(br) | |
520 | 520 | func setEpochLength (bU) = { | |
521 | 521 | let bC = [bt(br), if ((bU > 0)) | |
522 | 522 | then true | |
523 | 523 | else ad("invalid epoch length")] | |
524 | 524 | if ((bC == bC)) | |
525 | 525 | then $Tuple2([IntegerEntry(m, bU)], unit) | |
526 | 526 | else throw("Strict value is not equal to itself.") | |
527 | 527 | } | |
528 | 528 | ||
529 | 529 | ||
530 | 530 | ||
531 | 531 | @Callable(br) | |
532 | 532 | func setMaxDepth (bV) = { | |
533 | 533 | let bC = [bt(br), if ((bV > 0)) | |
534 | 534 | then true | |
535 | 535 | else ad("invalid max depth")] | |
536 | 536 | if ((bC == bC)) | |
537 | 537 | then $Tuple2([IntegerEntry(q, bV)], unit) | |
538 | 538 | else throw("Strict value is not equal to itself.") | |
539 | 539 | } | |
540 | 540 | ||
541 | 541 | ||
542 | 542 | ||
543 | 543 | @Callable(br) | |
544 | 544 | func processPoolBalanceINTERNAL (bW) = { | |
545 | 545 | let bX = bu(br) | |
546 | 546 | if ((bX == bX)) | |
547 | 547 | then { | |
548 | 548 | let o = an(this, p) | |
549 | 549 | let bY = (o - 1) | |
550 | 550 | let K = ap(bW) | |
551 | 551 | let bZ = K | |
552 | 552 | let M = bZ._1 | |
553 | 553 | let N = bZ._2 | |
554 | 554 | let aN = aD(M, N) | |
555 | 555 | let ca = { | |
556 | 556 | let am = invoke(ar, "checkBalance", [aN], nil) | |
557 | 557 | if ($isInstanceOf(am, "Boolean")) | |
558 | 558 | then am | |
559 | 559 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
560 | 560 | } | |
561 | 561 | let cb = if (!(ca)) | |
562 | 562 | then { | |
563 | 563 | let cc = invoke(ar, "deleteWxEmissionPoolLabel", [M, N], nil) | |
564 | 564 | if ((cc == cc)) | |
565 | 565 | then { | |
566 | 566 | let cd = invoke(ar, "modifyWeight", [aN, 0], nil) | |
567 | 567 | if ((cd == cd)) | |
568 | 568 | then { | |
569 | 569 | let ce = valueOrErrorMessage(aB(M, N), ab("invalid assets"))._1 | |
570 | 570 | let cf = invoke(ar, "managePool", [toString(ce), j], nil) | |
571 | 571 | if ((cf == cf)) | |
572 | 572 | then { | |
573 | 573 | let cg = ([DeleteEntry(J(K))] ++ bj(aS, ao(K))) | |
574 | 574 | ([IntegerEntry(W(K, bY), 0)] ++ cg) | |
575 | 575 | } | |
576 | 576 | else throw("Strict value is not equal to itself.") | |
577 | 577 | } | |
578 | 578 | else throw("Strict value is not equal to itself.") | |
579 | 579 | } | |
580 | 580 | else throw("Strict value is not equal to itself.") | |
581 | 581 | } | |
582 | 582 | else nil | |
583 | 583 | $Tuple2(cb, unit) | |
584 | 584 | } | |
585 | 585 | else throw("Strict value is not equal to itself.") | |
586 | 586 | } | |
587 | 587 | ||
588 | 588 | ||
589 | 589 | ||
590 | 590 | @Callable(br) | |
591 | 591 | func processVoteINTERNAL (bW,aa) = { | |
592 | 592 | let bX = bu(br) | |
593 | 593 | if ((bX == bX)) | |
594 | 594 | then { | |
595 | 595 | let bv = valueOrErrorMessage(addressFromString(aa), ab(("processVoteINTERNAL: invalid user address " + aa))) | |
596 | 596 | let o = an(this, p) | |
597 | 597 | let bY = (o - 1) | |
598 | 598 | let bB = an(this, l) | |
599 | 599 | let bH = an(this, H(o)) | |
600 | 600 | let bI = (bH + bB) | |
601 | 601 | let ch = an(this, H(bY)) | |
602 | 602 | let ci = an(this, n(bY)) | |
603 | 603 | let cj = (ch + ci) | |
604 | 604 | let ck = if ((bY >= 0)) | |
605 | 605 | then true | |
606 | 606 | else ad("processVoteINTERNAL: invalid previous epoch") | |
607 | 607 | if ((ck == ck)) | |
608 | 608 | then { | |
609 | 609 | let K = ap(bW) | |
610 | 610 | let cl = K | |
611 | 611 | let M = cl._1 | |
612 | 612 | let N = cl._2 | |
613 | 613 | let bO = { | |
614 | 614 | let am = invoke(this, "getUserGwxAmountAtHeight", [aa, bI], nil) | |
615 | 615 | if ($isInstanceOf(am, "Int")) | |
616 | 616 | then am | |
617 | 617 | else throw(($getType(am) + " couldn't be cast to Int")) | |
618 | 618 | } | |
619 | 619 | let cm = { | |
620 | 620 | let am = invoke(this, "getUserGwxAmountAtHeight", [aa, cj], nil) | |
621 | 621 | if ($isInstanceOf(am, "Int")) | |
622 | 622 | then am | |
623 | 623 | else throw(($getType(am) + " couldn't be cast to Int")) | |
624 | 624 | } | |
625 | 625 | let bN = valueOrElse(getInteger(Y(o)), 0) | |
626 | 626 | let cn = valueOrElse(getInteger(S(K, o)), 0) | |
627 | 627 | let co = getInteger(Q(K, bv, bY)) | |
628 | 628 | let cp = valueOrErrorMessage(co, ab((((("processVoteINTERNAL " + bW) + " ") + aa) + ": no previous vote"))) | |
629 | 629 | let bK = valueOrElse(getInteger(this, O(bv, o)), 0) | |
630 | 630 | let V = aD(M, N) | |
631 | 631 | let cq = valueOrElse(getInteger(U(V, bY)), 0) | |
632 | 632 | let bA = addressFromStringValue(al(this, w)) | |
633 | 633 | let cr = valueOrElse(getInteger(bA, Z(V, aa)), 0) | |
634 | 634 | let cs = if (if ((cr == 0)) | |
635 | 635 | then true | |
636 | 636 | else (co == unit)) | |
637 | 637 | then nil | |
638 | 638 | else [IntegerEntry(U(V, bY), (cq + cp))] | |
639 | 639 | let aN = aD(M, N) | |
640 | 640 | let bQ = if ((cm > 0)) | |
641 | 641 | then fraction(cp, bO, cm) | |
642 | 642 | else 0 | |
643 | 643 | let cb = if (if ((co == unit)) | |
644 | 644 | then true | |
645 | 645 | else (0 >= bQ)) | |
646 | 646 | then bj(aT(K), aa) | |
647 | 647 | else [IntegerEntry(Q(K, bv, o), bQ), IntegerEntry(Y(o), (bN + bQ)), IntegerEntry(S(K, o), (cn + bQ)), IntegerEntry(O(bv, o), (bK + bQ))] | |
648 | 648 | $Tuple2((cb ++ cs), unit) | |
649 | 649 | } | |
650 | 650 | else throw("Strict value is not equal to itself.") | |
651 | 651 | } | |
652 | 652 | else throw("Strict value is not equal to itself.") | |
653 | 653 | } | |
654 | 654 | ||
655 | 655 | ||
656 | 656 | ||
657 | 657 | @Callable(br) | |
658 | 658 | func processPoolINTERNAL (bW,ct) = { | |
659 | 659 | let bX = bu(br) | |
660 | 660 | if ((bX == bX)) | |
661 | 661 | then { | |
662 | 662 | let cu = { | |
663 | 663 | let cv = an(this, p) | |
664 | 664 | if (ct) | |
665 | 665 | then cv | |
666 | 666 | else (cv - 1) | |
667 | 667 | } | |
668 | 668 | let ck = if ((cu >= 0)) | |
669 | 669 | then true | |
670 | 670 | else ad("processPoolINTERNAL: invalid target epoch") | |
671 | 671 | if ((ck == ck)) | |
672 | 672 | then { | |
673 | 673 | let K = ap(bW) | |
674 | 674 | let cw = K | |
675 | 675 | let M = cw._1 | |
676 | 676 | let N = cw._2 | |
677 | 677 | let bA = addressFromStringValue(al(this, w)) | |
678 | 678 | let aN = aD(M, N) | |
679 | 679 | let cx = { | |
680 | 680 | let am = invoke(bA, "usersListTraversal", [aN], nil) | |
681 | 681 | if ($isInstanceOf(am, "Boolean")) | |
682 | 682 | then am | |
683 | 683 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
684 | 684 | } | |
685 | 685 | if ((cx == cx)) | |
686 | 686 | then if (cx) | |
687 | 687 | then $Tuple2(nil, true) | |
688 | 688 | else { | |
689 | 689 | let cy = addressFromStringValue(valueOrErrorMessage(getString(ar, x), "invalid assets store contract")) | |
690 | 690 | let bN = valueOrElse(getInteger(this, Y(cu)), 0) | |
691 | 691 | let cn = valueOrElse(getInteger(this, S(K, cu)), 0) | |
692 | 692 | let cz = if ((bN == 0)) | |
693 | 693 | then 0 | |
694 | 694 | else fraction(cn, b, bN) | |
695 | 695 | let cd = invoke(ar, "modifyWeight", [aN, cz], nil) | |
696 | 696 | if ((cd == cd)) | |
697 | 697 | then $Tuple2([IntegerEntry(W(K, cu), cz)], false) | |
698 | 698 | else throw("Strict value is not equal to itself.") | |
699 | 699 | } | |
700 | 700 | else throw("Strict value is not equal to itself.") | |
701 | 701 | } | |
702 | 702 | else throw("Strict value is not equal to itself.") | |
703 | 703 | } | |
704 | 704 | else throw("Strict value is not equal to itself.") | |
705 | 705 | } | |
706 | 706 | ||
707 | 707 | ||
708 | 708 | ||
709 | 709 | @Callable(br) | |
710 | 710 | func finalizeHelper () = { | |
711 | 711 | let ct = valueOrElse(getBoolean(E), false) | |
712 | 712 | let o = valueOrElse(getInteger(this, p), 0) | |
713 | 713 | let cA = (o - 1) | |
714 | 714 | let bH = an(this, H(o)) | |
715 | 715 | let bB = an(this, l) | |
716 | 716 | let bI = (bH + bB) | |
717 | 717 | let bJ = getInteger(this, y) | |
718 | 718 | if (if (if ((height >= bI)) | |
719 | 719 | then (bJ == unit) | |
720 | 720 | else false) | |
721 | 721 | then !(ct) | |
722 | 722 | else false) | |
723 | 723 | then { | |
724 | 724 | let cB = (o + 1) | |
725 | 725 | let cC = getInteger(this, m) | |
726 | 726 | let cD = { | |
727 | 727 | let ai = cC | |
728 | 728 | if ($isInstanceOf(ai, "Int")) | |
729 | 729 | then { | |
730 | 730 | let bU = ai | |
731 | 731 | [IntegerEntry(l, bU), DeleteEntry(m)] | |
732 | 732 | } | |
733 | 733 | else if ($isInstanceOf(ai, "Unit")) | |
734 | 734 | then nil | |
735 | 735 | else throw("Match error") | |
736 | 736 | } | |
737 | 737 | $Tuple2(([IntegerEntry(H(cB), height), IntegerEntry(B, height), IntegerEntry(p, cB), IntegerEntry(y, d), IntegerEntry(n(o), bB)] ++ cD), true) | |
738 | 738 | } | |
739 | 739 | else if (if (ct) | |
740 | 740 | then (bJ == unit) | |
741 | 741 | else false) | |
742 | 742 | then $Tuple2([IntegerEntry(y, f)], true) | |
743 | 743 | else if ((bJ == unit)) | |
744 | 744 | then $Tuple2(nil, false) | |
745 | 745 | else if ((bJ == d)) | |
746 | 746 | then { | |
747 | 747 | let cE = getString(z) | |
748 | 748 | let ai = cE | |
749 | 749 | if ($isInstanceOf(ai, "Unit")) | |
750 | 750 | then { | |
751 | 751 | let cF = getString(aV(aS)) | |
752 | 752 | if ($isInstanceOf(cF, "Unit")) | |
753 | 753 | then $Tuple2([IntegerEntry(y, e), DeleteEntry(z)], true) | |
754 | 754 | else if ($isInstanceOf(cF, "String")) | |
755 | 755 | then { | |
756 | 756 | let cG = cF | |
757 | 757 | $Tuple2([StringEntry(z, cG)], true) | |
758 | 758 | } | |
759 | 759 | else throw("Match error") | |
760 | 760 | } | |
761 | 761 | else if ($isInstanceOf(ai, "String")) | |
762 | 762 | then { | |
763 | 763 | let bW = ai | |
764 | 764 | let cH = getString(bb(aS, bW)) | |
765 | 765 | if ((cH == cH)) | |
766 | 766 | then { | |
767 | 767 | let cx = invoke(this, "processPoolBalanceINTERNAL", [bW], nil) | |
768 | 768 | if ((cx == cx)) | |
769 | 769 | then { | |
770 | 770 | let cF = cH | |
771 | 771 | if ($isInstanceOf(cF, "Unit")) | |
772 | 772 | then $Tuple2([IntegerEntry(y, e), DeleteEntry(z)], true) | |
773 | 773 | else if ($isInstanceOf(cF, "String")) | |
774 | 774 | then { | |
775 | 775 | let cG = cF | |
776 | 776 | $Tuple2([StringEntry(z, cG)], true) | |
777 | 777 | } | |
778 | 778 | else throw("Match error") | |
779 | 779 | } | |
780 | 780 | else throw("Strict value is not equal to itself.") | |
781 | 781 | } | |
782 | 782 | else throw("Strict value is not equal to itself.") | |
783 | 783 | } | |
784 | 784 | else throw("Match error") | |
785 | 785 | } | |
786 | 786 | else if ((bJ == e)) | |
787 | 787 | then { | |
788 | 788 | let cE = getString(z) | |
789 | 789 | let cI = getString(A) | |
790 | 790 | let ai = cE | |
791 | 791 | if ($isInstanceOf(ai, "Unit")) | |
792 | 792 | then { | |
793 | 793 | let cF = getString(aV(aS)) | |
794 | 794 | if ($isInstanceOf(cF, "Unit")) | |
795 | 795 | then $Tuple2([IntegerEntry(y, f), DeleteEntry(z), DeleteEntry(A)], true) | |
796 | 796 | else if ($isInstanceOf(cF, "String")) | |
797 | 797 | then { | |
798 | 798 | let cJ = cF | |
799 | 799 | $Tuple2([StringEntry(z, cJ)], true) | |
800 | 800 | } | |
801 | 801 | else throw("Match error") | |
802 | 802 | } | |
803 | 803 | else if ($isInstanceOf(ai, "String")) | |
804 | 804 | then { | |
805 | 805 | let bW = ai | |
806 | 806 | let K = ap(bW) | |
807 | 807 | let cK = { | |
808 | 808 | let cF = cI | |
809 | 809 | if ($isInstanceOf(cF, "Unit")) | |
810 | 810 | then getString(aV(aT(K))) | |
811 | 811 | else if ($isInstanceOf(cF, "String")) | |
812 | 812 | then { | |
813 | 813 | let cL = cF | |
814 | 814 | let cM = getString(bb(aT(K), cL)) | |
815 | 815 | if ((cM == cM)) | |
816 | 816 | then { | |
817 | 817 | let cN = invoke(this, "processVoteINTERNAL", [bW, cL], nil) | |
818 | 818 | if ((cN == cN)) | |
819 | 819 | then cM | |
820 | 820 | else throw("Strict value is not equal to itself.") | |
821 | 821 | } | |
822 | 822 | else throw("Strict value is not equal to itself.") | |
823 | 823 | } | |
824 | 824 | else throw("Match error") | |
825 | 825 | } | |
826 | 826 | let cF = cK | |
827 | 827 | if ($isInstanceOf(cF, "Unit")) | |
828 | 828 | then { | |
829 | 829 | let cH = getString(bb(aS, bW)) | |
830 | 830 | let cO = cH | |
831 | 831 | if ($isInstanceOf(cO, "Unit")) | |
832 | 832 | then $Tuple2([IntegerEntry(y, f), DeleteEntry(z), DeleteEntry(A)], true) | |
833 | 833 | else if ($isInstanceOf(cO, "String")) | |
834 | 834 | then { | |
835 | 835 | let bn = cO | |
836 | 836 | $Tuple2([StringEntry(z, bn), DeleteEntry(A)], true) | |
837 | 837 | } | |
838 | 838 | else throw("Match error") | |
839 | 839 | } | |
840 | 840 | else if ($isInstanceOf(cF, "String")) | |
841 | 841 | then { | |
842 | 842 | let cP = cF | |
843 | 843 | $Tuple2([StringEntry(A, cP)], true) | |
844 | 844 | } | |
845 | 845 | else throw("Match error") | |
846 | 846 | } | |
847 | 847 | else throw("Match error") | |
848 | 848 | } | |
849 | 849 | else if ((bJ == f)) | |
850 | 850 | then { | |
851 | 851 | let cE = getString(z) | |
852 | 852 | let ai = cE | |
853 | 853 | if ($isInstanceOf(ai, "Unit")) | |
854 | 854 | then { | |
855 | 855 | let cF = getString(aV(aS)) | |
856 | 856 | if ($isInstanceOf(cF, "Unit")) | |
857 | 857 | then { | |
858 | 858 | let cb = if (ct) | |
859 | 859 | then [DeleteEntry(y), DeleteEntry(E)] | |
860 | 860 | else [DeleteEntry(y), BooleanEntry(I(cA), true), IntegerEntry(C, o), IntegerEntry(D, bH)] | |
861 | 861 | let cQ = aQ() | |
862 | 862 | if ((cQ == cQ)) | |
863 | 863 | then $Tuple2(cb, true) | |
864 | 864 | else throw("Strict value is not equal to itself.") | |
865 | 865 | } | |
866 | 866 | else if ($isInstanceOf(cF, "String")) | |
867 | 867 | then { | |
868 | 868 | let cG = cF | |
869 | 869 | $Tuple2([StringEntry(z, cG)], true) | |
870 | 870 | } | |
871 | 871 | else throw("Match error") | |
872 | 872 | } | |
873 | 873 | else if ($isInstanceOf(ai, "String")) | |
874 | 874 | then { | |
875 | 875 | let bW = ai | |
876 | 876 | let cH = getString(bb(aS, bW)) | |
877 | 877 | if ((cH == cH)) | |
878 | 878 | then { | |
879 | 879 | let cx = { | |
880 | 880 | let am = invoke(this, "processPoolINTERNAL", [bW, ct], nil) | |
881 | 881 | if ($isInstanceOf(am, "Boolean")) | |
882 | 882 | then am | |
883 | 883 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
884 | 884 | } | |
885 | 885 | if ((cx == cx)) | |
886 | 886 | then if (cx) | |
887 | 887 | then $Tuple2(nil, true) | |
888 | 888 | else { | |
889 | 889 | let cF = cH | |
890 | 890 | if ($isInstanceOf(cF, "Unit")) | |
891 | 891 | then { | |
892 | 892 | let cb = if (ct) | |
893 | 893 | then [DeleteEntry(y), DeleteEntry(E), DeleteEntry(z)] | |
894 | 894 | else [DeleteEntry(y), BooleanEntry(I(cA), true), IntegerEntry(C, o), IntegerEntry(D, bH), DeleteEntry(z)] | |
895 | 895 | let cQ = aQ() | |
896 | 896 | if ((cQ == cQ)) | |
897 | 897 | then $Tuple2(cb, true) | |
898 | 898 | else throw("Strict value is not equal to itself.") | |
899 | 899 | } | |
900 | 900 | else if ($isInstanceOf(cF, "String")) | |
901 | 901 | then { | |
902 | 902 | let cG = cF | |
903 | 903 | $Tuple2([StringEntry(z, cG)], true) | |
904 | 904 | } | |
905 | 905 | else throw("Match error") | |
906 | 906 | } | |
907 | 907 | else throw("Strict value is not equal to itself.") | |
908 | 908 | } | |
909 | 909 | else throw("Strict value is not equal to itself.") | |
910 | 910 | } | |
911 | 911 | else throw("Match error") | |
912 | 912 | } | |
913 | 913 | else ad("finalization is broken") | |
914 | 914 | } | |
915 | 915 | ||
916 | 916 | ||
917 | 917 | ||
918 | 918 | @Callable(br) | |
919 | 919 | func finalizeWrapper (cR) = { | |
920 | 920 | let cS = addressFromStringValue(getStringValue(this, t)) | |
921 | 921 | let cT = { | |
922 | 922 | let am = invoke(this, "finalizeHelper", nil, nil) | |
923 | 923 | if ($isInstanceOf(am, "Boolean")) | |
924 | 924 | then am | |
925 | 925 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
926 | 926 | } | |
927 | 927 | if ((cT == cT)) | |
928 | 928 | then if (!(cT)) | |
929 | 929 | then if ((cR == 0)) | |
930 | 930 | then ad("Current voting is not over yet") | |
931 | 931 | else { | |
932 | 932 | let cU = invoke(cS, "finalize", nil, nil) | |
933 | 933 | if ((cU == cU)) | |
934 | 934 | then $Tuple2(nil, unit) | |
935 | 935 | else throw("Strict value is not equal to itself.") | |
936 | 936 | } | |
937 | 937 | else { | |
938 | 938 | let cV = valueOrElse(getInteger(this, q), c) | |
939 | 939 | if ((cV > cR)) | |
940 | 940 | then { | |
941 | 941 | let cU = invoke(this, "finalizeWrapper", [(cR + 1)], nil) | |
942 | 942 | if ((cU == cU)) | |
943 | 943 | then $Tuple2(nil, unit) | |
944 | 944 | else throw("Strict value is not equal to itself.") | |
945 | 945 | } | |
946 | 946 | else $Tuple2(nil, unit) | |
947 | 947 | } | |
948 | 948 | else throw("Strict value is not equal to itself.") | |
949 | 949 | } | |
950 | 950 | ||
951 | 951 | ||
952 | 952 | ||
953 | 953 | @Callable(br) | |
954 | 954 | func finalize () = { | |
955 | 955 | let cU = invoke(this, "finalizeWrapper", [0], nil) | |
956 | 956 | if ((cU == cU)) | |
957 | 957 | then $Tuple2(nil, unit) | |
958 | 958 | else throw("Strict value is not equal to itself.") | |
959 | 959 | } | |
960 | 960 | ||
961 | 961 | ||
962 | 962 | ||
963 | 963 | @Callable(br) | |
964 | 964 | func containsNodeREADONLY (aW,ba) = $Tuple2(nil, bc(aW, ba)) | |
965 | 965 | ||
966 | 966 | ||
967 | 967 | ||
968 | 968 | @Callable(br) | |
969 | 969 | func insertNode (aW,ba) = { | |
970 | 970 | let bX = bt(br) | |
971 | 971 | if ((bX == bX)) | |
972 | 972 | then $Tuple2(bg(aW, ba), unit) | |
973 | 973 | else throw("Strict value is not equal to itself.") | |
974 | 974 | } | |
975 | 975 | ||
976 | 976 | ||
977 | 977 | ||
978 | 978 | @Callable(br) | |
979 | 979 | func deleteNode (aW,ba) = { | |
980 | 980 | let bX = bt(br) | |
981 | 981 | if ((bX == bX)) | |
982 | 982 | then $Tuple2(bj(aW, ba), unit) | |
983 | 983 | else throw("Strict value is not equal to itself.") | |
984 | 984 | } | |
985 | 985 | ||
986 | 986 | ||
987 | 987 | ||
988 | 988 | @Callable(br) | |
989 | 989 | func isFinalizationInProgress () = { | |
990 | 990 | let bJ = getInteger(this, y) | |
991 | 991 | let cW = (bJ != unit) | |
992 | 992 | $Tuple2(nil, cW) | |
993 | 993 | } | |
994 | 994 | ||
995 | 995 | ||
996 | 996 | ||
997 | 997 | @Callable(br) | |
998 | 998 | func deletePool (M,N) = { | |
999 | 999 | let bX = if (if ((br.caller == ar)) | |
1000 | 1000 | then true | |
1001 | 1001 | else bt(br)) | |
1002 | 1002 | then true | |
1003 | 1003 | else ad("Permission denied") | |
1004 | 1004 | if ((bX == bX)) | |
1005 | 1005 | then { | |
1006 | 1006 | let aW = "pools" | |
1007 | 1007 | let K = $Tuple2(M, N) | |
1008 | 1008 | let ba = makeString([M, N], a) | |
1009 | 1009 | let cb = if (bc(aW, ba)) | |
1010 | 1010 | then bj(aW, ba) | |
1011 | 1011 | else nil | |
1012 | 1012 | ([DeleteEntry(J(K))] ++ cb) | |
1013 | 1013 | } | |
1014 | 1014 | else throw("Strict value is not equal to itself.") | |
1015 | 1015 | } | |
1016 | 1016 | ||
1017 | 1017 | ||
1018 | 1018 | ||
1019 | 1019 | @Callable(br) | |
1020 | 1020 | func resume (M,N,cX) = { | |
1021 | 1021 | let bJ = getInteger(this, y) | |
1022 | 1022 | let cY = valueOrErrorMessage(aB(M, N), ab("invalid assets")) | |
1023 | 1023 | let ce = cY._1 | |
1024 | 1024 | let aN = cY._2 | |
1025 | 1025 | let cZ = br.payments[0] | |
1026 | 1026 | let cy = addressFromStringValue(getStringValue(this, x)) | |
1027 | 1027 | let da = "%s__config" | |
1028 | 1028 | let db = 1 | |
1029 | 1029 | let bz = addressFromStringValue(al(this, v)) | |
1030 | 1030 | let dc = fromBase58String(split(getStringValue(bz, da), a)[db]) | |
1031 | 1031 | let dd = { | |
1032 | 1032 | let am = invoke(cy, "isVerifiedREADONLY", [M], nil) | |
1033 | 1033 | if ($isInstanceOf(am, "Boolean")) | |
1034 | 1034 | then am | |
1035 | 1035 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
1036 | 1036 | } | |
1037 | 1037 | let de = { | |
1038 | 1038 | let am = invoke(cy, "isVerifiedREADONLY", [N], nil) | |
1039 | 1039 | if ($isInstanceOf(am, "Boolean")) | |
1040 | 1040 | then am | |
1041 | 1041 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
1042 | 1042 | } | |
1043 | 1043 | let df = valueOrErrorMessage(getInteger(this, r), "invalid resumption fee") | |
1044 | 1044 | let bC = [if ((bJ == unit)) | |
1045 | 1045 | then true | |
1046 | 1046 | else ad("finalization is in progress"), if ((cZ.assetId == dc)) | |
1047 | 1047 | then true | |
1048 | 1048 | else ad("invalid fee payment asset id"), if ((cZ.amount == df)) | |
1049 | 1049 | then true | |
1050 | 1050 | else ad("invalid fee payment amount"), if (if (dd) | |
1051 | 1051 | then de | |
1052 | 1052 | else false) | |
1053 | 1053 | then true | |
1054 | 1054 | else ad("both assets should be verified")] | |
1055 | 1055 | if ((bC == bC)) | |
1056 | 1056 | then { | |
1057 | 1057 | let dg = assetBalance(this, aN) | |
1058 | 1058 | if ((dg == dg)) | |
1059 | 1059 | then { | |
1060 | 1060 | let dh = false | |
1061 | 1061 | let di = if ((size(br.payments) == 1)) | |
1062 | 1062 | then { | |
1063 | 1063 | let ca = { | |
1064 | 1064 | let am = invoke(ar, "checkBalance", [aA(aN)], nil) | |
1065 | 1065 | if ($isInstanceOf(am, "Boolean")) | |
1066 | 1066 | then am | |
1067 | 1067 | else throw(($getType(am) + " couldn't be cast to Boolean")) | |
1068 | 1068 | } | |
1069 | 1069 | if (ca) | |
1070 | 1070 | then true | |
1071 | 1071 | else ad("assets should be attached") | |
1072 | 1072 | } | |
1073 | 1073 | else if ((size(br.payments) == 2)) | |
1074 | 1074 | then { | |
1075 | 1075 | let dj = valueOrErrorMessage(scriptHash(ce), ab("pool address is not scripted")) | |
1076 | 1076 | let dk = fromBase64String(valueOrErrorMessage(getString(ar, G()), ab("allowed lp stable script hash is not set"))) | |
1077 | 1077 | let dl = (dj == dk) | |
1078 | 1078 | let dm = if (dl) | |
1079 | 1079 | then "putOneTknV2" | |
1080 | 1080 | else "putOneTkn" | |
1081 | 1081 | invoke(ce, dm, [cX, dh], [br.payments[1]]) | |
1082 | 1082 | } | |
1083 | 1083 | else if ((size(br.payments) == 3)) | |
1084 | 1084 | then invoke(ce, "put", [cX, dh], [br.payments[1], br.payments[2]]) | |
1085 | 1085 | else ad("invalid payments size") | |
1086 | 1086 | if ((di == di)) | |
1087 | 1087 | then { | |
1088 | 1088 | let dn = assetBalance(this, aN) | |
1089 | 1089 | if ((dn == dn)) | |
1090 | 1090 | then { | |
1091 | 1091 | let do = (dn - dg) | |
1092 | 1092 | let dp = if ((do > 0)) | |
1093 | 1093 | then [ScriptTransfer(br.caller, do, aN)] | |
1094 | 1094 | else nil | |
1095 | 1095 | let dq = invoke(ar, "setWxEmissionPoolLabel", [M, N], nil) | |
1096 | 1096 | if ((dq == dq)) | |
1097 | 1097 | then { | |
1098 | 1098 | let dr = { | |
1099 | 1099 | let am = invoke(ar, "getPoolStatusREADONLY", [toString(ce)], nil) | |
1100 | 1100 | if ($isInstanceOf(am, "Int")) | |
1101 | 1101 | then am | |
1102 | 1102 | else throw(($getType(am) + " couldn't be cast to Int")) | |
1103 | 1103 | } | |
1104 | 1104 | let cf = if ((dr == j)) | |
1105 | 1105 | then invoke(ar, "managePool", [toString(ce), h], nil) | |
1106 | 1106 | else unit | |
1107 | 1107 | if ((cf == cf)) | |
1108 | 1108 | then { | |
1109 | 1109 | let K = $Tuple2(M, N) | |
1110 | 1110 | let bD = ([BooleanEntry(J(K), true)] ++ bg(aS, ao(K))) | |
1111 | 1111 | $Tuple2((bD ++ dp), unit) | |
1112 | 1112 | } | |
1113 | 1113 | else throw("Strict value is not equal to itself.") | |
1114 | 1114 | } | |
1115 | 1115 | else throw("Strict value is not equal to itself.") | |
1116 | 1116 | } | |
1117 | 1117 | else throw("Strict value is not equal to itself.") | |
1118 | 1118 | } | |
1119 | 1119 | else throw("Strict value is not equal to itself.") | |
1120 | 1120 | } | |
1121 | 1121 | else throw("Strict value is not equal to itself.") | |
1122 | 1122 | } | |
1123 | 1123 | else throw("Strict value is not equal to itself.") | |
1124 | 1124 | } | |
1125 | 1125 | ||
1126 | 1126 | ||
1127 | 1127 | @Verifier(ds) | |
1128 | 1128 | func dt () = { | |
1129 | 1129 | let du = { | |
1130 | 1130 | let ai = bo() | |
1131 | 1131 | if ($isInstanceOf(ai, "ByteVector")) | |
1132 | 1132 | then { | |
1133 | 1133 | let bs = ai | |
1134 | 1134 | bs | |
1135 | 1135 | } | |
1136 | 1136 | else if ($isInstanceOf(ai, "Unit")) | |
1137 | 1137 | then ds.senderPublicKey | |
1138 | 1138 | else throw("Match error") | |
1139 | 1139 | } | |
1140 | 1140 | sigVerify(ds.bodyBytes, ds.proofs[0], du) | |
1141 | 1141 | } | |
1142 | 1142 |
github/deemru/w8io/169f3d6 87.75 ms ◑