tx · HyCJCJ92SvpdMnEz1pHjNMfMuMzqRQVxg6sf3JzdSJ7Z

3N4LqYvK8toVfW83bVrzvm4VoA55PB21Bmy:  -0.14000000 Waves

2021.11.09 11:46 [1783242] smart account 3N4LqYvK8toVfW83bVrzvm4VoA55PB21Bmy > SELF 0.00000000 Waves

{ "type": 13, "id": "HyCJCJ92SvpdMnEz1pHjNMfMuMzqRQVxg6sf3JzdSJ7Z", "fee": 14000000, "feeAssetId": null, "timestamp": 1636447588761, "version": 2, "chainId": 84, "sender": "3N4LqYvK8toVfW83bVrzvm4VoA55PB21Bmy", "senderPublicKey": "9NPkhjF6pssidKGhnMzHn9auzo5q5fPBaabRQBx7CaFq", "proofs": [ "5JfZmb5WPrgHQasu2u5r2LHBYN7X1SisRyGYKAEVRHbUJaAherqeoQ2aRa9GjUykWXQ7xpPYLVrQ4Lc33FrKbSum", "u3LFqVWnd8aYvhsR5orpLk1yFJgr3Pz4192jyZWpsWPv4UYZQbf1h2rdUoAbt68cQG5ER11xYpm1kqdJDJuyG4Q" ], "script": "base64:AAIFAAAAAAAAABwIAhIECgIBARIDCgEBEgASAwoBARIAEgASABIAAAAAHwAAAAAMYWRtaW5QdWJLZXkxAQAAACB8WGt7UsWljWcca/SparQip5nE5Sy5e44NxDRBaM1QeAAAAAAMYWRtaW5QdWJLZXkyAQAAACB8WGt7UsWljWcca/SparQip5nE5Sy5e44NxDRBaM1QeAAAAAAMYWRtaW5QdWJLZXkzAQAAACB8WGt7UsWljWcca/SparQip5nE5Sy5e44NxDRBaM1QeAAAAAAUYWRtaW5QdWJLZXlTdGFydFN0b3ABAAAAIHxYa3tSxaWNZxxr9KlqtCKnmcTlLLl7jg3ENEFozVB4AAAAAAlrZXlBY3RpdmUCAAAABmFjdGl2ZQAAAAAIa2V5Q2F1c2UCAAAADnNodXRkb3duX2NhdXNlAAAAAAxrZXlWb3RlU3RhcnQCAAAAEXZvdGVfc3RhcnRfaGVpZ2h0AAAAAAprZXlWb3RlRW5kAgAA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RtaW5QdWJLZXkyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADGFkbWluUHViS2V5MgAAAAAAAAAAAQAAAAAAAAAAAAQAAAASYWRtaW5QdWJLZXkzU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGFkbWluUHViS2V5MwAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAASYWRtaW5QdWJLZXkxU2lnbmVkBQAAABJhZG1pblB1YktleTJTaWduZWQFAAAAEmFkbWluUHViS2V5M1NpZ25lZAAAAAAAAAAAAqmPw9I=", "height": 1783242, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8hEkaQ57fL34xsMdQrjtxk81VUcB1pHAs7aXdqnmsoSg Next: 5Pr1BmBhTsQdA7JAYoMNFChWYyErv53DDnvmnBZ6XNg6 Diff:
OldNewDifferences
114114 then throw("DApp is inactive at this moment")
115115 else if (!(containsElement([d], R.callerPublicKey)))
116116 then throw("Only admin can call this function")
117- else [IntegerEntry(g, S), IntegerEntry(h, T), IntegerEntry(q, 0), IntegerEntry(n, 0), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_no_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_height"), DeleteEntry("3MtKR6Jr6tAT3ixw2AXFxwQQdYMhxz4sVn7_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote"), DeleteEntry("total_ENNO_vote"), DeleteEntry("total_ENNO_vote_share")]
117+ else [IntegerEntry(g, S), IntegerEntry(h, T), IntegerEntry(q, 0), IntegerEntry(n, 0), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_no_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_height"), DeleteEntry("3MtKR6Jr6tAT3ixw2AXFxwQQdYMhxz4sVn7_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote"), DeleteEntry("total_ENNO_vote"), DeleteEntry("total_ENNO_vote_share"), DeleteEntry("total_ENNO_vote_no")]
118118
119119
120120
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'9NPkhjF6pssidKGhnMzHn9auzo5q5fPBaabRQBx7CaFq'
55
66 let b = base58'9NPkhjF6pssidKGhnMzHn9auzo5q5fPBaabRQBx7CaFq'
77
88 let c = base58'9NPkhjF6pssidKGhnMzHn9auzo5q5fPBaabRQBx7CaFq'
99
1010 let d = base58'9NPkhjF6pssidKGhnMzHn9auzo5q5fPBaabRQBx7CaFq'
1111
1212 let e = "active"
1313
1414 let f = "shutdown_cause"
1515
1616 let g = "vote_start_height"
1717
1818 let h = "vote_end_height"
1919
2020 let i = "yes_amount"
2121
2222 let j = "_ENNO_vote"
2323
2424 let k = "_ENNO_vote_height"
2525
2626 let l = "_ENNO_vote_value"
2727
2828 let m = "_ENNO_vote_yes_share"
2929
3030 let n = "total_ENNO_vote_yes"
3131
3232 let o = "_ENNO_amount"
3333
3434 let p = "total_ENNO_amount"
3535
3636 let q = "total_ENNO_vote"
3737
3838 let r = "_ENNO_claimed_amount"
3939
4040 let s = "_ENNO_last_claimed_amount"
4141
4242 let t = "share_"
4343
4444 let u = valueOrElse(getBoolean(this, e), true)
4545
4646 let v = base58'9NPkhjF6pssidKGhnMzHn9auzo5q5fPBaabRQBx7CaFq'
4747
4848 let w = base58'6TmLfry3GRQoVSaesGSnp6NtZKveYgEopTLsjaGgXoso'
4949
5050 func x (y) = [BooleanEntry(e, false), StringEntry(f, y)]
5151
5252
5353 func z (A) = valueOrElse(getInteger(this, (toString(A) + o)), 0)
5454
5555
5656 func B () = valueOrElse(getInteger(this, p), 0)
5757
5858
5959 func C (A,D) = valueOrElse(getInteger(this, (toString(A) + D)), 0)
6060
6161
6262 func E (D) = valueOrElse(getInteger(this, D), 0)
6363
6464
6565 func F (G) = {
6666 let H = getInteger(addressFromPublicKey(v), (t + toString(G)))
6767 let I = {
6868 let J = H
6969 if ($isInstanceOf(J, "Int"))
7070 then {
7171 let K = J
7272 K
7373 }
7474 else if ($isInstanceOf(J, "Unit"))
7575 then {
7676 let K = J
7777 throw("Only governance qualifiers can call this function.")
7878 }
7979 else throw("Match error")
8080 }
8181 I
8282 }
8383
8484
8585 func L (G) = {
8686 let M = getInteger(this, (toString(G) + r))
8787 let N = {
8888 let J = M
8989 if ($isInstanceOf(J, "Int"))
9090 then {
9191 let K = J
9292 K
9393 }
9494 else if ($isInstanceOf(J, "Unit"))
9595 then {
9696 let K = J
9797 0
9898 }
9999 else throw("Match error")
100100 }
101101 N
102102 }
103103
104104
105105 func O (P) = {
106106 let Q = (E(h) - height)
107107 let K = fraction(P, Q, 100000000)
108108 K
109109 }
110110
111111
112112 @Callable(R)
113113 func initVote (S,T) = if (!(u))
114114 then throw("DApp is inactive at this moment")
115115 else if (!(containsElement([d], R.callerPublicKey)))
116116 then throw("Only admin can call this function")
117- else [IntegerEntry(g, S), IntegerEntry(h, T), IntegerEntry(q, 0), IntegerEntry(n, 0), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_no_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_height"), DeleteEntry("3MtKR6Jr6tAT3ixw2AXFxwQQdYMhxz4sVn7_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote"), DeleteEntry("total_ENNO_vote"), DeleteEntry("total_ENNO_vote_share")]
117+ else [IntegerEntry(g, S), IntegerEntry(h, T), IntegerEntry(q, 0), IntegerEntry(n, 0), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_no_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote_height"), DeleteEntry("3MtKR6Jr6tAT3ixw2AXFxwQQdYMhxz4sVn7_ENNO_vote_yes_share"), DeleteEntry("3N1ygWjGRDx6Wmva87krushRi2wfRe1WAps_ENNO_vote"), DeleteEntry("total_ENNO_vote"), DeleteEntry("total_ENNO_vote_share"), DeleteEntry("total_ENNO_vote_no")]
118118
119119
120120
121121 @Callable(R)
122122 func vote (U) = if (!(u))
123123 then throw("DApp is inactive at this moment")
124124 else if ((E(g) > height))
125125 then throw("Voting has not started yet.")
126126 else if ((height > E(h)))
127127 then throw("Voting has already ended.")
128128 else {
129129 let V = E(n)
130130 let W = C(R.caller, m)
131131 let X = C(R.caller, j)
132132 let Y = C(R.caller, o)
133133 let Z = (X + U)
134134 if ((0 > Z))
135135 then throw("Vote amount is more than available.")
136136 else {
137137 let aa = (Y - X)
138138 let ab = O(U)
139139 if ((U > aa))
140140 then throw("Vote amount is more than available.")
141141 else {
142142 let ac = (W + ab)
143143 let ad = (V + ac)
144144 let ae = E(q)
145145 let af = (ae + ab)
146146 [IntegerEntry((toString(R.caller) + m), ac), IntegerEntry((toString(R.caller) + j), Z), IntegerEntry(q, af), IntegerEntry(n, ad)]
147147 }
148148 }
149149 }
150150
151151
152152
153153 @Callable(R)
154154 func lockENNO () = if (!(u))
155155 then throw("DApp is inactive at this moment")
156156 else {
157157 let ag = $Tuple2(R.payments[0].amount, R.payments[0].assetId)
158158 let ah = ag._1
159159 let ai = ag._2
160160 if ((ai != w))
161161 then throw("Incorrect payment assetId only Enno Cash is allowed.")
162162 else {
163163 let Y = z(R.caller)
164164 let aj = (Y + ah)
165165 let ak = B()
166166 let al = (ak + ah)
167167 [IntegerEntry((toString(R.caller) + o), aj), IntegerEntry(p, al)]
168168 }
169169 }
170170
171171
172172
173173 @Callable(R)
174174 func withdrawENNO (am) = if (!(u))
175175 then throw("DApp is inactive at this moment")
176176 else if ((0 >= am))
177177 then throw("withdrawAmount <= 0")
178178 else {
179179 let ak = B()
180180 let Y = z(R.caller)
181181 if ((am > ak))
182182 then throw("withdrawAmount is more than available to withdraw")
183183 else if ((am > Y))
184184 then throw("You are trying to unstake more than you have staked.")
185185 else {
186186 let al = (ak - am)
187187 let an = (Y - am)
188188 [IntegerEntry((toString(R.caller) + o), an), IntegerEntry(p, al), ScriptTransfer(R.caller, am, w)]
189189 }
190190 }
191191
192192
193193
194194 @Callable(R)
195195 func claimAndWithdrawENNO () = if (!(u))
196196 then throw("DApp is inactive at this moment")
197197 else {
198198 let ao = F(R.originCaller)
199199 let ap = L(R.originCaller)
200200 let aq = (ao - ap)
201201 let ak = B()
202202 if ((aq > ak))
203203 then throw("claimAmount is more than available to withdraw")
204204 else if ((0 >= aq))
205205 then throw("Claim amount must be bigger than 0")
206206 else {
207207 let ar = (ap + aq)
208208 [IntegerEntry((toString(R.originCaller) + r), ar), IntegerEntry((toString(R.originCaller) + s), aq), ScriptTransfer(R.originCaller, aq, w)]
209209 }
210210 }
211211
212212
213213
214214 @Callable(R)
215215 func claimAndStakeENNO () = if (!(u))
216216 then throw("DApp is inactive at this moment")
217217 else {
218218 let ao = F(R.originCaller)
219219 let ap = L(R.originCaller)
220220 let aq = (ao - ap)
221221 if ((0 >= aq))
222222 then throw("Claim amount must be bigger than 0")
223223 else {
224224 let ar = (ap + aq)
225225 let Y = z(R.originCaller)
226226 let aj = (Y + aq)
227227 let ak = B()
228228 let al = (ak + aq)
229229 [IntegerEntry((toString(R.originCaller) + o), aj), IntegerEntry((toString(R.originCaller) + r), ar), IntegerEntry((toString(R.originCaller) + s), aq), IntegerEntry(p, al)]
230230 }
231231 }
232232
233233
234234
235235 @Callable(R)
236236 func shutdown () = if (!(u))
237237 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, f), "the cause wasn't specified")))
238238 else if (!(containsElement([a, b, c, d], R.callerPublicKey)))
239239 then throw("Only admin can call this function")
240240 else x("Paused by admin")
241241
242242
243243
244244 @Callable(R)
245245 func activate () = if (u)
246246 then throw("DApp is already active")
247247 else if (!(containsElement([a, b, c, d], R.callerPublicKey)))
248248 then throw("Only admin can call this function")
249249 else [BooleanEntry(e, true), DeleteEntry(f)]
250250
251251
252252 @Verifier(as)
253253 func at () = {
254254 let au = if (sigVerify(as.bodyBytes, as.proofs[0], a))
255255 then 1
256256 else 0
257257 let av = if (sigVerify(as.bodyBytes, as.proofs[1], b))
258258 then 1
259259 else 0
260260 let aw = if (sigVerify(as.bodyBytes, as.proofs[2], c))
261261 then 1
262262 else 0
263263 (((au + av) + aw) >= 2)
264264 }
265265

github/deemru/w8io/026f985 
36.78 ms