tx · EAmYFzeoPoe26PAmNtN9n9bGCHK2exKVQhnC1HBCmjdL 3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE: -0.02100000 Waves 2023.06.08 18:43 [2613890] smart account 3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE > SELF 0.00000000 Waves
{ "type": 13, "id": "EAmYFzeoPoe26PAmNtN9n9bGCHK2exKVQhnC1HBCmjdL", "fee": 2100000, "feeAssetId": null, "timestamp": 1686239047973, "version": 2, "chainId": 84, "sender": "3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE", "senderPublicKey": "6t3vrhP1jCmG7CeKBmL8hUibtdP3cMXGC2XtPYEPPC5w", "proofs": [ "57ugHp3ECdwTpNc8eaPqwZPqS9ARH4SYbFTyYKTDGT9SRvTkXggsTSL8WTyaXLdESe5L5aBVvkyefsHtoALrL9Mr" ], "script": "base64:BgIrCAISBQoDCAEIEgMKAQgSBAoCCAQSAwoBCBIDCgEIEgUKAwgBCBIECgIIAS8ACXNlcGFyYXRvcgICX18ABU1VTFQ4AIDC1y8BB3dyYXBFcnIBA21zZwkAuQkCCQDMCAICGHZvdGluZ192ZXJpZmllZF92Mi5yaWRlOgkAzAgCBQNtc2cFA25pbAIBIAEIdGhyb3dFcnIBA21zZwkAAgEJAQd3cmFwRXJyAQUDbXNnAQVhc0ludAEDdmFsBAckbWF0Y2gwBQN2YWwDCQABAgUHJG1hdGNoMAIDSW50BAZ2YWxJbnQFByRtYXRjaDAFBnZhbEludAkAAgECG0ZhaWxlZCB0byBjYXN0IGludG8gSW50ZWdlcgEQZ2V0SW50ZWdlck9yWmVybwIHYWRkcmVzcwNrZXkJAQt2YWx1ZU9yRWxzZQIJAJoIAgUHYWRkcmVzcwUDa2V5AAABEGdldEludGVnZXJPckZhaWwCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJoIAgUHYWRkcmVzcwUDa2V5CQEHd3JhcEVycgEJAKwCAgUDa2V5Ag8gaX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dlckVudHJ5AgUPY2xhaW1IaXN0b3J5S2V5BQxyZXdhcmRBbW91bnQJAMwIAgkBC0RlbGV0ZUVudHJ5AQkBD2tleVZvdGluZ1Jld2FyZAMFDWNhbGxlckFkZHJlc3MFB2Fzc2V0SWQFBWluZGV4BQNuaWwJAQh0aHJvd0VycgECEG5vdGhpbmcgdG8gY2xhaW0FDHJld2FyZEFjdGlvbgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgECdHgBBnZlcmlmeQAED3RhcmdldFB1YmxpY0tleQQHJG1hdGNoMAkBFm1hbmFnZXJQdWJsaWNLZXlPclVuaXQAAwkAAQIFByRtYXRjaDACCkJ5dGVWZWN0b3IEAnBrBQckbWF0Y2gwBQJwawMJAAECBQckbWF0Y2gwAgRVbml0CAUCdHgPc2VuZGVyUHVibGljS2V5CQACAQILTWF0Y2ggZXJyb3IJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tleQmWb08=", "height": 2613890, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: hR4KL3FKMExdrcwZyu9Rs5HPqk5HHFkWR4eSusEQsy5 Next: 3qHfMPkCgVRxyJQVfDonoBEbkyHPT4VEkrk86HaiH8vY Diff:
Old | New | Differences | |
---|---|---|---|
299 | 299 | let bh = bg._1 | |
300 | 300 | let bi = bg._2 | |
301 | 301 | let bj = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bh, bi) | |
302 | - | let bk = { | |
303 | - | let h = getBoolean(D(E, aw)) | |
304 | - | if ($isInstanceOf(h, "Boolean")) | |
305 | - | then { | |
306 | - | let bl = h | |
307 | - | [BooleanEntry(G(aK.caller, E, aw), true)] | |
308 | - | } | |
309 | - | else if ($isInstanceOf(h, "Unit")) | |
310 | - | then nil | |
311 | - | else throw("Match error") | |
312 | - | } | |
302 | + | let bk = if ((getBoolean(D(E, aw)) != unit)) | |
303 | + | then [BooleanEntry(G(aK.caller, E, aw), true)] | |
304 | + | else nil | |
313 | 305 | ([StringEntry(aC, O(P, bf)), StringEntry(X(E, aw), bj)] ++ bk) | |
314 | 306 | } | |
315 | 307 | else throw("Strict value is not equal to itself.") | |
342 | 334 | let at = ar(aF) | |
343 | 335 | let ah = at._9 | |
344 | 336 | let ai = at._10 | |
345 | - | let | |
337 | + | let bl = if ((P == "true")) | |
346 | 338 | then $Tuple2((ah - Q), ai) | |
347 | 339 | else $Tuple2(ah, (ai - Q)) | |
348 | - | let bh = | |
349 | - | let bi = | |
340 | + | let bh = bl._1 | |
341 | + | let bi = bl._2 | |
350 | 342 | let bj = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bh, bi) | |
351 | 343 | [StringEntry(X(E, aw), bj), DeleteEntry(aC), DeleteEntry(G(aK.caller, E, aw))] | |
352 | 344 | } | |
361 | 353 | func finalize (E) = { | |
362 | 354 | let aS = L(E) | |
363 | 355 | let aw = valueOrElse(getInteger(aS), 0) | |
364 | - | let | |
365 | - | let | |
356 | + | let bm = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set")) | |
357 | + | let bn = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set")) | |
366 | 358 | let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found")) | |
367 | 359 | let at = ar(aF) | |
368 | 360 | let ac = at._4 | |
369 | 361 | let ad = at._5 | |
370 | 362 | let af = at._7 | |
371 | - | let | |
363 | + | let bo = at._8 | |
372 | 364 | let ah = at._9 | |
373 | 365 | let ai = at._10 | |
374 | 366 | let az = [if ((ad == "inProgress")) | |
378 | 370 | else e("voting not finished")] | |
379 | 371 | if ((az == az)) | |
380 | 372 | then { | |
381 | - | let | |
373 | + | let bp = if (((ah + ai) >= bo)) | |
382 | 374 | then "accepted" | |
383 | 375 | else "rejected" | |
384 | - | let | |
376 | + | let bq = if ((ac == "verification")) | |
385 | 377 | then true | |
386 | 378 | else false | |
387 | - | let | |
379 | + | let br = if ((ai > ah)) | |
388 | 380 | then { | |
389 | - | let | |
390 | - | if (( | |
381 | + | let bs = invoke(u, "setVerified", [E, bq], nil) | |
382 | + | if ((bs == bs)) | |
391 | 383 | then { | |
392 | 384 | let aZ = valueOrElse(getInteger(J), 0) | |
393 | 385 | [ScriptTransfer(aK.caller, aZ, x)] | |
395 | 387 | else throw("Strict value is not equal to itself.") | |
396 | 388 | } | |
397 | 389 | else nil | |
398 | - | let bj = Y(at._1, at._2, at._3, at._4, | |
399 | - | ([StringEntry(X(E, aw), bj)] ++ | |
390 | + | let bj = Y(at._1, at._2, at._3, at._4, bp, at._6, at._7, at._8, at._9, at._10) | |
391 | + | ([StringEntry(X(E, aw), bj)] ++ br) | |
400 | 392 | } | |
401 | 393 | else throw("Strict value is not equal to itself.") | |
402 | 394 | } | |
404 | 396 | ||
405 | 397 | ||
406 | 398 | @Callable(aK) | |
407 | - | func claimREADONLY (E,F, | |
408 | - | let H = valueOrErrorMessage(addressFromString( | |
409 | - | let | |
410 | - | let ab = if (isDefined( | |
399 | + | func claimREADONLY (E,F,bt) = { | |
400 | + | let H = valueOrErrorMessage(addressFromString(bt), c("invalid address")) | |
401 | + | let bu = getString(D(E, F)) | |
402 | + | let ab = if (isDefined(bu)) | |
411 | 403 | then aA(H, E, F) | |
412 | 404 | else 0 | |
413 | 405 | $Tuple2(nil, ab) | |
417 | 409 | ||
418 | 410 | @Callable(aK) | |
419 | 411 | func claim (E,F) = { | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let az = [if (( | |
412 | + | let bv = aK.caller | |
413 | + | let bw = S(bv, E, F) | |
414 | + | let bx = getInteger(bw) | |
415 | + | let az = [if ((bx == unit)) | |
424 | 416 | then true | |
425 | 417 | else e("already claimed")] | |
426 | 418 | if ((az == az)) | |
427 | 419 | then { | |
428 | - | let ab = if ((aA( | |
429 | - | then aA( | |
420 | + | let ab = if ((aA(bv, E, F) > 0)) | |
421 | + | then aA(bv, E, F) | |
430 | 422 | else e("nothing to claim") | |
431 | - | let | |
432 | - | let | |
423 | + | let bu = getString(D(E, F)) | |
424 | + | let by = if (isDefined(bu)) | |
433 | 425 | then { | |
434 | - | let | |
435 | - | [ScriptTransfer( | |
426 | + | let bz = fromBase58String(value(bu)) | |
427 | + | [ScriptTransfer(bv, ab, bz), IntegerEntry(bw, ab), DeleteEntry(G(bv, E, F))] | |
436 | 428 | } | |
437 | 429 | else e("nothing to claim") | |
438 | - | | |
430 | + | by | |
439 | 431 | } | |
440 | 432 | else throw("Strict value is not equal to itself.") | |
441 | 433 | } | |
442 | 434 | ||
443 | 435 | ||
444 | - | @Verifier( | |
445 | - | func | |
446 | - | let | |
436 | + | @Verifier(bA) | |
437 | + | func bB () = { | |
438 | + | let bC = { | |
447 | 439 | let h = ap() | |
448 | 440 | if ($isInstanceOf(h, "ByteVector")) | |
449 | 441 | then { | |
450 | - | let | |
451 | - | | |
442 | + | let bD = h | |
443 | + | bD | |
452 | 444 | } | |
453 | 445 | else if ($isInstanceOf(h, "Unit")) | |
454 | - | then | |
446 | + | then bA.senderPublicKey | |
455 | 447 | else throw("Match error") | |
456 | 448 | } | |
457 | - | sigVerify( | |
449 | + | sigVerify(bA.bodyBytes, bA.proofs[0], bC) | |
458 | 450 | } | |
459 | 451 |
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 | func c (d) = makeString(["voting_verified_v2.ride:", d], " ") | |
9 | 9 | ||
10 | 10 | ||
11 | 11 | func e (d) = throw(c(d)) | |
12 | 12 | ||
13 | 13 | ||
14 | 14 | func f (g) = { | |
15 | 15 | let h = g | |
16 | 16 | if ($isInstanceOf(h, "Int")) | |
17 | 17 | then { | |
18 | 18 | let i = h | |
19 | 19 | i | |
20 | 20 | } | |
21 | 21 | else throw("Failed to cast into Integer") | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func j (k,l) = valueOrElse(getInteger(k, l), 0) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func m (k,l) = valueOrErrorMessage(getInteger(k, l), c((l + " is not defined"))) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func n (k,l) = valueOrElse(getString(k, l), "") | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func o (k,l) = valueOrErrorMessage(getString(k, l), c((l + " is not defined"))) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | let p = makeString(["%s", "boostingContract"], a) | |
38 | 38 | ||
39 | 39 | let q = makeString(["%s", "emissionContract"], a) | |
40 | 40 | ||
41 | 41 | let r = makeString(["%s", "assetsStoreContract"], a) | |
42 | 42 | ||
43 | 43 | let s = addressFromStringValue(getStringValue(p)) | |
44 | 44 | ||
45 | 45 | let t = addressFromStringValue(getStringValue(q)) | |
46 | 46 | ||
47 | 47 | let u = addressFromStringValue(getStringValue(r)) | |
48 | 48 | ||
49 | 49 | let v = makeString(["%s", "config"], a) | |
50 | 50 | ||
51 | 51 | let w = split(o(t, v), a)[1] | |
52 | 52 | ||
53 | 53 | let x = fromBase58String(w) | |
54 | 54 | ||
55 | 55 | let y = makeString(["%s%s", "votingThreshold", "add"], a) | |
56 | 56 | ||
57 | 57 | let z = makeString(["%s%s", "votingThreshold", "remove"], a) | |
58 | 58 | ||
59 | 59 | let A = makeString(["%s", "periodLengthRemove"], a) | |
60 | 60 | ||
61 | 61 | let B = makeString(["%s", "maxPeriodLength"], a) | |
62 | 62 | ||
63 | 63 | let C = makeString(["%s", "minPeriodLength"], a) | |
64 | 64 | ||
65 | 65 | func D (E,F) = makeString(["%s%s%d", "votingRewardAssetId", E, toString(F)], a) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func G (H,E,F) = makeString(["%s%s%s%d", "votingReward", toString(H), E, toString(F)], a) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func I (E,F) = makeString(["%s%s%d", "totalVotingReward", E, toString(F)], a) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | let J = makeString(["%s", "finalizeCallRewardAmount"], a) | |
75 | 75 | ||
76 | 76 | let K = makeString(["%s", "minSuggestRemoveBalance"], a) | |
77 | 77 | ||
78 | 78 | func L (E) = makeString(["%s%s", "currentIndex", E], a) | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func M (E,F,N) = makeString(["%s%s%d%s", "vote", E, toString(F), toString(N)], a) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func O (P,Q) = makeString(["%s%d", toString(P), toString(Q)], a) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func R (E,F) = makeString(["%s%s%d", "suggestIssuer", E, toString(F)], a) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func S (H,E,F) = makeString(["%s%s%s%d", "history", toString(H), E, toString(F)], a) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | let T = makeString(["%s", "feePerBlock"], a) | |
94 | 94 | ||
95 | 95 | let U = m(this, T) | |
96 | 96 | ||
97 | 97 | let V = makeString(["%s", "wxMinForSuggestAddAmountRequired"], a) | |
98 | 98 | ||
99 | 99 | let W = makeString(["%s", "wxForSuggestRemoveAmountRequired"], a) | |
100 | 100 | ||
101 | 101 | func X (E,F) = makeString(["%s%s%d", "votingInfo", E, toString(F)], a) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func Y (Z,aa,ab,ac,ad,ae,af,ag,ah,ai) = makeString(["%s%s%d%s%s%d%d%d%d%d", toString(Z), aa, toString(ab), ac, ad, toString(ae), toString(af), toString(ag), toString(ah), toString(ai)], a) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func aj (H,ak) = { | |
108 | 108 | let Q = invoke(s, "getUserGwxAmountAtHeightREADONLY", [H, ak], nil) | |
109 | 109 | f(Q) | |
110 | 110 | } | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func al () = "%s__managerVaultAddress" | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func am () = "%s__managerPublicKey" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func an () = { | |
120 | 120 | let h = getString(al()) | |
121 | 121 | if ($isInstanceOf(h, "String")) | |
122 | 122 | then { | |
123 | 123 | let ao = h | |
124 | 124 | addressFromStringValue(ao) | |
125 | 125 | } | |
126 | 126 | else this | |
127 | 127 | } | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func ap () = { | |
131 | 131 | let aq = an() | |
132 | 132 | let h = getString(aq, am()) | |
133 | 133 | if ($isInstanceOf(h, "String")) | |
134 | 134 | then { | |
135 | 135 | let ao = h | |
136 | 136 | fromBase58String(ao) | |
137 | 137 | } | |
138 | 138 | else if ($isInstanceOf(h, "Unit")) | |
139 | 139 | then unit | |
140 | 140 | else throw("Match error") | |
141 | 141 | } | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ar (as) = { | |
145 | 145 | let at = split(as, a) | |
146 | 146 | let au = at[1] | |
147 | 147 | let Z = if ((au == "true")) | |
148 | 148 | then true | |
149 | 149 | else false | |
150 | 150 | let aa = at[2] | |
151 | 151 | let ab = parseIntValue(at[3]) | |
152 | 152 | let ac = at[4] | |
153 | 153 | let ad = at[5] | |
154 | 154 | let ae = parseIntValue(at[6]) | |
155 | 155 | let af = parseIntValue(at[7]) | |
156 | 156 | let ag = parseIntValue(at[8]) | |
157 | 157 | let ah = parseIntValue(at[9]) | |
158 | 158 | let ai = parseIntValue(at[10]) | |
159 | 159 | $Tuple10(Z, aa, ab, ac, ad, ae, af, ag, ah, ai) | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func av (E,aw) = { | |
164 | 164 | let as = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found")) | |
165 | 165 | let ax = split(as, a) | |
166 | 166 | let ad = ax[5] | |
167 | 167 | let af = valueOrErrorMessage(parseIntValue(ax[7]), c("voting start height not found")) | |
168 | 168 | let ay = valueOrErrorMessage(getString(R(E, aw)), c("voting issuer not found")) | |
169 | 169 | let az = [if ((ad == "inProgress")) | |
170 | 170 | then true | |
171 | 171 | else e("no voting in progress"), if ((af > height)) | |
172 | 172 | then true | |
173 | 173 | else e("voting expired")] | |
174 | 174 | if ((az == az)) | |
175 | 175 | then $Tuple3(ad, af, ay) | |
176 | 176 | else throw("Strict value is not equal to itself.") | |
177 | 177 | } | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func aA (aB,E,F) = { | |
181 | 181 | let aC = M(E, F, aB) | |
182 | 182 | let aD = valueOrErrorMessage(getString(aC), c("you have not voted")) | |
183 | 183 | let aE = split(aD, a) | |
184 | 184 | let Q = parseIntValue(aE[2]) | |
185 | 185 | let aF = valueOrErrorMessage(getString(X(E, F)), c("voting info not found")) | |
186 | 186 | let aG = ar(aF) | |
187 | 187 | let ah = aG._9 | |
188 | 188 | let ai = aG._10 | |
189 | 189 | let aH = fraction(Q, b, (ah + ai)) | |
190 | 190 | let aI = valueOrElse(getInteger(I(E, F)), 0) | |
191 | 191 | let aJ = fraction(aH, aI, b, FLOOR) | |
192 | 192 | aJ | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | @Callable(aK) | |
197 | 197 | func suggestAdd (E,aL,aM) = { | |
198 | 198 | let aN = aK.payments[0] | |
199 | 199 | let aO = value(aN.assetId) | |
200 | 200 | let aP = value(aN.amount) | |
201 | 201 | let aQ = getIntegerValue(C) | |
202 | 202 | let aR = getIntegerValue(B) | |
203 | 203 | let az = [if (if ((aL >= aQ)) | |
204 | 204 | then (aR >= aL) | |
205 | 205 | else false) | |
206 | 206 | then true | |
207 | 207 | else e("invalid periodLength"), if ((aP > (aL * U))) | |
208 | 208 | then true | |
209 | 209 | else e("not enough wx for given period"), if ((aP >= getIntegerValue(V))) | |
210 | 210 | then true | |
211 | 211 | else e("payment less then min for suggest")] | |
212 | 212 | if ((az == az)) | |
213 | 213 | then { | |
214 | 214 | let aS = L(E) | |
215 | 215 | let aw = getInteger(aS) | |
216 | 216 | let aT = if (isDefined(aw)) | |
217 | 217 | then (value(aw) + 1) | |
218 | 218 | else 0 | |
219 | 219 | let aU = if ((size(aK.payments) > 1)) | |
220 | 220 | then { | |
221 | 221 | let aV = aK.payments[1] | |
222 | 222 | let aW = toBase58String(value(aV.assetId)) | |
223 | 223 | let aX = value(aV.amount) | |
224 | 224 | $Tuple4(true, aW, aX, [StringEntry(D(E, aT), aW), IntegerEntry(I(E, aT), aX)]) | |
225 | 225 | } | |
226 | 226 | else $Tuple4(false, "EMPTY", 0, nil) | |
227 | 227 | let Z = aU._1 | |
228 | 228 | let aa = aU._2 | |
229 | 229 | let ab = aU._3 | |
230 | 230 | let aY = aU._4 | |
231 | 231 | let ag = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set")) | |
232 | 232 | let as = Y(Z, aa, ab, "verification", "inProgress", height, (height + aL), ag, 0, 0) | |
233 | 233 | let aZ = valueOrElse(getInteger(J), 0) | |
234 | 234 | let ba = (aP - aZ) | |
235 | 235 | let bb = invoke(u, "createOrUpdate", [E, aM, false], nil) | |
236 | 236 | if ((bb == bb)) | |
237 | 237 | then ([IntegerEntry(aS, aT), StringEntry(R(E, aT), toString(aK.caller)), StringEntry(X(E, aT), as), Burn(aO, ba)] ++ aY) | |
238 | 238 | else throw("Strict value is not equal to itself.") | |
239 | 239 | } | |
240 | 240 | else throw("Strict value is not equal to itself.") | |
241 | 241 | } | |
242 | 242 | ||
243 | 243 | ||
244 | 244 | ||
245 | 245 | @Callable(aK) | |
246 | 246 | func suggestRemove (E) = { | |
247 | 247 | let bc = aj(toString(aK.caller), height) | |
248 | 248 | let bd = getIntegerValue(K) | |
249 | 249 | let aN = aK.payments[0] | |
250 | 250 | let aO = value(aN.assetId) | |
251 | 251 | let aP = value(aN.amount) | |
252 | 252 | let az = [if ((bc >= bd)) | |
253 | 253 | then true | |
254 | 254 | else e("not enough gWXes"), if ((aP >= getIntegerValue(W))) | |
255 | 255 | then true | |
256 | 256 | else e("payment less then min for suggest")] | |
257 | 257 | if ((az == az)) | |
258 | 258 | then { | |
259 | 259 | let aS = L(E) | |
260 | 260 | let aw = getInteger(aS) | |
261 | 261 | let aT = if (isDefined(aw)) | |
262 | 262 | then (value(aw) + 1) | |
263 | 263 | else 0 | |
264 | 264 | let aL = valueOrErrorMessage(getInteger(A), c("periodLengthRemove not set")) | |
265 | 265 | let af = (height + aL) | |
266 | 266 | let ag = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set")) | |
267 | 267 | let as = Y(false, "EMPTY", 0, "deverification", "inProgress", height, (height + aL), ag, 0, 0) | |
268 | 268 | [IntegerEntry(aS, aT), StringEntry(R(E, aT), toString(aK.caller)), StringEntry(X(E, aT), as)] | |
269 | 269 | } | |
270 | 270 | else throw("Strict value is not equal to itself.") | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | ||
275 | 275 | @Callable(aK) | |
276 | 276 | func vote (E,P) = { | |
277 | 277 | let aS = L(E) | |
278 | 278 | let aw = valueOrErrorMessage(getInteger(aS), c("voting does not exist")) | |
279 | 279 | let as = av(E, aw) | |
280 | 280 | if ((as == as)) | |
281 | 281 | then { | |
282 | 282 | let be = as._2 | |
283 | 283 | let bf = aj(toString(aK.caller), be) | |
284 | 284 | let aC = M(E, aw, aK.caller) | |
285 | 285 | let az = [if ((getString(aC) == unit)) | |
286 | 286 | then true | |
287 | 287 | else e("You have already voted"), if ((bf > 0)) | |
288 | 288 | then true | |
289 | 289 | else throw("You'll not have gWX at the end of voting")] | |
290 | 290 | if ((az == az)) | |
291 | 291 | then { | |
292 | 292 | let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found")) | |
293 | 293 | let at = ar(aF) | |
294 | 294 | let ah = at._9 | |
295 | 295 | let ai = at._10 | |
296 | 296 | let bg = if (P) | |
297 | 297 | then $Tuple2((ah + bf), ai) | |
298 | 298 | else $Tuple2(ah, (ai + bf)) | |
299 | 299 | let bh = bg._1 | |
300 | 300 | let bi = bg._2 | |
301 | 301 | let bj = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bh, bi) | |
302 | - | let bk = { | |
303 | - | let h = getBoolean(D(E, aw)) | |
304 | - | if ($isInstanceOf(h, "Boolean")) | |
305 | - | then { | |
306 | - | let bl = h | |
307 | - | [BooleanEntry(G(aK.caller, E, aw), true)] | |
308 | - | } | |
309 | - | else if ($isInstanceOf(h, "Unit")) | |
310 | - | then nil | |
311 | - | else throw("Match error") | |
312 | - | } | |
302 | + | let bk = if ((getBoolean(D(E, aw)) != unit)) | |
303 | + | then [BooleanEntry(G(aK.caller, E, aw), true)] | |
304 | + | else nil | |
313 | 305 | ([StringEntry(aC, O(P, bf)), StringEntry(X(E, aw), bj)] ++ bk) | |
314 | 306 | } | |
315 | 307 | else throw("Strict value is not equal to itself.") | |
316 | 308 | } | |
317 | 309 | else throw("Strict value is not equal to itself.") | |
318 | 310 | } | |
319 | 311 | ||
320 | 312 | ||
321 | 313 | ||
322 | 314 | @Callable(aK) | |
323 | 315 | func cancelVote (E) = { | |
324 | 316 | let aS = L(E) | |
325 | 317 | let aw = valueOrErrorMessage(getInteger(aS), c("voting does not exist")) | |
326 | 318 | let aC = M(E, aw, aK.caller) | |
327 | 319 | let aD = valueOrErrorMessage(getString(aC), c("you have not voted")) | |
328 | 320 | let aE = split(aD, a) | |
329 | 321 | let P = aE[1] | |
330 | 322 | let Q = parseIntValue(aE[2]) | |
331 | 323 | let as = av(E, aw) | |
332 | 324 | if ((as == as)) | |
333 | 325 | then { | |
334 | 326 | let az = [if (if ((P == "true")) | |
335 | 327 | then true | |
336 | 328 | else (P == "false")) | |
337 | 329 | then true | |
338 | 330 | else e("invalid vote")] | |
339 | 331 | if ((az == az)) | |
340 | 332 | then { | |
341 | 333 | let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found")) | |
342 | 334 | let at = ar(aF) | |
343 | 335 | let ah = at._9 | |
344 | 336 | let ai = at._10 | |
345 | - | let | |
337 | + | let bl = if ((P == "true")) | |
346 | 338 | then $Tuple2((ah - Q), ai) | |
347 | 339 | else $Tuple2(ah, (ai - Q)) | |
348 | - | let bh = | |
349 | - | let bi = | |
340 | + | let bh = bl._1 | |
341 | + | let bi = bl._2 | |
350 | 342 | let bj = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bh, bi) | |
351 | 343 | [StringEntry(X(E, aw), bj), DeleteEntry(aC), DeleteEntry(G(aK.caller, E, aw))] | |
352 | 344 | } | |
353 | 345 | else throw("Strict value is not equal to itself.") | |
354 | 346 | } | |
355 | 347 | else throw("Strict value is not equal to itself.") | |
356 | 348 | } | |
357 | 349 | ||
358 | 350 | ||
359 | 351 | ||
360 | 352 | @Callable(aK) | |
361 | 353 | func finalize (E) = { | |
362 | 354 | let aS = L(E) | |
363 | 355 | let aw = valueOrElse(getInteger(aS), 0) | |
364 | - | let | |
365 | - | let | |
356 | + | let bm = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set")) | |
357 | + | let bn = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set")) | |
366 | 358 | let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found")) | |
367 | 359 | let at = ar(aF) | |
368 | 360 | let ac = at._4 | |
369 | 361 | let ad = at._5 | |
370 | 362 | let af = at._7 | |
371 | - | let | |
363 | + | let bo = at._8 | |
372 | 364 | let ah = at._9 | |
373 | 365 | let ai = at._10 | |
374 | 366 | let az = [if ((ad == "inProgress")) | |
375 | 367 | then true | |
376 | 368 | else e("voting not in progress"), if ((height >= af)) | |
377 | 369 | then true | |
378 | 370 | else e("voting not finished")] | |
379 | 371 | if ((az == az)) | |
380 | 372 | then { | |
381 | - | let | |
373 | + | let bp = if (((ah + ai) >= bo)) | |
382 | 374 | then "accepted" | |
383 | 375 | else "rejected" | |
384 | - | let | |
376 | + | let bq = if ((ac == "verification")) | |
385 | 377 | then true | |
386 | 378 | else false | |
387 | - | let | |
379 | + | let br = if ((ai > ah)) | |
388 | 380 | then { | |
389 | - | let | |
390 | - | if (( | |
381 | + | let bs = invoke(u, "setVerified", [E, bq], nil) | |
382 | + | if ((bs == bs)) | |
391 | 383 | then { | |
392 | 384 | let aZ = valueOrElse(getInteger(J), 0) | |
393 | 385 | [ScriptTransfer(aK.caller, aZ, x)] | |
394 | 386 | } | |
395 | 387 | else throw("Strict value is not equal to itself.") | |
396 | 388 | } | |
397 | 389 | else nil | |
398 | - | let bj = Y(at._1, at._2, at._3, at._4, | |
399 | - | ([StringEntry(X(E, aw), bj)] ++ | |
390 | + | let bj = Y(at._1, at._2, at._3, at._4, bp, at._6, at._7, at._8, at._9, at._10) | |
391 | + | ([StringEntry(X(E, aw), bj)] ++ br) | |
400 | 392 | } | |
401 | 393 | else throw("Strict value is not equal to itself.") | |
402 | 394 | } | |
403 | 395 | ||
404 | 396 | ||
405 | 397 | ||
406 | 398 | @Callable(aK) | |
407 | - | func claimREADONLY (E,F, | |
408 | - | let H = valueOrErrorMessage(addressFromString( | |
409 | - | let | |
410 | - | let ab = if (isDefined( | |
399 | + | func claimREADONLY (E,F,bt) = { | |
400 | + | let H = valueOrErrorMessage(addressFromString(bt), c("invalid address")) | |
401 | + | let bu = getString(D(E, F)) | |
402 | + | let ab = if (isDefined(bu)) | |
411 | 403 | then aA(H, E, F) | |
412 | 404 | else 0 | |
413 | 405 | $Tuple2(nil, ab) | |
414 | 406 | } | |
415 | 407 | ||
416 | 408 | ||
417 | 409 | ||
418 | 410 | @Callable(aK) | |
419 | 411 | func claim (E,F) = { | |
420 | - | let | |
421 | - | let | |
422 | - | let | |
423 | - | let az = [if (( | |
412 | + | let bv = aK.caller | |
413 | + | let bw = S(bv, E, F) | |
414 | + | let bx = getInteger(bw) | |
415 | + | let az = [if ((bx == unit)) | |
424 | 416 | then true | |
425 | 417 | else e("already claimed")] | |
426 | 418 | if ((az == az)) | |
427 | 419 | then { | |
428 | - | let ab = if ((aA( | |
429 | - | then aA( | |
420 | + | let ab = if ((aA(bv, E, F) > 0)) | |
421 | + | then aA(bv, E, F) | |
430 | 422 | else e("nothing to claim") | |
431 | - | let | |
432 | - | let | |
423 | + | let bu = getString(D(E, F)) | |
424 | + | let by = if (isDefined(bu)) | |
433 | 425 | then { | |
434 | - | let | |
435 | - | [ScriptTransfer( | |
426 | + | let bz = fromBase58String(value(bu)) | |
427 | + | [ScriptTransfer(bv, ab, bz), IntegerEntry(bw, ab), DeleteEntry(G(bv, E, F))] | |
436 | 428 | } | |
437 | 429 | else e("nothing to claim") | |
438 | - | | |
430 | + | by | |
439 | 431 | } | |
440 | 432 | else throw("Strict value is not equal to itself.") | |
441 | 433 | } | |
442 | 434 | ||
443 | 435 | ||
444 | - | @Verifier( | |
445 | - | func | |
446 | - | let | |
436 | + | @Verifier(bA) | |
437 | + | func bB () = { | |
438 | + | let bC = { | |
447 | 439 | let h = ap() | |
448 | 440 | if ($isInstanceOf(h, "ByteVector")) | |
449 | 441 | then { | |
450 | - | let | |
451 | - | | |
442 | + | let bD = h | |
443 | + | bD | |
452 | 444 | } | |
453 | 445 | else if ($isInstanceOf(h, "Unit")) | |
454 | - | then | |
446 | + | then bA.senderPublicKey | |
455 | 447 | else throw("Match error") | |
456 | 448 | } | |
457 | - | sigVerify( | |
449 | + | sigVerify(bA.bodyBytes, bA.proofs[0], bC) | |
458 | 450 | } | |
459 | 451 |
github/deemru/w8io/fabc49c 62.60 ms ◑