tx · 6h4YNupAGRNcjxcZJxiaZv9qWAJbHvGxDqesvTKZYmMF 3N17JMn4WESkhCSrcEwdADBZFAe8uiuvCGQ: -0.01400000 Waves 2021.09.29 22:03 [1724644] smart account 3N17JMn4WESkhCSrcEwdADBZFAe8uiuvCGQ > SELF 0.00000000 Waves
{ "type": 13, "id": "6h4YNupAGRNcjxcZJxiaZv9qWAJbHvGxDqesvTKZYmMF", "fee": 1400000, "feeAssetId": null, "timestamp": 1632942202146, "version": 2, "chainId": 84, "sender": "3N17JMn4WESkhCSrcEwdADBZFAe8uiuvCGQ", "senderPublicKey": "BMLuSYJ8rvQD55waCoKpzCBhJAbY8s9pp4V5ZgxuzCBD", "proofs": [ "g8YmUnDoZXMBjcB9oJbRtYRrbrjsjzJkFExduE4RircSmvdqNGgwTXT8p1LggukP9tyaoT8aoqRgrWC6rwba2Rp" ], "script": "base64:AAIEAAAAAAAAAA8IAhIAEgASABIAEgMKAQgAAAAFAAAAAApBNEFBc3NldElEAQAAACD+xBrh3u/naSJ9Eujvd+1d33EPvCCH0lpodP3xbghYNwAAAAAOV2VlazBUaW1lc3RhbXAAAAABeyJO4UAAAAAACGVhY2h3ZWVrAAAAAAAkDIQAAAAAAAhlYWNoaG91cgAAAAAAADbugAAAAAAJcGF1c2V0aW1lAAAAAAAA27oAAAAABQAAAAFpAQAAAAlDaGFpbmxpbmsAAAAABAAAAA5GYXZvdXJpdGVBc3NldAIAAAAJQ2hhaW5saW5rBAAAAANwbXQDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAA5V2Vla2x5IFZvdGUgTmVlZCAwLjAwMDEgQTRBIFRva2VuIGFzIEF0dGFjaGVkIHBheW1lbnRbMV0uBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAA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4AAAAD3NlbmRlclB1YmxpY0tleUuLckM=", "height": 1724644, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DXa5bEv3sQtJbddRRRp6AtjBb4fsppRYaNHEyoQViWfr Next: 9Tr9W8iymd48gNHdmxYJJLsCnngLE6NMpLmMRjEHCHp5 Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let A4AAssetID = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook' | |
5 | 5 | ||
6 | - | let Week0Timestamp = | |
6 | + | let Week0Timestamp = 1628368200000 | |
7 | 7 | ||
8 | 8 | let eachweek = 604800000 | |
9 | 9 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let A4AAssetID = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook' | |
5 | 5 | ||
6 | - | let Week0Timestamp = | |
6 | + | let Week0Timestamp = 1628368200000 | |
7 | 7 | ||
8 | 8 | let eachweek = 604800000 | |
9 | 9 | ||
10 | 10 | let eachhour = 3600000 | |
11 | 11 | ||
12 | 12 | let pausetime = 14400000 | |
13 | 13 | ||
14 | 14 | @Callable(i) | |
15 | 15 | func Chainlink () = { | |
16 | 16 | let FavouriteAsset = "Chainlink" | |
17 | 17 | let pmt = if ((size(i.payments) == 1)) | |
18 | 18 | then i.payments[0] | |
19 | 19 | else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].") | |
20 | 20 | let currentKey = toBase58String(i.caller.bytes) | |
21 | 21 | let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1) | |
22 | 22 | let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek)) | |
23 | 23 | let votingpausetime = (TSUptoPastWeek + pausetime) | |
24 | 24 | let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID) | |
25 | 25 | let fetchtotaltxns = match getInteger(this, "Total_Txns") { | |
26 | 26 | case a: Int => | |
27 | 27 | a | |
28 | 28 | case _ => | |
29 | 29 | 0 | |
30 | 30 | } | |
31 | 31 | let totaltxns = (fetchtotaltxns + 1) | |
32 | 32 | let fetchtotaltxnsofweek = match getInteger(this, (toString(currentrunningweek) + "_Total_Txns")) { | |
33 | 33 | case a: Int => | |
34 | 34 | a | |
35 | 35 | case _ => | |
36 | 36 | 0 | |
37 | 37 | } | |
38 | 38 | let totaltxnsofweek = (fetchtotaltxnsofweek + 1) | |
39 | 39 | let fetchuserweeklyvotes = match getInteger(this, ((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey)) { | |
40 | 40 | case a: Int => | |
41 | 41 | a | |
42 | 42 | case _ => | |
43 | 43 | 0 | |
44 | 44 | } | |
45 | 45 | let usertotalweeklyvotes = (fetchuserweeklyvotes + 1) | |
46 | 46 | let fetchuserweeklyvotesforasset = match getInteger(this, ((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset)) { | |
47 | 47 | case a: Int => | |
48 | 48 | a | |
49 | 49 | case _ => | |
50 | 50 | 0 | |
51 | 51 | } | |
52 | 52 | let usertotalweeklyvotesforasset = (fetchuserweeklyvotesforasset + 1) | |
53 | 53 | let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) { | |
54 | 54 | case a: Int => | |
55 | 55 | a | |
56 | 56 | case _ => | |
57 | 57 | 0 | |
58 | 58 | } | |
59 | 59 | let usertotalvotes = (fetchuservotes + 1) | |
60 | 60 | let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) { | |
61 | 61 | case a: Int => | |
62 | 62 | a | |
63 | 63 | case _ => | |
64 | 64 | 0 | |
65 | 65 | } | |
66 | 66 | let usertotalvotesforasset = (fetchuservotesforasset + 1) | |
67 | 67 | let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) { | |
68 | 68 | case a: Int => | |
69 | 69 | a | |
70 | 70 | case _ => | |
71 | 71 | 0 | |
72 | 72 | } | |
73 | 73 | let assettotalvotes = (fetchtotalvotes + 1) | |
74 | 74 | let weeklyfetchtotalvotes = match getInteger(this, ((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset)) { | |
75 | 75 | case a: Int => | |
76 | 76 | a | |
77 | 77 | case _ => | |
78 | 78 | 0 | |
79 | 79 | } | |
80 | 80 | let weeklyassettotalvotes = (weeklyfetchtotalvotes + 1) | |
81 | 81 | if ((100000000 > checkassetbal)) | |
82 | 82 | then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.") | |
83 | 83 | else if ((pmt.assetId != A4AAssetID)) | |
84 | 84 | then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only.")) | |
85 | 85 | else if ((pmt.amount != 10000)) | |
86 | 86 | then throw("Please Attach Exact 0.0001 A4A To Vote.") | |
87 | 87 | else if ((votingpausetime > lastBlock.timestamp)) | |
88 | 88 | then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes")) | |
89 | 89 | else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((toString(currentrunningweek) + "_Total_Txns"), totaltxnsofweek), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), IntegerEntry(((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset), weeklyassettotalvotes), IntegerEntry(("User_Total_Votes_" + currentKey), usertotalvotes), IntegerEntry(((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey), usertotalweeklyvotes), IntegerEntry(((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset), usertotalweeklyvotesforasset), IntegerEntry(((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset), usertotalvotesforasset), StringEntry("message", "<h1>You Voted Successfully!</h1><br>")] | |
90 | 90 | } | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | ||
94 | 94 | @Callable(i) | |
95 | 95 | func Dent () = { | |
96 | 96 | let FavouriteAsset = "Dent" | |
97 | 97 | let pmt = if ((size(i.payments) == 1)) | |
98 | 98 | then i.payments[0] | |
99 | 99 | else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].") | |
100 | 100 | let currentKey = toBase58String(i.caller.bytes) | |
101 | 101 | let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1) | |
102 | 102 | let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek)) | |
103 | 103 | let votingpausetime = (TSUptoPastWeek + pausetime) | |
104 | 104 | let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID) | |
105 | 105 | let fetchtotaltxns = match getInteger(this, "Total_Txns") { | |
106 | 106 | case a: Int => | |
107 | 107 | a | |
108 | 108 | case _ => | |
109 | 109 | 0 | |
110 | 110 | } | |
111 | 111 | let totaltxns = (fetchtotaltxns + 1) | |
112 | 112 | let fetchtotaltxnsofweek = match getInteger(this, (toString(currentrunningweek) + "_Total_Txns")) { | |
113 | 113 | case a: Int => | |
114 | 114 | a | |
115 | 115 | case _ => | |
116 | 116 | 0 | |
117 | 117 | } | |
118 | 118 | let totaltxnsofweek = (fetchtotaltxnsofweek + 1) | |
119 | 119 | let fetchuserweeklyvotes = match getInteger(this, ((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey)) { | |
120 | 120 | case a: Int => | |
121 | 121 | a | |
122 | 122 | case _ => | |
123 | 123 | 0 | |
124 | 124 | } | |
125 | 125 | let usertotalweeklyvotes = (fetchuserweeklyvotes + 1) | |
126 | 126 | let fetchuserweeklyvotesforasset = match getInteger(this, ((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset)) { | |
127 | 127 | case a: Int => | |
128 | 128 | a | |
129 | 129 | case _ => | |
130 | 130 | 0 | |
131 | 131 | } | |
132 | 132 | let usertotalweeklyvotesforasset = (fetchuserweeklyvotesforasset + 1) | |
133 | 133 | let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) { | |
134 | 134 | case a: Int => | |
135 | 135 | a | |
136 | 136 | case _ => | |
137 | 137 | 0 | |
138 | 138 | } | |
139 | 139 | let usertotalvotes = (fetchuservotes + 1) | |
140 | 140 | let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) { | |
141 | 141 | case a: Int => | |
142 | 142 | a | |
143 | 143 | case _ => | |
144 | 144 | 0 | |
145 | 145 | } | |
146 | 146 | let usertotalvotesforasset = (fetchuservotesforasset + 1) | |
147 | 147 | let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) { | |
148 | 148 | case a: Int => | |
149 | 149 | a | |
150 | 150 | case _ => | |
151 | 151 | 0 | |
152 | 152 | } | |
153 | 153 | let assettotalvotes = (fetchtotalvotes + 1) | |
154 | 154 | let weeklyfetchtotalvotes = match getInteger(this, ((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset)) { | |
155 | 155 | case a: Int => | |
156 | 156 | a | |
157 | 157 | case _ => | |
158 | 158 | 0 | |
159 | 159 | } | |
160 | 160 | let weeklyassettotalvotes = (weeklyfetchtotalvotes + 1) | |
161 | 161 | if ((100000000 > checkassetbal)) | |
162 | 162 | then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.") | |
163 | 163 | else if ((pmt.assetId != A4AAssetID)) | |
164 | 164 | then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only.")) | |
165 | 165 | else if ((pmt.amount != 10000)) | |
166 | 166 | then throw("Please Attach Exact 0.0001 A4A To Vote.") | |
167 | 167 | else if ((votingpausetime > lastBlock.timestamp)) | |
168 | 168 | then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes")) | |
169 | 169 | else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((toString(currentrunningweek) + "_Total_Txns"), totaltxnsofweek), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), IntegerEntry(((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset), weeklyassettotalvotes), IntegerEntry(("User_Total_Votes_" + currentKey), usertotalvotes), IntegerEntry(((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey), usertotalweeklyvotes), IntegerEntry(((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset), usertotalweeklyvotesforasset), IntegerEntry(((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset), usertotalvotesforasset), StringEntry("message", "<h1>You Voted Successfully!</h1><br>")] | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | ||
174 | 174 | @Callable(i) | |
175 | 175 | func Sushi () = { | |
176 | 176 | let FavouriteAsset = "Sushi" | |
177 | 177 | let pmt = if ((size(i.payments) == 1)) | |
178 | 178 | then i.payments[0] | |
179 | 179 | else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].") | |
180 | 180 | let currentKey = toBase58String(i.caller.bytes) | |
181 | 181 | let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1) | |
182 | 182 | let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek)) | |
183 | 183 | let votingpausetime = (TSUptoPastWeek + pausetime) | |
184 | 184 | let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID) | |
185 | 185 | let fetchtotaltxns = match getInteger(this, "Total_Txns") { | |
186 | 186 | case a: Int => | |
187 | 187 | a | |
188 | 188 | case _ => | |
189 | 189 | 0 | |
190 | 190 | } | |
191 | 191 | let totaltxns = (fetchtotaltxns + 1) | |
192 | 192 | let fetchtotaltxnsofweek = match getInteger(this, (toString(currentrunningweek) + "_Total_Txns")) { | |
193 | 193 | case a: Int => | |
194 | 194 | a | |
195 | 195 | case _ => | |
196 | 196 | 0 | |
197 | 197 | } | |
198 | 198 | let totaltxnsofweek = (fetchtotaltxnsofweek + 1) | |
199 | 199 | let fetchuserweeklyvotes = match getInteger(this, ((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey)) { | |
200 | 200 | case a: Int => | |
201 | 201 | a | |
202 | 202 | case _ => | |
203 | 203 | 0 | |
204 | 204 | } | |
205 | 205 | let usertotalweeklyvotes = (fetchuserweeklyvotes + 1) | |
206 | 206 | let fetchuserweeklyvotesforasset = match getInteger(this, ((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset)) { | |
207 | 207 | case a: Int => | |
208 | 208 | a | |
209 | 209 | case _ => | |
210 | 210 | 0 | |
211 | 211 | } | |
212 | 212 | let usertotalweeklyvotesforasset = (fetchuserweeklyvotesforasset + 1) | |
213 | 213 | let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) { | |
214 | 214 | case a: Int => | |
215 | 215 | a | |
216 | 216 | case _ => | |
217 | 217 | 0 | |
218 | 218 | } | |
219 | 219 | let usertotalvotes = (fetchuservotes + 1) | |
220 | 220 | let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) { | |
221 | 221 | case a: Int => | |
222 | 222 | a | |
223 | 223 | case _ => | |
224 | 224 | 0 | |
225 | 225 | } | |
226 | 226 | let usertotalvotesforasset = (fetchuservotesforasset + 1) | |
227 | 227 | let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) { | |
228 | 228 | case a: Int => | |
229 | 229 | a | |
230 | 230 | case _ => | |
231 | 231 | 0 | |
232 | 232 | } | |
233 | 233 | let assettotalvotes = (fetchtotalvotes + 1) | |
234 | 234 | let weeklyfetchtotalvotes = match getInteger(this, ((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset)) { | |
235 | 235 | case a: Int => | |
236 | 236 | a | |
237 | 237 | case _ => | |
238 | 238 | 0 | |
239 | 239 | } | |
240 | 240 | let weeklyassettotalvotes = (weeklyfetchtotalvotes + 1) | |
241 | 241 | if ((100000000 > checkassetbal)) | |
242 | 242 | then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.") | |
243 | 243 | else if ((pmt.assetId != A4AAssetID)) | |
244 | 244 | then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only.")) | |
245 | 245 | else if ((pmt.amount != 10000)) | |
246 | 246 | then throw("Please Attach Exact 0.0001 A4A To Vote.") | |
247 | 247 | else if ((votingpausetime > lastBlock.timestamp)) | |
248 | 248 | then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes")) | |
249 | 249 | else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((toString(currentrunningweek) + "_Total_Txns"), totaltxnsofweek), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), IntegerEntry(((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset), weeklyassettotalvotes), IntegerEntry(("User_Total_Votes_" + currentKey), usertotalvotes), IntegerEntry(((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey), usertotalweeklyvotes), IntegerEntry(((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset), usertotalweeklyvotesforasset), IntegerEntry(((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset), usertotalvotesforasset), StringEntry("message", "<h1>You Voted Successfully!</h1><br>")] | |
250 | 250 | } | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | ||
254 | 254 | @Callable(i) | |
255 | 255 | func Compound () = { | |
256 | 256 | let FavouriteAsset = "Compound" | |
257 | 257 | let pmt = if ((size(i.payments) == 1)) | |
258 | 258 | then i.payments[0] | |
259 | 259 | else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].") | |
260 | 260 | let currentKey = toBase58String(i.caller.bytes) | |
261 | 261 | let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1) | |
262 | 262 | let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek)) | |
263 | 263 | let votingpausetime = (TSUptoPastWeek + pausetime) | |
264 | 264 | let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID) | |
265 | 265 | let fetchtotaltxns = match getInteger(this, "Total_Txns") { | |
266 | 266 | case a: Int => | |
267 | 267 | a | |
268 | 268 | case _ => | |
269 | 269 | 0 | |
270 | 270 | } | |
271 | 271 | let totaltxns = (fetchtotaltxns + 1) | |
272 | 272 | let fetchtotaltxnsofweek = match getInteger(this, (toString(currentrunningweek) + "_Total_Txns")) { | |
273 | 273 | case a: Int => | |
274 | 274 | a | |
275 | 275 | case _ => | |
276 | 276 | 0 | |
277 | 277 | } | |
278 | 278 | let totaltxnsofweek = (fetchtotaltxnsofweek + 1) | |
279 | 279 | let fetchuserweeklyvotes = match getInteger(this, ((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey)) { | |
280 | 280 | case a: Int => | |
281 | 281 | a | |
282 | 282 | case _ => | |
283 | 283 | 0 | |
284 | 284 | } | |
285 | 285 | let usertotalweeklyvotes = (fetchuserweeklyvotes + 1) | |
286 | 286 | let fetchuserweeklyvotesforasset = match getInteger(this, ((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset)) { | |
287 | 287 | case a: Int => | |
288 | 288 | a | |
289 | 289 | case _ => | |
290 | 290 | 0 | |
291 | 291 | } | |
292 | 292 | let usertotalweeklyvotesforasset = (fetchuserweeklyvotesforasset + 1) | |
293 | 293 | let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) { | |
294 | 294 | case a: Int => | |
295 | 295 | a | |
296 | 296 | case _ => | |
297 | 297 | 0 | |
298 | 298 | } | |
299 | 299 | let usertotalvotes = (fetchuservotes + 1) | |
300 | 300 | let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) { | |
301 | 301 | case a: Int => | |
302 | 302 | a | |
303 | 303 | case _ => | |
304 | 304 | 0 | |
305 | 305 | } | |
306 | 306 | let usertotalvotesforasset = (fetchuservotesforasset + 1) | |
307 | 307 | let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) { | |
308 | 308 | case a: Int => | |
309 | 309 | a | |
310 | 310 | case _ => | |
311 | 311 | 0 | |
312 | 312 | } | |
313 | 313 | let assettotalvotes = (fetchtotalvotes + 1) | |
314 | 314 | let weeklyfetchtotalvotes = match getInteger(this, ((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset)) { | |
315 | 315 | case a: Int => | |
316 | 316 | a | |
317 | 317 | case _ => | |
318 | 318 | 0 | |
319 | 319 | } | |
320 | 320 | let weeklyassettotalvotes = (weeklyfetchtotalvotes + 1) | |
321 | 321 | if ((100000000 > checkassetbal)) | |
322 | 322 | then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.") | |
323 | 323 | else if ((pmt.assetId != A4AAssetID)) | |
324 | 324 | then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only.")) | |
325 | 325 | else if ((pmt.amount != 10000)) | |
326 | 326 | then throw("Please Attach Exact 0.0001 A4A To Vote.") | |
327 | 327 | else if ((votingpausetime > lastBlock.timestamp)) | |
328 | 328 | then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes")) | |
329 | 329 | else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry((toString(currentrunningweek) + "_Total_Txns"), totaltxnsofweek), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), IntegerEntry(((toString(currentrunningweek) + "_Total_Votes_") + FavouriteAsset), weeklyassettotalvotes), IntegerEntry(("User_Total_Votes_" + currentKey), usertotalvotes), IntegerEntry(((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey), usertotalweeklyvotes), IntegerEntry(((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset), usertotalweeklyvotesforasset), IntegerEntry(((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset), usertotalvotesforasset), StringEntry("message", "<h1>You Voted Successfully!</h1><br>")] | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | ||
334 | 334 | @Callable(i) | |
335 | 335 | func ResetCounter (FavouriteAsset) = [DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV-Dent"), DeleteEntry("8_User_Total_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA"), DeleteEntry("8_User_Total_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA-Chainlink"), DeleteEntry("8_User_Total_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA-Compound"), DeleteEntry("8_User_Total_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA-Dent"), DeleteEntry("8_Total_Votes_Dent"), DeleteEntry("8_Total_Votes_Sushi"), DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV-Sushi"), DeleteEntry("8_User_Total_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA-Sushi"), DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV-Chainlink"), DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV_Chainlink"), DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV_Dent"), DeleteEntry("Current_Voting_Week"), DeleteEntry("Total_Txns"), DeleteEntry("8_Total_Txns"), DeleteEntry("Total_Votes_Chainlink"), DeleteEntry("8_Total_Votes_Chainlink"), DeleteEntry("Total_Votes_Compound"), DeleteEntry("8_Total_Votes_Compound"), DeleteEntry("Total_Votes_Dent"), DeleteEntry("Total_Votes_Sushi"), DeleteEntry("8_User_Total_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY"), DeleteEntry("8_User_Total_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY-Compound"), DeleteEntry("8_User_Total_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY-Dent"), DeleteEntry("User_Total_Asset_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV_Chainlink"), DeleteEntry("User_Total_Asset_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV_Compound"), DeleteEntry("User_Total_Asset_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV_Dent"), DeleteEntry("User_Total_Asset_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV_Sushi"), DeleteEntry("8_User_Total_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY-Sushi"), DeleteEntry("User_Total_Asset_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA_Chainlink"), DeleteEntry("User_Total_Asset_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA_Compound"), DeleteEntry("User_Total_Asset_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA_Dent"), DeleteEntry("ser_Total_Asset_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA_Sushi"), DeleteEntry("User_Total_Asset_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY_Chainlink"), DeleteEntry("User_Total_Asset_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY_Compound"), DeleteEntry("User_Total_Asset_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY_Dent"), DeleteEntry("User_Total_Asset_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY_Sushi"), DeleteEntry("User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), DeleteEntry("User_Total_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA"), DeleteEntry("User_Total_Votes_3NAjfYjyu5d4SXqEE8quEFooztrnSEqZwUY"), DeleteEntry("User_Total_Asset_Votes_3MzaaAcin3ecmkJPtaCGCtUrHGeQA3gJ1UA_Sushi"), DeleteEntry("message")] | |
336 | 336 | ||
337 | 337 | ||
338 | 338 | @Verifier(tx) | |
339 | 339 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
340 | 340 |
github/deemru/w8io/026f985 49.91 ms ◑