tx · Bn2sUZDCZBAAJiS52Qx61imDLTGy16ySCLRJDXu1hc5t

3N7oHnMaDFKYTEgumQs9mjRESDco6KhQiXW:  -0.14000000 Waves

2023.05.10 13:35 [2571675] smart account 3N7oHnMaDFKYTEgumQs9mjRESDco6KhQiXW > SELF 0.00000000 Waves

{ "type": 13, "id": "Bn2sUZDCZBAAJiS52Qx61imDLTGy16ySCLRJDXu1hc5t", "fee": 14000000, "feeAssetId": null, "timestamp": 1683714939154, "version": 2, "chainId": 84, "sender": "3N7oHnMaDFKYTEgumQs9mjRESDco6KhQiXW", "senderPublicKey": "2M6xzJiyT4ZPQhyMEQoo9GUqBsKBtgTD1BaZ8L4PfPVj", "proofs": [ "64JGrNyZTrkry6eHSj44xrB4dgnJmWnbK5ydDEgyBVKpnwkj51z3zDK6jU7bXosLRdTGQy55d4N7o8b5j6gXJbzr", "4kYPMNeamoLnUcXyLmVcD5Cjwake1J5B7KijLjmqXfPJxYLX6Wzid1pWKFXeAgDLufmqknfHA4AsWgRJJyKbKcG5" ], "script": "base64:AAIFAAAAAAAAACgIAhIHCgUBAQEICBIDCgEEEgASBwoFCAgICAgSABIHCgUICAgICBIAAAAAGAAAAAAMYWRtaW5QdWJLZXkxAQAAACAUAgxQsbLOs6wdAAAdZRRh/vm5Euk+/WkV2ql4oEjMCgAAAAAMYWRtaW5QdWJLZXkyAQAAACAUAgxQsbLOs6wdAAAdZRRh/vm5Euk+/WkV2ql4oEjMCgAAAAAMYWRtaW5QdWJLZXkzAQAAACAUAgxQsbLOs6wdAAAdZRRh/vm5Euk+/WkV2ql4oEjMCgAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIBQCDFCxss6zrB0AAB1lFGH++bkS6T79aRXaqXigSMwKAAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAABFrZXlVc2VyVk9URUFtb3VudAIAAAAMX1ZPVEVfYW1vdW50AAAAA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AAAAACyvuP8w==", "height": 2571675, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DsZxsGfnpDnnDTWhwYHwBq7HaVdS7uC23HFCQjC3SU88 Next: bNKqptvdGEqYMUmoaoGbsDKkuLCFaqUnumdHqi2FxiZ Diff:
OldNewDifferences
104104
105105
106106 @Callable(C)
107+func changeVote () = if (!(r))
108+ then throw("DApp is inactive at this moment")
109+ else {
110+ let w = toString(y(j))
111+ let D = y(((k + "_") + w))
112+ let E = y(((l + "_") + w))
113+ if ((D > height))
114+ then throw(((("Voting has not started yet. Start: " + toString(D)) + "Height: ") + toString(height)))
115+ else if ((height > E))
116+ then throw(((("Voting has already ended. End: " + toString(E)) + "Height: ") + toString(height)))
117+ else {
118+ let I = y((w + m))
119+ let J = y((w + n))
120+ let K = v(C.caller, w)
121+ let L = x(C.caller, w)
122+ let M = t(C.caller)
123+ let N = M
124+ if ((0 > N))
125+ then throw("Vote must be more than 0")
126+ else if ((K == M))
127+ then throw("You have already voted. Stake more enno to update voting")
128+ else {
129+ let O = (I + (if ((L == false))
130+ then (M - K)
131+ else 0))
132+ let P = (J + (if ((L == true))
133+ then (M - K)
134+ else 0))
135+[IntegerEntry((((toString(C.caller) + g) + "_") + w), M), BooleanEntry((((toString(C.caller) + h) + "_") + w), !(L)), IntegerEntry((w + m), O), IntegerEntry((w + n), P), IntegerEntry((w + i), (P + O))]
136+ }
137+ }
138+ }
139+
140+
141+
142+@Callable(C)
107143 func deleteData (Q,R,S,T,U) = if (!(containsElement([a, b, c, d], C.callerPublicKey)))
108144 then throw("Only admin can call this function")
109145 else [DeleteEntry(Q), DeleteEntry(R), DeleteEntry(S), DeleteEntry(T), DeleteEntry(U)]
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'2M6xzJiyT4ZPQhyMEQoo9GUqBsKBtgTD1BaZ8L4PfPVj'
55
66 let b = base58'2M6xzJiyT4ZPQhyMEQoo9GUqBsKBtgTD1BaZ8L4PfPVj'
77
88 let c = base58'2M6xzJiyT4ZPQhyMEQoo9GUqBsKBtgTD1BaZ8L4PfPVj'
99
1010 let d = base58'2M6xzJiyT4ZPQhyMEQoo9GUqBsKBtgTD1BaZ8L4PfPVj'
1111
1212 let e = "active"
1313
1414 let f = "shutdown_cause"
1515
1616 let g = "_VOTE_amount"
1717
1818 let h = "_VOTE"
1919
2020 let i = "_total_VOTE_amount"
2121
2222 let j = "vote_session"
2323
2424 let k = "vote_start_height"
2525
2626 let l = "vote_end_height"
2727
2828 let m = "_yes_amount"
2929
3030 let n = "_no_amount"
3131
3232 let o = "_ENNO_amount"
3333
3434 let p = "vote_name"
3535
3636 let q = "vote_description"
3737
3838 let r = valueOrElse(getBoolean(this, e), true)
3939
4040 let s = addressFromPublicKey(base58'Ese6jz6mtrhgwJWdXbAxHNHg2qzae5D2xXWuVF7tLfs8')
4141
4242 func t (u) = valueOrElse(getInteger(s, (toString(u) + o)), 0)
4343
4444
4545 func v (u,w) = valueOrElse(getInteger(this, (((toString(u) + g) + "_") + w)), 0)
4646
4747
4848 func x (u,w) = valueOrElse(getBoolean(this, (((toString(u) + h) + "_") + w)), false)
4949
5050
5151 func y (z) = valueOrElse(getInteger(this, z), 0)
5252
5353
5454 func A (B) = [BooleanEntry(e, false), StringEntry(f, B)]
5555
5656
5757 @Callable(C)
5858 func initVote (w,D,E,F,G) = if (!(r))
5959 then throw("DApp is inactive at this moment")
6060 else if (!(containsElement([a, b, c, d], C.callerPublicKey)))
6161 then throw("Only admin can call this function")
6262 else [IntegerEntry(j, w), IntegerEntry(((k + "_") + toString(w)), D), IntegerEntry(((l + "_") + toString(w)), E), IntegerEntry((toString(w) + m), 0), IntegerEntry((toString(w) + n), 0), IntegerEntry((toString(w) + i), 0), StringEntry(((p + "_") + toString(w)), F), StringEntry(((q + "_") + toString(w)), G)]
6363
6464
6565
6666 @Callable(C)
6767 func vote (H) = if (!(r))
6868 then throw("DApp is inactive at this moment")
6969 else {
7070 let w = toString(y(j))
7171 let D = y(((k + "_") + w))
7272 let E = y(((l + "_") + w))
7373 if ((D > height))
7474 then throw(((("Voting has not started yet. Start: " + toString(D)) + "Height: ") + toString(height)))
7575 else if ((height > E))
7676 then throw(((("Voting has already ended. End: " + toString(E)) + "Height: ") + toString(height)))
7777 else {
7878 let I = y((w + m))
7979 let J = y((w + n))
8080 let K = v(C.caller, w)
8181 let L = x(C.caller, w)
8282 let M = t(C.caller)
8383 let N = M
8484 if ((0 > N))
8585 then throw("Vote must be more than 0")
8686 else if (if ((H != L))
8787 then (K > 0)
8888 else false)
8989 then throw("Please use change my vote option the update your vote")
9090 else if ((K == M))
9191 then throw("You have already voted. Stake more enno to update voting")
9292 else {
9393 let O = (I + (if ((H == true))
9494 then (M - K)
9595 else 0))
9696 let P = (J + (if ((H == false))
9797 then (M - K)
9898 else 0))
9999 [IntegerEntry((((toString(C.caller) + g) + "_") + w), M), BooleanEntry((((toString(C.caller) + h) + "_") + w), H), IntegerEntry((w + m), O), IntegerEntry((w + n), P), IntegerEntry((w + i), (P + O))]
100100 }
101101 }
102102 }
103103
104104
105105
106106 @Callable(C)
107+func changeVote () = if (!(r))
108+ then throw("DApp is inactive at this moment")
109+ else {
110+ let w = toString(y(j))
111+ let D = y(((k + "_") + w))
112+ let E = y(((l + "_") + w))
113+ if ((D > height))
114+ then throw(((("Voting has not started yet. Start: " + toString(D)) + "Height: ") + toString(height)))
115+ else if ((height > E))
116+ then throw(((("Voting has already ended. End: " + toString(E)) + "Height: ") + toString(height)))
117+ else {
118+ let I = y((w + m))
119+ let J = y((w + n))
120+ let K = v(C.caller, w)
121+ let L = x(C.caller, w)
122+ let M = t(C.caller)
123+ let N = M
124+ if ((0 > N))
125+ then throw("Vote must be more than 0")
126+ else if ((K == M))
127+ then throw("You have already voted. Stake more enno to update voting")
128+ else {
129+ let O = (I + (if ((L == false))
130+ then (M - K)
131+ else 0))
132+ let P = (J + (if ((L == true))
133+ then (M - K)
134+ else 0))
135+[IntegerEntry((((toString(C.caller) + g) + "_") + w), M), BooleanEntry((((toString(C.caller) + h) + "_") + w), !(L)), IntegerEntry((w + m), O), IntegerEntry((w + n), P), IntegerEntry((w + i), (P + O))]
136+ }
137+ }
138+ }
139+
140+
141+
142+@Callable(C)
107143 func deleteData (Q,R,S,T,U) = if (!(containsElement([a, b, c, d], C.callerPublicKey)))
108144 then throw("Only admin can call this function")
109145 else [DeleteEntry(Q), DeleteEntry(R), DeleteEntry(S), DeleteEntry(T), DeleteEntry(U)]
110146
111147
112148
113149 @Callable(C)
114150 func deleteVote () = [IntegerEntry((toString(y(j)) + m), 0), IntegerEntry((toString(y(j)) + n), 0), IntegerEntry((toString(y(j)) + i), 0)]
115151
116152
117153
118154 @Callable(C)
119155 func deleteAddressData (V,W,X,Y,Z) = [DeleteEntry((((V + g) + "_") + toString(y(j)))), DeleteEntry((((V + h) + "_") + toString(y(j)))), DeleteEntry((((W + g) + "_") + toString(y(j)))), DeleteEntry((((W + h) + "_") + toString(y(j)))), DeleteEntry((((X + g) + "_") + toString(y(j)))), DeleteEntry((((X + h) + "_") + toString(y(j)))), DeleteEntry((((Y + g) + "_") + toString(y(j)))), DeleteEntry((((Y + h) + "_") + toString(y(j)))), DeleteEntry((((Z + g) + "_") + toString(y(j)))), DeleteEntry((((Z + h) + "_") + toString(y(j))))]
120156
121157
122158
123159 @Callable(C)
124160 func shutdown () = if (!(r))
125161 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, f), "the cause wasn't specified")))
126162 else if (!(containsElement([a, b, c, d], C.callerPublicKey)))
127163 then throw("Only admin can call this function")
128164 else A("Paused by admin")
129165
130166
131167 @Verifier(aa)
132168 func ab () = {
133169 let ac = aa
134170 if ($isInstanceOf(ac, "DataTransaction"))
135171 then {
136172 let ad = ac
137173 sigVerify(aa.bodyBytes, aa.proofs[0], aa.senderPublicKey)
138174 }
139175 else {
140176 let ae = if (sigVerify(aa.bodyBytes, aa.proofs[0], a))
141177 then 1
142178 else 0
143179 let af = if (sigVerify(aa.bodyBytes, aa.proofs[1], b))
144180 then 1
145181 else 0
146182 let ag = if (sigVerify(aa.bodyBytes, aa.proofs[2], c))
147183 then 1
148184 else 0
149185 (((ae + af) + ag) >= 2)
150186 }
151187 }
152188

github/deemru/w8io/169f3d6 
36.00 ms