tx · 5Pr1BmBhTsQdA7JAYoMNFChWYyErv53DDnvmnBZ6XNg6

3N4LqYvK8toVfW83bVrzvm4VoA55PB21Bmy:  -0.14000000 Waves

2021.11.09 11:58 [1783257] smart account 3N4LqYvK8toVfW83bVrzvm4VoA55PB21Bmy > SELF 0.00000000 Waves

{ "type": 13, "id": "5Pr1BmBhTsQdA7JAYoMNFChWYyErv53DDnvmnBZ6XNg6", "fee": 14000000, "feeAssetId": null, "timestamp": 1636448338109, "version": 2, "chainId": 84, "sender": "3N4LqYvK8toVfW83bVrzvm4VoA55PB21Bmy", "senderPublicKey": "9NPkhjF6pssidKGhnMzHn9auzo5q5fPBaabRQBx7CaFq", "proofs": [ "3c5xL7E356oNvj4tJ5Y4cwCRZE9aHUAGYwUR8kuA1JEgb7sAQoZ2rBPYWHj6sVbK37wVMWStapsa2Q1jMYY7o8wY", "55fiqCjLfe23Z58Jjpvya6WR94wwK9RxoreaopAj2LrLjVZ6sFhPdw75UGUf8AjSqyhqJjxHr2U15gXtnDR47YcX" ], "script": "base64:AAIFAAAAAAAAAB4IAhIAEgQKAgEBEgMKAQESABIDCgEBEgASABIAEgAAAAAfAAAAAAxhZG1pblB1YktleTEBAAAAIHxYa3tSxaWNZxxr9KlqtCKnmcTlLLl7jg3ENEFozVB4AAAAAAxhZG1pblB1YktleTIBAAAAIHxYa3tSxaWNZxxr9KlqtCKnmcTlLLl7jg3ENEFozVB4AAAAAAxhZG1pblB1YktleTMBAAAAIHxYa3tSxaWNZxxr9KlqtCKnmcTlLLl7jg3ENEFozVB4AAAAABRhZG1pblB1YktleVN0YXJ0U3RvcAEAAAAgfFhre1LFpY1nHGv0qWq0IqeZxOUsuXuODcQ0QWjNUHgAAAAACWtleUFjdGl2ZQIAAAAGYWN0aXZlAAAAAAhrZXlDYXVzZQIAAAAOc2h1dGRvd25fY2F1c2UAAAAADGtleVZvdGVTdGFydAIAAAARdm90ZV9zdGFydF9oZWlnaHQAAAAACmtleVZvdGVFbmQCAAAAD3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1pblB1YktleTNTaWduZWQAAAAAAAAAAAJ+15Ni", "height": 1783257, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HyCJCJ92SvpdMnEz1pHjNMfMuMzqRQVxg6sf3JzdSJ7Z Next: 78kWBX8jx6FtoNYamJsuef3tB8AD8Hs44bsu8sXKyU6s Diff:
OldNewDifferences
110110
111111
112112 @Callable(R)
113+func claimAirdrop () = if (!(u))
114+ then throw("DApp is inactive at this moment")
115+ else [DeleteEntry((toString(R.caller) + m)), DeleteEntry((toString(R.caller) + j))]
116+
117+
118+
119+@Callable(R)
113120 func initVote (S,T) = if (!(u))
114121 then throw("DApp is inactive at this moment")
115122 else if (!(containsElement([d], R.callerPublicKey)))
116123 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"), DeleteEntry("total_ENNO_vote_no")]
124+ else [IntegerEntry(g, S), IntegerEntry(h, T), IntegerEntry(q, 0), IntegerEntry(n, 0)]
118125
119126
120127
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)
113+func claimAirdrop () = if (!(u))
114+ then throw("DApp is inactive at this moment")
115+ else [DeleteEntry((toString(R.caller) + m)), DeleteEntry((toString(R.caller) + j))]
116+
117+
118+
119+@Callable(R)
113120 func initVote (S,T) = if (!(u))
114121 then throw("DApp is inactive at this moment")
115122 else if (!(containsElement([d], R.callerPublicKey)))
116123 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"), DeleteEntry("total_ENNO_vote_no")]
124+ else [IntegerEntry(g, S), IntegerEntry(h, T), IntegerEntry(q, 0), IntegerEntry(n, 0)]
118125
119126
120127
121128 @Callable(R)
122129 func vote (U) = if (!(u))
123130 then throw("DApp is inactive at this moment")
124131 else if ((E(g) > height))
125132 then throw("Voting has not started yet.")
126133 else if ((height > E(h)))
127134 then throw("Voting has already ended.")
128135 else {
129136 let V = E(n)
130137 let W = C(R.caller, m)
131138 let X = C(R.caller, j)
132139 let Y = C(R.caller, o)
133140 let Z = (X + U)
134141 if ((0 > Z))
135142 then throw("Vote amount is more than available.")
136143 else {
137144 let aa = (Y - X)
138145 let ab = O(U)
139146 if ((U > aa))
140147 then throw("Vote amount is more than available.")
141148 else {
142149 let ac = (W + ab)
143150 let ad = (V + ac)
144151 let ae = E(q)
145152 let af = (ae + ab)
146153 [IntegerEntry((toString(R.caller) + m), ac), IntegerEntry((toString(R.caller) + j), Z), IntegerEntry(q, af), IntegerEntry(n, ad)]
147154 }
148155 }
149156 }
150157
151158
152159
153160 @Callable(R)
154161 func lockENNO () = if (!(u))
155162 then throw("DApp is inactive at this moment")
156163 else {
157164 let ag = $Tuple2(R.payments[0].amount, R.payments[0].assetId)
158165 let ah = ag._1
159166 let ai = ag._2
160167 if ((ai != w))
161168 then throw("Incorrect payment assetId only Enno Cash is allowed.")
162169 else {
163170 let Y = z(R.caller)
164171 let aj = (Y + ah)
165172 let ak = B()
166173 let al = (ak + ah)
167174 [IntegerEntry((toString(R.caller) + o), aj), IntegerEntry(p, al)]
168175 }
169176 }
170177
171178
172179
173180 @Callable(R)
174181 func withdrawENNO (am) = if (!(u))
175182 then throw("DApp is inactive at this moment")
176183 else if ((0 >= am))
177184 then throw("withdrawAmount <= 0")
178185 else {
179186 let ak = B()
180187 let Y = z(R.caller)
181188 if ((am > ak))
182189 then throw("withdrawAmount is more than available to withdraw")
183190 else if ((am > Y))
184191 then throw("You are trying to unstake more than you have staked.")
185192 else {
186193 let al = (ak - am)
187194 let an = (Y - am)
188195 [IntegerEntry((toString(R.caller) + o), an), IntegerEntry(p, al), ScriptTransfer(R.caller, am, w)]
189196 }
190197 }
191198
192199
193200
194201 @Callable(R)
195202 func claimAndWithdrawENNO () = if (!(u))
196203 then throw("DApp is inactive at this moment")
197204 else {
198205 let ao = F(R.originCaller)
199206 let ap = L(R.originCaller)
200207 let aq = (ao - ap)
201208 let ak = B()
202209 if ((aq > ak))
203210 then throw("claimAmount is more than available to withdraw")
204211 else if ((0 >= aq))
205212 then throw("Claim amount must be bigger than 0")
206213 else {
207214 let ar = (ap + aq)
208215 [IntegerEntry((toString(R.originCaller) + r), ar), IntegerEntry((toString(R.originCaller) + s), aq), ScriptTransfer(R.originCaller, aq, w)]
209216 }
210217 }
211218
212219
213220
214221 @Callable(R)
215222 func claimAndStakeENNO () = if (!(u))
216223 then throw("DApp is inactive at this moment")
217224 else {
218225 let ao = F(R.originCaller)
219226 let ap = L(R.originCaller)
220227 let aq = (ao - ap)
221228 if ((0 >= aq))
222229 then throw("Claim amount must be bigger than 0")
223230 else {
224231 let ar = (ap + aq)
225232 let Y = z(R.originCaller)
226233 let aj = (Y + aq)
227234 let ak = B()
228235 let al = (ak + aq)
229236 [IntegerEntry((toString(R.originCaller) + o), aj), IntegerEntry((toString(R.originCaller) + r), ar), IntegerEntry((toString(R.originCaller) + s), aq), IntegerEntry(p, al)]
230237 }
231238 }
232239
233240
234241
235242 @Callable(R)
236243 func shutdown () = if (!(u))
237244 then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, f), "the cause wasn't specified")))
238245 else if (!(containsElement([a, b, c, d], R.callerPublicKey)))
239246 then throw("Only admin can call this function")
240247 else x("Paused by admin")
241248
242249
243250
244251 @Callable(R)
245252 func activate () = if (u)
246253 then throw("DApp is already active")
247254 else if (!(containsElement([a, b, c, d], R.callerPublicKey)))
248255 then throw("Only admin can call this function")
249256 else [BooleanEntry(e, true), DeleteEntry(f)]
250257
251258
252259 @Verifier(as)
253260 func at () = {
254261 let au = if (sigVerify(as.bodyBytes, as.proofs[0], a))
255262 then 1
256263 else 0
257264 let av = if (sigVerify(as.bodyBytes, as.proofs[1], b))
258265 then 1
259266 else 0
260267 let aw = if (sigVerify(as.bodyBytes, as.proofs[2], c))
261268 then 1
262269 else 0
263270 (((au + av) + aw) >= 2)
264271 }
265272

github/deemru/w8io/026f985 
43.28 ms