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