tx · 2w1WzjfYvBQKPaA4aiVcPiXmmzSLJXxVBGJzZ73R7gMX

3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos:  -0.01400000 Waves

2024.05.28 10:58 [3125562] smart account 3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos > SELF 0.00000000 Waves

{ "type": 13, "id": "2w1WzjfYvBQKPaA4aiVcPiXmmzSLJXxVBGJzZ73R7gMX", "fee": 1400000, "feeAssetId": null, "timestamp": 1716883149515, "version": 2, "chainId": 84, "sender": "3N8YkRZsgDVNAxtmwU1F65EpcYMb8f7QPos", "senderPublicKey": "F7SLwr7RYVQpyocmVScFC6ooaAwewaGq6wNRDYvyiPj1", "proofs": [ "fGqorMbY6Pt4WyHui2hNWp6h22huMF93tkL7AmY4WhYyaQydep1GGw99THv4UHZBMWXnY998y4xVUpwZvT6JL2b" ], "script": "base64:AAIFAAAAAAAAABIIAhIGCgQIGAgIEgQKAggIEgAAAAALAAAAABRwcmVkaWN0aW9uTWF4Q291bnRlcgAAAAAAAAAAAwAAAAAKbWF4Q291bnRlcgAAAAAAAAAABgAAAAANZGVmYXVsdFJhdGluZwAAAAAAAAAAZAAAAAAOcmF0ZUFkanVzdG1lbnQAAAAAAAAAABQAAAAAB3Rva2VuSWQBAAAAIG33eiemmz/8i1OVqeOeBVscIi9bTehRMFsBoQapAMYYAAAAAAxwYXlvdXRBbW91bnQAAAAAAAX14QAAAAAADHJhdGluZ0N1dG9mZgAAAAAAAAAAMgEAAAARc2VhcmNoRm9yQ291bnRlcnMAAAACAAAABml0ZW1JZAAAAAdjb3VudGVyBAAAABFzZWFyY2hGb3JDb3VudGVycwQAAAAHJG1hdGNoMAkABCIAAAABCQABLAAAAAIJAAEsAAAAAgUAAAAGaXRlbUlkAgAAAAFfCQABpAAAAAEFAAAAB2NvdW50ZXIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABlN0cmluZwQAAAABcwUAAAAHJG1hdGNoMAUAAAABcwIAAAAHTm8gVXNl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AAAAAgUAAAAHJG1hdGNoMAIAAAADSW50BAAAAAFzBQAAAAckbWF0Y2gwBQAAAAFzAP//////////AwkBAAAAAiE9AAAAAgUAAAANc2VhcmNoRm9yVXNlcgD//////////wkAAAIAAAABAgAAABNVc2VyIGFscmVhZHkgZXhpc3RzCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAxjbGllbnRBZHJlc3MFAAAADWRlZmF1bHRSYXRpbmcFAAAAA25pbAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5aMLLeQ==", "height": 3125562, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AuWQBNTbpHNsfeXZ7JdsNzTq2TmW9ZgJqbocuevNvLpc Next: BDRX4mrSt3PxsErP5H53fr5RVRuf4BgedeTSKmQWHhA Diff:
OldNewDifferences
142142 let l = k
143143 l
144144 }
145- else "no User exists"
145+ else throw("User does not exist")
146146 }
147- let U = m(S)
148- if ((g >= U))
149- then throw("You are not allowed to participate anymore")
150- else if ((T == "no User exists"))
151- then throw("User does not exist")
152- else {
153- let V = {
154- let k = getInteger((i + "_counter"))
155- if ($isInstanceOf(k, "Int"))
156- then {
157- let l = k
158- l
147+ let U = {
148+ let k = getBoolean((i + "_final"))
149+ if ($isInstanceOf(k, "Boolean"))
150+ then {
151+ let l = k
152+ l
153+ }
154+ else false
155+ }
156+ if (U)
157+ then throw("Final prediction already made")
158+ else {
159+ let V = {
160+ let k = getBoolean((i + "_cancelled"))
161+ if ($isInstanceOf(k, "Boolean"))
162+ then {
163+ let l = k
164+ l
165+ }
166+ else false
167+ }
168+ if (V)
169+ then throw("Final prediction already made")
170+ else {
171+ let W = m(S)
172+ if ((g >= W))
173+ then throw("You are not allowed to participate anymore")
174+ else {
175+ let X = {
176+ let k = getInteger((i + "_counter"))
177+ if ($isInstanceOf(k, "Int"))
178+ then {
179+ let l = k
180+ l
181+ }
182+ else -1
183+ }
184+ if ((X >= 1))
185+ then {
186+ let u = t(i, X)
187+ if (containsElement(u, S))
188+ then throw("This User already gave a Prediction")
189+ else {
190+ let Y = {
191+ let k = getInteger((i + "_predictionCounter"))
192+ if ($isInstanceOf(k, "Int"))
193+ then {
194+ let l = k
195+ l
196+ }
197+ else -1
198+ }
199+ let Z = u[(size(u) - 1)]
200+ let aa = {
201+ let k = getString(((i + "_") + Z))
202+ if ($isInstanceOf(k, "String"))
203+ then {
204+ let l = k
205+ l
206+ }
207+ else "no Prediction Found"
208+ }
209+ let ab = (X + 1)
210+ if ((aa == G))
211+ then if (((Y + 1) == a))
212+ then {
213+ let ac = invoke(this, "adjustRatingsAndPayoutParticipants", [i, u, S, G], nil)
214+ if ((ac != ac))
215+ then throw("Strict value is not equal to itself.")
216+ else [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y + 1)), BooleanEntry((i + "_final"), true), BooleanEntry((i + "_cancelled"), false), ScriptTransfer(Address(fromBase58String(S)), f, e), IntegerEntry(S, (W + 20))]
217+ }
218+ else [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y + 1)), BooleanEntry((i + "_final"), false), BooleanEntry((i + "_cancelled"), false)]
219+ else if ((ab >= b))
220+ then [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y - 1)), BooleanEntry((i + "_cancelled"), true), BooleanEntry((i + "_final"), false)]
221+ else if (((Y - 1) == -1))
222+ then [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), 1), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", aa), IntegerEntry("test2", size(u))]
223+ else [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y - 1)), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", aa), IntegerEntry("test2", size(u))]
224+ }
225+ }
226+ else {
227+ let ad = {
228+ let k = getString(("new_" + i))
229+ if ($isInstanceOf(k, "String"))
230+ then {
231+ let l = k
232+ l
233+ }
234+ else throw("Item not Found")
235+ }
236+[StringEntry(((i + "_") + toString(1)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), 1), IntegerEntry((i + "_predictionCounter"), 1), DeleteEntry(("new_" + i)), StringEntry(("updated_" + i), i)]
237+ }
159238 }
160- else -1
161239 }
162- if ((V >= 1))
163- then {
164- let u = t(i, V)
165- if (containsElement(u, S))
166- then throw("This User already gave a Prediction")
167- else {
168- let W = {
169- let k = getInteger((i + "_predictionCounter"))
170- if ($isInstanceOf(k, "Int"))
171- then {
172- let l = k
173- l
174- }
175- else -1
176- }
177- let X = u[(size(u) - 1)]
178- let Y = {
179- let k = getString(((i + "_") + X))
180- if ($isInstanceOf(k, "String"))
181- then {
182- let l = k
183- l
184- }
185- else "no Prediction Found"
186- }
187- let Z = (V + 1)
188- if ((Y == G))
189- then if (((W + 1) == a))
190- then {
191- let aa = invoke(this, "adjustRatingsAndPayoutParticipants", [i, u, S, G], nil)
192- if ((aa != aa))
193- then throw("Strict value is not equal to itself.")
194- else [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W + 1)), BooleanEntry((i + "_final"), true), BooleanEntry((i + "_cancelled"), false), ScriptTransfer(Address(fromBase58String(S)), f, e), IntegerEntry(S, (U + 20))]
195- }
196- else [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W + 1)), BooleanEntry((i + "_final"), false), BooleanEntry((i + "_cancelled"), false)]
197- else if ((Z >= b))
198- then [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W - 1)), BooleanEntry((i + "_cancelled"), true), BooleanEntry((i + "_final"), false)]
199- else if (((W - 1) == -1))
200- then [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), 1), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", Y), IntegerEntry("test2", size(u))]
201- else [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W - 1)), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", Y), IntegerEntry("test2", size(u))]
202- }
203- }
204- else {
205- let ab = {
206- let k = getString(("new_" + i))
207- if ($isInstanceOf(k, "String"))
208- then {
209- let l = k
210- l
211- }
212- else "not Found"
213- }
214- if ((ab != i))
215- then throw("Item not Found")
216- else [StringEntry(((i + "_") + toString(1)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), 1), IntegerEntry((i + "_predictionCounter"), 1), DeleteEntry(("new_" + i)), StringEntry(("updated_" + i), i)]
217- }
218- }
240+ }
219241 }
220242
221243
238260 }
239261
240262
241-@Verifier(ac)
242-func ad () = sigVerify(ac.bodyBytes, ac.proofs[0], ac.senderPublicKey)
263+@Verifier(ae)
264+func af () = sigVerify(ae.bodyBytes, ae.proofs[0], ae.senderPublicKey)
243265
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 3
55
66 let b = 6
77
88 let c = 100
99
1010 let d = 20
1111
1212 let e = base58'8QGJvsXqJ43q5ksFymoPKF1NWWhwUfr2F7h52oeWgVhH'
1313
1414 let f = 100000000
1515
1616 let g = 50
1717
1818 func h (i,j) = {
1919 let h = {
2020 let k = getString(((i + "_") + toString(j)))
2121 if ($isInstanceOf(k, "String"))
2222 then {
2323 let l = k
2424 l
2525 }
2626 else "No User"
2727 }
2828 h
2929 }
3030
3131
3232 func m (n) = {
3333 let o = {
3434 let k = getInteger(n)
3535 if ($isInstanceOf(k, "Int"))
3636 then {
3737 let p = k
3838 p
3939 }
4040 else c
4141 }
4242 o
4343 }
4444
4545
4646 func q (i,r) = {
4747 let s = {
4848 let k = getString(((i + "_") + r))
4949 if ($isInstanceOf(k, "String"))
5050 then {
5151 let l = k
5252 l
5353 }
5454 else "Not Found"
5555 }
5656 s
5757 }
5858
5959
6060 func t (i,j) = {
6161 let u = if ((j >= 5))
6262 then {
6363 let v = h(i, 1)
6464 let w = h(i, 2)
6565 let x = h(i, 3)
6666 let y = h(i, 4)
6767 let z = h(i, 5)
6868 (((((nil :+ v) :+ w) :+ x) :+ y) :+ z)
6969 }
7070 else if ((j >= 4))
7171 then {
7272 let v = h(i, 1)
7373 let w = h(i, 2)
7474 let x = h(i, 3)
7575 let y = h(i, 4)
7676 ((((nil :+ v) :+ w) :+ x) :+ y)
7777 }
7878 else if ((j >= 3))
7979 then {
8080 let v = h(i, 1)
8181 let w = h(i, 2)
8282 let x = h(i, 3)
8383 (((nil :+ v) :+ w) :+ x)
8484 }
8585 else if ((j >= 2))
8686 then {
8787 let v = h(i, 1)
8888 let w = h(i, 2)
8989 ((nil :+ v) :+ w)
9090 }
9191 else {
9292 let v = h(i, 1)
9393 (nil :+ v)
9494 }
9595 u
9696 }
9797
9898
9999 @Callable(A)
100100 func adjustRatingsAndPayoutParticipants (i,B,C,D) = {
101101 func E (F,n) = {
102102 let o = m(n)
103103 let G = q(i, n)
104104 let H = if ((G == D))
105105 then (o + d)
106106 else (o - d)
107107 let I = if ((G == D))
108108 then f
109109 else 0
110110 let J = (F :+ IntegerEntry(n, H))
111111 if ((I > 0))
112112 then (J :+ ScriptTransfer(Address(fromBase58String(n)), I, e))
113113 else J
114114 }
115115
116116 let K = {
117117 let L = B
118118 let M = size(L)
119119 let N = nil
120120 func O (P,Q) = if ((Q >= M))
121121 then P
122122 else E(P, L[Q])
123123
124124 func R (P,Q) = if ((Q >= M))
125125 then P
126126 else throw("List size exceeds 5")
127127
128128 R(O(O(O(O(O(N, 0), 1), 2), 3), 4), 5)
129129 }
130130 (K :+ BooleanEntry((i + "_adjusted"), true))
131131 }
132132
133133
134134
135135 @Callable(A)
136136 func savePrediction (i,G) = {
137137 let S = toString(A.caller)
138138 let T = {
139139 let k = getInteger(S)
140140 if ($isInstanceOf(k, "Int"))
141141 then {
142142 let l = k
143143 l
144144 }
145- else "no User exists"
145+ else throw("User does not exist")
146146 }
147- let U = m(S)
148- if ((g >= U))
149- then throw("You are not allowed to participate anymore")
150- else if ((T == "no User exists"))
151- then throw("User does not exist")
152- else {
153- let V = {
154- let k = getInteger((i + "_counter"))
155- if ($isInstanceOf(k, "Int"))
156- then {
157- let l = k
158- l
147+ let U = {
148+ let k = getBoolean((i + "_final"))
149+ if ($isInstanceOf(k, "Boolean"))
150+ then {
151+ let l = k
152+ l
153+ }
154+ else false
155+ }
156+ if (U)
157+ then throw("Final prediction already made")
158+ else {
159+ let V = {
160+ let k = getBoolean((i + "_cancelled"))
161+ if ($isInstanceOf(k, "Boolean"))
162+ then {
163+ let l = k
164+ l
165+ }
166+ else false
167+ }
168+ if (V)
169+ then throw("Final prediction already made")
170+ else {
171+ let W = m(S)
172+ if ((g >= W))
173+ then throw("You are not allowed to participate anymore")
174+ else {
175+ let X = {
176+ let k = getInteger((i + "_counter"))
177+ if ($isInstanceOf(k, "Int"))
178+ then {
179+ let l = k
180+ l
181+ }
182+ else -1
183+ }
184+ if ((X >= 1))
185+ then {
186+ let u = t(i, X)
187+ if (containsElement(u, S))
188+ then throw("This User already gave a Prediction")
189+ else {
190+ let Y = {
191+ let k = getInteger((i + "_predictionCounter"))
192+ if ($isInstanceOf(k, "Int"))
193+ then {
194+ let l = k
195+ l
196+ }
197+ else -1
198+ }
199+ let Z = u[(size(u) - 1)]
200+ let aa = {
201+ let k = getString(((i + "_") + Z))
202+ if ($isInstanceOf(k, "String"))
203+ then {
204+ let l = k
205+ l
206+ }
207+ else "no Prediction Found"
208+ }
209+ let ab = (X + 1)
210+ if ((aa == G))
211+ then if (((Y + 1) == a))
212+ then {
213+ let ac = invoke(this, "adjustRatingsAndPayoutParticipants", [i, u, S, G], nil)
214+ if ((ac != ac))
215+ then throw("Strict value is not equal to itself.")
216+ else [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y + 1)), BooleanEntry((i + "_final"), true), BooleanEntry((i + "_cancelled"), false), ScriptTransfer(Address(fromBase58String(S)), f, e), IntegerEntry(S, (W + 20))]
217+ }
218+ else [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y + 1)), BooleanEntry((i + "_final"), false), BooleanEntry((i + "_cancelled"), false)]
219+ else if ((ab >= b))
220+ then [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y - 1)), BooleanEntry((i + "_cancelled"), true), BooleanEntry((i + "_final"), false)]
221+ else if (((Y - 1) == -1))
222+ then [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), 1), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", aa), IntegerEntry("test2", size(u))]
223+ else [StringEntry(((i + "_") + toString(ab)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), ab), IntegerEntry((i + "_predictionCounter"), (Y - 1)), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", aa), IntegerEntry("test2", size(u))]
224+ }
225+ }
226+ else {
227+ let ad = {
228+ let k = getString(("new_" + i))
229+ if ($isInstanceOf(k, "String"))
230+ then {
231+ let l = k
232+ l
233+ }
234+ else throw("Item not Found")
235+ }
236+[StringEntry(((i + "_") + toString(1)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), 1), IntegerEntry((i + "_predictionCounter"), 1), DeleteEntry(("new_" + i)), StringEntry(("updated_" + i), i)]
237+ }
159238 }
160- else -1
161239 }
162- if ((V >= 1))
163- then {
164- let u = t(i, V)
165- if (containsElement(u, S))
166- then throw("This User already gave a Prediction")
167- else {
168- let W = {
169- let k = getInteger((i + "_predictionCounter"))
170- if ($isInstanceOf(k, "Int"))
171- then {
172- let l = k
173- l
174- }
175- else -1
176- }
177- let X = u[(size(u) - 1)]
178- let Y = {
179- let k = getString(((i + "_") + X))
180- if ($isInstanceOf(k, "String"))
181- then {
182- let l = k
183- l
184- }
185- else "no Prediction Found"
186- }
187- let Z = (V + 1)
188- if ((Y == G))
189- then if (((W + 1) == a))
190- then {
191- let aa = invoke(this, "adjustRatingsAndPayoutParticipants", [i, u, S, G], nil)
192- if ((aa != aa))
193- then throw("Strict value is not equal to itself.")
194- else [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W + 1)), BooleanEntry((i + "_final"), true), BooleanEntry((i + "_cancelled"), false), ScriptTransfer(Address(fromBase58String(S)), f, e), IntegerEntry(S, (U + 20))]
195- }
196- else [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W + 1)), BooleanEntry((i + "_final"), false), BooleanEntry((i + "_cancelled"), false)]
197- else if ((Z >= b))
198- then [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W - 1)), BooleanEntry((i + "_cancelled"), true), BooleanEntry((i + "_final"), false)]
199- else if (((W - 1) == -1))
200- then [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), 1), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", Y), IntegerEntry("test2", size(u))]
201- else [StringEntry(((i + "_") + toString(Z)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), Z), IntegerEntry((i + "_predictionCounter"), (W - 1)), BooleanEntry((i + "_cancelled"), false), BooleanEntry((i + "_final"), false), StringEntry("test", Y), IntegerEntry("test2", size(u))]
202- }
203- }
204- else {
205- let ab = {
206- let k = getString(("new_" + i))
207- if ($isInstanceOf(k, "String"))
208- then {
209- let l = k
210- l
211- }
212- else "not Found"
213- }
214- if ((ab != i))
215- then throw("Item not Found")
216- else [StringEntry(((i + "_") + toString(1)), S), StringEntry(((i + "_") + S), G), IntegerEntry((i + "_counter"), 1), IntegerEntry((i + "_predictionCounter"), 1), DeleteEntry(("new_" + i)), StringEntry(("updated_" + i), i)]
217- }
218- }
240+ }
219241 }
220242
221243
222244
223245 @Callable(A)
224246 func registerUser () = {
225247 let S = toString(A.caller)
226248 let T = {
227249 let k = getInteger(S)
228250 if ($isInstanceOf(k, "Int"))
229251 then {
230252 let l = k
231253 l
232254 }
233255 else -1
234256 }
235257 if ((T != -1))
236258 then throw("User already exists")
237259 else [IntegerEntry(S, c)]
238260 }
239261
240262
241-@Verifier(ac)
242-func ad () = sigVerify(ac.bodyBytes, ac.proofs[0], ac.senderPublicKey)
263+@Verifier(ae)
264+func af () = sigVerify(ae.bodyBytes, ae.proofs[0], ae.senderPublicKey)
243265

github/deemru/w8io/169f3d6 
39.67 ms