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