tx · F1QmwaBnsDwn2TUCHAemuVoTXEJFNeRvRq7dPvfwxXwV

3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o:  -0.01400000 Waves

2021.11.01 23:53 [1772438] smart account 3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o > SELF 0.00000000 Waves

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

github/deemru/w8io/026f985 
53.05 ms