tx · 3uy8g8zbrqfJsFFmJNWkjXBYSkiecAj7pikkG7jseMPQ 3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE: -0.02200000 Waves 2023.06.19 18:21 [2629690] smart account 3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE > SELF 0.00000000 Waves
{ "type": 13, "id": "3uy8g8zbrqfJsFFmJNWkjXBYSkiecAj7pikkG7jseMPQ", "fee": 2200000, "feeAssetId": null, "timestamp": 1687188125659, "version": 2, "chainId": 84, "sender": "3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE", "senderPublicKey": "6t3vrhP1jCmG7CeKBmL8hUibtdP3cMXGC2XtPYEPPC5w", "proofs": [ "5SBNU48FxuaCCpW3d2RFfL3g2uCSbCBvUaP3Aiq5EwHiBrL5Dyga79v1cuFprAsNbzcRRrE7iQTZfcAeKv7Sqbms" ], "script": "base64:BgIrCAISBQoDCAEIEgMKAQgSBAoCCAQSAwoBCBIDCgEIEgUKAwgBCBIECgIIATAACXNlcGFyYXRvcgICX18ABU1VTFQ4AIDC1y8BB3dyYXBFcnIBA21zZwkAuQkCCQDMCAICGHZvdGluZ192ZXJpZmllZF92Mi5yaWRlOgkAzAgCBQNtc2cFA25pbAIBIAEIdGhyb3dFcnIBA21zZwkAAgEJAQd3cmFwRXJyAQUDbXNnAQVhc0ludAEDdmFsBAckbWF0Y2gwBQN2YWwDCQABAgUHJG1hdGNoMAIDSW50BAZ2YWxJbnQFByRtYXRjaDAFBnZhbEludAkAAgECG0ZhaWxlZCB0byBjYXN0IGludG8gSW50ZWdlcgEQZ2V0SW50ZWdlck9yWmVybwIHYWRkcmVzcwNrZXkJAQt2YWx1ZU9yRWxzZQIJAJoIAgUHYWRkcmVzcwUDa2V5AAABEGdldEludGVnZXJPckZhaWwCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJoIAgUHYWRkcmVzcwUDa2V5CQEHd3JhcEVycgEJAKwCAgUDa2V5Ag8ga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m90aW5nUmV3YXJkAwUNY2FsbGVyQWRkcmVzcwUHYXNzZXRJZAUFaW5kZXgFA25pbAkBCHRocm93RXJyAQIQbm90aGluZyB0byBjbGFpbQUMcmV3YXJkQWN0aW9uCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAQJ0eAEGdmVyaWZ5AAQPdGFyZ2V0UHVibGljS2V5BAckbWF0Y2gwCQEWbWFuYWdlclB1YmxpY0tleU9yVW5pdAADCQABAgUHJG1hdGNoMAIKQnl0ZVZlY3RvcgQCcGsFByRtYXRjaDAFAnBrAwkAAQIFByRtYXRjaDACBFVuaXQIBQJ0eA9zZW5kZXJQdWJsaWNLZXkJAAIBAgtNYXRjaCBlcnJvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V53B5nmw==", "height": 2629690, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5qZB1QnbYTeRULbt6RD5vY9rLsiMSkgmfYtofo2wD67C Next: BJRj4CZAw7wWBDGhTD5eenkHc2BJZvsLTSjxYm22aC63 Diff:
Old | New | Differences | |
---|---|---|---|
241 | 241 | let bb = aX._4 | |
242 | 242 | let ag = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set")) | |
243 | 243 | let at = Y(Z, aa, ab, "verification", "inProgress", height, (height + aM), ag, 0, 0) | |
244 | - | let bc = | |
244 | + | let bc = getIntegerValue(J) | |
245 | 245 | let bd = (aQ - bc) | |
246 | 246 | ([IntegerEntry(aV, aW), StringEntry(R(E, aW), toString(aL.caller)), StringEntry(X(E, aW), at), StringEntry(aj(E), aN), Burn(aP, bd)] ++ bb) | |
247 | 247 | } | |
404 | 404 | let bt = if (bs) | |
405 | 405 | then "accepted" | |
406 | 406 | else "rejected" | |
407 | - | let bu = if ((ac == "verification")) | |
408 | - | then true | |
409 | - | else false | |
410 | - | let bv = if (bs) | |
407 | + | let aN = getStringValue(aj(E)) | |
408 | + | let bu = if (bs) | |
411 | 409 | then { | |
412 | - | let aN = getStringValue(aj(E)) | |
413 | - | let bw = invoke(u, "createOrUpdate", [E, aN, false], nil) | |
414 | - | if ((bw == bw)) | |
415 | - | then { | |
416 | - | let bx = invoke(u, "setVerified", [E, bu], nil) | |
417 | - | if ((bx == bx)) | |
418 | - | then { | |
419 | - | let bc = valueOrElse(getInteger(J), 0) | |
420 | - | [ScriptTransfer(aL.caller, bc, x)] | |
421 | - | } | |
422 | - | else throw("Strict value is not equal to itself.") | |
423 | - | } | |
424 | - | else throw("Strict value is not equal to itself.") | |
410 | + | let bv = if ((ac == "verification")) | |
411 | + | then invoke(u, "createOrUpdate", [E, aN, true], nil) | |
412 | + | else invoke(u, "setVerified", [E, false], nil) | |
413 | + | bv | |
425 | 414 | } | |
426 | 415 | else nil | |
427 | - | let bl = Y(au._1, au._2, au._3, au._4, bt, au._6, au._7, au._8, au._9, au._10) | |
428 | - | ([StringEntry(X(E, ax), bl)] ++ bv) | |
416 | + | if ((bu == bu)) | |
417 | + | then { | |
418 | + | let bl = Y(au._1, au._2, au._3, au._4, bt, au._6, au._7, au._8, au._9, au._10) | |
419 | + | let bc = getIntegerValue(J) | |
420 | + | [StringEntry(X(E, ax), bl), ScriptTransfer(aL.caller, bc, x)] | |
421 | + | } | |
422 | + | else throw("Strict value is not equal to itself.") | |
429 | 423 | } | |
430 | 424 | else throw("Strict value is not equal to itself.") | |
431 | 425 | } | |
433 | 427 | ||
434 | 428 | ||
435 | 429 | @Callable(aL) | |
436 | - | func claimREADONLY (E,F, | |
437 | - | let H = valueOrErrorMessage(addressFromString( | |
438 | - | let | |
439 | - | let ab = if (isDefined( | |
430 | + | func claimREADONLY (E,F,bw) = { | |
431 | + | let H = valueOrErrorMessage(addressFromString(bw), c("invalid address")) | |
432 | + | let bx = getString(D(E, F)) | |
433 | + | let ab = if (isDefined(bx)) | |
440 | 434 | then aB(H, E, F) | |
441 | 435 | else 0 | |
442 | 436 | $Tuple2(nil, ab) | |
446 | 440 | ||
447 | 441 | @Callable(aL) | |
448 | 442 | func claim (E,F) = { | |
449 | - | let | |
450 | - | let | |
451 | - | let | |
452 | - | let aA = [if (( | |
443 | + | let by = aL.caller | |
444 | + | let bz = S(by, E, F) | |
445 | + | let bA = getInteger(bz) | |
446 | + | let aA = [if ((bA == unit)) | |
453 | 447 | then true | |
454 | 448 | else e("already claimed")] | |
455 | 449 | if ((aA == aA)) | |
456 | 450 | then { | |
457 | - | let ab = if ((aB( | |
458 | - | then aB( | |
451 | + | let ab = if ((aB(by, E, F) > 0)) | |
452 | + | then aB(by, E, F) | |
459 | 453 | else e("nothing to claim") | |
460 | - | let | |
461 | - | let | |
454 | + | let bx = getString(D(E, F)) | |
455 | + | let bB = if (isDefined(bx)) | |
462 | 456 | then { | |
463 | - | let | |
464 | - | [ScriptTransfer( | |
457 | + | let bC = fromBase58String(value(bx)) | |
458 | + | [ScriptTransfer(by, ab, bC), IntegerEntry(bz, ab), DeleteEntry(G(by, E, F))] | |
465 | 459 | } | |
466 | 460 | else e("nothing to claim") | |
467 | - | | |
461 | + | bB | |
468 | 462 | } | |
469 | 463 | else throw("Strict value is not equal to itself.") | |
470 | 464 | } | |
471 | 465 | ||
472 | 466 | ||
473 | - | @Verifier( | |
474 | - | func | |
475 | - | let | |
467 | + | @Verifier(bD) | |
468 | + | func bE () = { | |
469 | + | let bF = { | |
476 | 470 | let h = aq() | |
477 | 471 | if ($isInstanceOf(h, "ByteVector")) | |
478 | 472 | then { | |
480 | 474 | bn | |
481 | 475 | } | |
482 | 476 | else if ($isInstanceOf(h, "Unit")) | |
483 | - | then | |
477 | + | then bD.senderPublicKey | |
484 | 478 | else throw("Match error") | |
485 | 479 | } | |
486 | - | sigVerify( | |
480 | + | sigVerify(bD.bodyBytes, bD.proofs[0], bF) | |
487 | 481 | } | |
488 | 482 |
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 (E) = makeString(["%s%s", "assetImage", E], a) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func ak (H,al) = { | |
111 | 111 | let Q = invoke(s, "getUserGwxAmountAtHeightREADONLY", [H, al], nil) | |
112 | 112 | f(Q) | |
113 | 113 | } | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func am () = "%s__managerVaultAddress" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func an () = "%s__managerPublicKey" | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func ao () = { | |
123 | 123 | let h = getString(am()) | |
124 | 124 | if ($isInstanceOf(h, "String")) | |
125 | 125 | then { | |
126 | 126 | let ap = h | |
127 | 127 | addressFromStringValue(ap) | |
128 | 128 | } | |
129 | 129 | else this | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func aq () = { | |
134 | 134 | let ar = ao() | |
135 | 135 | let h = getString(ar, an()) | |
136 | 136 | if ($isInstanceOf(h, "String")) | |
137 | 137 | then { | |
138 | 138 | let ap = h | |
139 | 139 | fromBase58String(ap) | |
140 | 140 | } | |
141 | 141 | else if ($isInstanceOf(h, "Unit")) | |
142 | 142 | then unit | |
143 | 143 | else throw("Match error") | |
144 | 144 | } | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func as (at) = { | |
148 | 148 | let au = split(at, a) | |
149 | 149 | let av = au[1] | |
150 | 150 | let Z = if ((av == "true")) | |
151 | 151 | then true | |
152 | 152 | else false | |
153 | 153 | let aa = au[2] | |
154 | 154 | let ab = parseIntValue(au[3]) | |
155 | 155 | let ac = au[4] | |
156 | 156 | let ad = au[5] | |
157 | 157 | let ae = parseIntValue(au[6]) | |
158 | 158 | let af = parseIntValue(au[7]) | |
159 | 159 | let ag = parseIntValue(au[8]) | |
160 | 160 | let ah = parseIntValue(au[9]) | |
161 | 161 | let ai = parseIntValue(au[10]) | |
162 | 162 | $Tuple10(Z, aa, ab, ac, ad, ae, af, ag, ah, ai) | |
163 | 163 | } | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func aw (E,ax) = { | |
167 | 167 | let at = valueOrErrorMessage(getString(X(E, ax)), c("voting info not found")) | |
168 | 168 | let ay = split(at, a) | |
169 | 169 | let ad = ay[5] | |
170 | 170 | let af = valueOrErrorMessage(parseIntValue(ay[7]), c("voting start height not found")) | |
171 | 171 | let az = valueOrErrorMessage(getString(R(E, ax)), c("voting issuer not found")) | |
172 | 172 | let aA = [if ((ad == "inProgress")) | |
173 | 173 | then true | |
174 | 174 | else e("no voting in progress"), if ((af > height)) | |
175 | 175 | then true | |
176 | 176 | else e("voting expired")] | |
177 | 177 | if ((aA == aA)) | |
178 | 178 | then $Tuple3(ad, af, az) | |
179 | 179 | else throw("Strict value is not equal to itself.") | |
180 | 180 | } | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func aB (aC,E,F) = { | |
184 | 184 | let aD = M(E, F, aC) | |
185 | 185 | let aE = valueOrErrorMessage(getString(aD), c("you have not voted")) | |
186 | 186 | let aF = split(aE, a) | |
187 | 187 | let Q = parseIntValue(aF[2]) | |
188 | 188 | let aG = valueOrErrorMessage(getString(X(E, F)), c("voting info not found")) | |
189 | 189 | let aH = as(aG) | |
190 | 190 | let ah = aH._9 | |
191 | 191 | let ai = aH._10 | |
192 | 192 | let aI = fraction(Q, b, (ah + ai)) | |
193 | 193 | let aJ = valueOrElse(getInteger(I(E, F)), 0) | |
194 | 194 | let aK = fraction(aI, aJ, b, FLOOR) | |
195 | 195 | aK | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | @Callable(aL) | |
200 | 200 | func suggestAdd (E,aM,aN) = { | |
201 | 201 | let aO = aL.payments[0] | |
202 | 202 | let aP = value(aO.assetId) | |
203 | 203 | let aQ = value(aO.amount) | |
204 | 204 | let aR = getIntegerValue(C) | |
205 | 205 | let aS = getIntegerValue(B) | |
206 | 206 | let aT = { | |
207 | 207 | let aU = invoke(u, "isVerifiedREADONLY", [E], nil) | |
208 | 208 | if ($isInstanceOf(aU, "Boolean")) | |
209 | 209 | then aU | |
210 | 210 | else throw(($getType(aU) + " couldn't be cast to Boolean")) | |
211 | 211 | } | |
212 | 212 | let aA = [if (if ((aM >= aR)) | |
213 | 213 | then (aS >= aM) | |
214 | 214 | else false) | |
215 | 215 | then true | |
216 | 216 | else e("invalid periodLength"), if ((aT == false)) | |
217 | 217 | then true | |
218 | 218 | else e("token already verified"), if ((aQ > (aM * U))) | |
219 | 219 | then true | |
220 | 220 | else e("not enough wx for given period"), if ((aQ >= getIntegerValue(V))) | |
221 | 221 | then true | |
222 | 222 | else e("payment less then min for suggest")] | |
223 | 223 | if ((aA == aA)) | |
224 | 224 | then { | |
225 | 225 | let aV = L(E) | |
226 | 226 | let ax = getInteger(aV) | |
227 | 227 | let aW = if (isDefined(ax)) | |
228 | 228 | then (value(ax) + 1) | |
229 | 229 | else 0 | |
230 | 230 | let aX = if ((size(aL.payments) > 1)) | |
231 | 231 | then { | |
232 | 232 | let aY = aL.payments[1] | |
233 | 233 | let aZ = toBase58String(value(aY.assetId)) | |
234 | 234 | let ba = value(aY.amount) | |
235 | 235 | $Tuple4(true, aZ, ba, [StringEntry(D(E, aW), aZ), IntegerEntry(I(E, aW), ba)]) | |
236 | 236 | } | |
237 | 237 | else $Tuple4(false, "EMPTY", 0, nil) | |
238 | 238 | let Z = aX._1 | |
239 | 239 | let aa = aX._2 | |
240 | 240 | let ab = aX._3 | |
241 | 241 | let bb = aX._4 | |
242 | 242 | let ag = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set")) | |
243 | 243 | let at = Y(Z, aa, ab, "verification", "inProgress", height, (height + aM), ag, 0, 0) | |
244 | - | let bc = | |
244 | + | let bc = getIntegerValue(J) | |
245 | 245 | let bd = (aQ - bc) | |
246 | 246 | ([IntegerEntry(aV, aW), StringEntry(R(E, aW), toString(aL.caller)), StringEntry(X(E, aW), at), StringEntry(aj(E), aN), Burn(aP, bd)] ++ bb) | |
247 | 247 | } | |
248 | 248 | else throw("Strict value is not equal to itself.") | |
249 | 249 | } | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | ||
253 | 253 | @Callable(aL) | |
254 | 254 | func suggestRemove (E) = { | |
255 | 255 | let be = ak(toString(aL.caller), height) | |
256 | 256 | let bf = getIntegerValue(K) | |
257 | 257 | let aO = aL.payments[0] | |
258 | 258 | let aP = value(aO.assetId) | |
259 | 259 | let aQ = value(aO.amount) | |
260 | 260 | let aT = { | |
261 | 261 | let aU = invoke(u, "isVerifiedREADONLY", [E], nil) | |
262 | 262 | if ($isInstanceOf(aU, "Boolean")) | |
263 | 263 | then aU | |
264 | 264 | else throw(($getType(aU) + " couldn't be cast to Boolean")) | |
265 | 265 | } | |
266 | 266 | let aA = [if (aT) | |
267 | 267 | then true | |
268 | 268 | else e("token not verified"), if ((be >= bf)) | |
269 | 269 | then true | |
270 | 270 | else e("not enough gWXes"), if ((aQ >= getIntegerValue(W))) | |
271 | 271 | then true | |
272 | 272 | else e("payment less then min for suggest")] | |
273 | 273 | if ((aA == aA)) | |
274 | 274 | then { | |
275 | 275 | let aV = L(E) | |
276 | 276 | let ax = getInteger(aV) | |
277 | 277 | let aW = if (isDefined(ax)) | |
278 | 278 | then (value(ax) + 1) | |
279 | 279 | else 0 | |
280 | 280 | let aM = valueOrErrorMessage(getInteger(A), c("periodLengthRemove not set")) | |
281 | 281 | let af = (height + aM) | |
282 | 282 | let ag = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set")) | |
283 | 283 | let at = Y(false, "EMPTY", 0, "deverification", "inProgress", height, (height + aM), ag, 0, 0) | |
284 | 284 | [IntegerEntry(aV, aW), StringEntry(R(E, aW), toString(aL.caller)), StringEntry(X(E, aW), at)] | |
285 | 285 | } | |
286 | 286 | else throw("Strict value is not equal to itself.") | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | ||
291 | 291 | @Callable(aL) | |
292 | 292 | func vote (E,P) = { | |
293 | 293 | let aV = L(E) | |
294 | 294 | let ax = valueOrErrorMessage(getInteger(aV), c("voting does not exist")) | |
295 | 295 | let at = aw(E, ax) | |
296 | 296 | if ((at == at)) | |
297 | 297 | then { | |
298 | 298 | let bg = at._2 | |
299 | 299 | let bh = ak(toString(aL.caller), bg) | |
300 | 300 | let aD = M(E, ax, aL.caller) | |
301 | 301 | let aA = [if ((getString(aD) == unit)) | |
302 | 302 | then true | |
303 | 303 | else e("You have already voted"), if ((bh > 0)) | |
304 | 304 | then true | |
305 | 305 | else throw("You'll not have gWX at the end of voting")] | |
306 | 306 | if ((aA == aA)) | |
307 | 307 | then { | |
308 | 308 | let aG = valueOrErrorMessage(getString(X(E, ax)), c("voting info not found")) | |
309 | 309 | let au = as(aG) | |
310 | 310 | let ah = au._9 | |
311 | 311 | let ai = au._10 | |
312 | 312 | let bi = if (P) | |
313 | 313 | then $Tuple2((ah + bh), ai) | |
314 | 314 | else $Tuple2(ah, (ai + bh)) | |
315 | 315 | let bj = bi._1 | |
316 | 316 | let bk = bi._2 | |
317 | 317 | let bl = Y(au._1, au._2, au._3, au._4, au._5, au._6, au._7, au._8, bj, bk) | |
318 | 318 | let bm = { | |
319 | 319 | let h = getString(D(E, ax)) | |
320 | 320 | if ($isInstanceOf(h, "String")) | |
321 | 321 | then { | |
322 | 322 | let bn = h | |
323 | 323 | [StringEntry(G(aL.caller, E, ax), O(P, bh))] | |
324 | 324 | } | |
325 | 325 | else if ($isInstanceOf(h, "Unit")) | |
326 | 326 | then nil | |
327 | 327 | else throw("Match error") | |
328 | 328 | } | |
329 | 329 | ([StringEntry(aD, O(P, bh)), StringEntry(X(E, ax), bl)] ++ bm) | |
330 | 330 | } | |
331 | 331 | else throw("Strict value is not equal to itself.") | |
332 | 332 | } | |
333 | 333 | else throw("Strict value is not equal to itself.") | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | ||
338 | 338 | @Callable(aL) | |
339 | 339 | func cancelVote (E) = { | |
340 | 340 | let aV = L(E) | |
341 | 341 | let ax = valueOrErrorMessage(getInteger(aV), c("voting does not exist")) | |
342 | 342 | let aD = M(E, ax, aL.caller) | |
343 | 343 | let aE = valueOrErrorMessage(getString(aD), c("you have not voted")) | |
344 | 344 | let aF = split(aE, a) | |
345 | 345 | let P = aF[1] | |
346 | 346 | let Q = parseIntValue(aF[2]) | |
347 | 347 | let at = aw(E, ax) | |
348 | 348 | if ((at == at)) | |
349 | 349 | then { | |
350 | 350 | let aA = [if (if ((P == "true")) | |
351 | 351 | then true | |
352 | 352 | else (P == "false")) | |
353 | 353 | then true | |
354 | 354 | else e("invalid vote")] | |
355 | 355 | if ((aA == aA)) | |
356 | 356 | then { | |
357 | 357 | let aG = valueOrErrorMessage(getString(X(E, ax)), c("voting info not found")) | |
358 | 358 | let au = as(aG) | |
359 | 359 | let ah = au._9 | |
360 | 360 | let ai = au._10 | |
361 | 361 | let bo = if ((P == "true")) | |
362 | 362 | then $Tuple2((ah - Q), ai) | |
363 | 363 | else $Tuple2(ah, (ai - Q)) | |
364 | 364 | let bj = bo._1 | |
365 | 365 | let bk = bo._2 | |
366 | 366 | let bl = Y(au._1, au._2, au._3, au._4, au._5, au._6, au._7, au._8, bj, bk) | |
367 | 367 | [StringEntry(X(E, ax), bl), DeleteEntry(aD), DeleteEntry(G(aL.caller, E, ax))] | |
368 | 368 | } | |
369 | 369 | else throw("Strict value is not equal to itself.") | |
370 | 370 | } | |
371 | 371 | else throw("Strict value is not equal to itself.") | |
372 | 372 | } | |
373 | 373 | ||
374 | 374 | ||
375 | 375 | ||
376 | 376 | @Callable(aL) | |
377 | 377 | func finalize (E) = { | |
378 | 378 | let aV = L(E) | |
379 | 379 | let ax = valueOrElse(getInteger(aV), 0) | |
380 | 380 | let bp = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set")) | |
381 | 381 | let bq = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set")) | |
382 | 382 | let aG = valueOrErrorMessage(getString(X(E, ax)), c("voting info not found")) | |
383 | 383 | let au = as(aG) | |
384 | 384 | let ac = au._4 | |
385 | 385 | let ad = au._5 | |
386 | 386 | let af = au._7 | |
387 | 387 | let br = au._8 | |
388 | 388 | let ah = au._9 | |
389 | 389 | let ai = au._10 | |
390 | 390 | let aA = [if ((ad == "inProgress")) | |
391 | 391 | then true | |
392 | 392 | else e("voting not in progress"), if ((height >= af)) | |
393 | 393 | then true | |
394 | 394 | else e("voting not finished"), if (isDefined(getString(aj(E)))) | |
395 | 395 | then true | |
396 | 396 | else e("asset image not set")] | |
397 | 397 | if ((aA == aA)) | |
398 | 398 | then { | |
399 | 399 | let bs = if (if (((ah + ai) >= br)) | |
400 | 400 | then (ah > ai) | |
401 | 401 | else false) | |
402 | 402 | then true | |
403 | 403 | else false | |
404 | 404 | let bt = if (bs) | |
405 | 405 | then "accepted" | |
406 | 406 | else "rejected" | |
407 | - | let bu = if ((ac == "verification")) | |
408 | - | then true | |
409 | - | else false | |
410 | - | let bv = if (bs) | |
407 | + | let aN = getStringValue(aj(E)) | |
408 | + | let bu = if (bs) | |
411 | 409 | then { | |
412 | - | let aN = getStringValue(aj(E)) | |
413 | - | let bw = invoke(u, "createOrUpdate", [E, aN, false], nil) | |
414 | - | if ((bw == bw)) | |
415 | - | then { | |
416 | - | let bx = invoke(u, "setVerified", [E, bu], nil) | |
417 | - | if ((bx == bx)) | |
418 | - | then { | |
419 | - | let bc = valueOrElse(getInteger(J), 0) | |
420 | - | [ScriptTransfer(aL.caller, bc, x)] | |
421 | - | } | |
422 | - | else throw("Strict value is not equal to itself.") | |
423 | - | } | |
424 | - | else throw("Strict value is not equal to itself.") | |
410 | + | let bv = if ((ac == "verification")) | |
411 | + | then invoke(u, "createOrUpdate", [E, aN, true], nil) | |
412 | + | else invoke(u, "setVerified", [E, false], nil) | |
413 | + | bv | |
425 | 414 | } | |
426 | 415 | else nil | |
427 | - | let bl = Y(au._1, au._2, au._3, au._4, bt, au._6, au._7, au._8, au._9, au._10) | |
428 | - | ([StringEntry(X(E, ax), bl)] ++ bv) | |
416 | + | if ((bu == bu)) | |
417 | + | then { | |
418 | + | let bl = Y(au._1, au._2, au._3, au._4, bt, au._6, au._7, au._8, au._9, au._10) | |
419 | + | let bc = getIntegerValue(J) | |
420 | + | [StringEntry(X(E, ax), bl), ScriptTransfer(aL.caller, bc, x)] | |
421 | + | } | |
422 | + | else throw("Strict value is not equal to itself.") | |
429 | 423 | } | |
430 | 424 | else throw("Strict value is not equal to itself.") | |
431 | 425 | } | |
432 | 426 | ||
433 | 427 | ||
434 | 428 | ||
435 | 429 | @Callable(aL) | |
436 | - | func claimREADONLY (E,F, | |
437 | - | let H = valueOrErrorMessage(addressFromString( | |
438 | - | let | |
439 | - | let ab = if (isDefined( | |
430 | + | func claimREADONLY (E,F,bw) = { | |
431 | + | let H = valueOrErrorMessage(addressFromString(bw), c("invalid address")) | |
432 | + | let bx = getString(D(E, F)) | |
433 | + | let ab = if (isDefined(bx)) | |
440 | 434 | then aB(H, E, F) | |
441 | 435 | else 0 | |
442 | 436 | $Tuple2(nil, ab) | |
443 | 437 | } | |
444 | 438 | ||
445 | 439 | ||
446 | 440 | ||
447 | 441 | @Callable(aL) | |
448 | 442 | func claim (E,F) = { | |
449 | - | let | |
450 | - | let | |
451 | - | let | |
452 | - | let aA = [if (( | |
443 | + | let by = aL.caller | |
444 | + | let bz = S(by, E, F) | |
445 | + | let bA = getInteger(bz) | |
446 | + | let aA = [if ((bA == unit)) | |
453 | 447 | then true | |
454 | 448 | else e("already claimed")] | |
455 | 449 | if ((aA == aA)) | |
456 | 450 | then { | |
457 | - | let ab = if ((aB( | |
458 | - | then aB( | |
451 | + | let ab = if ((aB(by, E, F) > 0)) | |
452 | + | then aB(by, E, F) | |
459 | 453 | else e("nothing to claim") | |
460 | - | let | |
461 | - | let | |
454 | + | let bx = getString(D(E, F)) | |
455 | + | let bB = if (isDefined(bx)) | |
462 | 456 | then { | |
463 | - | let | |
464 | - | [ScriptTransfer( | |
457 | + | let bC = fromBase58String(value(bx)) | |
458 | + | [ScriptTransfer(by, ab, bC), IntegerEntry(bz, ab), DeleteEntry(G(by, E, F))] | |
465 | 459 | } | |
466 | 460 | else e("nothing to claim") | |
467 | - | | |
461 | + | bB | |
468 | 462 | } | |
469 | 463 | else throw("Strict value is not equal to itself.") | |
470 | 464 | } | |
471 | 465 | ||
472 | 466 | ||
473 | - | @Verifier( | |
474 | - | func | |
475 | - | let | |
467 | + | @Verifier(bD) | |
468 | + | func bE () = { | |
469 | + | let bF = { | |
476 | 470 | let h = aq() | |
477 | 471 | if ($isInstanceOf(h, "ByteVector")) | |
478 | 472 | then { | |
479 | 473 | let bn = h | |
480 | 474 | bn | |
481 | 475 | } | |
482 | 476 | else if ($isInstanceOf(h, "Unit")) | |
483 | - | then | |
477 | + | then bD.senderPublicKey | |
484 | 478 | else throw("Match error") | |
485 | 479 | } | |
486 | - | sigVerify( | |
480 | + | sigVerify(bD.bodyBytes, bD.proofs[0], bF) | |
487 | 481 | } | |
488 | 482 |
github/deemru/w8io/026f985 57.72 ms ◑