tx · 4FV5NKEDcSAsBmSXzRHmJVdb9osbZpkwrkL8MEnL6bCd 3Mrvz9iRPwQG2asueNNCYMjJnko227TqQDw: -0.01400000 Waves 2023.04.05 22:56 [2521693] smart account 3Mrvz9iRPwQG2asueNNCYMjJnko227TqQDw > SELF 0.00000000 Waves
{ "type": 13, "id": "4FV5NKEDcSAsBmSXzRHmJVdb9osbZpkwrkL8MEnL6bCd", "fee": 1400000, "feeAssetId": null, "timestamp": 1680724607848, "version": 2, "chainId": 84, "sender": "3Mrvz9iRPwQG2asueNNCYMjJnko227TqQDw", "senderPublicKey": "Cin1vNbYtepAcdipQipLcqKhT69yfrzdyCUwhQA4RW5n", "proofs": [ "4EGfPeBDzh7Pj9VZbaKjJK9b38zyfA6fhNKB24hCKpTx4SzNGFRKFrTRCQ8y5dXNKEedruMA9nh2toG39FZt48iS" ], "script": "base64:AAIEAAAAAAAAAA8IAhIFCgMIAQESABIAEgAAAAAJAAAAAARWT1RFAQAAACAIZYS3D/CKahrz4mjoLgiQJMPTJ1gDzSz2Ll4L39oVpAAAAAAidm90aW5nX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQEAAAAgG71LvoftgLN5LoDoTEAt274Hm4nt5A5pW1Ja7yxUD20AAAAAEmNvbnRyb2xsZXJfYWRkcmVzcwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAidm90aW5nX3RpbWVzdGFtcF9jb250cm9sbGVyX3B1YmtleQAAAAAMbGF1bmNoX2Vycm9yAgAAACREYXBwIHdpbGwgc3RhcnQgVm90aW5nIGF0IFRpbWVzdGFtcCAAAAAAA21zZwIAAAAtPGgxPllvdSBWb3RlIFN1Ym1pdHRlZCBTdWNjZXNzZnVsbHkhPC9oMT48YnI+AAAAAAlweW10ZXJyb3ICAAAANURBcHAgTmVlZCAwLjAwMDAwMDAxIFZPVEUgVG9rZW4gYXMgQXR0YWNoIHBheW1lbnRbMV0uAAAAAAttaW5iYWxlcnJvcgIAAABwTW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VXNlcl90b3RhbF9Wb3RlcwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAARVXNlcl9Ub3RhbF9Wb3Rlc18FAAAABnB1YmtleQIAAAABLQUAAAAHVm90ZUFzdAUAAAAGVVRXVkZBCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAABdVc2VyX1RvdGFsX0Fzc2V0X1ZvdGVzXwUAAAAGcHVia2V5AgAAAAFfBQAAAAdWb3RlQXN0BQAAAAVVVFZGQQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdtZXNzYWdlBQAAAANtc2cFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5dXEwZw==", "height": 2521693, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DTPU6auPHB1WsKPt6xdSAG12kUb1w7Di5UhiqzMLoaJv Next: HKN61wgzZussm121xetFsG2rAx11AAknUUA3ZzNjR4ds Diff:
Old | New | Differences | |
---|---|---|---|
34 | 34 | else 0 | |
35 | 35 | } | |
36 | 36 | let t = (q + 1) | |
37 | - | if ((size(k) > | |
38 | - | then throw("Subject Char Limits are Over. Reduce length less than | |
37 | + | if ((size(k) > 5100)) | |
38 | + | then throw("Subject Char Limits are Over. Reduce length less than 5100 Char.") | |
39 | 39 | else if ((j.caller != c)) | |
40 | 40 | then throw((("This Address is not Authorized. Only " + toString(c)) + " is Authorized Address to Sign it.")) | |
41 | 41 | else [StringEntry(("Proposal Data_" + toString(t)), k), IntegerEntry("Total_Proposals", t), StringEntry(("Proposer_" + toString(t)), p), IntegerEntry(("Voting_Start_TimeStamp_" + toString(t)), n), IntegerEntry(("Voting_End_TimeStamp_" + toString(t)), o)] |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 4 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | 6 | let b = base58'2sHRUrJCMpDhAQEcN7Zhk3LqnD9zizebpxeQXpPoscQU' | |
7 | 7 | ||
8 | 8 | let c = addressFromPublicKey(b) | |
9 | 9 | ||
10 | 10 | let d = "Dapp will start Voting at Timestamp " | |
11 | 11 | ||
12 | 12 | let e = "<h1>You Vote Submitted Successfully!</h1><br>" | |
13 | 13 | ||
14 | 14 | let f = "DApp Need 0.00000001 VOTE Token as Attach payment[1]." | |
15 | 15 | ||
16 | 16 | let g = "Min. 0.00000001 VOTE required on Your Address to Vote. Please Mint or hold min. 0.00000001 VOTE on this Address." | |
17 | 17 | ||
18 | 18 | let h = (("Incorrect asset attach, please attach " + toBase58String(a)) + " AssetID Only.") | |
19 | 19 | ||
20 | 20 | let i = "Voting is Over for this Dapp." | |
21 | 21 | ||
22 | 22 | @Callable(j) | |
23 | 23 | func SetVotingTimeStamps (k,l,m) = { | |
24 | 24 | let n = l | |
25 | 25 | let o = m | |
26 | 26 | let p = toBase58String(j.caller.bytes) | |
27 | 27 | let q = { | |
28 | 28 | let r = getInteger(this, "Total_Proposals") | |
29 | 29 | if ($isInstanceOf(r, "Int")) | |
30 | 30 | then { | |
31 | 31 | let s = r | |
32 | 32 | s | |
33 | 33 | } | |
34 | 34 | else 0 | |
35 | 35 | } | |
36 | 36 | let t = (q + 1) | |
37 | - | if ((size(k) > | |
38 | - | then throw("Subject Char Limits are Over. Reduce length less than | |
37 | + | if ((size(k) > 5100)) | |
38 | + | then throw("Subject Char Limits are Over. Reduce length less than 5100 Char.") | |
39 | 39 | else if ((j.caller != c)) | |
40 | 40 | then throw((("This Address is not Authorized. Only " + toString(c)) + " is Authorized Address to Sign it.")) | |
41 | 41 | else [StringEntry(("Proposal Data_" + toString(t)), k), IntegerEntry("Total_Proposals", t), StringEntry(("Proposer_" + toString(t)), p), IntegerEntry(("Voting_Start_TimeStamp_" + toString(t)), n), IntegerEntry(("Voting_End_TimeStamp_" + toString(t)), o)] | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | ||
46 | 46 | @Callable(j) | |
47 | 47 | func Yes () = { | |
48 | 48 | let u = "Yes" | |
49 | 49 | let n = getIntegerValue(this, "Voting_Start_TimeStamp") | |
50 | 50 | let o = getIntegerValue(this, "Voting_End_TimeStamp") | |
51 | 51 | let p = toBase58String(j.caller.bytes) | |
52 | 52 | let v = if ((size(j.payments) == 1)) | |
53 | 53 | then j.payments[0] | |
54 | 54 | else throw(f) | |
55 | 55 | let w = assetBalance(addressFromPublicKey(j.callerPublicKey), a) | |
56 | 56 | let x = { | |
57 | 57 | let r = getInteger(this, "Total_Votes") | |
58 | 58 | if ($isInstanceOf(r, "Int")) | |
59 | 59 | then { | |
60 | 60 | let s = r | |
61 | 61 | s | |
62 | 62 | } | |
63 | 63 | else 0 | |
64 | 64 | } | |
65 | 65 | let y = (x + v.amount) | |
66 | 66 | let z = { | |
67 | 67 | let r = getInteger(this, ("User_Total_Votes_" + p)) | |
68 | 68 | if ($isInstanceOf(r, "Int")) | |
69 | 69 | then { | |
70 | 70 | let s = r | |
71 | 71 | s | |
72 | 72 | } | |
73 | 73 | else 0 | |
74 | 74 | } | |
75 | 75 | let A = (z + v.amount) | |
76 | 76 | let B = { | |
77 | 77 | let r = getInteger(this, ((("User_Total_Votes_" + p) + "-") + u)) | |
78 | 78 | if ($isInstanceOf(r, "Int")) | |
79 | 79 | then { | |
80 | 80 | let s = r | |
81 | 81 | s | |
82 | 82 | } | |
83 | 83 | else 0 | |
84 | 84 | } | |
85 | 85 | let C = (B + v.amount) | |
86 | 86 | let D = { | |
87 | 87 | let r = getInteger(this, ((("User_Total_Asset_Votes_" + p) + "_") + u)) | |
88 | 88 | if ($isInstanceOf(r, "Int")) | |
89 | 89 | then { | |
90 | 90 | let s = r | |
91 | 91 | s | |
92 | 92 | } | |
93 | 93 | else 0 | |
94 | 94 | } | |
95 | 95 | let E = (D + v.amount) | |
96 | 96 | let F = { | |
97 | 97 | let r = getInteger(this, ("Total_Votes_" + u)) | |
98 | 98 | if ($isInstanceOf(r, "Int")) | |
99 | 99 | then { | |
100 | 100 | let s = r | |
101 | 101 | s | |
102 | 102 | } | |
103 | 103 | else 0 | |
104 | 104 | } | |
105 | 105 | let G = (F + v.amount) | |
106 | 106 | if ((n > lastBlock.timestamp)) | |
107 | 107 | then throw((d + toString(n))) | |
108 | 108 | else if ((1 > w)) | |
109 | 109 | then throw(g) | |
110 | 110 | else if ((v.assetId != a)) | |
111 | 111 | then throw(h) | |
112 | 112 | else if ((lastBlock.timestamp > o)) | |
113 | 113 | then throw(i) | |
114 | 114 | else [IntegerEntry("Total_Votes", y), IntegerEntry(("Total_Votes_" + u), G), IntegerEntry(("User_Total_Votes_" + p), A), IntegerEntry(((("User_Total_Votes_" + p) + "-") + u), C), IntegerEntry(((("User_Total_Asset_Votes_" + p) + "_") + u), E), StringEntry("message", e)] | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | ||
119 | 119 | @Callable(j) | |
120 | 120 | func No () = { | |
121 | 121 | let u = "No" | |
122 | 122 | let n = getIntegerValue(this, "Voting_Start_TimeStamp") | |
123 | 123 | let o = getIntegerValue(this, "Voting_End_TimeStamp") | |
124 | 124 | let p = toBase58String(j.caller.bytes) | |
125 | 125 | let v = if ((size(j.payments) == 1)) | |
126 | 126 | then j.payments[0] | |
127 | 127 | else throw(f) | |
128 | 128 | let w = assetBalance(addressFromPublicKey(j.callerPublicKey), a) | |
129 | 129 | let x = { | |
130 | 130 | let r = getInteger(this, "Total_Votes") | |
131 | 131 | if ($isInstanceOf(r, "Int")) | |
132 | 132 | then { | |
133 | 133 | let s = r | |
134 | 134 | s | |
135 | 135 | } | |
136 | 136 | else 0 | |
137 | 137 | } | |
138 | 138 | let y = (x + v.amount) | |
139 | 139 | let z = { | |
140 | 140 | let r = getInteger(this, ("User_Total_Votes_" + p)) | |
141 | 141 | if ($isInstanceOf(r, "Int")) | |
142 | 142 | then { | |
143 | 143 | let s = r | |
144 | 144 | s | |
145 | 145 | } | |
146 | 146 | else 0 | |
147 | 147 | } | |
148 | 148 | let A = (z + v.amount) | |
149 | 149 | let B = { | |
150 | 150 | let r = getInteger(this, ((("User_Total_Votes_" + p) + "-") + u)) | |
151 | 151 | if ($isInstanceOf(r, "Int")) | |
152 | 152 | then { | |
153 | 153 | let s = r | |
154 | 154 | s | |
155 | 155 | } | |
156 | 156 | else 0 | |
157 | 157 | } | |
158 | 158 | let C = (B + v.amount) | |
159 | 159 | let D = { | |
160 | 160 | let r = getInteger(this, ((("User_Total_Asset_Votes_" + p) + "_") + u)) | |
161 | 161 | if ($isInstanceOf(r, "Int")) | |
162 | 162 | then { | |
163 | 163 | let s = r | |
164 | 164 | s | |
165 | 165 | } | |
166 | 166 | else 0 | |
167 | 167 | } | |
168 | 168 | let E = (D + v.amount) | |
169 | 169 | let F = { | |
170 | 170 | let r = getInteger(this, ("Total_Votes_" + u)) | |
171 | 171 | if ($isInstanceOf(r, "Int")) | |
172 | 172 | then { | |
173 | 173 | let s = r | |
174 | 174 | s | |
175 | 175 | } | |
176 | 176 | else 0 | |
177 | 177 | } | |
178 | 178 | let G = (F + v.amount) | |
179 | 179 | if ((n > lastBlock.timestamp)) | |
180 | 180 | then throw((d + toString(n))) | |
181 | 181 | else if ((1 > w)) | |
182 | 182 | then throw(g) | |
183 | 183 | else if ((v.assetId != a)) | |
184 | 184 | then throw(h) | |
185 | 185 | else if ((lastBlock.timestamp > o)) | |
186 | 186 | then throw(i) | |
187 | 187 | else [IntegerEntry("Total_Votes", y), IntegerEntry(("Total_Votes_" + u), G), IntegerEntry(("User_Total_Votes_" + p), A), IntegerEntry(((("User_Total_Votes_" + p) + "-") + u), C), IntegerEntry(((("User_Total_Asset_Votes_" + p) + "_") + u), E), StringEntry("message", e)] | |
188 | 188 | } | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | ||
192 | 192 | @Callable(j) | |
193 | 193 | func Abstain () = { | |
194 | 194 | let u = "Abstain" | |
195 | 195 | let n = getIntegerValue(this, "Voting_Start_TimeStamp") | |
196 | 196 | let o = getIntegerValue(this, "Voting_End_TimeStamp") | |
197 | 197 | let p = toBase58String(j.caller.bytes) | |
198 | 198 | let v = if ((size(j.payments) == 1)) | |
199 | 199 | then j.payments[0] | |
200 | 200 | else throw(f) | |
201 | 201 | let w = assetBalance(addressFromPublicKey(j.callerPublicKey), a) | |
202 | 202 | let x = { | |
203 | 203 | let r = getInteger(this, "Total_Votes") | |
204 | 204 | if ($isInstanceOf(r, "Int")) | |
205 | 205 | then { | |
206 | 206 | let s = r | |
207 | 207 | s | |
208 | 208 | } | |
209 | 209 | else 0 | |
210 | 210 | } | |
211 | 211 | let y = (x + v.amount) | |
212 | 212 | let z = { | |
213 | 213 | let r = getInteger(this, ("User_Total_Votes_" + p)) | |
214 | 214 | if ($isInstanceOf(r, "Int")) | |
215 | 215 | then { | |
216 | 216 | let s = r | |
217 | 217 | s | |
218 | 218 | } | |
219 | 219 | else 0 | |
220 | 220 | } | |
221 | 221 | let A = (z + v.amount) | |
222 | 222 | let B = { | |
223 | 223 | let r = getInteger(this, ((("User_Total_Votes_" + p) + "-") + u)) | |
224 | 224 | if ($isInstanceOf(r, "Int")) | |
225 | 225 | then { | |
226 | 226 | let s = r | |
227 | 227 | s | |
228 | 228 | } | |
229 | 229 | else 0 | |
230 | 230 | } | |
231 | 231 | let C = (B + v.amount) | |
232 | 232 | let D = { | |
233 | 233 | let r = getInteger(this, ((("User_Total_Asset_Votes_" + p) + "_") + u)) | |
234 | 234 | if ($isInstanceOf(r, "Int")) | |
235 | 235 | then { | |
236 | 236 | let s = r | |
237 | 237 | s | |
238 | 238 | } | |
239 | 239 | else 0 | |
240 | 240 | } | |
241 | 241 | let E = (D + v.amount) | |
242 | 242 | let F = { | |
243 | 243 | let r = getInteger(this, ("Total_Votes_" + u)) | |
244 | 244 | if ($isInstanceOf(r, "Int")) | |
245 | 245 | then { | |
246 | 246 | let s = r | |
247 | 247 | s | |
248 | 248 | } | |
249 | 249 | else 0 | |
250 | 250 | } | |
251 | 251 | let G = (F + v.amount) | |
252 | 252 | if ((n > lastBlock.timestamp)) | |
253 | 253 | then throw((d + toString(n))) | |
254 | 254 | else if ((1 > w)) | |
255 | 255 | then throw(g) | |
256 | 256 | else if ((v.assetId != a)) | |
257 | 257 | then throw(h) | |
258 | 258 | else if ((lastBlock.timestamp > o)) | |
259 | 259 | then throw(i) | |
260 | 260 | else [IntegerEntry("Total_Votes", y), IntegerEntry(("Total_Votes_" + u), G), IntegerEntry(("User_Total_Votes_" + p), A), IntegerEntry(((("User_Total_Votes_" + p) + "-") + u), C), IntegerEntry(((("User_Total_Asset_Votes_" + p) + "_") + u), E), StringEntry("message", e)] | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | @Verifier(H) | |
265 | 265 | func I () = sigVerify(H.bodyBytes, H.proofs[0], H.senderPublicKey) | |
266 | 266 |
github/deemru/w8io/026f985 55.48 ms ◑