tx · Ck8PqZEUqe6Bgjkjeq55G5Y5kCc5uHpt9WEi93xKTGpR 3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o: -0.01400000 Waves 2022.02.15 06:25 [1924202] smart account 3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o > SELF 0.00000000 Waves
{ "type": 13, "id": "Ck8PqZEUqe6Bgjkjeq55G5Y5kCc5uHpt9WEi93xKTGpR", "fee": 1400000, "feeAssetId": null, "timestamp": 1644895537933, "version": 2, "chainId": 84, "sender": "3MxDZyaTeq2tmRiUjYpUMDVPouwNuxTgy9o", "senderPublicKey": "2r5AmvKGTf8CAqq9Z2wuRCmchMxu1pxYgRktf1US1t89", "proofs": [ "2XcrSn9TK8vmyX5eJ4EbJVBdKLBwZQnBcKUR4EX6nFwdcAshJQHKvt8Z6AuC8AsG2UJBXmGfnBXb7sfNV4szgeEx" ], "script": "base64:AAIEAAAAAAAAAAoIAhIAEgASABIAAAAAFAAAAAADQTRBAQAAACAIZYS3D/CKahrz4mjoLgiQJMPTJ1gDzSz2Ll4L39oVpAAAAAAITW9udGgwVFMAAAABe/qZ+UAAAAAABHdlZWsAAAAAAIsLtAAAAAAACXBhdXNldGltZQkAAGgAAAACAAAAAAAFJlwAAAAAAAAAAAAHAAAAAAlBdHRhY2hmZWUAAAAAAAAehIAAAAAADGN1cnJlbnRtb250aAkAAGQAAAACCQAAaQAAAAIJAABlAAAAAggFAAAACWxhc3RCbG9jawAAAAl0aW1lc3RhbXAFAAAACE1vbnRoMFRTBQAAAAR3ZWVrAAAAAAAAAAABAAAAAAhzdHJtb250aAkAAaQAAAABBQAAAAxjdXJyZW50bW9udGgAAAAAD1RTVXB0b1Bhc3RNb250aAkAAGQAAAACBQAAAAhNb250aDBUUwkAAGgAAAACCQAAZQAAAAIFAAAADGN1cnJlbnRtb250aAAAAAAAAAAAAQUAAAAEd2VlawAAAAAPdm90aW5ncGF1c2V0aW1lCQAAZAAAAAIFAAAAD1RTVXB0b1Bhc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gkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgIAAAARVXNlcl9Ub3RhbF9Wb3Rlc18FAAAABnB1YmtleQUAAAAEVVRWTwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIFAAAACHN0cm1vbnRoAgAAABJfVXNlcl9Ub3RhbF9Wb3Rlc18FAAAABnB1YmtleQUAAAAFVVRXVk8JAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAIc3RybW9udGgCAAAAEl9Vc2VyX1RvdGFsX1ZvdGVzXwUAAAAGcHVia2V5AgAAAAEtBQAAAAdWb3RlQXN0BQAAAAZVVFdWRkEJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAF1VzZXJfVG90YWxfQXNzZXRfVm90ZXNfBQAAAAZwdWJrZXkCAAAAAV8FAAAAB1ZvdGVBc3QFAAAABVVUVkZBCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMJAQAAABRhZGRyZXNzRnJvbVB1YmxpY0tleQAAAAEFAAAACkZlZUFkZHJlc3MIBQAAAANwbXQAAAAGYW1vdW50BQAAAANBNEEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAHbWVzc2FnZQUAAAADbXNnBQAAAANuaWwAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleb2jznI=", "height": 1924202, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: QebgCKzmmvhSiu7GJSD6QZYrv2JifZmAMqxkADMWEsm Next: ApjhhNi7BGS8Ndn1zTFvwvU68s1U3rVs9CzaZSuN6au1 Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = base58'Zn3cLHW7aAVPm5aACcTjvg7e7iEy2cKDtbowok5qa9H' | |
5 | 5 | ||
6 | - | let b = | |
6 | + | let b = 1631997000000 | |
7 | 7 | ||
8 | 8 | let c = 2332800000 | |
9 | 9 | ||
29 | 29 | ||
30 | 30 | let n = "Please Attach Exact 0.02 A4A To Vote." | |
31 | 31 | ||
32 | - | let o = (((g + " Voting is paused for Next ") + toString(((i - lastBlock.timestamp) / 60000))) + " Minutes") | |
32 | + | let o = (((g + "th Voting is paused for Next ") + toString(((i - lastBlock.timestamp) / 60000))) + " Minutes") | |
33 | 33 | ||
34 | 34 | let p = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' | |
35 | 35 |
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 | - | let b = | |
6 | + | let b = 1631997000000 | |
7 | 7 | ||
8 | 8 | let c = 2332800000 | |
9 | 9 | ||
10 | 10 | let d = (86400000 * 7) | |
11 | 11 | ||
12 | 12 | let e = 2000000 | |
13 | 13 | ||
14 | 14 | let f = (((lastBlock.timestamp - b) / c) + 1) | |
15 | 15 | ||
16 | 16 | let g = toString(f) | |
17 | 17 | ||
18 | 18 | let h = (b + ((f - 1) * c)) | |
19 | 19 | ||
20 | 20 | let i = (h + d) | |
21 | 21 | ||
22 | 22 | let j = "<h1>You Voted Successfully (Monthly)!</h1><br>" | |
23 | 23 | ||
24 | 24 | let k = "DApp Need 0.02 A4A Token as Attach payment[1]." | |
25 | 25 | ||
26 | 26 | let l = "Min. 1 A4A required on Your Address to Vote. Please Mint or hold min. 1 A4A on this Address." | |
27 | 27 | ||
28 | 28 | let m = (("Incorrect asset attach, please attach " + toBase58String(a)) + " AssetID Only.") | |
29 | 29 | ||
30 | 30 | let n = "Please Attach Exact 0.02 A4A To Vote." | |
31 | 31 | ||
32 | - | let o = (((g + " Voting is paused for Next ") + toString(((i - lastBlock.timestamp) / 60000))) + " Minutes") | |
32 | + | let o = (((g + "th Voting is paused for Next ") + toString(((i - lastBlock.timestamp) / 60000))) + " Minutes") | |
33 | 33 | ||
34 | 34 | let p = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR' | |
35 | 35 | ||
36 | 36 | let q = { | |
37 | 37 | let r = getInteger(this, "Total_Txns") | |
38 | 38 | if ($isInstanceOf(r, "Int")) | |
39 | 39 | then { | |
40 | 40 | let s = r | |
41 | 41 | s | |
42 | 42 | } | |
43 | 43 | else 0 | |
44 | 44 | } | |
45 | 45 | ||
46 | 46 | let t = (q + 1) | |
47 | 47 | ||
48 | 48 | let u = { | |
49 | 49 | let r = getInteger(this, (g + "_Total_Txns")) | |
50 | 50 | if ($isInstanceOf(r, "Int")) | |
51 | 51 | then { | |
52 | 52 | let s = r | |
53 | 53 | s | |
54 | 54 | } | |
55 | 55 | else 0 | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | let v = (u + 1) | |
59 | 59 | ||
60 | 60 | @Callable(w) | |
61 | 61 | func FIRO () = { | |
62 | 62 | let x = "Firo" | |
63 | 63 | let y = if ((size(w.payments) == 1)) | |
64 | 64 | then w.payments[0] | |
65 | 65 | else throw(k) | |
66 | 66 | let z = toBase58String(w.caller.bytes) | |
67 | 67 | let A = assetBalance(addressFromPublicKey(w.callerPublicKey), a) | |
68 | 68 | let B = { | |
69 | 69 | let r = getInteger(this, ((g + "_User_Total_Votes_") + z)) | |
70 | 70 | if ($isInstanceOf(r, "Int")) | |
71 | 71 | then { | |
72 | 72 | let s = r | |
73 | 73 | s | |
74 | 74 | } | |
75 | 75 | else 0 | |
76 | 76 | } | |
77 | 77 | let C = (B + 1) | |
78 | 78 | let D = { | |
79 | 79 | let r = getInteger(this, ((((g + "_User_Total_Votes_") + z) + "-") + x)) | |
80 | 80 | if ($isInstanceOf(r, "Int")) | |
81 | 81 | then { | |
82 | 82 | let s = r | |
83 | 83 | s | |
84 | 84 | } | |
85 | 85 | else 0 | |
86 | 86 | } | |
87 | 87 | let E = (D + 1) | |
88 | 88 | let F = { | |
89 | 89 | let r = getInteger(this, ("User_Total_Votes_" + z)) | |
90 | 90 | if ($isInstanceOf(r, "Int")) | |
91 | 91 | then { | |
92 | 92 | let s = r | |
93 | 93 | s | |
94 | 94 | } | |
95 | 95 | else 0 | |
96 | 96 | } | |
97 | 97 | let G = (F + 1) | |
98 | 98 | let H = { | |
99 | 99 | let r = getInteger(this, ((("User_Total_Asset_Votes_" + z) + "_") + x)) | |
100 | 100 | if ($isInstanceOf(r, "Int")) | |
101 | 101 | then { | |
102 | 102 | let s = r | |
103 | 103 | s | |
104 | 104 | } | |
105 | 105 | else 0 | |
106 | 106 | } | |
107 | 107 | let I = (H + 1) | |
108 | 108 | let J = { | |
109 | 109 | let r = getInteger(this, ("Total_Votes_" + x)) | |
110 | 110 | if ($isInstanceOf(r, "Int")) | |
111 | 111 | then { | |
112 | 112 | let s = r | |
113 | 113 | s | |
114 | 114 | } | |
115 | 115 | else 0 | |
116 | 116 | } | |
117 | 117 | let K = (J + 1) | |
118 | 118 | let L = { | |
119 | 119 | let r = getInteger(this, ((g + "_Total_Votes_") + x)) | |
120 | 120 | if ($isInstanceOf(r, "Int")) | |
121 | 121 | then { | |
122 | 122 | let s = r | |
123 | 123 | s | |
124 | 124 | } | |
125 | 125 | else 0 | |
126 | 126 | } | |
127 | 127 | let M = (L + 1) | |
128 | 128 | if ((100000000 > A)) | |
129 | 129 | then throw(l) | |
130 | 130 | else if ((y.assetId != a)) | |
131 | 131 | then throw(m) | |
132 | 132 | else if ((y.amount != e)) | |
133 | 133 | then throw(n) | |
134 | 134 | else if ((i > lastBlock.timestamp)) | |
135 | 135 | then throw(o) | |
136 | 136 | else [IntegerEntry("Total_Txns", t), IntegerEntry((g + "_Total_Txns"), v), IntegerEntry("Current_Voting_Month", f), IntegerEntry(("Total_Votes_" + x), K), IntegerEntry(((g + "_Total_Votes_") + x), M), IntegerEntry(("User_Total_Votes_" + z), G), IntegerEntry(((g + "_User_Total_Votes_") + z), C), IntegerEntry(((((g + "_User_Total_Votes_") + z) + "-") + x), E), IntegerEntry(((("User_Total_Asset_Votes_" + z) + "_") + x), I), ScriptTransfer(addressFromPublicKey(p), y.amount, a), StringEntry("message", j)] | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | ||
141 | 141 | @Callable(w) | |
142 | 142 | func RTM () = { | |
143 | 143 | let x = "Raptoreum" | |
144 | 144 | let y = if ((size(w.payments) == 1)) | |
145 | 145 | then w.payments[0] | |
146 | 146 | else throw(k) | |
147 | 147 | let z = toBase58String(w.caller.bytes) | |
148 | 148 | let A = assetBalance(addressFromPublicKey(w.callerPublicKey), a) | |
149 | 149 | let B = { | |
150 | 150 | let r = getInteger(this, ((g + "_User_Total_Votes_") + z)) | |
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 + 1) | |
159 | 159 | let D = { | |
160 | 160 | let r = getInteger(this, ((((g + "_User_Total_Votes_") + z) + "-") + x)) | |
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 + 1) | |
169 | 169 | let F = { | |
170 | 170 | let r = getInteger(this, ("User_Total_Votes_" + z)) | |
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 + 1) | |
179 | 179 | let H = { | |
180 | 180 | let r = getInteger(this, ((("User_Total_Asset_Votes_" + z) + "_") + x)) | |
181 | 181 | if ($isInstanceOf(r, "Int")) | |
182 | 182 | then { | |
183 | 183 | let s = r | |
184 | 184 | s | |
185 | 185 | } | |
186 | 186 | else 0 | |
187 | 187 | } | |
188 | 188 | let I = (H + 1) | |
189 | 189 | let J = { | |
190 | 190 | let r = getInteger(this, ("Total_Votes_" + x)) | |
191 | 191 | if ($isInstanceOf(r, "Int")) | |
192 | 192 | then { | |
193 | 193 | let s = r | |
194 | 194 | s | |
195 | 195 | } | |
196 | 196 | else 0 | |
197 | 197 | } | |
198 | 198 | let K = (J + 1) | |
199 | 199 | let L = { | |
200 | 200 | let r = getInteger(this, ((g + "_Total_Votes_") + x)) | |
201 | 201 | if ($isInstanceOf(r, "Int")) | |
202 | 202 | then { | |
203 | 203 | let s = r | |
204 | 204 | s | |
205 | 205 | } | |
206 | 206 | else 0 | |
207 | 207 | } | |
208 | 208 | let M = (L + 1) | |
209 | 209 | if ((100000000 > A)) | |
210 | 210 | then throw(l) | |
211 | 211 | else if ((y.assetId != a)) | |
212 | 212 | then throw(m) | |
213 | 213 | else if ((y.amount != e)) | |
214 | 214 | then throw(n) | |
215 | 215 | else if ((i > lastBlock.timestamp)) | |
216 | 216 | then throw(o) | |
217 | 217 | else [IntegerEntry("Total_Txns", t), IntegerEntry((g + "_Total_Txns"), v), IntegerEntry("Current_Voting_Month", f), IntegerEntry(("Total_Votes_" + x), K), IntegerEntry(((g + "_Total_Votes_") + x), M), IntegerEntry(("User_Total_Votes_" + z), G), IntegerEntry(((g + "_User_Total_Votes_") + z), C), IntegerEntry(((((g + "_User_Total_Votes_") + z) + "-") + x), E), IntegerEntry(((("User_Total_Asset_Votes_" + z) + "_") + x), I), ScriptTransfer(addressFromPublicKey(p), y.amount, a), StringEntry("message", j)] | |
218 | 218 | } | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | ||
222 | 222 | @Callable(w) | |
223 | 223 | func BAT () = { | |
224 | 224 | let x = "AttentionToken" | |
225 | 225 | let y = if ((size(w.payments) == 1)) | |
226 | 226 | then w.payments[0] | |
227 | 227 | else throw(k) | |
228 | 228 | let z = toBase58String(w.caller.bytes) | |
229 | 229 | let A = assetBalance(addressFromPublicKey(w.callerPublicKey), a) | |
230 | 230 | let B = { | |
231 | 231 | let r = getInteger(this, ((g + "_User_Total_Votes_") + z)) | |
232 | 232 | if ($isInstanceOf(r, "Int")) | |
233 | 233 | then { | |
234 | 234 | let s = r | |
235 | 235 | s | |
236 | 236 | } | |
237 | 237 | else 0 | |
238 | 238 | } | |
239 | 239 | let C = (B + 1) | |
240 | 240 | let D = { | |
241 | 241 | let r = getInteger(this, ((((g + "_User_Total_Votes_") + z) + "-") + x)) | |
242 | 242 | if ($isInstanceOf(r, "Int")) | |
243 | 243 | then { | |
244 | 244 | let s = r | |
245 | 245 | s | |
246 | 246 | } | |
247 | 247 | else 0 | |
248 | 248 | } | |
249 | 249 | let E = (D + 1) | |
250 | 250 | let F = { | |
251 | 251 | let r = getInteger(this, ("User_Total_Votes_" + z)) | |
252 | 252 | if ($isInstanceOf(r, "Int")) | |
253 | 253 | then { | |
254 | 254 | let s = r | |
255 | 255 | s | |
256 | 256 | } | |
257 | 257 | else 0 | |
258 | 258 | } | |
259 | 259 | let G = (F + 1) | |
260 | 260 | let H = { | |
261 | 261 | let r = getInteger(this, ((("User_Total_Asset_Votes_" + z) + "_") + x)) | |
262 | 262 | if ($isInstanceOf(r, "Int")) | |
263 | 263 | then { | |
264 | 264 | let s = r | |
265 | 265 | s | |
266 | 266 | } | |
267 | 267 | else 0 | |
268 | 268 | } | |
269 | 269 | let I = (H + 1) | |
270 | 270 | let J = { | |
271 | 271 | let r = getInteger(this, ("Total_Votes_" + x)) | |
272 | 272 | if ($isInstanceOf(r, "Int")) | |
273 | 273 | then { | |
274 | 274 | let s = r | |
275 | 275 | s | |
276 | 276 | } | |
277 | 277 | else 0 | |
278 | 278 | } | |
279 | 279 | let K = (J + 1) | |
280 | 280 | let L = { | |
281 | 281 | let r = getInteger(this, ((g + "_Total_Votes_") + x)) | |
282 | 282 | if ($isInstanceOf(r, "Int")) | |
283 | 283 | then { | |
284 | 284 | let s = r | |
285 | 285 | s | |
286 | 286 | } | |
287 | 287 | else 0 | |
288 | 288 | } | |
289 | 289 | let M = (L + 1) | |
290 | 290 | if ((100000000 > A)) | |
291 | 291 | then throw(l) | |
292 | 292 | else if ((y.assetId != a)) | |
293 | 293 | then throw(m) | |
294 | 294 | else if ((y.amount != e)) | |
295 | 295 | then throw(n) | |
296 | 296 | else if ((i > lastBlock.timestamp)) | |
297 | 297 | then throw(o) | |
298 | 298 | else [IntegerEntry("Total_Txns", t), IntegerEntry((g + "_Total_Txns"), v), IntegerEntry("Current_Voting_Month", f), IntegerEntry(("Total_Votes_" + x), K), IntegerEntry(((g + "_Total_Votes_") + x), M), IntegerEntry(("User_Total_Votes_" + z), G), IntegerEntry(((g + "_User_Total_Votes_") + z), C), IntegerEntry(((((g + "_User_Total_Votes_") + z) + "-") + x), E), IntegerEntry(((("User_Total_Asset_Votes_" + z) + "_") + x), I), ScriptTransfer(addressFromPublicKey(p), y.amount, a), StringEntry("message", j)] | |
299 | 299 | } | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | ||
303 | 303 | @Callable(w) | |
304 | 304 | func SUSHI () = { | |
305 | 305 | let x = "Sushi" | |
306 | 306 | let y = if ((size(w.payments) == 1)) | |
307 | 307 | then w.payments[0] | |
308 | 308 | else throw(k) | |
309 | 309 | let z = toBase58String(w.caller.bytes) | |
310 | 310 | let A = assetBalance(addressFromPublicKey(w.callerPublicKey), a) | |
311 | 311 | let B = { | |
312 | 312 | let r = getInteger(this, ((g + "_User_Total_Votes_") + z)) | |
313 | 313 | if ($isInstanceOf(r, "Int")) | |
314 | 314 | then { | |
315 | 315 | let s = r | |
316 | 316 | s | |
317 | 317 | } | |
318 | 318 | else 0 | |
319 | 319 | } | |
320 | 320 | let C = (B + 1) | |
321 | 321 | let D = { | |
322 | 322 | let r = getInteger(this, ((((g + "_User_Total_Votes_") + z) + "-") + x)) | |
323 | 323 | if ($isInstanceOf(r, "Int")) | |
324 | 324 | then { | |
325 | 325 | let s = r | |
326 | 326 | s | |
327 | 327 | } | |
328 | 328 | else 0 | |
329 | 329 | } | |
330 | 330 | let E = (D + 1) | |
331 | 331 | let F = { | |
332 | 332 | let r = getInteger(this, ("User_Total_Votes_" + z)) | |
333 | 333 | if ($isInstanceOf(r, "Int")) | |
334 | 334 | then { | |
335 | 335 | let s = r | |
336 | 336 | s | |
337 | 337 | } | |
338 | 338 | else 0 | |
339 | 339 | } | |
340 | 340 | let G = (F + 1) | |
341 | 341 | let H = { | |
342 | 342 | let r = getInteger(this, ((("User_Total_Asset_Votes_" + z) + "_") + x)) | |
343 | 343 | if ($isInstanceOf(r, "Int")) | |
344 | 344 | then { | |
345 | 345 | let s = r | |
346 | 346 | s | |
347 | 347 | } | |
348 | 348 | else 0 | |
349 | 349 | } | |
350 | 350 | let I = (H + 1) | |
351 | 351 | let J = { | |
352 | 352 | let r = getInteger(this, ("Total_Votes_" + x)) | |
353 | 353 | if ($isInstanceOf(r, "Int")) | |
354 | 354 | then { | |
355 | 355 | let s = r | |
356 | 356 | s | |
357 | 357 | } | |
358 | 358 | else 0 | |
359 | 359 | } | |
360 | 360 | let K = (J + 1) | |
361 | 361 | let L = { | |
362 | 362 | let r = getInteger(this, ((g + "_Total_Votes_") + x)) | |
363 | 363 | if ($isInstanceOf(r, "Int")) | |
364 | 364 | then { | |
365 | 365 | let s = r | |
366 | 366 | s | |
367 | 367 | } | |
368 | 368 | else 0 | |
369 | 369 | } | |
370 | 370 | let M = (L + 1) | |
371 | 371 | if ((100000000 > A)) | |
372 | 372 | then throw(l) | |
373 | 373 | else if ((y.assetId != a)) | |
374 | 374 | then throw(m) | |
375 | 375 | else if ((y.amount != e)) | |
376 | 376 | then throw(n) | |
377 | 377 | else if ((i > lastBlock.timestamp)) | |
378 | 378 | then throw(o) | |
379 | 379 | else [IntegerEntry("Total_Txns", t), IntegerEntry((g + "_Total_Txns"), v), IntegerEntry("Current_Voting_Month", f), IntegerEntry(("Total_Votes_" + x), K), IntegerEntry(((g + "_Total_Votes_") + x), M), IntegerEntry(("User_Total_Votes_" + z), G), IntegerEntry(((g + "_User_Total_Votes_") + z), C), IntegerEntry(((((g + "_User_Total_Votes_") + z) + "-") + x), E), IntegerEntry(((("User_Total_Asset_Votes_" + z) + "_") + x), I), ScriptTransfer(addressFromPublicKey(p), y.amount, a), StringEntry("message", j)] | |
380 | 380 | } | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | @Verifier(N) | |
384 | 384 | func O () = sigVerify(N.bodyBytes, N.proofs[0], N.senderPublicKey) | |
385 | 385 |
github/deemru/w8io/169f3d6 51.70 ms ◑