tx · F3LjYfdECxzdbV321w8JvXRVmWCqu2Xe5Ygt1b7gL4NS

3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o:  -0.01400000 Waves

2021.10.22 23:45 [1758007] smart account 3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o > SELF 0.00000000 Waves

{ "type": 13, "id": "F3LjYfdECxzdbV321w8JvXRVmWCqu2Xe5Ygt1b7gL4NS", "fee": 1400000, "feeAssetId": null, "timestamp": 1634935516514, "version": 2, "chainId": 84, "sender": "3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o", "senderPublicKey": "2r5AmvKGTf8CAqq9Z2wuRCmchMxu1pxYgRktf1US1t89", "proofs": [ "54ncbMc9yUwXMsRdM7FSvBT2Vb5EvLZKHJAuD2awiv6gKmdrrULJjDEYhswdR3rWbUtac9qmq4tdzXiZZGp43LWm" ], "script": "base64:AAIEAAAAAAAAAAoIAhIAEgASABIAAAAAEgAAAAADQTRBAQAAACByarr7pbGvbKjC25EQtAxsVoAzV+UMwNJVwz0ikDXgtQAAAAAITW9udGgwVFMAAAABfHtY9UAAAAAABHdlZWsJAABkAAAAAgAAAAAAbCWMAAAAAAAABSZcAAAAAAAJcGF1c2V0aW1lCQAAaAAAAAIAAAAAAAUmXAAAAAAAAAAAAAcAAAAADGN1cnJlbnRtb250aAkAAGQAAAACCQAAaQAAAAIJAABlAAAAAggFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAFAAAACE1vbnRoMFRTBQAAAAR3ZWVrAAAAAAAAAAABAAAAAAhzdHJtb250aAkAAaQAAAABBQAAAAxjdXJyZW50bW9udGgAAAAADlRTVXB0b1Bhc3RXZWVrCQAAZAAAAAIFAAAACE1vbnRoMFRTCQAAaAAAAAIJAABlAAAAAgUAAAAMY3VycmVudG1vbnRoAAAAAAAAAAABBQAAAAR3ZWVrAAAAAA92b3RpbmdwYXVzZXRpbWUJAABkAAAAAgUAAAAOVFNVcHRvUGFzdFdlZWsFAAAACXBh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HJpbmdFbnRyeQAAAAICAAAAB21lc3NhZ2UFAAAAA21zZwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXk7x94k", "height": 1758007, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: BhZdhBsYM3grNqFiuCJzrP6MpLMxLnUAodcheydTqyJg Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 4 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let A4A = base58'8hdsVCxPBVEmVUZyyX8Sd98Z9hU7Fny26W96sjKiTw8g'
5+
6+let Month0TS = 1634157000000
7+
8+let week = (1814400000 + 86400000)
9+
10+let pausetime = (86400000 * 7)
11+
12+let currentmonth = (((lastBlock.timestamp - Month0TS) / week) + 1)
13+
14+let strmonth = toString(currentmonth)
15+
16+let TSUptoPastWeek = (Month0TS + ((currentmonth - 1) * week))
17+
18+let votingpausetime = (TSUptoPastWeek + pausetime)
19+
20+let msg = "<h1>You Voted Successfully!</h1><br>"
21+
22+let pymterror = "DApp Need 0.0001 A4A Token as Attach payment[1]."
23+
24+let minbalerror = "Min. 1 A4A required on Your Address to Vote. Please Mint or hold min. 1 A4A on this Address."
25+
26+let asseterr = (("Incorrect asset attach, please attach " + toBase58String(A4A)) + " AssetID Only.")
27+
28+let minamterr = "Please Attach Exact 0.0001 A4A To Vote."
29+
30+let voteErr = (("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes")
31+
32+let FTTX = match getInteger(this, "Total_Txns") {
33+ case a: Int =>
34+ a
35+ case _ =>
36+ 0
37+}
38+
39+let totaltxns = (FTTX + 1)
40+
41+let FTTXofweek = match getInteger(this, (strmonth + "_Total_Txns")) {
42+ case a: Int =>
43+ a
44+ case _ =>
45+ 0
46+}
47+
48+let TTOW = (FTTXofweek + 1)
49+
50+@Callable(i)
51+func ARRR () = {
52+ let VoteAst = "PirateChain"
53+ let pmt = if ((size(i.payments) == 1))
54+ then i.payments[0]
55+ else throw(pymterror)
56+ let pubkey = toBase58String(i.caller.bytes)
57+ let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
58+ let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
59+ case a: Int =>
60+ a
61+ case _ =>
62+ 0
63+ }
64+ let UTWVO = (FUWV + 1)
65+ let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
66+ case a: Int =>
67+ a
68+ case _ =>
69+ 0
70+ }
71+ let UTWVFA = (UWVFA + 1)
72+ let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
73+ case a: Int =>
74+ a
75+ case _ =>
76+ 0
77+ }
78+ let UTVO = (FUVO + 1)
79+ let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
80+ case a: Int =>
81+ a
82+ case _ =>
83+ 0
84+ }
85+ let UTVFA = (FUVFA + 1)
86+ let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
87+ case a: Int =>
88+ a
89+ case _ =>
90+ 0
91+ }
92+ let ATVO = (FTVO + 1)
93+ let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
94+ case a: Int =>
95+ a
96+ case _ =>
97+ 0
98+ }
99+ let WATV = (WFTV + 1)
100+ if ((100000000 > assetbal))
101+ then throw(minbalerror)
102+ else if ((pmt.assetId != A4A))
103+ then throw(asseterr)
104+ else if ((pmt.amount != 100000))
105+ then throw(minamterr)
106+ else if ((votingpausetime > lastBlock.timestamp))
107+ then throw(voteErr)
108+ else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Week", 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), StringEntry("message", msg)]
109+ }
110+
111+
112+
113+@Callable(i)
114+func BAT () = {
115+ let VoteAst = "AttentionToken"
116+ let pmt = if ((size(i.payments) == 1))
117+ then i.payments[0]
118+ else throw(pymterror)
119+ let pubkey = toBase58String(i.caller.bytes)
120+ let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
121+ let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
122+ case a: Int =>
123+ a
124+ case _ =>
125+ 0
126+ }
127+ let UTWVO = (FUWV + 1)
128+ let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
129+ case a: Int =>
130+ a
131+ case _ =>
132+ 0
133+ }
134+ let UTWVFA = (UWVFA + 1)
135+ let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
136+ case a: Int =>
137+ a
138+ case _ =>
139+ 0
140+ }
141+ let UTVO = (FUVO + 1)
142+ let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
143+ case a: Int =>
144+ a
145+ case _ =>
146+ 0
147+ }
148+ let UTVFA = (FUVFA + 1)
149+ let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
150+ case a: Int =>
151+ a
152+ case _ =>
153+ 0
154+ }
155+ let ATVO = (FTVO + 1)
156+ let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
157+ case a: Int =>
158+ a
159+ case _ =>
160+ 0
161+ }
162+ let WATV = (WFTV + 1)
163+ if ((100000000 > assetbal))
164+ then throw(minbalerror)
165+ else if ((pmt.assetId != A4A))
166+ then throw(asseterr)
167+ else if ((pmt.amount != 100000))
168+ then throw(minamterr)
169+ else if ((votingpausetime > lastBlock.timestamp))
170+ then throw(voteErr)
171+ else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Week", 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), StringEntry("message", msg)]
172+ }
173+
174+
175+
176+@Callable(i)
177+func PRCY () = {
178+ let VoteAst = "Privacy"
179+ let pmt = if ((size(i.payments) == 1))
180+ then i.payments[0]
181+ else throw(pymterror)
182+ let pubkey = toBase58String(i.caller.bytes)
183+ let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
184+ let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
185+ case a: Int =>
186+ a
187+ case _ =>
188+ 0
189+ }
190+ let UTWVO = (FUWV + 1)
191+ let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
192+ case a: Int =>
193+ a
194+ case _ =>
195+ 0
196+ }
197+ let UTWVFA = (UWVFA + 1)
198+ let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
199+ case a: Int =>
200+ a
201+ case _ =>
202+ 0
203+ }
204+ let UTVO = (FUVO + 1)
205+ let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
206+ case a: Int =>
207+ a
208+ case _ =>
209+ 0
210+ }
211+ let UTVFA = (FUVFA + 1)
212+ let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
213+ case a: Int =>
214+ a
215+ case _ =>
216+ 0
217+ }
218+ let ATVO = (FTVO + 1)
219+ let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
220+ case a: Int =>
221+ a
222+ case _ =>
223+ 0
224+ }
225+ let WATV = (WFTV + 1)
226+ if ((100000000 > assetbal))
227+ then throw(minbalerror)
228+ else if ((pmt.assetId != A4A))
229+ then throw(asseterr)
230+ else if ((pmt.amount != 100000))
231+ then throw(minamterr)
232+ else if ((votingpausetime > lastBlock.timestamp))
233+ then throw(voteErr)
234+ else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Week", 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), StringEntry("message", msg)]
235+ }
236+
237+
238+
239+@Callable(i)
240+func Haven () = {
241+ let VoteAst = "Haven"
242+ let pmt = if ((size(i.payments) == 1))
243+ then i.payments[0]
244+ else throw(pymterror)
245+ let pubkey = toBase58String(i.caller.bytes)
246+ let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4A)
247+ let FUWV = match getInteger(this, ((strmonth + "_User_Total_Votes_") + pubkey)) {
248+ case a: Int =>
249+ a
250+ case _ =>
251+ 0
252+ }
253+ let UTWVO = (FUWV + 1)
254+ let UWVFA = match getInteger(this, ((((strmonth + "_User_Total_Votes_") + pubkey) + "-") + VoteAst)) {
255+ case a: Int =>
256+ a
257+ case _ =>
258+ 0
259+ }
260+ let UTWVFA = (UWVFA + 1)
261+ let FUVO = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
262+ case a: Int =>
263+ a
264+ case _ =>
265+ 0
266+ }
267+ let UTVO = (FUVO + 1)
268+ let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
269+ case a: Int =>
270+ a
271+ case _ =>
272+ 0
273+ }
274+ let UTVFA = (FUVFA + 1)
275+ let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
276+ case a: Int =>
277+ a
278+ case _ =>
279+ 0
280+ }
281+ let ATVO = (FTVO + 1)
282+ let WFTV = match getInteger(this, ((strmonth + "_Total_Votes_") + VoteAst)) {
283+ case a: Int =>
284+ a
285+ case _ =>
286+ 0
287+ }
288+ let WATV = (WFTV + 1)
289+ if ((100000000 > assetbal))
290+ then throw(minbalerror)
291+ else if ((pmt.assetId != A4A))
292+ then throw(asseterr)
293+ else if ((pmt.amount != 100000))
294+ then throw(minamterr)
295+ else if ((votingpausetime > lastBlock.timestamp))
296+ then throw(voteErr)
297+ else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((strmonth + "_Total_Txns"), TTOW), IntegerEntry("Current_Voting_Week", 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), StringEntry("message", msg)]
298+ }
299+
300+
301+@Verifier(tx)
302+func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
303+

github/deemru/w8io/169f3d6 
32.93 ms