tx · AD1yy84NgB3UNpyKryCJTDD6pqGyKCm22BovMbXr8F5j 3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE: -0.02300000 Waves 2023.10.17 09:50 [2802280] smart account 3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE > SELF 0.00000000 Waves
{ "type": 13, "id": "AD1yy84NgB3UNpyKryCJTDD6pqGyKCm22BovMbXr8F5j", "fee": 2300000, "feeAssetId": null, "timestamp": 1697525446471, "version": 2, "chainId": 84, "sender": "3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE", "senderPublicKey": "6t3vrhP1jCmG7CeKBmL8hUibtdP3cMXGC2XtPYEPPC5w", "proofs": [ "5Zsw6b3GaJTvK5LWt5knqiJY97grqK4bf2RVS2aixxzKWNnpmG4mV2s5fuuMUXRHbRpp4xrqRSA9sk4FAEKTMWKW" ], "script": "base64:BgIrCAISBQoDCAEIEgMKAQgSBAoCCAQSAwoBCBIDCgEIEgUKAwgBCBIECgIIATYACXNlcGFyYXRvcgICX18ABU1VTFQ4AIDC1y8AC3dhdmVzU3RyaW5nAgVXQVZFUwAQc3RhdHVzSW5Qcm9ncmVzcwIKaW5Qcm9ncmVzcwAOc3RhdHVzQWNjZXB0ZWQCCGFjY2VwdGVkAA5zdGF0dXNSZWplY3RlZAIIcmVqZWN0ZWQBB3dyYXBFcnIBA21zZwkAuQkCCQDMCAICGHZvdGluZ192ZXJpZmllZF92Mi5yaWRlOgkAzAgCBQNtc2cFA25pbAIBIAEIdGhyb3dFcnIBA21zZwkAAgEJAQd3cmFwRXJyAQUDbXNnAQVhc0ludAEDdmFsBAckbWF0Y2gwBQN2YWwDCQABAgUHJG1hdGNoMAIDSW50BAZ2YWxJbnQFByRtYXRjaDAFBnZhbEludAkAAgECG0ZhaWxlZCB0byBjYXN0IGludG8gSW50ZWdlcgEMcGFyc2VBc3NldElkAQVpbnB1dAMJAAACBQVpbnB1dAULd2F2ZXNTdHJpbmcFBHVuaXQJANkEAQUFaW5w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jaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXk+OaFQ", "height": 2802280, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HWRVNKksKRyErxvrkwAf8rVMTEMyGvCfkRPvFeVdmHKA Next: CN8pxEUGxWwQTBLb5JpN4huLZfzWk5tU6no8RX71duEP Diff:
Old | New | Differences | |
---|---|---|---|
450 | 450 | then { | |
451 | 451 | let bF = if ((aj == "verification")) | |
452 | 452 | then invoke(B, "createOrUpdate", [L, aV, true], nil) | |
453 | - | else invoke(B, "setVerified", [L, false], nil) | |
453 | + | else [invoke(B, "setVerified", [L, false], nil), invoke(B, "onEliminate", [L], nil)] | |
454 | 454 | bF | |
455 | 455 | } | |
456 | 456 | else nil |
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 | 71 | let E = fromBase58String(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 | 240 | else i("token already verified"), if ((aY >= (aU * ab))) | |
241 | 241 | then true | |
242 | 242 | else i("not enough wx for given period"), if ((aY >= getIntegerValue(ac))) | |
243 | 243 | then true | |
244 | 244 | else i("payment less then min for suggest")] | |
245 | 245 | if ((aH == aH)) | |
246 | 246 | then { | |
247 | 247 | let bd = S(L) | |
248 | 248 | let aE = getInteger(bd) | |
249 | 249 | let be = if (isDefined(aE)) | |
250 | 250 | then (value(aE) + 1) | |
251 | 251 | else 0 | |
252 | 252 | let bf = if ((size(aT.payments) > 1)) | |
253 | 253 | then { | |
254 | 254 | let bg = aT.payments[1] | |
255 | 255 | let bh = toBase58String(value(bg.assetId)) | |
256 | 256 | let bi = value(bg.amount) | |
257 | 257 | $Tuple4(true, bh, bi, [StringEntry(K(L, be), bh), IntegerEntry(P(L, be), bi)]) | |
258 | 258 | } | |
259 | 259 | else $Tuple4(false, "EMPTY", 0, nil) | |
260 | 260 | let ag = bf._1 | |
261 | 261 | let ah = bf._2 | |
262 | 262 | let ai = bf._3 | |
263 | 263 | let bj = bf._4 | |
264 | 264 | let an = valueOrErrorMessage(getInteger(F), g("votingThresholdAdd not set")) | |
265 | 265 | let aA = af(ag, ah, ai, "verification", d, height, (height + aU), an, 0, 0) | |
266 | 266 | let bk = getIntegerValue(Q) | |
267 | 267 | let bl = (aY - bk) | |
268 | 268 | ([IntegerEntry(bd, be), StringEntry(Y(L, be), toString(aT.caller)), StringEntry(ae(L, be), aA), StringEntry(aq(L), aV), Burn(aX, bl)] ++ bj) | |
269 | 269 | } | |
270 | 270 | else throw("Strict value is not equal to itself.") | |
271 | 271 | } | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | ||
275 | 275 | @Callable(aT) | |
276 | 276 | func suggestRemove (L) = { | |
277 | 277 | let bm = ar(toString(aT.caller), height) | |
278 | 278 | let bn = getIntegerValue(R) | |
279 | 279 | let aW = aT.payments[0] | |
280 | 280 | let aX = value(aW.assetId) | |
281 | 281 | let aY = value(aW.amount) | |
282 | 282 | let bb = { | |
283 | 283 | let bc = invoke(B, "isVerifiedREADONLY", [L], nil) | |
284 | 284 | if ($isInstanceOf(bc, "Boolean")) | |
285 | 285 | then bc | |
286 | 286 | else throw(($getType(bc) + " couldn't be cast to Boolean")) | |
287 | 287 | } | |
288 | 288 | let aH = [if (bb) | |
289 | 289 | then true | |
290 | 290 | else i("token not verified"), if ((bm >= bn)) | |
291 | 291 | then true | |
292 | 292 | else i("not enough gWXes"), if ((aY >= getIntegerValue(ad))) | |
293 | 293 | then true | |
294 | 294 | else i("payment less then min for suggest")] | |
295 | 295 | if ((aH == aH)) | |
296 | 296 | then { | |
297 | 297 | let bd = S(L) | |
298 | 298 | let aE = getInteger(bd) | |
299 | 299 | let be = if (isDefined(aE)) | |
300 | 300 | then (value(aE) + 1) | |
301 | 301 | else 0 | |
302 | 302 | let aU = valueOrErrorMessage(getInteger(H), g("periodLengthRemove not set")) | |
303 | 303 | let am = (height + aU) | |
304 | 304 | let an = valueOrErrorMessage(getInteger(G), g("votingThresholdRemove not set")) | |
305 | 305 | let aA = af(false, "EMPTY", 0, "deverification", d, height, (height + aU), an, 0, 0) | |
306 | 306 | let bo = { | |
307 | 307 | let l = getString(aq(L)) | |
308 | 308 | if ($isInstanceOf(l, "String")) | |
309 | 309 | then { | |
310 | 310 | let aw = l | |
311 | 311 | nil | |
312 | 312 | } | |
313 | 313 | else if ($isInstanceOf(l, "Unit")) | |
314 | 314 | then { | |
315 | 315 | let bp = { | |
316 | 316 | let bc = invoke(B, "getAssetLogoREADONLY", [L], nil) | |
317 | 317 | if ($isInstanceOf(bc, "String")) | |
318 | 318 | then bc | |
319 | 319 | else throw(($getType(bc) + " couldn't be cast to String")) | |
320 | 320 | } | |
321 | 321 | [StringEntry(aq(L), bp)] | |
322 | 322 | } | |
323 | 323 | else throw("Match error") | |
324 | 324 | } | |
325 | 325 | ([IntegerEntry(bd, be), StringEntry(Y(L, be), toString(aT.caller)), StringEntry(ae(L, be), aA)] ++ bo) | |
326 | 326 | } | |
327 | 327 | else throw("Strict value is not equal to itself.") | |
328 | 328 | } | |
329 | 329 | ||
330 | 330 | ||
331 | 331 | ||
332 | 332 | @Callable(aT) | |
333 | 333 | func vote (L,W) = { | |
334 | 334 | let bd = S(L) | |
335 | 335 | let aE = valueOrErrorMessage(getInteger(bd), g("voting does not exist")) | |
336 | 336 | let aA = aD(L, aE) | |
337 | 337 | if ((aA == aA)) | |
338 | 338 | then { | |
339 | 339 | let bq = aA._2 | |
340 | 340 | let br = ar(toString(aT.caller), bq) | |
341 | 341 | let aK = T(L, aE, aT.caller) | |
342 | 342 | let aH = [if ((getString(aK) == unit)) | |
343 | 343 | then true | |
344 | 344 | else i("You have already voted"), if ((br > 0)) | |
345 | 345 | then true | |
346 | 346 | else throw("You'll not have gWX at the end of voting")] | |
347 | 347 | if ((aH == aH)) | |
348 | 348 | then { | |
349 | 349 | let aN = valueOrErrorMessage(getString(ae(L, aE)), g("voting info not found")) | |
350 | 350 | let aB = az(aN) | |
351 | 351 | let ao = aB._9 | |
352 | 352 | let ap = aB._10 | |
353 | 353 | let bs = if (W) | |
354 | 354 | then $Tuple2((ao + br), ap) | |
355 | 355 | else $Tuple2(ao, (ap + br)) | |
356 | 356 | let bt = bs._1 | |
357 | 357 | let bu = bs._2 | |
358 | 358 | let bv = af(aB._1, aB._2, aB._3, aB._4, aB._5, aB._6, aB._7, aB._8, bt, bu) | |
359 | 359 | let bw = { | |
360 | 360 | let l = getString(K(L, aE)) | |
361 | 361 | if ($isInstanceOf(l, "String")) | |
362 | 362 | then { | |
363 | 363 | let bx = l | |
364 | 364 | [StringEntry(N(aT.caller, L, aE), V(W, br))] | |
365 | 365 | } | |
366 | 366 | else if ($isInstanceOf(l, "Unit")) | |
367 | 367 | then nil | |
368 | 368 | else throw("Match error") | |
369 | 369 | } | |
370 | 370 | ([StringEntry(aK, V(W, br)), StringEntry(ae(L, aE), bv)] ++ bw) | |
371 | 371 | } | |
372 | 372 | else throw("Strict value is not equal to itself.") | |
373 | 373 | } | |
374 | 374 | else throw("Strict value is not equal to itself.") | |
375 | 375 | } | |
376 | 376 | ||
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(aT) | |
380 | 380 | func cancelVote (L) = { | |
381 | 381 | let bd = S(L) | |
382 | 382 | let aE = valueOrErrorMessage(getInteger(bd), g("voting does not exist")) | |
383 | 383 | let aK = T(L, aE, aT.caller) | |
384 | 384 | let aL = valueOrErrorMessage(getString(aK), g("you have not voted")) | |
385 | 385 | let aM = split(aL, a) | |
386 | 386 | let W = aM[1] | |
387 | 387 | let X = parseIntValue(aM[2]) | |
388 | 388 | let aA = aD(L, aE) | |
389 | 389 | if ((aA == aA)) | |
390 | 390 | then { | |
391 | 391 | let aH = [if (if ((W == "true")) | |
392 | 392 | then true | |
393 | 393 | else (W == "false")) | |
394 | 394 | then true | |
395 | 395 | else i("invalid vote")] | |
396 | 396 | if ((aH == aH)) | |
397 | 397 | then { | |
398 | 398 | let aN = valueOrErrorMessage(getString(ae(L, aE)), g("voting info not found")) | |
399 | 399 | let aB = az(aN) | |
400 | 400 | let ao = aB._9 | |
401 | 401 | let ap = aB._10 | |
402 | 402 | let by = if ((W == "true")) | |
403 | 403 | then $Tuple2((ao - X), ap) | |
404 | 404 | else $Tuple2(ao, (ap - X)) | |
405 | 405 | let bt = by._1 | |
406 | 406 | let bu = by._2 | |
407 | 407 | let bv = af(aB._1, aB._2, aB._3, aB._4, aB._5, aB._6, aB._7, aB._8, bt, bu) | |
408 | 408 | [StringEntry(ae(L, aE), bv), DeleteEntry(aK), DeleteEntry(N(aT.caller, L, aE))] | |
409 | 409 | } | |
410 | 410 | else throw("Strict value is not equal to itself.") | |
411 | 411 | } | |
412 | 412 | else throw("Strict value is not equal to itself.") | |
413 | 413 | } | |
414 | 414 | ||
415 | 415 | ||
416 | 416 | ||
417 | 417 | @Callable(aT) | |
418 | 418 | func finalize (L) = { | |
419 | 419 | let bd = S(L) | |
420 | 420 | let aE = valueOrElse(getInteger(bd), 0) | |
421 | 421 | let bz = valueOrErrorMessage(getInteger(F), g("votingThresholdAdd not set")) | |
422 | 422 | let bA = valueOrErrorMessage(getInteger(G), g("votingThresholdRemove not set")) | |
423 | 423 | let aN = valueOrErrorMessage(getString(ae(L, aE)), g("voting info not found")) | |
424 | 424 | let aB = az(aN) | |
425 | 425 | let aj = aB._4 | |
426 | 426 | let ak = aB._5 | |
427 | 427 | let am = aB._7 | |
428 | 428 | let bB = aB._8 | |
429 | 429 | let ao = aB._9 | |
430 | 430 | let ap = aB._10 | |
431 | 431 | let aH = [if ((ak == d)) | |
432 | 432 | then true | |
433 | 433 | else i("voting not in progress"), if ((height >= am)) | |
434 | 434 | then true | |
435 | 435 | else i("voting not finished"), if (isDefined(getString(aq(L)))) | |
436 | 436 | then true | |
437 | 437 | else i("asset image not set")] | |
438 | 438 | if ((aH == aH)) | |
439 | 439 | then { | |
440 | 440 | let bC = if (if (((ao + ap) >= bB)) | |
441 | 441 | then (ao > ap) | |
442 | 442 | else false) | |
443 | 443 | then true | |
444 | 444 | else false | |
445 | 445 | let bD = if (bC) | |
446 | 446 | then e | |
447 | 447 | else f | |
448 | 448 | let aV = getStringValue(aq(L)) | |
449 | 449 | let bE = if (bC) | |
450 | 450 | then { | |
451 | 451 | let bF = if ((aj == "verification")) | |
452 | 452 | then invoke(B, "createOrUpdate", [L, aV, true], nil) | |
453 | - | else invoke(B, "setVerified", [L, false], nil) | |
453 | + | else [invoke(B, "setVerified", [L, false], nil), invoke(B, "onEliminate", [L], nil)] | |
454 | 454 | bF | |
455 | 455 | } | |
456 | 456 | else nil | |
457 | 457 | if ((bE == bE)) | |
458 | 458 | then { | |
459 | 459 | let bv = af(aB._1, aB._2, aB._3, aB._4, bD, aB._6, aB._7, aB._8, aB._9, aB._10) | |
460 | 460 | let bk = getIntegerValue(Q) | |
461 | 461 | let bG = addressFromStringValue(getStringValue(Y(L, aE))) | |
462 | 462 | let bH = getString(K(L, aE)) | |
463 | 463 | let bI = getInteger(P(L, aE)) | |
464 | 464 | let bJ = if (if (if (bC) | |
465 | 465 | then true | |
466 | 466 | else (bH == unit)) | |
467 | 467 | then true | |
468 | 468 | else (bI == unit)) | |
469 | 469 | then nil | |
470 | 470 | else [ScriptTransfer(bG, value(bI), n(value(bH)))] | |
471 | 471 | ([StringEntry(ae(L, aE), bv), ScriptTransfer(aT.caller, bk, E)] ++ bJ) | |
472 | 472 | } | |
473 | 473 | else throw("Strict value is not equal to itself.") | |
474 | 474 | } | |
475 | 475 | else throw("Strict value is not equal to itself.") | |
476 | 476 | } | |
477 | 477 | ||
478 | 478 | ||
479 | 479 | ||
480 | 480 | @Callable(aT) | |
481 | 481 | func claimREADONLY (L,M,bK) = { | |
482 | 482 | let O = valueOrErrorMessage(addressFromString(bK), g("invalid address")) | |
483 | 483 | let bL = getString(K(L, M)) | |
484 | 484 | let ai = if (isDefined(bL)) | |
485 | 485 | then aI(O, L, M)._1 | |
486 | 486 | else 0 | |
487 | 487 | $Tuple2(nil, ai) | |
488 | 488 | } | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(aT) | |
493 | 493 | func claim (L,M) = { | |
494 | 494 | let bM = aT.caller | |
495 | 495 | let bN = Z(bM, L, M) | |
496 | 496 | let bO = getInteger(bN) | |
497 | 497 | let aH = [if ((bO == unit)) | |
498 | 498 | then true | |
499 | 499 | else i("already claimed")] | |
500 | 500 | if ((aH == aH)) | |
501 | 501 | then { | |
502 | 502 | let bP = aI(bM, L, M) | |
503 | 503 | let ai = bP._1 | |
504 | 504 | let aS = bP._2 | |
505 | 505 | if (!(aS)) | |
506 | 506 | then i("nothing to claim") | |
507 | 507 | else { | |
508 | 508 | let bL = getString(K(L, M)) | |
509 | 509 | let bQ = if (isDefined(bL)) | |
510 | 510 | then { | |
511 | 511 | let bR = fromBase58String(value(bL)) | |
512 | 512 | [ScriptTransfer(bM, ai, bR), IntegerEntry(bN, ai), DeleteEntry(N(bM, L, M))] | |
513 | 513 | } | |
514 | 514 | else i("nothing to claim") | |
515 | 515 | bQ | |
516 | 516 | } | |
517 | 517 | } | |
518 | 518 | else throw("Strict value is not equal to itself.") | |
519 | 519 | } | |
520 | 520 | ||
521 | 521 | ||
522 | 522 | @Verifier(bS) | |
523 | 523 | func bT () = { | |
524 | 524 | let bU = { | |
525 | 525 | let l = ax() | |
526 | 526 | if ($isInstanceOf(l, "ByteVector")) | |
527 | 527 | then { | |
528 | 528 | let bx = l | |
529 | 529 | bx | |
530 | 530 | } | |
531 | 531 | else if ($isInstanceOf(l, "Unit")) | |
532 | 532 | then bS.senderPublicKey | |
533 | 533 | else throw("Match error") | |
534 | 534 | } | |
535 | 535 | sigVerify(bS.bodyBytes, bS.proofs[0], bU) | |
536 | 536 | } | |
537 | 537 |
github/deemru/w8io/169f3d6 80.39 ms ◑