tx · QebgCKzmmvhSiu7GJSD6QZYrv2JifZmAMqxkADMWEsm

3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o:  -0.01400000 Waves

2022.02.07 01:06 [1912328] smart account 3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o > SELF 0.00000000 Waves

{ "type": 13, "id": "QebgCKzmmvhSiu7GJSD6QZYrv2JifZmAMqxkADMWEsm", "fee": 1400000, "feeAssetId": null, "timestamp": 1644185216519, "version": 2, "chainId": 84, "sender": "3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o", "senderPublicKey": "2r5AmvKGTf8CAqq9Z2wuRCmchMxu1pxYgRktf1US1t89", "proofs": [ "63KMVxAmXBoggt2M4SZmkWt2wFcGMoPcTL5SZLo81od9139BG8SrsBxBNNryvJAELB1B3gxDZdxybqDYAAyc8484" ], "script": "base64:AAIEAAAAAAAAAAoIAhIAEgASABIAAAAAFAAAAAADQTRBAQAAACAIZYS3D/CKahrz4mjoLgiQJMPTJ1gDzSz2Ll4L39oVpAAAAAAITW9udGgwVFMAAAABfIWlrUAAAAAABHdlZWsAAAAAAIsLtAAAAAAACXBhdXNldGltZQkAAGgAAAACAAAAAAAFJlwAAAAAAAAAAAAHAAAAAAlBdHRhY2hmZWUAAAAAAAAehIAAAAAADGN1cnJlbnRtb250aAkAAGQAAAACCQAAaQAAAAIJAABlAAAAAggFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAFAAAACE1vbnRoMFRTBQAAAAR3ZWVrAAAAAAAAAAABAAAAAAhzdHJtb250aAkAAaQAAAABBQAAAAxjdXJyZW50bW9udGgAAAAAD1RTVXB0b1Bhc3RNb250aAkAAGQAAAACBQAAAAhNb250aDBUUwkAAGgAAAACCQAAZQAAAAIFAAAADGN1cnJlbnRtb250aAAAAAAAAAAAAQUAAAAEd2VlawAAAAAPdm90aW5ncGF1c2V0aW1lCQAAZAAAAAIFAAAAD1RTVXB0b1Bhc3RNb250aAUAAAAJcGF1c2V0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AAAAZwdWJrZXkFAAAABFVUVk8JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAhzdHJtb250aAIAAAASX1VzZXJfVG90YWxfVm90ZXNfBQAAAAZwdWJrZXkFAAAABVVUV1ZPCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIFAAAACHN0cm1vbnRoAgAAABJfVXNlcl9Ub3RhbF9Wb3Rlc18FAAAABnB1YmtleQIAAAABLQUAAAAHVm90ZUFzdAUAAAAGVVRXVkZBCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAABdVc2VyX1RvdGFsX0Fzc2V0X1ZvdGVzXwUAAAAGcHVia2V5AgAAAAFfBQAAAAdWb3RlQXN0BQAAAAVVVFZGQQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAAUYWRkcmVzc0Zyb21QdWJsaWNLZXkAAAABBQAAAApGZWVBZGRyZXNzCAUAAAADcG10AAAABmFtb3VudAUAAAADQTRBCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAB21lc3NhZ2UFAAAAA21zZwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXnIKp0b", "height": 1912328, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E5Q24NtJLa55djk7HMBX6D7JN2iv1njJL8bLnXfm8p3N Next: Ck8PqZEUqe6Bgjkjeq55G5Y5kCc5uHpt9WEi93xKTGpR Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let A4A = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook'
4+let A4A = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 let Month0TS = 1634329800000
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let A4A = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook'
4+let A4A = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 let Month0TS = 1634329800000
77
88 let week = 2332800000
99
1010 let pausetime = (86400000 * 7)
1111
1212 let Attachfee = 2000000
1313
1414 let currentmonth = (((lastBlock.timestamp - Month0TS) / week) + 1)
1515
1616 let strmonth = toString(currentmonth)
1717
1818 let TSUptoPastMonth = (Month0TS + ((currentmonth - 1) * week))
1919
2020 let votingpausetime = (TSUptoPastMonth + pausetime)
2121
2222 let msg = "<h1>You Voted Successfully (Monthly)!</h1><br>"
2323
2424 let pymterror = "DApp Need 0.02 A4A Token as Attach payment[1]."
2525
2626 let minbalerror = "Min. 1 A4A required on Your Address to Vote. Please Mint or hold min. 1 A4A on this Address."
2727
2828 let asseterr = (("Incorrect asset attach, please attach " + toBase58String(A4A)) + " AssetID Only.")
2929
3030 let minamterr = "Please Attach Exact 0.02 A4A To Vote."
3131
3232 let voteErr = (((strmonth + " Voting is paused for Next ") + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes")
3333
3434 let FeeAddress = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
3535
3636 let FTTX = match getInteger(this, "Total_Txns") {
3737 case a: Int =>
3838 a
3939 case _ =>
4040 0
4141 }
4242
4343 let totaltxns = (FTTX + 1)
4444
4545 let FTTXofweek = match getInteger(this, (strmonth + "_Total_Txns")) {
4646 case a: Int =>
4747 a
4848 case _ =>
4949 0
5050 }
5151
5252 let TTOW = (FTTXofweek + 1)
5353
5454 @Callable(i)
5555 func FIRO () = {
5656 let VoteAst = "Firo"
5757 let pmt = if ((size(i.payments) == 1))
5858 then i.payments[0]
5959 else throw(pymterror)
6060 let pubkey = toBase58String(i.caller.bytes)
6161 let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
6262 let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
6363 case a: Int =>
6464 a
6565 case _ =>
6666 0
6767 }
6868 let UTWVO = (FUWV + 1)
6969 let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
7070 case a: Int =>
7171 a
7272 case _ =>
7373 0
7474 }
7575 let UTWVFA = (UWVFA + 1)
7676 let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
7777 case a: Int =>
7878 a
7979 case _ =>
8080 0
8181 }
8282 let UTVO = (FUVO + 1)
8383 let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
8484 case a: Int =>
8585 a
8686 case _ =>
8787 0
8888 }
8989 let UTVFA = (FUVFA + 1)
9090 let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
9191 case a: Int =>
9292 a
9393 case _ =>
9494 0
9595 }
9696 let ATVO = (FTVO + 1)
9797 let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
9898 case a: Int =>
9999 a
100100 case _ =>
101101 0
102102 }
103103 let WATV = (WFTV + 1)
104104 if ((100000000 > assetbal))
105105 then throw(minbalerror)
106106 else if ((pmt.assetId != A4A))
107107 then throw(asseterr)
108108 else if ((pmt.amount != Attachfee))
109109 then throw(minamterr)
110110 else if ((votingpausetime > lastBlock.timestamp))
111111 then throw(voteErr)
112112 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Month", currentmonth), IntegerEntry(("Total_Votes_" + VoteAst), ATVO), IntegerEntry(((strmonth + "_Total_Votes_") + VoteAst), WATV), IntegerEntry(("User_Total_Votes_" + pubkey), UTVO), IntegerEntry(((strmonth + "_User_Total_Votes_") + pubkey), UTWVO), IntegerEntry(((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst), UTWVFA), IntegerEntry(((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst), UTVFA), ScriptTransfer(addressFromPublicKey(FeeAddress), pmt.amount, A4A), StringEntry("message", msg)]
113113 }
114114
115115
116116
117117 @Callable(i)
118118 func RTM () = {
119119 let VoteAst = "Raptoreum"
120120 let pmt = if ((size(i.payments) == 1))
121121 then i.payments[0]
122122 else throw(pymterror)
123123 let pubkey = toBase58String(i.caller.bytes)
124124 let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
125125 let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
126126 case a: Int =>
127127 a
128128 case _ =>
129129 0
130130 }
131131 let UTWVO = (FUWV + 1)
132132 let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
133133 case a: Int =>
134134 a
135135 case _ =>
136136 0
137137 }
138138 let UTWVFA = (UWVFA + 1)
139139 let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
140140 case a: Int =>
141141 a
142142 case _ =>
143143 0
144144 }
145145 let UTVO = (FUVO + 1)
146146 let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
147147 case a: Int =>
148148 a
149149 case _ =>
150150 0
151151 }
152152 let UTVFA = (FUVFA + 1)
153153 let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
154154 case a: Int =>
155155 a
156156 case _ =>
157157 0
158158 }
159159 let ATVO = (FTVO + 1)
160160 let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
161161 case a: Int =>
162162 a
163163 case _ =>
164164 0
165165 }
166166 let WATV = (WFTV + 1)
167167 if ((100000000 > assetbal))
168168 then throw(minbalerror)
169169 else if ((pmt.assetId != A4A))
170170 then throw(asseterr)
171171 else if ((pmt.amount != Attachfee))
172172 then throw(minamterr)
173173 else if ((votingpausetime > lastBlock.timestamp))
174174 then throw(voteErr)
175175 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Month", currentmonth), IntegerEntry(("Total_Votes_" + VoteAst), ATVO), IntegerEntry(((strmonth + "_Total_Votes_") + VoteAst), WATV), IntegerEntry(("User_Total_Votes_" + pubkey), UTVO), IntegerEntry(((strmonth + "_User_Total_Votes_") + pubkey), UTWVO), IntegerEntry(((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst), UTWVFA), IntegerEntry(((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst), UTVFA), ScriptTransfer(addressFromPublicKey(FeeAddress), pmt.amount, A4A), StringEntry("message", msg)]
176176 }
177177
178178
179179
180180 @Callable(i)
181181 func BAT () = {
182182 let VoteAst = "AttentionToken"
183183 let pmt = if ((size(i.payments) == 1))
184184 then i.payments[0]
185185 else throw(pymterror)
186186 let pubkey = toBase58String(i.caller.bytes)
187187 let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
188188 let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
189189 case a: Int =>
190190 a
191191 case _ =>
192192 0
193193 }
194194 let UTWVO = (FUWV + 1)
195195 let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
196196 case a: Int =>
197197 a
198198 case _ =>
199199 0
200200 }
201201 let UTWVFA = (UWVFA + 1)
202202 let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
203203 case a: Int =>
204204 a
205205 case _ =>
206206 0
207207 }
208208 let UTVO = (FUVO + 1)
209209 let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
210210 case a: Int =>
211211 a
212212 case _ =>
213213 0
214214 }
215215 let UTVFA = (FUVFA + 1)
216216 let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
217217 case a: Int =>
218218 a
219219 case _ =>
220220 0
221221 }
222222 let ATVO = (FTVO + 1)
223223 let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
224224 case a: Int =>
225225 a
226226 case _ =>
227227 0
228228 }
229229 let WATV = (WFTV + 1)
230230 if ((100000000 > assetbal))
231231 then throw(minbalerror)
232232 else if ((pmt.assetId != A4A))
233233 then throw(asseterr)
234234 else if ((pmt.amount != Attachfee))
235235 then throw(minamterr)
236236 else if ((votingpausetime > lastBlock.timestamp))
237237 then throw(voteErr)
238238 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Month", currentmonth), IntegerEntry(("Total_Votes_" + VoteAst), ATVO), IntegerEntry(((strmonth + "_Total_Votes_") + VoteAst), WATV), IntegerEntry(("User_Total_Votes_" + pubkey), UTVO), IntegerEntry(((strmonth + "_User_Total_Votes_") + pubkey), UTWVO), IntegerEntry(((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst), UTWVFA), IntegerEntry(((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst), UTVFA), ScriptTransfer(addressFromPublicKey(FeeAddress), pmt.amount, A4A), StringEntry("message", msg)]
239239 }
240240
241241
242242
243243 @Callable(i)
244244 func SUSHI () = {
245245 let VoteAst = "Sushi"
246246 let pmt = if ((size(i.payments) == 1))
247247 then i.payments[0]
248248 else throw(pymterror)
249249 let pubkey = toBase58String(i.caller.bytes)
250250 let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
251251 let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
252252 case a: Int =>
253253 a
254254 case _ =>
255255 0
256256 }
257257 let UTWVO = (FUWV + 1)
258258 let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
259259 case a: Int =>
260260 a
261261 case _ =>
262262 0
263263 }
264264 let UTWVFA = (UWVFA + 1)
265265 let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
266266 case a: Int =>
267267 a
268268 case _ =>
269269 0
270270 }
271271 let UTVO = (FUVO + 1)
272272 let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
273273 case a: Int =>
274274 a
275275 case _ =>
276276 0
277277 }
278278 let UTVFA = (FUVFA + 1)
279279 let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
280280 case a: Int =>
281281 a
282282 case _ =>
283283 0
284284 }
285285 let ATVO = (FTVO + 1)
286286 let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
287287 case a: Int =>
288288 a
289289 case _ =>
290290 0
291291 }
292292 let WATV = (WFTV + 1)
293293 if ((100000000 > assetbal))
294294 then throw(minbalerror)
295295 else if ((pmt.assetId != A4A))
296296 then throw(asseterr)
297297 else if ((pmt.amount != Attachfee))
298298 then throw(minamterr)
299299 else if ((votingpausetime > lastBlock.timestamp))
300300 then throw(voteErr)
301301 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Month", currentmonth), IntegerEntry(("Total_Votes_" + VoteAst), ATVO), IntegerEntry(((strmonth + "_Total_Votes_") + VoteAst), WATV), IntegerEntry(("User_Total_Votes_" + pubkey), UTVO), IntegerEntry(((strmonth + "_User_Total_Votes_") + pubkey), UTWVO), IntegerEntry(((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst), UTWVFA), IntegerEntry(((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst), UTVFA), ScriptTransfer(addressFromPublicKey(FeeAddress), pmt.amount, A4A), StringEntry("message", msg)]
302302 }
303303
304304
305305 @Verifier(tx)
306306 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
307307

github/deemru/w8io/169f3d6 
69.76 ms