tx · 3nAZHR2WuVc4yy2qTthEfMXeT8daoPuy32mZ9LArzADq

3N17JMn4WESkhCSrcEwdADBZFAe8uiuvCGQ:  -0.01400000 Waves

2021.09.29 08:59 [1723848] smart account 3N17JMn4WESkhCSrcEwdADBZFAe8uiuvCGQ > SELF 0.00000000 Waves

{ "type": 13, "id": "3nAZHR2WuVc4yy2qTthEfMXeT8daoPuy32mZ9LArzADq", "fee": 1400000, "feeAssetId": null, "timestamp": 1632895224986, "version": 2, "chainId": 84, "sender": "3N17JMn4WESkhCSrcEwdADBZFAe8uiuvCGQ", "senderPublicKey": "BMLuSYJ8rvQD55waCoKpzCBhJAbY8s9pp4V5ZgxuzCBD", "proofs": [ "3mPXoDpbV1SHoyBz5mgk3SGJ5RxMcCMHEhpQyEwx7pqj8vBbg19MymJ8wgYf6YPbyeDkvfJKRBbYe2fB5mAoVpY5" ], "script": "base64:AAIEAAAAAAAAAA8IAhIAEgASABIAEgMKAQgAAAAFAAAAAApBNEFBc3NldElEAQAAACD+xBrh3u/naSJ9Eujvd+1d33EPvCCH0lpodP3xbghYNwAAAAAOV2VlazBUaW1lc3RhbXAAAAABeyKFz8AAAAAACGVhY2h3ZWVrAAAAAAAkDIQAAAAAAAhlYWNoaG91cgAAAAAAADbugAAAAAAJcGF1c2V0aW1lAAAAAAAA27oAAAAABQAAAAFpAQAAAAlDaGFpbmxpbmsAAAAABAAAAA5GYXZvdXJpdGVBc3NldAIAAAAJQ2hhaW5saW5rBAAAAANwbXQDCQAAAAAAAAIJAAGQAAAAAQgFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAEJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAJAAACAAAAAQIAAAA5V2Vla2x5IFZvdGUgTmVlZCAwLjAwMDEgQTRBIFRva2VuIGFzIEF0dGFjaGVkIHBheW1lbnRbMV0uBAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXM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VudHJ5AAAAAQIAAAA0VXNlcl9Ub3RhbF9Wb3Rlc18zTkFqZllqeXU1ZDRTWHFFRThxdUVGb296dHJuU0VxWndVWQkABEwAAAACCQEAAAALRGVsZXRlRW50cnkAAAABAgAAAAdtZXNzYWdlBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleTRc7Js=", "height": 1723848, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7P9B7HEfBPKPFANQfF6VK3KxQ3VtHuTqVFnSqREP3vnC Next: 3RqEXaDczBiqjW1ypg2wkuVNPopXrAdr11dum95Qp7AK Diff:
OldNewDifferences
246246 }
247247
248248
249+
250+@Callable(i)
251+func ResetCounter (FavouriteAsset) = [DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), 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("Total_Votes_Chainlink"), DeleteEntry("Total_Votes_Compound"), DeleteEntry("Total_Votes_Dent"), DeleteEntry("Total_Votes_Sushi"), 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("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("message")]
252+
253+
249254 @Verifier(tx)
250255 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
251256
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let A4AAssetID = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook'
55
66 let Week0Timestamp = 1628371800000
77
88 let eachweek = 604800000
99
1010 let eachhour = 3600000
1111
1212 let pausetime = 14400000
1313
1414 @Callable(i)
1515 func Chainlink () = {
1616 let FavouriteAsset = "Chainlink"
1717 let pmt = if ((size(i.payments) == 1))
1818 then i.payments[0]
1919 else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].")
2020 let currentKey = toBase58String(i.caller.bytes)
2121 let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1)
2222 let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek))
2323 let votingpausetime = (TSUptoPastWeek + pausetime)
2424 let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID)
2525 let fetchtotaltxns = match getInteger(this, "Total_Txns") {
2626 case a: Int =>
2727 a
2828 case _ =>
2929 0
3030 }
3131 let totaltxns = (fetchtotaltxns + 1)
3232 let fetchuserweeklyvotes = match getInteger(this, ((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey)) {
3333 case a: Int =>
3434 a
3535 case _ =>
3636 0
3737 }
3838 let usertotalweeklyvotes = (fetchuserweeklyvotes + 1)
3939 let fetchuserweeklyvotesforasset = match getInteger(this, ((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "-") + FavouriteAsset)) {
4040 case a: Int =>
4141 a
4242 case _ =>
4343 0
4444 }
4545 let usertotalweeklyvotesforasset = (fetchuserweeklyvotesforasset + 1)
4646 let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) {
4747 case a: Int =>
4848 a
4949 case _ =>
5050 0
5151 }
5252 let usertotalvotes = (fetchuservotes + 1)
5353 let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) {
5454 case a: Int =>
5555 a
5656 case _ =>
5757 0
5858 }
5959 let usertotalvotesforasset = (fetchuservotesforasset + 1)
6060 let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) {
6161 case a: Int =>
6262 a
6363 case _ =>
6464 0
6565 }
6666 let assettotalvotes = (fetchtotalvotes + 1)
6767 if ((100000000 > checkassetbal))
6868 then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.")
6969 else if ((pmt.assetId != A4AAssetID))
7070 then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only."))
7171 else if ((pmt.amount != 10000))
7272 then throw("Please Attach Exact 0.0001 A4A To Vote.")
7373 else if ((votingpausetime > lastBlock.timestamp))
7474 then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes"))
7575 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), 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>")]
7676 }
7777
7878
7979
8080 @Callable(i)
8181 func Dent () = {
8282 let FavouriteAsset = "Dent"
8383 let pmt = if ((size(i.payments) == 1))
8484 then i.payments[0]
8585 else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].")
8686 let currentKey = toBase58String(i.caller.bytes)
8787 let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1)
8888 let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek))
8989 let votingpausetime = (TSUptoPastWeek + pausetime)
9090 let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID)
9191 let fetchtotaltxns = match getInteger(this, "Total_Txns") {
9292 case a: Int =>
9393 a
9494 case _ =>
9595 0
9696 }
9797 let totaltxns = (fetchtotaltxns + 1)
9898 let fetchuserweeklyvotes = match getInteger(this, ((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey)) {
9999 case a: Int =>
100100 a
101101 case _ =>
102102 0
103103 }
104104 let usertotalweeklyvotes = (fetchuserweeklyvotes + 1)
105105 let fetchuserweeklyvotesforasset = match getInteger(this, ((((toString(currentrunningweek) + "_User_Total_Votes_") + currentKey) + "_") + FavouriteAsset)) {
106106 case a: Int =>
107107 a
108108 case _ =>
109109 0
110110 }
111111 let usertotalweeklyvotesforasset = (fetchuserweeklyvotesforasset + 1)
112112 let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) {
113113 case a: Int =>
114114 a
115115 case _ =>
116116 0
117117 }
118118 let usertotalvotes = (fetchuservotes + 1)
119119 let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) {
120120 case a: Int =>
121121 a
122122 case _ =>
123123 0
124124 }
125125 let usertotalvotesforasset = (fetchuservotesforasset + 1)
126126 let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) {
127127 case a: Int =>
128128 a
129129 case _ =>
130130 0
131131 }
132132 let assettotalvotes = (fetchtotalvotes + 1)
133133 if ((100000000 > checkassetbal))
134134 then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.")
135135 else if ((pmt.assetId != A4AAssetID))
136136 then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only."))
137137 else if ((pmt.amount != 10000))
138138 then throw("Please Attach Exact 0.0001 A4A To Vote.")
139139 else if ((votingpausetime > lastBlock.timestamp))
140140 then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes"))
141141 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), 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>")]
142142 }
143143
144144
145145
146146 @Callable(i)
147147 func Sushi () = {
148148 let FavouriteAsset = "Sushi"
149149 let pmt = if ((size(i.payments) == 1))
150150 then i.payments[0]
151151 else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].")
152152 let currentKey = toBase58String(i.caller.bytes)
153153 let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1)
154154 let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek))
155155 let votingpausetime = (TSUptoPastWeek + pausetime)
156156 let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID)
157157 let fetchtotaltxns = match getInteger(this, "Total_Txns") {
158158 case a: Int =>
159159 a
160160 case _ =>
161161 0
162162 }
163163 let totaltxns = (fetchtotaltxns + 1)
164164 let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) {
165165 case a: Int =>
166166 a
167167 case _ =>
168168 0
169169 }
170170 let usertotalvotes = (fetchuservotes + 1)
171171 let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) {
172172 case a: Int =>
173173 a
174174 case _ =>
175175 0
176176 }
177177 let usertotalvotesforasset = (fetchuservotesforasset + 1)
178178 let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) {
179179 case a: Int =>
180180 a
181181 case _ =>
182182 0
183183 }
184184 let assettotalvotes = (fetchtotalvotes + 1)
185185 if ((100000000 > checkassetbal))
186186 then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.")
187187 else if ((pmt.assetId != A4AAssetID))
188188 then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only."))
189189 else if ((pmt.amount != 10000))
190190 then throw("Please Attach Exact 0.0001 A4A To Vote.")
191191 else if ((votingpausetime > lastBlock.timestamp))
192192 then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes"))
193193 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), IntegerEntry(("User_Total_Votes_" + currentKey), usertotalvotes), IntegerEntry(((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset), usertotalvotesforasset), StringEntry("message", "<h1>You Voted Successfully!</h1><br>")]
194194 }
195195
196196
197197
198198 @Callable(i)
199199 func Compound () = {
200200 let FavouriteAsset = "Compound"
201201 let pmt = if ((size(i.payments) == 1))
202202 then i.payments[0]
203203 else throw("Weekly Vote Need 0.0001 A4A Token as Attached payment[1].")
204204 let currentKey = toBase58String(i.caller.bytes)
205205 let currentrunningweek = (((lastBlock.timestamp - Week0Timestamp) / eachweek) + 1)
206206 let TSUptoPastWeek = (Week0Timestamp + ((currentrunningweek - 1) * eachweek))
207207 let votingpausetime = (TSUptoPastWeek + pausetime)
208208 let checkassetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), A4AAssetID)
209209 let fetchtotaltxns = match getInteger(this, "Total_Txns") {
210210 case a: Int =>
211211 a
212212 case _ =>
213213 0
214214 }
215215 let totaltxns = (fetchtotaltxns + 1)
216216 let fetchuservotes = match getInteger(this, ("User_Total_Votes_" + currentKey)) {
217217 case a: Int =>
218218 a
219219 case _ =>
220220 0
221221 }
222222 let usertotalvotes = (fetchuservotes + 1)
223223 let fetchuservotesforasset = match getInteger(this, ((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset)) {
224224 case a: Int =>
225225 a
226226 case _ =>
227227 0
228228 }
229229 let usertotalvotesforasset = (fetchuservotesforasset + 1)
230230 let fetchtotalvotes = match getInteger(this, ("Total_Votes_" + FavouriteAsset)) {
231231 case a: Int =>
232232 a
233233 case _ =>
234234 0
235235 }
236236 let assettotalvotes = (fetchtotalvotes + 1)
237237 if ((100000000 > checkassetbal))
238238 then throw("Minimum 1 A4A is required on Your Address to Vote. Please Mint or hold minimum 1 A4A on this Address.")
239239 else if ((pmt.assetId != A4AAssetID))
240240 then throw((("Incorrect asset attached, please attach " + toBase58String(A4AAssetID)) + " AssetID Only."))
241241 else if ((pmt.amount != 10000))
242242 then throw("Please Attach Exact 0.0001 A4A To Vote.")
243243 else if ((votingpausetime > lastBlock.timestamp))
244244 then throw((("Voting is paused for Next " + toString(((votingpausetime - lastBlock.timestamp) / 60000))) + " Minutes"))
245245 else [IntegerEntry("Total_Txns", totaltxns), IntegerEntry("Current_Voting_Week", currentrunningweek), IntegerEntry(("Total_Votes_" + FavouriteAsset), assettotalvotes), IntegerEntry(("User_Total_Votes_" + currentKey), usertotalvotes), IntegerEntry(((("User_Total_Asset_Votes_" + currentKey) + "_") + FavouriteAsset), usertotalvotesforasset), StringEntry("message", "<h1>You Voted Successfully!</h1><br>")]
246246 }
247247
248248
249+
250+@Callable(i)
251+func ResetCounter (FavouriteAsset) = [DeleteEntry("8_User_Total_Votes_3MshBTYYGc24JWzE2aYEktiz5KzeNQGA4GV"), 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("Total_Votes_Chainlink"), DeleteEntry("Total_Votes_Compound"), DeleteEntry("Total_Votes_Dent"), DeleteEntry("Total_Votes_Sushi"), 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("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("message")]
252+
253+
249254 @Verifier(tx)
250255 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
251256

github/deemru/w8io/169f3d6 
38.29 ms