tx · DTPU6auPHB1WsKPt6xdSAG12kUb1w7Di5UhiqzMLoaJv

3Mrvz9iRPwQG2asueNNCYMjJnko227TqQDw:  -0.01400000 Waves

2023.04.05 22:54 [2521691] smart account 3Mrvz9iRPwQG2asueNNCYMjJnko227TqQDw > SELF 0.00000000 Waves

{ "type": 13, "id": "DTPU6auPHB1WsKPt6xdSAG12kUb1w7Di5UhiqzMLoaJv", "fee": 1400000, "feeAssetId": null, "timestamp": 1680724531465, "version": 2, "chainId": 84, "sender": "3Mrvz9iRPwQG2asueNNCYMjJnko227TqQDw", "senderPublicKey": "Cin1vNbYtepAcdipQipLcqKhT69yfrzdyCUwhQA4RW5n", "proofs": [ "4TjFMX9FC4YeidoTKJeegsLwiFmj3Tn3JdUxC7QVXVjHUGwuaRkbxdno6M2s1mimLzWzcE2h2981h1JQcsvGC3oJ" ], "script": "base64:AAIEAAAAAAAAAA8IAhIFCgMIAQESABIAEgAAAAAJAAAAAARWT1RFAQAAACAIZYS3D/CKahrz4mjoLgiQJMPTJ1gDzSz2Ll4L39oVpAAAAAAidm90aW5nX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQEAAAAgG71LvoftgLN5LoDoTEAt274Hm4nt5A5pW1Ja7yxUD20AAAAAEmNvbnRyb2xsZXJfYWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAidm90aW5nX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAMbGF1bmNoX2Vycm9yAgAAACREYXBwIHdpbGwgc3RhcnQgVm90aW5nIGF0IFRpbWVzdGFtcCAAAAAAA21zZwIAAAAtPGgxPllvdSBWb3RlIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+AAAAAAlweW10ZXJyb3ICAAAANURBcHAgTmVlZCAwLjAwMDAwMDAxIFZPVEUgVG9rZW4gYXMgQXR0YWNoIHBheW1lbnRbMV0uAAAAAAttaW5iYWxlcnJvcgIAAABwTWlu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VyX1RvdGFsX1ZvdGVzXwUAAAAGcHVia2V5BQAAABBVc2VyX3RvdGFsX1ZvdGVzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAABFVc2VyX1RvdGFsX1ZvdGVzXwUAAAAGcHVia2V5AgAAAAEtBQAAAAdWb3RlQXN0BQAAAAZVVFdWRkEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAF1VzZXJfVG90YWxfQXNzZXRfVm90ZXNfBQAAAAZwdWJrZXkCAAAAAV8FAAAAB1ZvdGVBc3QFAAAABVVUVkZBCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAICAAAAB21lc3NhZ2UFAAAAA21zZwUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXlEwAhh", "height": 2521691, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Co8eB7DL89TRnYxMu48KgcZaMvYGFSypTtLWMJmu2B7J Next: 4FV5NKEDcSAsBmSXzRHmJVdb9osbZpkwrkL8MEnL6bCd Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let VOTE = base58'78x8tjxjAvZCyULa1hTXHLev1eY7p2P8FvxEyRYzN2za'
4+let VOTE = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 let voting_timestamp_controller_pubkey = base58'2sHRUrJCMpDhAQEcN7Zhk3LqnD9zizebpxeQXpPoscQU'
77
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4-let VOTE = base58'78x8tjxjAvZCyULa1hTXHLev1eY7p2P8FvxEyRYzN2za'
4+let VOTE = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H'
55
66 let voting_timestamp_controller_pubkey = base58'2sHRUrJCMpDhAQEcN7Zhk3LqnD9zizebpxeQXpPoscQU'
77
88 let controller_address = addressFromPublicKey(voting_timestamp_controller_pubkey)
99
1010 let launch_error = "Dapp will start Voting at Timestamp "
1111
1212 let msg = "<h1>You Vote Submitted Successfully!</h1><br>"
1313
1414 let pymterror = "DApp Need 0.00000001 VOTE Token as Attach payment[1]."
1515
1616 let minbalerror = "Min. 0.00000001 VOTE required on Your Address to Vote. Please Mint or hold min. 0.00000001 VOTE on this Address."
1717
1818 let asseterr = (("Incorrect asset attach, please attach " + toBase58String(VOTE)) + " AssetID Only.")
1919
2020 let voteErr = "Voting is Over for this Dapp."
2121
2222 @Callable(i)
2323 func SetVotingTimeStamps (Proposal,Voting_Start_TimeStamp,Voting_End_TimeStamp) = {
2424 let StartTS = Voting_Start_TimeStamp
2525 let EndTS = Voting_End_TimeStamp
2626 let pubkey = toBase58String(i.caller.bytes)
2727 let Previoustotalproposals = match getInteger(this, "Total_Proposals") {
2828 case a: Int =>
2929 a
3030 case _ =>
3131 0
3232 }
3333 let totalproposals = (Previoustotalproposals + 1)
3434 if ((size(Proposal) > 30000))
3535 then throw("Subject Char Limits are Over. Reduce length less than 30k Char.")
3636 else if ((i.caller != controller_address))
3737 then throw((("This Address is not Authorized. Only " + toString(controller_address)) + " is Authorized Address to Sign it."))
3838 else [StringEntry(("Proposal Data_" + toString(totalproposals)), Proposal), IntegerEntry("Total_Proposals", totalproposals), StringEntry(("Proposer_" + toString(totalproposals)), pubkey), IntegerEntry(("Voting_Start_TimeStamp_" + toString(totalproposals)), StartTS), IntegerEntry(("Voting_End_TimeStamp_" + toString(totalproposals)), EndTS)]
3939 }
4040
4141
4242
4343 @Callable(i)
4444 func Yes () = {
4545 let VoteAst = "Yes"
4646 let StartTS = getIntegerValue(this, "Voting_Start_TimeStamp")
4747 let EndTS = getIntegerValue(this, "Voting_End_TimeStamp")
4848 let pubkey = toBase58String(i.caller.bytes)
4949 let pmt = if ((size(i.payments) == 1))
5050 then i.payments[0]
5151 else throw(pymterror)
5252 let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), VOTE)
5353 let Previoustotalvotes = match getInteger(this, "Total_Votes") {
5454 case a: Int =>
5555 a
5656 case _ =>
5757 0
5858 }
5959 let totalvotes = (Previoustotalvotes + pmt.amount)
6060 let Previous_User_total_Votes = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
6161 case a: Int =>
6262 a
6363 case _ =>
6464 0
6565 }
6666 let User_total_Votes = (Previous_User_total_Votes + pmt.amount)
6767 let UWVFA = match getInteger(this, ((("User_Total_Votes_" + pubkey) + "-") + VoteAst)) {
6868 case a: Int =>
6969 a
7070 case _ =>
7171 0
7272 }
7373 let UTWVFA = (UWVFA + pmt.amount)
7474 let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
7575 case a: Int =>
7676 a
7777 case _ =>
7878 0
7979 }
8080 let UTVFA = (FUVFA + pmt.amount)
8181 let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
8282 case a: Int =>
8383 a
8484 case _ =>
8585 0
8686 }
8787 let ATVO = (FTVO + pmt.amount)
8888 if ((StartTS > lastBlock.timestamp))
8989 then throw((launch_error + toString(StartTS)))
9090 else if ((1 > assetbal))
9191 then throw(minbalerror)
9292 else if ((pmt.assetId != VOTE))
9393 then throw(asseterr)
9494 else if ((lastBlock.timestamp > EndTS))
9595 then throw(voteErr)
9696 else [IntegerEntry("Total_Votes", totalvotes), IntegerEntry(("Total_Votes_" + VoteAst), ATVO), IntegerEntry(("User_Total_Votes_" + pubkey), User_total_Votes), IntegerEntry(((("User_Total_Votes_" + pubkey) + "-") + VoteAst), UTWVFA), IntegerEntry(((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst), UTVFA), StringEntry("message", msg)]
9797 }
9898
9999
100100
101101 @Callable(i)
102102 func No () = {
103103 let VoteAst = "No"
104104 let StartTS = getIntegerValue(this, "Voting_Start_TimeStamp")
105105 let EndTS = getIntegerValue(this, "Voting_End_TimeStamp")
106106 let pubkey = toBase58String(i.caller.bytes)
107107 let pmt = if ((size(i.payments) == 1))
108108 then i.payments[0]
109109 else throw(pymterror)
110110 let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), VOTE)
111111 let Previoustotalvotes = match getInteger(this, "Total_Votes") {
112112 case a: Int =>
113113 a
114114 case _ =>
115115 0
116116 }
117117 let totalvotes = (Previoustotalvotes + pmt.amount)
118118 let Previous_User_total_Votes = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
119119 case a: Int =>
120120 a
121121 case _ =>
122122 0
123123 }
124124 let User_total_Votes = (Previous_User_total_Votes + pmt.amount)
125125 let UWVFA = match getInteger(this, ((("User_Total_Votes_" + pubkey) + "-") + VoteAst)) {
126126 case a: Int =>
127127 a
128128 case _ =>
129129 0
130130 }
131131 let UTWVFA = (UWVFA + pmt.amount)
132132 let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
133133 case a: Int =>
134134 a
135135 case _ =>
136136 0
137137 }
138138 let UTVFA = (FUVFA + pmt.amount)
139139 let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
140140 case a: Int =>
141141 a
142142 case _ =>
143143 0
144144 }
145145 let ATVO = (FTVO + pmt.amount)
146146 if ((StartTS > lastBlock.timestamp))
147147 then throw((launch_error + toString(StartTS)))
148148 else if ((1 > assetbal))
149149 then throw(minbalerror)
150150 else if ((pmt.assetId != VOTE))
151151 then throw(asseterr)
152152 else if ((lastBlock.timestamp > EndTS))
153153 then throw(voteErr)
154154 else [IntegerEntry("Total_Votes", totalvotes), IntegerEntry(("Total_Votes_" + VoteAst), ATVO), IntegerEntry(("User_Total_Votes_" + pubkey), User_total_Votes), IntegerEntry(((("User_Total_Votes_" + pubkey) + "-") + VoteAst), UTWVFA), IntegerEntry(((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst), UTVFA), StringEntry("message", msg)]
155155 }
156156
157157
158158
159159 @Callable(i)
160160 func Abstain () = {
161161 let VoteAst = "Abstain"
162162 let StartTS = getIntegerValue(this, "Voting_Start_TimeStamp")
163163 let EndTS = getIntegerValue(this, "Voting_End_TimeStamp")
164164 let pubkey = toBase58String(i.caller.bytes)
165165 let pmt = if ((size(i.payments) == 1))
166166 then i.payments[0]
167167 else throw(pymterror)
168168 let assetbal = assetBalance(addressFromPublicKey(i.callerPublicKey), VOTE)
169169 let Previoustotalvotes = match getInteger(this, "Total_Votes") {
170170 case a: Int =>
171171 a
172172 case _ =>
173173 0
174174 }
175175 let totalvotes = (Previoustotalvotes + pmt.amount)
176176 let Previous_User_total_Votes = match getInteger(this, ("User_Total_Votes_" + pubkey)) {
177177 case a: Int =>
178178 a
179179 case _ =>
180180 0
181181 }
182182 let User_total_Votes = (Previous_User_total_Votes + pmt.amount)
183183 let UWVFA = match getInteger(this, ((("User_Total_Votes_" + pubkey) + "-") + VoteAst)) {
184184 case a: Int =>
185185 a
186186 case _ =>
187187 0
188188 }
189189 let UTWVFA = (UWVFA + pmt.amount)
190190 let FUVFA = match getInteger(this, ((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst)) {
191191 case a: Int =>
192192 a
193193 case _ =>
194194 0
195195 }
196196 let UTVFA = (FUVFA + pmt.amount)
197197 let FTVO = match getInteger(this, ("Total_Votes_" + VoteAst)) {
198198 case a: Int =>
199199 a
200200 case _ =>
201201 0
202202 }
203203 let ATVO = (FTVO + pmt.amount)
204204 if ((StartTS > lastBlock.timestamp))
205205 then throw((launch_error + toString(StartTS)))
206206 else if ((1 > assetbal))
207207 then throw(minbalerror)
208208 else if ((pmt.assetId != VOTE))
209209 then throw(asseterr)
210210 else if ((lastBlock.timestamp > EndTS))
211211 then throw(voteErr)
212212 else [IntegerEntry("Total_Votes", totalvotes), IntegerEntry(("Total_Votes_" + VoteAst), ATVO), IntegerEntry(("User_Total_Votes_" + pubkey), User_total_Votes), IntegerEntry(((("User_Total_Votes_" + pubkey) + "-") + VoteAst), UTWVFA), IntegerEntry(((("User_Total_Asset_Votes_" + pubkey) + "_") + VoteAst), UTVFA), StringEntry("message", msg)]
213213 }
214214
215215
216216 @Verifier(tx)
217217 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
218218

github/deemru/w8io/026f985 
58.03 ms