tx · Khmq639Xd5rgp79akiX4ndfqAVfQy5RoQmEgQ6LdrkW

3N7iCDkRtfMpJEmdEixmsfsGCiS3YE2xTGt:  -0.01400000 Waves

2021.10.23 01:52 [1758138] smart account 3N7iCDkRtfMpJEmdEixmsfsGCiS3YE2xTGt > SELF 0.00000000 Waves

{ "type": 13, "id": "Khmq639Xd5rgp79akiX4ndfqAVfQy5RoQmEgQ6LdrkW", "fee": 1400000, "feeAssetId": null, "timestamp": 1634943246902, "version": 2, "chainId": 84, "sender": "3N7iCDkRtfMpJEmdEixmsfsGCiS3YE2xTGt", "senderPublicKey": "H8ryvZsTZfdP1caLwf7Zq8mumWRJoahERzahFwWHaQ1W", "proofs": [ "5cDBoa2Ftv7SyABQtiGzcf3DVJbWaR51SNUCVji2HfKCYWkkQkH77yFo4jKcxbuypzZ5F9waV9eo6HKVLy1PdGJL" ], "script": "base64:AAIEAAAAAAAAAAoIAhIAEgASABIAAAAAEwAAAAADQTRBAQAAACD+xBrh3u/naSJ9Eujvd+1d33EPvCCH0lpodP3xbghYNwAAAAAITW9udGgwVFMAAAABfHtY9UAAAAAABHdlZWsAAAAAAE0/ZAAAAAAACXBhdXNldGltZQkAAGgAAAACAAAAAAAFJlwAAAAAAAAAAAAHAAAAAAxjdXJyZW50bW9udGgJAABkAAAAAgkAAGkAAAACCQAAZQAAAAIIBQAAAAlsYXN0QmxvY2sAAAAJdGltZXN0YW1wBQAAAAhNb250aDBUUwUAAAAEd2VlawAAAAAAAAAAAQAAAAAIc3RybW9udGgJAAGkAAAAAQUAAAAMY3VycmVudG1vbnRoAAAAAA9UU1VwdG9QYXN0TW9udGgJAABkAAAAAgUAAAAITW9udGgwVFMJAABoAAAAAgkAAGUAAAACBQAAAAxjdXJyZW50bW9udGgAAAAAAAAAAAEFAAAABHdlZWsAAAAAD3ZvdGluZ3BhdXNldGltZQkAAGQAAAACBQAAAA9UU1VwdG9QYXN0TW9udGgFAAAACXBhdXNldGltZQAAAAADbXNnAgAAAC88aDE+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QAAAARVVFZPCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAIc3RybW9udGgCAAAAEl9Vc2VyX1RvdGFsX1ZvdGVzXwUAAAAGcHVia2V5BQAAAAVVVFdWTwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACBQAAAAhzdHJtb250aAIAAAASX1VzZXJfVG90YWxfVm90ZXNfBQAAAAZwdWJrZXkCAAAAAS0FAAAAB1ZvdGVBc3QFAAAABlVUV1ZGQQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgIAAAAXVXNlcl9Ub3RhbF9Bc3NldF9Wb3Rlc18FAAAABnB1YmtleQIAAAABXwUAAAAHVm90ZUFzdAUAAAAFVVRWRkEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwkBAAAAFGFkZHJlc3NGcm9tUHVibGljS2V5AAAAAQUAAAAKRmVlQWRkcmVzcwgFAAAAA3BtdAAAAAZhbW91bnQFAAAAA0E0QQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAAdtZXNzYWdlBQAAAANtc2cFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V54nYfAg==", "height": 1758138, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4UatsA84EKZmbqdV7oSXHoYNtM9dcJBnyFgSxda7VbLM Next: none Diff:
OldNewDifferences
2929
3030 let n = (("Voting is paused for Next " + toString(((h - lastBlock.timestamp) / 60000))) + " Minutes")
3131
32-let o = {
33- let p = getInteger(this, "Total_Txns")
34- if ($isInstanceOf(p, "Int"))
32+let o = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
33+
34+let p = {
35+ let q = getInteger(this, "Total_Txns")
36+ if ($isInstanceOf(q, "Int"))
3537 then {
36- let q = p
37- q
38+ let r = q
39+ r
3840 }
3941 else 0
4042 }
4143
42-let r = (o + 1)
44+let s = (p + 1)
4345
44-let s = {
45- let p = getInteger(this, (f + "_Total_Txns"))
46- if ($isInstanceOf(p, "Int"))
46+let t = {
47+ let q = getInteger(this, (f + "_Total_Txns"))
48+ if ($isInstanceOf(q, "Int"))
4749 then {
48- let q = p
49- q
50+ let r = q
51+ r
5052 }
5153 else 0
5254 }
5355
54-let t = (s + 1)
56+let u = (t + 1)
5557
56-@Callable(u)
58+@Callable(v)
5759 func ARRR () = {
58- let v = "PirateChain"
59- let w = if ((size(u.payments) == 1))
60- then u.payments[0]
60+ let w = "PirateChain"
61+ let x = if ((size(v.payments) == 1))
62+ then v.payments[0]
6163 else throw(j)
62- let x = toBase58String(u.caller.bytes)
63- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
64- let z = {
65- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
66- if ($isInstanceOf(p, "Int"))
64+ let y = toBase58String(v.caller.bytes)
65+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
66+ let A = {
67+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
68+ if ($isInstanceOf(q, "Int"))
6769 then {
68- let q = p
69- q
70+ let r = q
71+ r
7072 }
7173 else 0
7274 }
73- let A = (z + 1)
74- let B = {
75- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
76- if ($isInstanceOf(p, "Int"))
75+ let B = (A + 1)
76+ let C = {
77+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
78+ if ($isInstanceOf(q, "Int"))
7779 then {
78- let q = p
79- q
80+ let r = q
81+ r
8082 }
8183 else 0
8284 }
83- let C = (B + 1)
84- let D = {
85- let p = getInteger(this, ("User_Total_Votes_" + x))
86- if ($isInstanceOf(p, "Int"))
85+ let D = (C + 1)
86+ let E = {
87+ let q = getInteger(this, ("User_Total_Votes_" + y))
88+ if ($isInstanceOf(q, "Int"))
8789 then {
88- let q = p
89- q
90+ let r = q
91+ r
9092 }
9193 else 0
9294 }
93- let E = (D + 1)
94- let F = {
95- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
96- if ($isInstanceOf(p, "Int"))
95+ let F = (E + 1)
96+ let G = {
97+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
98+ if ($isInstanceOf(q, "Int"))
9799 then {
98- let q = p
99- q
100+ let r = q
101+ r
100102 }
101103 else 0
102104 }
103- let G = (F + 1)
104- let H = {
105- let p = getInteger(this, ("Total_Votes_" + v))
106- if ($isInstanceOf(p, "Int"))
105+ let H = (G + 1)
106+ let I = {
107+ let q = getInteger(this, ("Total_Votes_" + w))
108+ if ($isInstanceOf(q, "Int"))
107109 then {
108- let q = p
109- q
110+ let r = q
111+ r
110112 }
111113 else 0
112114 }
113- let I = (H + 1)
114- let J = {
115- let p = getInteger(this, ((f + "_Total_Votes_") + v))
116- if ($isInstanceOf(p, "Int"))
115+ let J = (I + 1)
116+ let K = {
117+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
118+ if ($isInstanceOf(q, "Int"))
117119 then {
118- let q = p
119- q
120+ let r = q
121+ r
120122 }
121123 else 0
122124 }
123- let K = (J + 1)
124- if ((100000000 > y))
125+ let L = (K + 1)
126+ if ((100000000 > z))
125127 then throw(k)
126- else if ((w.assetId != a))
128+ else if ((x.assetId != a))
127129 then throw(l)
128- else if ((w.amount != 100000))
130+ else if ((x.amount != 100000))
129131 then throw(m)
130132 else if ((h > lastBlock.timestamp))
131133 then throw(n)
132- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
133135 }
134136
135137
136138
137-@Callable(u)
139+@Callable(v)
138140 func BAT () = {
139- let v = "AttentionToken"
140- let w = if ((size(u.payments) == 1))
141- then u.payments[0]
141+ let w = "AttentionToken"
142+ let x = if ((size(v.payments) == 1))
143+ then v.payments[0]
142144 else throw(j)
143- let x = toBase58String(u.caller.bytes)
144- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
145- let z = {
146- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
147- if ($isInstanceOf(p, "Int"))
145+ let y = toBase58String(v.caller.bytes)
146+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
147+ let A = {
148+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
149+ if ($isInstanceOf(q, "Int"))
148150 then {
149- let q = p
150- q
151+ let r = q
152+ r
151153 }
152154 else 0
153155 }
154- let A = (z + 1)
155- let B = {
156- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
157- if ($isInstanceOf(p, "Int"))
156+ let B = (A + 1)
157+ let C = {
158+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
159+ if ($isInstanceOf(q, "Int"))
158160 then {
159- let q = p
160- q
161+ let r = q
162+ r
161163 }
162164 else 0
163165 }
164- let C = (B + 1)
165- let D = {
166- let p = getInteger(this, ("User_Total_Votes_" + x))
167- if ($isInstanceOf(p, "Int"))
166+ let D = (C + 1)
167+ let E = {
168+ let q = getInteger(this, ("User_Total_Votes_" + y))
169+ if ($isInstanceOf(q, "Int"))
168170 then {
169- let q = p
170- q
171+ let r = q
172+ r
171173 }
172174 else 0
173175 }
174- let E = (D + 1)
175- let F = {
176- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
177- if ($isInstanceOf(p, "Int"))
176+ let F = (E + 1)
177+ let G = {
178+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
179+ if ($isInstanceOf(q, "Int"))
178180 then {
179- let q = p
180- q
181+ let r = q
182+ r
181183 }
182184 else 0
183185 }
184- let G = (F + 1)
185- let H = {
186- let p = getInteger(this, ("Total_Votes_" + v))
187- if ($isInstanceOf(p, "Int"))
186+ let H = (G + 1)
187+ let I = {
188+ let q = getInteger(this, ("Total_Votes_" + w))
189+ if ($isInstanceOf(q, "Int"))
188190 then {
189- let q = p
190- q
191+ let r = q
192+ r
191193 }
192194 else 0
193195 }
194- let I = (H + 1)
195- let J = {
196- let p = getInteger(this, ((f + "_Total_Votes_") + v))
197- if ($isInstanceOf(p, "Int"))
196+ let J = (I + 1)
197+ let K = {
198+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
199+ if ($isInstanceOf(q, "Int"))
198200 then {
199- let q = p
200- q
201+ let r = q
202+ r
201203 }
202204 else 0
203205 }
204- let K = (J + 1)
205- if ((100000000 > y))
206+ let L = (K + 1)
207+ if ((100000000 > z))
206208 then throw(k)
207- else if ((w.assetId != a))
209+ else if ((x.assetId != a))
208210 then throw(l)
209- else if ((w.amount != 100000))
211+ else if ((x.amount != 100000))
210212 then throw(m)
211213 else if ((h > lastBlock.timestamp))
212214 then throw(n)
213- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
214216 }
215217
216218
217219
218-@Callable(u)
220+@Callable(v)
219221 func PRCY () = {
220- let v = "Privacy"
221- let w = if ((size(u.payments) == 1))
222- then u.payments[0]
222+ let w = "Privacy"
223+ let x = if ((size(v.payments) == 1))
224+ then v.payments[0]
223225 else throw(j)
224- let x = toBase58String(u.caller.bytes)
225- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
226- let z = {
227- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
228- if ($isInstanceOf(p, "Int"))
226+ let y = toBase58String(v.caller.bytes)
227+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
228+ let A = {
229+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
230+ if ($isInstanceOf(q, "Int"))
229231 then {
230- let q = p
231- q
232+ let r = q
233+ r
232234 }
233235 else 0
234236 }
235- let A = (z + 1)
236- let B = {
237- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
238- if ($isInstanceOf(p, "Int"))
237+ let B = (A + 1)
238+ let C = {
239+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
240+ if ($isInstanceOf(q, "Int"))
239241 then {
240- let q = p
241- q
242+ let r = q
243+ r
242244 }
243245 else 0
244246 }
245- let C = (B + 1)
246- let D = {
247- let p = getInteger(this, ("User_Total_Votes_" + x))
248- if ($isInstanceOf(p, "Int"))
247+ let D = (C + 1)
248+ let E = {
249+ let q = getInteger(this, ("User_Total_Votes_" + y))
250+ if ($isInstanceOf(q, "Int"))
249251 then {
250- let q = p
251- q
252+ let r = q
253+ r
252254 }
253255 else 0
254256 }
255- let E = (D + 1)
256- let F = {
257- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
258- if ($isInstanceOf(p, "Int"))
257+ let F = (E + 1)
258+ let G = {
259+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
260+ if ($isInstanceOf(q, "Int"))
259261 then {
260- let q = p
261- q
262+ let r = q
263+ r
262264 }
263265 else 0
264266 }
265- let G = (F + 1)
266- let H = {
267- let p = getInteger(this, ("Total_Votes_" + v))
268- if ($isInstanceOf(p, "Int"))
267+ let H = (G + 1)
268+ let I = {
269+ let q = getInteger(this, ("Total_Votes_" + w))
270+ if ($isInstanceOf(q, "Int"))
269271 then {
270- let q = p
271- q
272+ let r = q
273+ r
272274 }
273275 else 0
274276 }
275- let I = (H + 1)
276- let J = {
277- let p = getInteger(this, ((f + "_Total_Votes_") + v))
278- if ($isInstanceOf(p, "Int"))
277+ let J = (I + 1)
278+ let K = {
279+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
280+ if ($isInstanceOf(q, "Int"))
279281 then {
280- let q = p
281- q
282+ let r = q
283+ r
282284 }
283285 else 0
284286 }
285- let K = (J + 1)
286- if ((100000000 > y))
287+ let L = (K + 1)
288+ if ((100000000 > z))
287289 then throw(k)
288- else if ((w.assetId != a))
290+ else if ((x.assetId != a))
289291 then throw(l)
290- else if ((w.amount != 100000))
292+ else if ((x.amount != 100000))
291293 then throw(m)
292294 else if ((h > lastBlock.timestamp))
293295 then throw(n)
294- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
295297 }
296298
297299
298300
299-@Callable(u)
301+@Callable(v)
300302 func Haven () = {
301- let v = "Haven"
302- let w = if ((size(u.payments) == 1))
303- then u.payments[0]
303+ let w = "Haven"
304+ let x = if ((size(v.payments) == 1))
305+ then v.payments[0]
304306 else throw(j)
305- let x = toBase58String(u.caller.bytes)
306- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
307- let z = {
308- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
309- if ($isInstanceOf(p, "Int"))
307+ let y = toBase58String(v.caller.bytes)
308+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
309+ let A = {
310+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
311+ if ($isInstanceOf(q, "Int"))
310312 then {
311- let q = p
312- q
313+ let r = q
314+ r
313315 }
314316 else 0
315317 }
316- let A = (z + 1)
317- let B = {
318- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
319- if ($isInstanceOf(p, "Int"))
318+ let B = (A + 1)
319+ let C = {
320+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
321+ if ($isInstanceOf(q, "Int"))
320322 then {
321- let q = p
322- q
323+ let r = q
324+ r
323325 }
324326 else 0
325327 }
326- let C = (B + 1)
327- let D = {
328- let p = getInteger(this, ("User_Total_Votes_" + x))
329- if ($isInstanceOf(p, "Int"))
328+ let D = (C + 1)
329+ let E = {
330+ let q = getInteger(this, ("User_Total_Votes_" + y))
331+ if ($isInstanceOf(q, "Int"))
330332 then {
331- let q = p
332- q
333+ let r = q
334+ r
333335 }
334336 else 0
335337 }
336- let E = (D + 1)
337- let F = {
338- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
339- if ($isInstanceOf(p, "Int"))
338+ let F = (E + 1)
339+ let G = {
340+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
341+ if ($isInstanceOf(q, "Int"))
340342 then {
341- let q = p
342- q
343+ let r = q
344+ r
343345 }
344346 else 0
345347 }
346- let G = (F + 1)
347- let H = {
348- let p = getInteger(this, ("Total_Votes_" + v))
349- if ($isInstanceOf(p, "Int"))
348+ let H = (G + 1)
349+ let I = {
350+ let q = getInteger(this, ("Total_Votes_" + w))
351+ if ($isInstanceOf(q, "Int"))
350352 then {
351- let q = p
352- q
353+ let r = q
354+ r
353355 }
354356 else 0
355357 }
356- let I = (H + 1)
357- let J = {
358- let p = getInteger(this, ((f + "_Total_Votes_") + v))
359- if ($isInstanceOf(p, "Int"))
358+ let J = (I + 1)
359+ let K = {
360+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
361+ if ($isInstanceOf(q, "Int"))
360362 then {
361- let q = p
362- q
363+ let r = q
364+ r
363365 }
364366 else 0
365367 }
366- let K = (J + 1)
367- if ((100000000 > y))
368+ let L = (K + 1)
369+ if ((100000000 > z))
368370 then throw(k)
369- else if ((w.assetId != a))
371+ else if ((x.assetId != a))
370372 then throw(l)
371- else if ((w.amount != 100000))
373+ else if ((x.amount != 100000))
372374 then throw(m)
373375 else if ((h > lastBlock.timestamp))
374376 then throw(n)
375- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
376378 }
377379
378380
379-@Verifier(L)
380-func M () = sigVerify(L.bodyBytes, L.proofs[0], L.senderPublicKey)
381+@Verifier(M)
382+func N () = sigVerify(M.bodyBytes, M.proofs[0], M.senderPublicKey)
381383
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'J9VzWPfRSQyCbEv5oWpxLSihigbpbJsGBHJZV9Ct8ook'
55
66 let b = 1634157000000
77
88 let c = 1296000000
99
1010 let d = (86400000 * 7)
1111
1212 let e = (((lastBlock.timestamp - b) / c) + 1)
1313
1414 let f = toString(e)
1515
1616 let g = (b + ((e - 1) * c))
1717
1818 let h = (g + d)
1919
2020 let i = "<h1>Your Voted Successfully (Monthly)!</h1><br>"
2121
2222 let j = "DApp Need 0.001 A4A Token as Attach payment[1]."
2323
2424 let k = "Min. 1 A4A required on Your Address to Vote. Please Mint or hold min. 1 A4A on this Address."
2525
2626 let l = (("Incorrect asset attach, please attach " + toBase58String(a)) + " AssetID Only.")
2727
2828 let m = "Please Attach Exact 0.001 A4A To Vote."
2929
3030 let n = (("Voting is paused for Next " + toString(((h - lastBlock.timestamp) / 60000))) + " Minutes")
3131
32-let o = {
33- let p = getInteger(this, "Total_Txns")
34- if ($isInstanceOf(p, "Int"))
32+let o = base58'6Z73KxcX3sugpiStpSRXxKxTmWqCaLVwFeM6kwyiKVDR'
33+
34+let p = {
35+ let q = getInteger(this, "Total_Txns")
36+ if ($isInstanceOf(q, "Int"))
3537 then {
36- let q = p
37- q
38+ let r = q
39+ r
3840 }
3941 else 0
4042 }
4143
42-let r = (o + 1)
44+let s = (p + 1)
4345
44-let s = {
45- let p = getInteger(this, (f + "_Total_Txns"))
46- if ($isInstanceOf(p, "Int"))
46+let t = {
47+ let q = getInteger(this, (f + "_Total_Txns"))
48+ if ($isInstanceOf(q, "Int"))
4749 then {
48- let q = p
49- q
50+ let r = q
51+ r
5052 }
5153 else 0
5254 }
5355
54-let t = (s + 1)
56+let u = (t + 1)
5557
56-@Callable(u)
58+@Callable(v)
5759 func ARRR () = {
58- let v = "PirateChain"
59- let w = if ((size(u.payments) == 1))
60- then u.payments[0]
60+ let w = "PirateChain"
61+ let x = if ((size(v.payments) == 1))
62+ then v.payments[0]
6163 else throw(j)
62- let x = toBase58String(u.caller.bytes)
63- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
64- let z = {
65- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
66- if ($isInstanceOf(p, "Int"))
64+ let y = toBase58String(v.caller.bytes)
65+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
66+ let A = {
67+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
68+ if ($isInstanceOf(q, "Int"))
6769 then {
68- let q = p
69- q
70+ let r = q
71+ r
7072 }
7173 else 0
7274 }
73- let A = (z + 1)
74- let B = {
75- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
76- if ($isInstanceOf(p, "Int"))
75+ let B = (A + 1)
76+ let C = {
77+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
78+ if ($isInstanceOf(q, "Int"))
7779 then {
78- let q = p
79- q
80+ let r = q
81+ r
8082 }
8183 else 0
8284 }
83- let C = (B + 1)
84- let D = {
85- let p = getInteger(this, ("User_Total_Votes_" + x))
86- if ($isInstanceOf(p, "Int"))
85+ let D = (C + 1)
86+ let E = {
87+ let q = getInteger(this, ("User_Total_Votes_" + y))
88+ if ($isInstanceOf(q, "Int"))
8789 then {
88- let q = p
89- q
90+ let r = q
91+ r
9092 }
9193 else 0
9294 }
93- let E = (D + 1)
94- let F = {
95- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
96- if ($isInstanceOf(p, "Int"))
95+ let F = (E + 1)
96+ let G = {
97+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
98+ if ($isInstanceOf(q, "Int"))
9799 then {
98- let q = p
99- q
100+ let r = q
101+ r
100102 }
101103 else 0
102104 }
103- let G = (F + 1)
104- let H = {
105- let p = getInteger(this, ("Total_Votes_" + v))
106- if ($isInstanceOf(p, "Int"))
105+ let H = (G + 1)
106+ let I = {
107+ let q = getInteger(this, ("Total_Votes_" + w))
108+ if ($isInstanceOf(q, "Int"))
107109 then {
108- let q = p
109- q
110+ let r = q
111+ r
110112 }
111113 else 0
112114 }
113- let I = (H + 1)
114- let J = {
115- let p = getInteger(this, ((f + "_Total_Votes_") + v))
116- if ($isInstanceOf(p, "Int"))
115+ let J = (I + 1)
116+ let K = {
117+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
118+ if ($isInstanceOf(q, "Int"))
117119 then {
118- let q = p
119- q
120+ let r = q
121+ r
120122 }
121123 else 0
122124 }
123- let K = (J + 1)
124- if ((100000000 > y))
125+ let L = (K + 1)
126+ if ((100000000 > z))
125127 then throw(k)
126- else if ((w.assetId != a))
128+ else if ((x.assetId != a))
127129 then throw(l)
128- else if ((w.amount != 100000))
130+ else if ((x.amount != 100000))
129131 then throw(m)
130132 else if ((h > lastBlock.timestamp))
131133 then throw(n)
132- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
133135 }
134136
135137
136138
137-@Callable(u)
139+@Callable(v)
138140 func BAT () = {
139- let v = "AttentionToken"
140- let w = if ((size(u.payments) == 1))
141- then u.payments[0]
141+ let w = "AttentionToken"
142+ let x = if ((size(v.payments) == 1))
143+ then v.payments[0]
142144 else throw(j)
143- let x = toBase58String(u.caller.bytes)
144- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
145- let z = {
146- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
147- if ($isInstanceOf(p, "Int"))
145+ let y = toBase58String(v.caller.bytes)
146+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
147+ let A = {
148+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
149+ if ($isInstanceOf(q, "Int"))
148150 then {
149- let q = p
150- q
151+ let r = q
152+ r
151153 }
152154 else 0
153155 }
154- let A = (z + 1)
155- let B = {
156- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
157- if ($isInstanceOf(p, "Int"))
156+ let B = (A + 1)
157+ let C = {
158+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
159+ if ($isInstanceOf(q, "Int"))
158160 then {
159- let q = p
160- q
161+ let r = q
162+ r
161163 }
162164 else 0
163165 }
164- let C = (B + 1)
165- let D = {
166- let p = getInteger(this, ("User_Total_Votes_" + x))
167- if ($isInstanceOf(p, "Int"))
166+ let D = (C + 1)
167+ let E = {
168+ let q = getInteger(this, ("User_Total_Votes_" + y))
169+ if ($isInstanceOf(q, "Int"))
168170 then {
169- let q = p
170- q
171+ let r = q
172+ r
171173 }
172174 else 0
173175 }
174- let E = (D + 1)
175- let F = {
176- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
177- if ($isInstanceOf(p, "Int"))
176+ let F = (E + 1)
177+ let G = {
178+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
179+ if ($isInstanceOf(q, "Int"))
178180 then {
179- let q = p
180- q
181+ let r = q
182+ r
181183 }
182184 else 0
183185 }
184- let G = (F + 1)
185- let H = {
186- let p = getInteger(this, ("Total_Votes_" + v))
187- if ($isInstanceOf(p, "Int"))
186+ let H = (G + 1)
187+ let I = {
188+ let q = getInteger(this, ("Total_Votes_" + w))
189+ if ($isInstanceOf(q, "Int"))
188190 then {
189- let q = p
190- q
191+ let r = q
192+ r
191193 }
192194 else 0
193195 }
194- let I = (H + 1)
195- let J = {
196- let p = getInteger(this, ((f + "_Total_Votes_") + v))
197- if ($isInstanceOf(p, "Int"))
196+ let J = (I + 1)
197+ let K = {
198+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
199+ if ($isInstanceOf(q, "Int"))
198200 then {
199- let q = p
200- q
201+ let r = q
202+ r
201203 }
202204 else 0
203205 }
204- let K = (J + 1)
205- if ((100000000 > y))
206+ let L = (K + 1)
207+ if ((100000000 > z))
206208 then throw(k)
207- else if ((w.assetId != a))
209+ else if ((x.assetId != a))
208210 then throw(l)
209- else if ((w.amount != 100000))
211+ else if ((x.amount != 100000))
210212 then throw(m)
211213 else if ((h > lastBlock.timestamp))
212214 then throw(n)
213- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
214216 }
215217
216218
217219
218-@Callable(u)
220+@Callable(v)
219221 func PRCY () = {
220- let v = "Privacy"
221- let w = if ((size(u.payments) == 1))
222- then u.payments[0]
222+ let w = "Privacy"
223+ let x = if ((size(v.payments) == 1))
224+ then v.payments[0]
223225 else throw(j)
224- let x = toBase58String(u.caller.bytes)
225- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
226- let z = {
227- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
228- if ($isInstanceOf(p, "Int"))
226+ let y = toBase58String(v.caller.bytes)
227+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
228+ let A = {
229+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
230+ if ($isInstanceOf(q, "Int"))
229231 then {
230- let q = p
231- q
232+ let r = q
233+ r
232234 }
233235 else 0
234236 }
235- let A = (z + 1)
236- let B = {
237- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
238- if ($isInstanceOf(p, "Int"))
237+ let B = (A + 1)
238+ let C = {
239+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
240+ if ($isInstanceOf(q, "Int"))
239241 then {
240- let q = p
241- q
242+ let r = q
243+ r
242244 }
243245 else 0
244246 }
245- let C = (B + 1)
246- let D = {
247- let p = getInteger(this, ("User_Total_Votes_" + x))
248- if ($isInstanceOf(p, "Int"))
247+ let D = (C + 1)
248+ let E = {
249+ let q = getInteger(this, ("User_Total_Votes_" + y))
250+ if ($isInstanceOf(q, "Int"))
249251 then {
250- let q = p
251- q
252+ let r = q
253+ r
252254 }
253255 else 0
254256 }
255- let E = (D + 1)
256- let F = {
257- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
258- if ($isInstanceOf(p, "Int"))
257+ let F = (E + 1)
258+ let G = {
259+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
260+ if ($isInstanceOf(q, "Int"))
259261 then {
260- let q = p
261- q
262+ let r = q
263+ r
262264 }
263265 else 0
264266 }
265- let G = (F + 1)
266- let H = {
267- let p = getInteger(this, ("Total_Votes_" + v))
268- if ($isInstanceOf(p, "Int"))
267+ let H = (G + 1)
268+ let I = {
269+ let q = getInteger(this, ("Total_Votes_" + w))
270+ if ($isInstanceOf(q, "Int"))
269271 then {
270- let q = p
271- q
272+ let r = q
273+ r
272274 }
273275 else 0
274276 }
275- let I = (H + 1)
276- let J = {
277- let p = getInteger(this, ((f + "_Total_Votes_") + v))
278- if ($isInstanceOf(p, "Int"))
277+ let J = (I + 1)
278+ let K = {
279+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
280+ if ($isInstanceOf(q, "Int"))
279281 then {
280- let q = p
281- q
282+ let r = q
283+ r
282284 }
283285 else 0
284286 }
285- let K = (J + 1)
286- if ((100000000 > y))
287+ let L = (K + 1)
288+ if ((100000000 > z))
287289 then throw(k)
288- else if ((w.assetId != a))
290+ else if ((x.assetId != a))
289291 then throw(l)
290- else if ((w.amount != 100000))
292+ else if ((x.amount != 100000))
291293 then throw(m)
292294 else if ((h > lastBlock.timestamp))
293295 then throw(n)
294- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
295297 }
296298
297299
298300
299-@Callable(u)
301+@Callable(v)
300302 func Haven () = {
301- let v = "Haven"
302- let w = if ((size(u.payments) == 1))
303- then u.payments[0]
303+ let w = "Haven"
304+ let x = if ((size(v.payments) == 1))
305+ then v.payments[0]
304306 else throw(j)
305- let x = toBase58String(u.caller.bytes)
306- let y = assetBalance(addressFromPublicKey(u.callerPublicKey), a)
307- let z = {
308- let p = getInteger(this, ((f + "_User_Total_Votes_") + x))
309- if ($isInstanceOf(p, "Int"))
307+ let y = toBase58String(v.caller.bytes)
308+ let z = assetBalance(addressFromPublicKey(v.callerPublicKey), a)
309+ let A = {
310+ let q = getInteger(this, ((f + "_User_Total_Votes_") + y))
311+ if ($isInstanceOf(q, "Int"))
310312 then {
311- let q = p
312- q
313+ let r = q
314+ r
313315 }
314316 else 0
315317 }
316- let A = (z + 1)
317- let B = {
318- let p = getInteger(this, ((((f + "_User_Total_Votes_") + x) + "-") + v))
319- if ($isInstanceOf(p, "Int"))
318+ let B = (A + 1)
319+ let C = {
320+ let q = getInteger(this, ((((f + "_User_Total_Votes_") + y) + "-") + w))
321+ if ($isInstanceOf(q, "Int"))
320322 then {
321- let q = p
322- q
323+ let r = q
324+ r
323325 }
324326 else 0
325327 }
326- let C = (B + 1)
327- let D = {
328- let p = getInteger(this, ("User_Total_Votes_" + x))
329- if ($isInstanceOf(p, "Int"))
328+ let D = (C + 1)
329+ let E = {
330+ let q = getInteger(this, ("User_Total_Votes_" + y))
331+ if ($isInstanceOf(q, "Int"))
330332 then {
331- let q = p
332- q
333+ let r = q
334+ r
333335 }
334336 else 0
335337 }
336- let E = (D + 1)
337- let F = {
338- let p = getInteger(this, ((("User_Total_Asset_Votes_" + x) + "_") + v))
339- if ($isInstanceOf(p, "Int"))
338+ let F = (E + 1)
339+ let G = {
340+ let q = getInteger(this, ((("User_Total_Asset_Votes_" + y) + "_") + w))
341+ if ($isInstanceOf(q, "Int"))
340342 then {
341- let q = p
342- q
343+ let r = q
344+ r
343345 }
344346 else 0
345347 }
346- let G = (F + 1)
347- let H = {
348- let p = getInteger(this, ("Total_Votes_" + v))
349- if ($isInstanceOf(p, "Int"))
348+ let H = (G + 1)
349+ let I = {
350+ let q = getInteger(this, ("Total_Votes_" + w))
351+ if ($isInstanceOf(q, "Int"))
350352 then {
351- let q = p
352- q
353+ let r = q
354+ r
353355 }
354356 else 0
355357 }
356- let I = (H + 1)
357- let J = {
358- let p = getInteger(this, ((f + "_Total_Votes_") + v))
359- if ($isInstanceOf(p, "Int"))
358+ let J = (I + 1)
359+ let K = {
360+ let q = getInteger(this, ((f + "_Total_Votes_") + w))
361+ if ($isInstanceOf(q, "Int"))
360362 then {
361- let q = p
362- q
363+ let r = q
364+ r
363365 }
364366 else 0
365367 }
366- let K = (J + 1)
367- if ((100000000 > y))
368+ let L = (K + 1)
369+ if ((100000000 > z))
368370 then throw(k)
369- else if ((w.assetId != a))
371+ else if ((x.assetId != a))
370372 then throw(l)
371- else if ((w.amount != 100000))
373+ else if ((x.amount != 100000))
372374 then throw(m)
373375 else if ((h > lastBlock.timestamp))
374376 then throw(n)
375- else [IntegerEntry("Total_Txns", r), IntegerEntry((f + "_Total_Txns"), t), IntegerEntry("Current_Voting_Month", e), IntegerEntry(("Total_Votes_" + v), I), IntegerEntry(((f + "_Total_Votes_") + v), K), IntegerEntry(("User_Total_Votes_" + x), E), IntegerEntry(((f + "_User_Total_Votes_") + x), A), IntegerEntry(((((f + "_User_Total_Votes_") + x) + "-") + v), C), IntegerEntry(((("User_Total_Asset_Votes_" + x) + "_") + v), G), StringEntry("message", i)]
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)]
376378 }
377379
378380
379-@Verifier(L)
380-func M () = sigVerify(L.bodyBytes, L.proofs[0], L.senderPublicKey)
381+@Verifier(M)
382+func N () = sigVerify(M.bodyBytes, M.proofs[0], M.senderPublicKey)
381383

github/deemru/w8io/169f3d6 
131.45 ms