tx · HzBMSnoFxKaPuSF3FGfck87qfDnwTRPhN4wxbtaFXJou

3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE:  -0.02200000 Waves

2023.06.13 16:31 [2620967] smart account 3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE > SELF 0.00000000 Waves

{ "type": 13, "id": "HzBMSnoFxKaPuSF3FGfck87qfDnwTRPhN4wxbtaFXJou", "fee": 2200000, "feeAssetId": null, "timestamp": 1686663122546, "version": 2, "chainId": 84, "sender": "3N1BEXuoepNEwqkbeZYKviaLQfvBQV3ibYE", "senderPublicKey": "6t3vrhP1jCmG7CeKBmL8hUibtdP3cMXGC2XtPYEPPC5w", "proofs": [ "63GTykGCgz1sEd7Gd5Y8ENrvuQawFTDBztmDPPXY2LCZJDaUoJ8DxT7Fof3iv9aQF7St3ssfdg7adt3QKARux7vJ" ], "script": "base64:BgIrCAISBQoDCAEIEgMKAQgSBAoCCAQSAwoBCBIDCgEIEgUKAwgBCBIECgIIAS8ACXNlcGFyYXRvcgICX18ABU1VTFQ4AIDC1y8BB3dyYXBFcnIBA21zZwkAuQkCCQDMCAICGHZvdGluZ192ZXJpZmllZF92Mi5yaWRlOgkAzAgCBQNtc2cFA25pbAIBIAEIdGhyb3dFcnIBA21zZwkAAgEJAQd3cmFwRXJyAQUDbXNnAQVhc0ludAEDdmFsBAckbWF0Y2gwBQN2YWwDCQABAgUHJG1hdGNoMAIDSW50BAZ2YWxJbnQFByRtYXRjaDAFBnZhbEludAkAAgECG0ZhaWxlZCB0byBjYXN0IGludG8gSW50ZWdlcgEQZ2V0SW50ZWdlck9yWmVybwIHYWRkcmVzcwNrZXkJAQt2YWx1ZU9yRWxzZQIJAJoIAgUHYWRkcmVzcwUDa2V5AAABEGdldEludGVnZXJPckZhaWwCB2FkZHJlc3MDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJoIAgUHYWRkcmVzcwUDa2V5CQEHd3JhcEVycgEJAKwCAgUDa2V5Ag8gaXM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XJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXld29li", "height": 2620967, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 54bZEzydrBwoceZ3aWWjkF75NZVRJcZC4d8uP2aEWgb Next: 5qZB1QnbYTeRULbt6RD5vY9rLsiMSkgmfYtofo2wD67C Diff:
OldNewDifferences
200200 let aP = value(aN.amount)
201201 let aQ = getIntegerValue(C)
202202 let aR = getIntegerValue(B)
203+ let aS = {
204+ let aT = invoke(u, "isVerifiedREADONLY", [E], nil)
205+ if ($isInstanceOf(aT, "Boolean"))
206+ then aT
207+ else throw(($getType(aT) + " couldn't be cast to Boolean"))
208+ }
203209 let az = [if (if ((aL >= aQ))
204210 then (aR >= aL)
205211 else false)
206212 then true
207- else e("invalid periodLength"), if ((aP > (aL * U)))
213+ else e("invalid periodLength"), if ((aS == false))
214+ then true
215+ else e("token already verified"), if ((aP > (aL * U)))
208216 then true
209217 else e("not enough wx for given period"), if ((aP >= getIntegerValue(V)))
210218 then true
211219 else e("payment less then min for suggest")]
212220 if ((az == az))
213221 then {
214- let aS = L(E)
215- let aw = getInteger(aS)
216- let aT = if (isDefined(aw))
222+ let aU = L(E)
223+ let aw = getInteger(aU)
224+ let aV = if (isDefined(aw))
217225 then (value(aw) + 1)
218226 else 0
219- let aU = if ((size(aK.payments) > 1))
227+ let aW = if ((size(aK.payments) > 1))
220228 then {
221- let aV = aK.payments[1]
222- let aW = toBase58String(value(aV.assetId))
223- let aX = value(aV.amount)
224- $Tuple4(true, aW, aX, [StringEntry(D(E, aT), aW), IntegerEntry(I(E, aT), aX)])
229+ let aX = aK.payments[1]
230+ let aY = toBase58String(value(aX.assetId))
231+ let aZ = value(aX.amount)
232+ $Tuple4(true, aY, aZ, [StringEntry(D(E, aV), aY), IntegerEntry(I(E, aV), aZ)])
225233 }
226234 else $Tuple4(false, "EMPTY", 0, nil)
227- let Z = aU._1
228- let aa = aU._2
229- let ab = aU._3
230- let aY = aU._4
235+ let Z = aW._1
236+ let aa = aW._2
237+ let ab = aW._3
238+ let ba = aW._4
231239 let ag = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set"))
232240 let as = Y(Z, aa, ab, "verification", "inProgress", height, (height + aL), ag, 0, 0)
233- let aZ = valueOrElse(getInteger(J), 0)
234- let ba = (aP - aZ)
235- let bb = invoke(u, "createOrUpdate", [E, aM, false], nil)
236- if ((bb == bb))
237- then ([IntegerEntry(aS, aT), StringEntry(R(E, aT), toString(aK.caller)), StringEntry(X(E, aT), as), Burn(aO, ba)] ++ aY)
241+ let bb = valueOrElse(getInteger(J), 0)
242+ let bc = (aP - bb)
243+ let bd = invoke(u, "createOrUpdate", [E, aM, false], nil)
244+ if ((bd == bd))
245+ then ([IntegerEntry(aU, aV), StringEntry(R(E, aV), toString(aK.caller)), StringEntry(X(E, aV), as), Burn(aO, bc)] ++ ba)
238246 else throw("Strict value is not equal to itself.")
239247 }
240248 else throw("Strict value is not equal to itself.")
244252
245253 @Callable(aK)
246254 func suggestRemove (E) = {
247- let bc = aj(toString(aK.caller), height)
248- let bd = getIntegerValue(K)
255+ let be = aj(toString(aK.caller), height)
256+ let bf = getIntegerValue(K)
249257 let aN = aK.payments[0]
250258 let aO = value(aN.assetId)
251259 let aP = value(aN.amount)
252- let az = [if ((bc >= bd))
260+ let aS = {
261+ let aT = invoke(u, "isVerifiedREADONLY", [E], nil)
262+ if ($isInstanceOf(aT, "Boolean"))
263+ then aT
264+ else throw(($getType(aT) + " couldn't be cast to Boolean"))
265+ }
266+ let az = [if (aS)
267+ then true
268+ else e("token not verified"), if ((be >= bf))
253269 then true
254270 else e("not enough gWXes"), if ((aP >= getIntegerValue(W)))
255271 then true
256272 else e("payment less then min for suggest")]
257273 if ((az == az))
258274 then {
259- let aS = L(E)
260- let aw = getInteger(aS)
261- let aT = if (isDefined(aw))
275+ let aU = L(E)
276+ let aw = getInteger(aU)
277+ let aV = if (isDefined(aw))
262278 then (value(aw) + 1)
263279 else 0
264280 let aL = valueOrErrorMessage(getInteger(A), c("periodLengthRemove not set"))
265281 let af = (height + aL)
266282 let ag = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set"))
267283 let as = Y(false, "EMPTY", 0, "deverification", "inProgress", height, (height + aL), ag, 0, 0)
268-[IntegerEntry(aS, aT), StringEntry(R(E, aT), toString(aK.caller)), StringEntry(X(E, aT), as)]
284+[IntegerEntry(aU, aV), StringEntry(R(E, aV), toString(aK.caller)), StringEntry(X(E, aV), as)]
269285 }
270286 else throw("Strict value is not equal to itself.")
271287 }
274290
275291 @Callable(aK)
276292 func vote (E,P) = {
277- let aS = L(E)
278- let aw = valueOrErrorMessage(getInteger(aS), c("voting does not exist"))
293+ let aU = L(E)
294+ let aw = valueOrErrorMessage(getInteger(aU), c("voting does not exist"))
279295 let as = av(E, aw)
280296 if ((as == as))
281297 then {
282- let be = as._2
283- let bf = aj(toString(aK.caller), be)
298+ let bg = as._2
299+ let bh = aj(toString(aK.caller), bg)
284300 let aC = M(E, aw, aK.caller)
285301 let az = [if ((getString(aC) == unit))
286302 then true
287- else e("You have already voted"), if ((bf > 0))
303+ else e("You have already voted"), if ((bh > 0))
288304 then true
289305 else throw("You'll not have gWX at the end of voting")]
290306 if ((az == az))
293309 let at = ar(aF)
294310 let ah = at._9
295311 let ai = at._10
296- let bg = if (P)
297- then $Tuple2((ah + bf), ai)
298- else $Tuple2(ah, (ai + bf))
299- let bh = bg._1
300- let bi = bg._2
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 = {
312+ let bi = if (P)
313+ then $Tuple2((ah + bh), ai)
314+ else $Tuple2(ah, (ai + bh))
315+ let bj = bi._1
316+ let bk = bi._2
317+ let bl = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bj, bk)
318+ let bm = {
303319 let h = getString(D(E, aw))
304320 if ($isInstanceOf(h, "String"))
305321 then {
306- let bl = h
307-[StringEntry(G(aK.caller, E, aw), O(P, bf))]
322+ let bn = h
323+[StringEntry(G(aK.caller, E, aw), O(P, bh))]
308324 }
309325 else if ($isInstanceOf(h, "Unit"))
310326 then nil
311327 else throw("Match error")
312328 }
313- ([StringEntry(aC, O(P, bf)), StringEntry(X(E, aw), bj)] ++ bk)
329+ ([StringEntry(aC, O(P, bh)), StringEntry(X(E, aw), bl)] ++ bm)
314330 }
315331 else throw("Strict value is not equal to itself.")
316332 }
321337
322338 @Callable(aK)
323339 func cancelVote (E) = {
324- let aS = L(E)
325- let aw = valueOrErrorMessage(getInteger(aS), c("voting does not exist"))
340+ let aU = L(E)
341+ let aw = valueOrErrorMessage(getInteger(aU), c("voting does not exist"))
326342 let aC = M(E, aw, aK.caller)
327343 let aD = valueOrErrorMessage(getString(aC), c("you have not voted"))
328344 let aE = split(aD, a)
342358 let at = ar(aF)
343359 let ah = at._9
344360 let ai = at._10
345- let bm = if ((P == "true"))
361+ let bo = if ((P == "true"))
346362 then $Tuple2((ah - Q), ai)
347363 else $Tuple2(ah, (ai - Q))
348- let bh = bm._1
349- let bi = bm._2
350- let bj = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bh, bi)
351-[StringEntry(X(E, aw), bj), DeleteEntry(aC), DeleteEntry(G(aK.caller, E, aw))]
364+ let bj = bo._1
365+ let bk = bo._2
366+ let bl = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bj, bk)
367+[StringEntry(X(E, aw), bl), DeleteEntry(aC), DeleteEntry(G(aK.caller, E, aw))]
352368 }
353369 else throw("Strict value is not equal to itself.")
354370 }
359375
360376 @Callable(aK)
361377 func finalize (E) = {
362- let aS = L(E)
363- let aw = valueOrElse(getInteger(aS), 0)
364- let bn = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set"))
365- let bo = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set"))
378+ let aU = L(E)
379+ let aw = valueOrElse(getInteger(aU), 0)
380+ let bp = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set"))
381+ let bq = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set"))
366382 let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found"))
367383 let at = ar(aF)
368384 let ac = at._4
369385 let ad = at._5
370386 let af = at._7
371- let bp = at._8
387+ let br = at._8
372388 let ah = at._9
373389 let ai = at._10
374390 let az = [if ((ad == "inProgress"))
378394 else e("voting not finished")]
379395 if ((az == az))
380396 then {
381- let bq = if (if (((ah + ai) >= bp))
397+ let bs = if (if (((ah + ai) >= br))
382398 then (ah > ai)
383399 else false)
384400 then true
385401 else false
386- let br = if (bq)
402+ let bt = if (bs)
387403 then "accepted"
388404 else "rejected"
389- let bs = if ((ac == "verification"))
405+ let bu = if ((ac == "verification"))
390406 then true
391407 else false
392- let bt = if (bq)
408+ let bv = if (bs)
393409 then {
394- let bu = invoke(u, "setVerified", [E, bs], nil)
395- if ((bu == bu))
410+ let bw = invoke(u, "setVerified", [E, bu], nil)
411+ if ((bw == bw))
396412 then {
397- let aZ = valueOrElse(getInteger(J), 0)
398-[ScriptTransfer(aK.caller, aZ, x)]
413+ let bb = valueOrElse(getInteger(J), 0)
414+[ScriptTransfer(aK.caller, bb, x)]
399415 }
400416 else throw("Strict value is not equal to itself.")
401417 }
402418 else nil
403- let bj = Y(at._1, at._2, at._3, at._4, br, at._6, at._7, at._8, at._9, at._10)
404- ([StringEntry(X(E, aw), bj)] ++ bt)
419+ let bl = Y(at._1, at._2, at._3, at._4, bt, at._6, at._7, at._8, at._9, at._10)
420+ ([StringEntry(X(E, aw), bl)] ++ bv)
405421 }
406422 else throw("Strict value is not equal to itself.")
407423 }
409425
410426
411427 @Callable(aK)
412-func claimREADONLY (E,F,bv) = {
413- let H = valueOrErrorMessage(addressFromString(bv), c("invalid address"))
414- let bw = getString(D(E, F))
415- let ab = if (isDefined(bw))
428+func claimREADONLY (E,F,bx) = {
429+ let H = valueOrErrorMessage(addressFromString(bx), c("invalid address"))
430+ let by = getString(D(E, F))
431+ let ab = if (isDefined(by))
416432 then aA(H, E, F)
417433 else 0
418434 $Tuple2(nil, ab)
422438
423439 @Callable(aK)
424440 func claim (E,F) = {
425- let bx = aK.caller
426- let by = S(bx, E, F)
427- let bz = getInteger(by)
428- let az = [if ((bz == unit))
441+ let bz = aK.caller
442+ let bA = S(bz, E, F)
443+ let bB = getInteger(bA)
444+ let az = [if ((bB == unit))
429445 then true
430446 else e("already claimed")]
431447 if ((az == az))
432448 then {
433- let ab = if ((aA(bx, E, F) > 0))
434- then aA(bx, E, F)
449+ let ab = if ((aA(bz, E, F) > 0))
450+ then aA(bz, E, F)
435451 else e("nothing to claim")
436- let bw = getString(D(E, F))
437- let bA = if (isDefined(bw))
452+ let by = getString(D(E, F))
453+ let bC = if (isDefined(by))
438454 then {
439- let bB = fromBase58String(value(bw))
440-[ScriptTransfer(bx, ab, bB), IntegerEntry(by, ab), DeleteEntry(G(bx, E, F))]
455+ let bD = fromBase58String(value(by))
456+[ScriptTransfer(bz, ab, bD), IntegerEntry(bA, ab), DeleteEntry(G(bz, E, F))]
441457 }
442458 else e("nothing to claim")
443- bA
459+ bC
444460 }
445461 else throw("Strict value is not equal to itself.")
446462 }
447463
448464
449-@Verifier(bC)
450-func bD () = {
451- let bE = {
465+@Verifier(bE)
466+func bF () = {
467+ let bG = {
452468 let h = ap()
453469 if ($isInstanceOf(h, "ByteVector"))
454470 then {
455- let bl = h
456- bl
471+ let bn = h
472+ bn
457473 }
458474 else if ($isInstanceOf(h, "Unit"))
459- then bC.senderPublicKey
475+ then bE.senderPublicKey
460476 else throw("Match error")
461477 }
462- sigVerify(bC.bodyBytes, bC.proofs[0], bE)
478+ sigVerify(bE.bodyBytes, bE.proofs[0], bG)
463479 }
464480
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = 100000000
77
88 func c (d) = makeString(["voting_verified_v2.ride:", d], " ")
99
1010
1111 func e (d) = throw(c(d))
1212
1313
1414 func f (g) = {
1515 let h = g
1616 if ($isInstanceOf(h, "Int"))
1717 then {
1818 let i = h
1919 i
2020 }
2121 else throw("Failed to cast into Integer")
2222 }
2323
2424
2525 func j (k,l) = valueOrElse(getInteger(k, l), 0)
2626
2727
2828 func m (k,l) = valueOrErrorMessage(getInteger(k, l), c((l + " is not defined")))
2929
3030
3131 func n (k,l) = valueOrElse(getString(k, l), "")
3232
3333
3434 func o (k,l) = valueOrErrorMessage(getString(k, l), c((l + " is not defined")))
3535
3636
3737 let p = makeString(["%s", "boostingContract"], a)
3838
3939 let q = makeString(["%s", "emissionContract"], a)
4040
4141 let r = makeString(["%s", "assetsStoreContract"], a)
4242
4343 let s = addressFromStringValue(getStringValue(p))
4444
4545 let t = addressFromStringValue(getStringValue(q))
4646
4747 let u = addressFromStringValue(getStringValue(r))
4848
4949 let v = makeString(["%s", "config"], a)
5050
5151 let w = split(o(t, v), a)[1]
5252
5353 let x = fromBase58String(w)
5454
5555 let y = makeString(["%s%s", "votingThreshold", "add"], a)
5656
5757 let z = makeString(["%s%s", "votingThreshold", "remove"], a)
5858
5959 let A = makeString(["%s", "periodLengthRemove"], a)
6060
6161 let B = makeString(["%s", "maxPeriodLength"], a)
6262
6363 let C = makeString(["%s", "minPeriodLength"], a)
6464
6565 func D (E,F) = makeString(["%s%s%d", "votingRewardAssetId", E, toString(F)], a)
6666
6767
6868 func G (H,E,F) = makeString(["%s%s%s%d", "votingReward", toString(H), E, toString(F)], a)
6969
7070
7171 func I (E,F) = makeString(["%s%s%d", "totalVotingReward", E, toString(F)], a)
7272
7373
7474 let J = makeString(["%s", "finalizeCallRewardAmount"], a)
7575
7676 let K = makeString(["%s", "minSuggestRemoveBalance"], a)
7777
7878 func L (E) = makeString(["%s%s", "currentIndex", E], a)
7979
8080
8181 func M (E,F,N) = makeString(["%s%s%d%s", "vote", E, toString(F), toString(N)], a)
8282
8383
8484 func O (P,Q) = makeString(["%s%d", toString(P), toString(Q)], a)
8585
8686
8787 func R (E,F) = makeString(["%s%s%d", "suggestIssuer", E, toString(F)], a)
8888
8989
9090 func S (H,E,F) = makeString(["%s%s%s%d", "history", toString(H), E, toString(F)], a)
9191
9292
9393 let T = makeString(["%s", "feePerBlock"], a)
9494
9595 let U = m(this, T)
9696
9797 let V = makeString(["%s", "wxMinForSuggestAddAmountRequired"], a)
9898
9999 let W = makeString(["%s", "wxForSuggestRemoveAmountRequired"], a)
100100
101101 func X (E,F) = makeString(["%s%s%d", "votingInfo", E, toString(F)], a)
102102
103103
104104 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)
105105
106106
107107 func aj (H,ak) = {
108108 let Q = invoke(s, "getUserGwxAmountAtHeightREADONLY", [H, ak], nil)
109109 f(Q)
110110 }
111111
112112
113113 func al () = "%s__managerVaultAddress"
114114
115115
116116 func am () = "%s__managerPublicKey"
117117
118118
119119 func an () = {
120120 let h = getString(al())
121121 if ($isInstanceOf(h, "String"))
122122 then {
123123 let ao = h
124124 addressFromStringValue(ao)
125125 }
126126 else this
127127 }
128128
129129
130130 func ap () = {
131131 let aq = an()
132132 let h = getString(aq, am())
133133 if ($isInstanceOf(h, "String"))
134134 then {
135135 let ao = h
136136 fromBase58String(ao)
137137 }
138138 else if ($isInstanceOf(h, "Unit"))
139139 then unit
140140 else throw("Match error")
141141 }
142142
143143
144144 func ar (as) = {
145145 let at = split(as, a)
146146 let au = at[1]
147147 let Z = if ((au == "true"))
148148 then true
149149 else false
150150 let aa = at[2]
151151 let ab = parseIntValue(at[3])
152152 let ac = at[4]
153153 let ad = at[5]
154154 let ae = parseIntValue(at[6])
155155 let af = parseIntValue(at[7])
156156 let ag = parseIntValue(at[8])
157157 let ah = parseIntValue(at[9])
158158 let ai = parseIntValue(at[10])
159159 $Tuple10(Z, aa, ab, ac, ad, ae, af, ag, ah, ai)
160160 }
161161
162162
163163 func av (E,aw) = {
164164 let as = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found"))
165165 let ax = split(as, a)
166166 let ad = ax[5]
167167 let af = valueOrErrorMessage(parseIntValue(ax[7]), c("voting start height not found"))
168168 let ay = valueOrErrorMessage(getString(R(E, aw)), c("voting issuer not found"))
169169 let az = [if ((ad == "inProgress"))
170170 then true
171171 else e("no voting in progress"), if ((af > height))
172172 then true
173173 else e("voting expired")]
174174 if ((az == az))
175175 then $Tuple3(ad, af, ay)
176176 else throw("Strict value is not equal to itself.")
177177 }
178178
179179
180180 func aA (aB,E,F) = {
181181 let aC = M(E, F, aB)
182182 let aD = valueOrErrorMessage(getString(aC), c("you have not voted"))
183183 let aE = split(aD, a)
184184 let Q = parseIntValue(aE[2])
185185 let aF = valueOrErrorMessage(getString(X(E, F)), c("voting info not found"))
186186 let aG = ar(aF)
187187 let ah = aG._9
188188 let ai = aG._10
189189 let aH = fraction(Q, b, (ah + ai))
190190 let aI = valueOrElse(getInteger(I(E, F)), 0)
191191 let aJ = fraction(aH, aI, b, FLOOR)
192192 aJ
193193 }
194194
195195
196196 @Callable(aK)
197197 func suggestAdd (E,aL,aM) = {
198198 let aN = aK.payments[0]
199199 let aO = value(aN.assetId)
200200 let aP = value(aN.amount)
201201 let aQ = getIntegerValue(C)
202202 let aR = getIntegerValue(B)
203+ let aS = {
204+ let aT = invoke(u, "isVerifiedREADONLY", [E], nil)
205+ if ($isInstanceOf(aT, "Boolean"))
206+ then aT
207+ else throw(($getType(aT) + " couldn't be cast to Boolean"))
208+ }
203209 let az = [if (if ((aL >= aQ))
204210 then (aR >= aL)
205211 else false)
206212 then true
207- else e("invalid periodLength"), if ((aP > (aL * U)))
213+ else e("invalid periodLength"), if ((aS == false))
214+ then true
215+ else e("token already verified"), if ((aP > (aL * U)))
208216 then true
209217 else e("not enough wx for given period"), if ((aP >= getIntegerValue(V)))
210218 then true
211219 else e("payment less then min for suggest")]
212220 if ((az == az))
213221 then {
214- let aS = L(E)
215- let aw = getInteger(aS)
216- let aT = if (isDefined(aw))
222+ let aU = L(E)
223+ let aw = getInteger(aU)
224+ let aV = if (isDefined(aw))
217225 then (value(aw) + 1)
218226 else 0
219- let aU = if ((size(aK.payments) > 1))
227+ let aW = if ((size(aK.payments) > 1))
220228 then {
221- let aV = aK.payments[1]
222- let aW = toBase58String(value(aV.assetId))
223- let aX = value(aV.amount)
224- $Tuple4(true, aW, aX, [StringEntry(D(E, aT), aW), IntegerEntry(I(E, aT), aX)])
229+ let aX = aK.payments[1]
230+ let aY = toBase58String(value(aX.assetId))
231+ let aZ = value(aX.amount)
232+ $Tuple4(true, aY, aZ, [StringEntry(D(E, aV), aY), IntegerEntry(I(E, aV), aZ)])
225233 }
226234 else $Tuple4(false, "EMPTY", 0, nil)
227- let Z = aU._1
228- let aa = aU._2
229- let ab = aU._3
230- let aY = aU._4
235+ let Z = aW._1
236+ let aa = aW._2
237+ let ab = aW._3
238+ let ba = aW._4
231239 let ag = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set"))
232240 let as = Y(Z, aa, ab, "verification", "inProgress", height, (height + aL), ag, 0, 0)
233- let aZ = valueOrElse(getInteger(J), 0)
234- let ba = (aP - aZ)
235- let bb = invoke(u, "createOrUpdate", [E, aM, false], nil)
236- if ((bb == bb))
237- then ([IntegerEntry(aS, aT), StringEntry(R(E, aT), toString(aK.caller)), StringEntry(X(E, aT), as), Burn(aO, ba)] ++ aY)
241+ let bb = valueOrElse(getInteger(J), 0)
242+ let bc = (aP - bb)
243+ let bd = invoke(u, "createOrUpdate", [E, aM, false], nil)
244+ if ((bd == bd))
245+ then ([IntegerEntry(aU, aV), StringEntry(R(E, aV), toString(aK.caller)), StringEntry(X(E, aV), as), Burn(aO, bc)] ++ ba)
238246 else throw("Strict value is not equal to itself.")
239247 }
240248 else throw("Strict value is not equal to itself.")
241249 }
242250
243251
244252
245253 @Callable(aK)
246254 func suggestRemove (E) = {
247- let bc = aj(toString(aK.caller), height)
248- let bd = getIntegerValue(K)
255+ let be = aj(toString(aK.caller), height)
256+ let bf = getIntegerValue(K)
249257 let aN = aK.payments[0]
250258 let aO = value(aN.assetId)
251259 let aP = value(aN.amount)
252- let az = [if ((bc >= bd))
260+ let aS = {
261+ let aT = invoke(u, "isVerifiedREADONLY", [E], nil)
262+ if ($isInstanceOf(aT, "Boolean"))
263+ then aT
264+ else throw(($getType(aT) + " couldn't be cast to Boolean"))
265+ }
266+ let az = [if (aS)
267+ then true
268+ else e("token not verified"), if ((be >= bf))
253269 then true
254270 else e("not enough gWXes"), if ((aP >= getIntegerValue(W)))
255271 then true
256272 else e("payment less then min for suggest")]
257273 if ((az == az))
258274 then {
259- let aS = L(E)
260- let aw = getInteger(aS)
261- let aT = if (isDefined(aw))
275+ let aU = L(E)
276+ let aw = getInteger(aU)
277+ let aV = if (isDefined(aw))
262278 then (value(aw) + 1)
263279 else 0
264280 let aL = valueOrErrorMessage(getInteger(A), c("periodLengthRemove not set"))
265281 let af = (height + aL)
266282 let ag = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set"))
267283 let as = Y(false, "EMPTY", 0, "deverification", "inProgress", height, (height + aL), ag, 0, 0)
268-[IntegerEntry(aS, aT), StringEntry(R(E, aT), toString(aK.caller)), StringEntry(X(E, aT), as)]
284+[IntegerEntry(aU, aV), StringEntry(R(E, aV), toString(aK.caller)), StringEntry(X(E, aV), as)]
269285 }
270286 else throw("Strict value is not equal to itself.")
271287 }
272288
273289
274290
275291 @Callable(aK)
276292 func vote (E,P) = {
277- let aS = L(E)
278- let aw = valueOrErrorMessage(getInteger(aS), c("voting does not exist"))
293+ let aU = L(E)
294+ let aw = valueOrErrorMessage(getInteger(aU), c("voting does not exist"))
279295 let as = av(E, aw)
280296 if ((as == as))
281297 then {
282- let be = as._2
283- let bf = aj(toString(aK.caller), be)
298+ let bg = as._2
299+ let bh = aj(toString(aK.caller), bg)
284300 let aC = M(E, aw, aK.caller)
285301 let az = [if ((getString(aC) == unit))
286302 then true
287- else e("You have already voted"), if ((bf > 0))
303+ else e("You have already voted"), if ((bh > 0))
288304 then true
289305 else throw("You'll not have gWX at the end of voting")]
290306 if ((az == az))
291307 then {
292308 let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found"))
293309 let at = ar(aF)
294310 let ah = at._9
295311 let ai = at._10
296- let bg = if (P)
297- then $Tuple2((ah + bf), ai)
298- else $Tuple2(ah, (ai + bf))
299- let bh = bg._1
300- let bi = bg._2
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 = {
312+ let bi = if (P)
313+ then $Tuple2((ah + bh), ai)
314+ else $Tuple2(ah, (ai + bh))
315+ let bj = bi._1
316+ let bk = bi._2
317+ let bl = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bj, bk)
318+ let bm = {
303319 let h = getString(D(E, aw))
304320 if ($isInstanceOf(h, "String"))
305321 then {
306- let bl = h
307-[StringEntry(G(aK.caller, E, aw), O(P, bf))]
322+ let bn = h
323+[StringEntry(G(aK.caller, E, aw), O(P, bh))]
308324 }
309325 else if ($isInstanceOf(h, "Unit"))
310326 then nil
311327 else throw("Match error")
312328 }
313- ([StringEntry(aC, O(P, bf)), StringEntry(X(E, aw), bj)] ++ bk)
329+ ([StringEntry(aC, O(P, bh)), StringEntry(X(E, aw), bl)] ++ bm)
314330 }
315331 else throw("Strict value is not equal to itself.")
316332 }
317333 else throw("Strict value is not equal to itself.")
318334 }
319335
320336
321337
322338 @Callable(aK)
323339 func cancelVote (E) = {
324- let aS = L(E)
325- let aw = valueOrErrorMessage(getInteger(aS), c("voting does not exist"))
340+ let aU = L(E)
341+ let aw = valueOrErrorMessage(getInteger(aU), c("voting does not exist"))
326342 let aC = M(E, aw, aK.caller)
327343 let aD = valueOrErrorMessage(getString(aC), c("you have not voted"))
328344 let aE = split(aD, a)
329345 let P = aE[1]
330346 let Q = parseIntValue(aE[2])
331347 let as = av(E, aw)
332348 if ((as == as))
333349 then {
334350 let az = [if (if ((P == "true"))
335351 then true
336352 else (P == "false"))
337353 then true
338354 else e("invalid vote")]
339355 if ((az == az))
340356 then {
341357 let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found"))
342358 let at = ar(aF)
343359 let ah = at._9
344360 let ai = at._10
345- let bm = if ((P == "true"))
361+ let bo = if ((P == "true"))
346362 then $Tuple2((ah - Q), ai)
347363 else $Tuple2(ah, (ai - Q))
348- let bh = bm._1
349- let bi = bm._2
350- let bj = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bh, bi)
351-[StringEntry(X(E, aw), bj), DeleteEntry(aC), DeleteEntry(G(aK.caller, E, aw))]
364+ let bj = bo._1
365+ let bk = bo._2
366+ let bl = Y(at._1, at._2, at._3, at._4, at._5, at._6, at._7, at._8, bj, bk)
367+[StringEntry(X(E, aw), bl), DeleteEntry(aC), DeleteEntry(G(aK.caller, E, aw))]
352368 }
353369 else throw("Strict value is not equal to itself.")
354370 }
355371 else throw("Strict value is not equal to itself.")
356372 }
357373
358374
359375
360376 @Callable(aK)
361377 func finalize (E) = {
362- let aS = L(E)
363- let aw = valueOrElse(getInteger(aS), 0)
364- let bn = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set"))
365- let bo = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set"))
378+ let aU = L(E)
379+ let aw = valueOrElse(getInteger(aU), 0)
380+ let bp = valueOrErrorMessage(getInteger(y), c("votingThresholdAdd not set"))
381+ let bq = valueOrErrorMessage(getInteger(z), c("votingThresholdRemove not set"))
366382 let aF = valueOrErrorMessage(getString(X(E, aw)), c("voting info not found"))
367383 let at = ar(aF)
368384 let ac = at._4
369385 let ad = at._5
370386 let af = at._7
371- let bp = at._8
387+ let br = at._8
372388 let ah = at._9
373389 let ai = at._10
374390 let az = [if ((ad == "inProgress"))
375391 then true
376392 else e("voting not in progress"), if ((height >= af))
377393 then true
378394 else e("voting not finished")]
379395 if ((az == az))
380396 then {
381- let bq = if (if (((ah + ai) >= bp))
397+ let bs = if (if (((ah + ai) >= br))
382398 then (ah > ai)
383399 else false)
384400 then true
385401 else false
386- let br = if (bq)
402+ let bt = if (bs)
387403 then "accepted"
388404 else "rejected"
389- let bs = if ((ac == "verification"))
405+ let bu = if ((ac == "verification"))
390406 then true
391407 else false
392- let bt = if (bq)
408+ let bv = if (bs)
393409 then {
394- let bu = invoke(u, "setVerified", [E, bs], nil)
395- if ((bu == bu))
410+ let bw = invoke(u, "setVerified", [E, bu], nil)
411+ if ((bw == bw))
396412 then {
397- let aZ = valueOrElse(getInteger(J), 0)
398-[ScriptTransfer(aK.caller, aZ, x)]
413+ let bb = valueOrElse(getInteger(J), 0)
414+[ScriptTransfer(aK.caller, bb, x)]
399415 }
400416 else throw("Strict value is not equal to itself.")
401417 }
402418 else nil
403- let bj = Y(at._1, at._2, at._3, at._4, br, at._6, at._7, at._8, at._9, at._10)
404- ([StringEntry(X(E, aw), bj)] ++ bt)
419+ let bl = Y(at._1, at._2, at._3, at._4, bt, at._6, at._7, at._8, at._9, at._10)
420+ ([StringEntry(X(E, aw), bl)] ++ bv)
405421 }
406422 else throw("Strict value is not equal to itself.")
407423 }
408424
409425
410426
411427 @Callable(aK)
412-func claimREADONLY (E,F,bv) = {
413- let H = valueOrErrorMessage(addressFromString(bv), c("invalid address"))
414- let bw = getString(D(E, F))
415- let ab = if (isDefined(bw))
428+func claimREADONLY (E,F,bx) = {
429+ let H = valueOrErrorMessage(addressFromString(bx), c("invalid address"))
430+ let by = getString(D(E, F))
431+ let ab = if (isDefined(by))
416432 then aA(H, E, F)
417433 else 0
418434 $Tuple2(nil, ab)
419435 }
420436
421437
422438
423439 @Callable(aK)
424440 func claim (E,F) = {
425- let bx = aK.caller
426- let by = S(bx, E, F)
427- let bz = getInteger(by)
428- let az = [if ((bz == unit))
441+ let bz = aK.caller
442+ let bA = S(bz, E, F)
443+ let bB = getInteger(bA)
444+ let az = [if ((bB == unit))
429445 then true
430446 else e("already claimed")]
431447 if ((az == az))
432448 then {
433- let ab = if ((aA(bx, E, F) > 0))
434- then aA(bx, E, F)
449+ let ab = if ((aA(bz, E, F) > 0))
450+ then aA(bz, E, F)
435451 else e("nothing to claim")
436- let bw = getString(D(E, F))
437- let bA = if (isDefined(bw))
452+ let by = getString(D(E, F))
453+ let bC = if (isDefined(by))
438454 then {
439- let bB = fromBase58String(value(bw))
440-[ScriptTransfer(bx, ab, bB), IntegerEntry(by, ab), DeleteEntry(G(bx, E, F))]
455+ let bD = fromBase58String(value(by))
456+[ScriptTransfer(bz, ab, bD), IntegerEntry(bA, ab), DeleteEntry(G(bz, E, F))]
441457 }
442458 else e("nothing to claim")
443- bA
459+ bC
444460 }
445461 else throw("Strict value is not equal to itself.")
446462 }
447463
448464
449-@Verifier(bC)
450-func bD () = {
451- let bE = {
465+@Verifier(bE)
466+func bF () = {
467+ let bG = {
452468 let h = ap()
453469 if ($isInstanceOf(h, "ByteVector"))
454470 then {
455- let bl = h
456- bl
471+ let bn = h
472+ bn
457473 }
458474 else if ($isInstanceOf(h, "Unit"))
459- then bC.senderPublicKey
475+ then bE.senderPublicKey
460476 else throw("Match error")
461477 }
462- sigVerify(bC.bodyBytes, bC.proofs[0], bE)
478+ sigVerify(bE.bodyBytes, bE.proofs[0], bG)
463479 }
464480

github/deemru/w8io/169f3d6 
89.60 ms