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