tx · 5sdHd8R5uGP8sGMX1wXq19bgGrzWsUFN34z4bQnN13GC 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr: -0.01400000 Waves 2022.05.12 15:23 [2048451] smart account 3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr > SELF 0.00000000 Waves
{ "type": 13, "id": "5sdHd8R5uGP8sGMX1wXq19bgGrzWsUFN34z4bQnN13GC", "fee": 1400000, "feeAssetId": null, "timestamp": 1652358274537, "version": 1, "sender": "3N5BB6iE58rujeTEkymeLNcdsYF4f6iKoxr", "senderPublicKey": "EtZZHS4uqNXY5WPneZ8jY2aA95peXwthJVLzAMxMp379", "proofs": [ "4jEDYDWu1CqaHBeJME5eXSDhz8roNxwNRGUmtUd4WeSXLqj7Pdd7bbdG2THCyKv77sByUxr1nDn8ojUiQmAkpoq8" ], "script": "base64:AAIFAAAAAAAAAGUIAhIECgIIGBIFCgMICAgSAwoBCBIDCgEIEgMKAQgSBAoCCAgSBAoCCAgSBAoCCAgSAwoBCBIFCgMICAQSBAoCCAgSBAoCCAQSAwoBCBIDCgEYEgUKAwgICBIDCgEIEgASAwoBCAAAACgAAAAAA1NFUAIAAAACX18AAAAABUVNUFRZAgAAAAAAAAAADnN0YXR1c1ZlcmlmaWVkAAAAAAAAAAACAAAAABBzdGF0dXNVbnZlcmlmaWVkAAAAAAAAAAAAAAAAABZsYWJlbENvbW11bml0eVZlcmlmaWVkAgAAABJDT01NVU5JVFlfVkVSSUZJRUQAAAAADGxhYmVsUG9vbHNMcAIAAAAIUE9PTFNfTFAAAAAADWRlZmF1bHRMYWJlbHMJAARMAAAAAgUAAAAWbGFiZWxDb21tdW5pdHlWZXJpZmllZAkABEwAAAACBQAAAAxsYWJlbFBvb2xzTHAFAAAAA25pbAAAAAATcG9vbExhYmVsV3hFbWlzc2lvbgIAAAALV1hfRU1JU1NJT04AAAAAD3ZhbGlkUG9vbExhYmVscwkABEwAAAACBQAAABNwb29sTGFiZWxXeEVtaXNzaW9uBQA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AAAByRtYXRjaDACAAAABFVuaXQIBQAAAAJ0eAAAAA9zZW5kZXJQdWJsaWNLZXkJAAACAAAAAQIAAAALTWF0Y2ggZXJyb3IJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA90YXJnZXRQdWJsaWNLZXkfocZl", "chainId": 84, "height": 2048451, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7APSBV9a9UhkRmaJaWf8hoSerauUG4NZQML86EhxMMEs Next: 99wmeESAQgAqHa6i5dsxt5mEaXye1sK7nHhdzUgNC3Pc Diff:
Old | New | Differences | |
---|---|---|---|
70 | 70 | func E () = makeString(["%s", "labels"], a) | |
71 | 71 | ||
72 | 72 | ||
73 | - | func F (G,H) = makeString(["%s%s%s", G, H], a) | |
73 | + | func F (G,H) = makeString(["%s%s%s", "poolLabels", G, H], a) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func I (q) = (valueOrElse(getInteger(t(q)), d) == c) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = "" | |
7 | 7 | ||
8 | 8 | let c = 2 | |
9 | 9 | ||
10 | 10 | let d = 0 | |
11 | 11 | ||
12 | 12 | let e = "COMMUNITY_VERIFIED" | |
13 | 13 | ||
14 | 14 | let f = "POOLS_LP" | |
15 | 15 | ||
16 | 16 | let g = [e, f] | |
17 | 17 | ||
18 | 18 | let h = "WX_EMISSION" | |
19 | 19 | ||
20 | 20 | let i = [h] | |
21 | 21 | ||
22 | 22 | func j () = throw("Permission denied") | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func k () = throw("Asset doesn't exists") | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func l () = "%s__managerPublicKey" | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func m () = "%s__pendingManagerPublicKey" | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func n () = "%s__adminPubKeys" | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func o () = "%s__userPoolsContract" | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func p (q) = (("created_<" + q) + ">") | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | func r (q) = (("logo_<" + q) + ">") | |
44 | 44 | ||
45 | 45 | ||
46 | 46 | func s (q) = (("ticker_<" + q) + ">") | |
47 | 47 | ||
48 | 48 | ||
49 | 49 | func t (q) = (("status_<" + q) + ">") | |
50 | 50 | ||
51 | 51 | ||
52 | 52 | func u (q) = makeString(["%s%s", "pools", q], a) | |
53 | 53 | ||
54 | 54 | ||
55 | 55 | func v (w) = makeString(["%s%s", "ticker2assetId", w], a) | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func x (q) = makeString(["%s%s", "assetId2ticker", q], a) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func y (z,A) = makeString(["%s%s%s", "amountAndPriceAssetsToLpAsset", z, A], a) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func B (C) = makeString(["%s%s", "lpAssetToAmountAndPriceAssets", C], a) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func D (q) = makeString(["%s%s", "labels", q], a) | |
68 | 68 | ||
69 | 69 | ||
70 | 70 | func E () = makeString(["%s", "labels"], a) | |
71 | 71 | ||
72 | 72 | ||
73 | - | func F (G,H) = makeString(["%s%s%s", G, H], a) | |
73 | + | func F (G,H) = makeString(["%s%s%s", "poolLabels", G, H], a) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func I (q) = (valueOrElse(getInteger(t(q)), d) == c) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func J () = { | |
80 | 80 | let K = getString(E()) | |
81 | 81 | if ($isInstanceOf(K, "String")) | |
82 | 82 | then { | |
83 | 83 | let L = K | |
84 | 84 | if ((size(L) == 0)) | |
85 | 85 | then nil | |
86 | 86 | else split(L, a) | |
87 | 87 | } | |
88 | 88 | else nil | |
89 | 89 | } | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func M (q) = { | |
93 | 93 | let K = getString(D(q)) | |
94 | 94 | if ($isInstanceOf(K, "String")) | |
95 | 95 | then { | |
96 | 96 | let L = K | |
97 | 97 | if ((size(L) == 0)) | |
98 | 98 | then nil | |
99 | 99 | else split(L, a) | |
100 | 100 | } | |
101 | 101 | else nil | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func N () = { | |
106 | 106 | let K = getString(l()) | |
107 | 107 | if ($isInstanceOf(K, "String")) | |
108 | 108 | then { | |
109 | 109 | let L = K | |
110 | 110 | fromBase58String(L) | |
111 | 111 | } | |
112 | 112 | else if ($isInstanceOf(K, "Unit")) | |
113 | 113 | then unit | |
114 | 114 | else throw("Match error") | |
115 | 115 | } | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func O () = { | |
119 | 119 | let K = getString(m()) | |
120 | 120 | if ($isInstanceOf(K, "String")) | |
121 | 121 | then { | |
122 | 122 | let L = K | |
123 | 123 | fromBase58String(L) | |
124 | 124 | } | |
125 | 125 | else if ($isInstanceOf(K, "Unit")) | |
126 | 126 | then unit | |
127 | 127 | else throw("Match error") | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func P (Q) = { | |
132 | 132 | let K = N() | |
133 | 133 | if ($isInstanceOf(K, "ByteVector")) | |
134 | 134 | then { | |
135 | 135 | let R = K | |
136 | 136 | if ((Q.callerPublicKey == R)) | |
137 | 137 | then true | |
138 | 138 | else j() | |
139 | 139 | } | |
140 | 140 | else if ($isInstanceOf(K, "Unit")) | |
141 | 141 | then if ((Q.caller == this)) | |
142 | 142 | then true | |
143 | 143 | else j() | |
144 | 144 | else throw("Match error") | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func S (Q) = { | |
149 | 149 | let T = split(valueOrElse(getString(n()), b), a) | |
150 | 150 | if (containsElement(T, toBase58String(Q.callerPublicKey))) | |
151 | 151 | then true | |
152 | 152 | else { | |
153 | 153 | let U = P(Q) | |
154 | 154 | if ((U == U)) | |
155 | 155 | then true | |
156 | 156 | else throw("Strict value is not equal to itself.") | |
157 | 157 | } | |
158 | 158 | } | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func V (q) = valueOrElse(getBoolean(p(q)), false) | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func W (X) = if (X) | |
165 | 165 | then c | |
166 | 166 | else d | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func Y (q,Z,aa) = { | |
170 | 170 | let ab = J() | |
171 | 171 | let ac = M(q) | |
172 | 172 | let ad = if (containsElement(ab, Z)) | |
173 | 173 | then true | |
174 | 174 | else throw("Label doesn't exist") | |
175 | 175 | if ((ad == ad)) | |
176 | 176 | then { | |
177 | 177 | let ae = if (containsElement(ac, Z)) | |
178 | 178 | then if (aa) | |
179 | 179 | then throw("Label has already been added") | |
180 | 180 | else ac | |
181 | 181 | else (ac :+ Z) | |
182 | 182 | [StringEntry(D(q), makeString(ae, a))] | |
183 | 183 | } | |
184 | 184 | else throw("Strict value is not equal to itself.") | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func af (q,Z,aa) = { | |
189 | 189 | let ac = M(q) | |
190 | 190 | let ae = if (containsElement(ac, Z)) | |
191 | 191 | then removeByIndex(ac, value(indexOf(ac, Z))) | |
192 | 192 | else if (aa) | |
193 | 193 | then throw("Label wasn't added") | |
194 | 194 | else ac | |
195 | 195 | [StringEntry(D(q), makeString(ae, a))] | |
196 | 196 | } | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func ag (q,X) = { | |
200 | 200 | let ah = if (X) | |
201 | 201 | then Y(q, e, false) | |
202 | 202 | else af(q, e, false) | |
203 | 203 | ([IntegerEntry(t(q), W(X))] ++ ah) | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func ai (q,w) = { | |
208 | 208 | let aj = { | |
209 | 209 | let ak = getString(v(w)) | |
210 | 210 | let al = if ((w != "")) | |
211 | 211 | then if ((ak == unit)) | |
212 | 212 | then true | |
213 | 213 | else (value(ak) == q) | |
214 | 214 | else false | |
215 | 215 | if (al) | |
216 | 216 | then true | |
217 | 217 | else throw("Invalid ticker") | |
218 | 218 | } | |
219 | 219 | if ((aj == aj)) | |
220 | 220 | then [StringEntry(x(q), w), StringEntry(v(w), q)] | |
221 | 221 | else throw("Strict value is not equal to itself.") | |
222 | 222 | } | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | @Callable(Q) | |
226 | 226 | func constructor (am,ab) = { | |
227 | 227 | let an = P(Q) | |
228 | 228 | if ((an == an)) | |
229 | 229 | then { | |
230 | 230 | let ao = valueOrErrorMessage(addressFromString(am), "Invalid address") | |
231 | 231 | if ((ao == ao)) | |
232 | 232 | then [StringEntry(o(), am), StringEntry(E(), makeString((g ++ ab), a))] | |
233 | 233 | else throw("Strict value is not equal to itself.") | |
234 | 234 | } | |
235 | 235 | else throw("Strict value is not equal to itself.") | |
236 | 236 | } | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | ||
240 | 240 | @Callable(Q) | |
241 | 241 | func addAssetsLink (z,A,C) = { | |
242 | 242 | let an = S(Q) | |
243 | 243 | if ((an == an)) | |
244 | 244 | then [StringEntry(y(z, A), C), StringEntry(B(C), makeString([z, A], a))] | |
245 | 245 | else throw("Strict value is not equal to itself.") | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | ||
250 | 250 | @Callable(Q) | |
251 | 251 | func increaseAssetPoolsNumber (q) = { | |
252 | 252 | let an = S(Q) | |
253 | 253 | if ((an == an)) | |
254 | 254 | then { | |
255 | 255 | let ap = u(q) | |
256 | 256 | let aq = valueOrElse(getInteger(ap), 0) | |
257 | 257 | [IntegerEntry(ap, (aq + 1))] | |
258 | 258 | } | |
259 | 259 | else throw("Strict value is not equal to itself.") | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | ||
264 | 264 | @Callable(Q) | |
265 | 265 | func createLabel (Z) = { | |
266 | 266 | let ab = J() | |
267 | 267 | let an = P(Q) | |
268 | 268 | if ((an == an)) | |
269 | 269 | then { | |
270 | 270 | let ad = [if (!(contains(Z, a))) | |
271 | 271 | then true | |
272 | 272 | else throw("Invalid label name"), if (!(containsElement(ab, Z))) | |
273 | 273 | then true | |
274 | 274 | else throw("Label exists")] | |
275 | 275 | if ((ad == ad)) | |
276 | 276 | then [StringEntry(E(), makeString((ab :+ Z), a))] | |
277 | 277 | else throw("Strict value is not equal to itself.") | |
278 | 278 | } | |
279 | 279 | else throw("Strict value is not equal to itself.") | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | ||
284 | 284 | @Callable(Q) | |
285 | 285 | func dropLabel (Z) = { | |
286 | 286 | let ab = J() | |
287 | 287 | let an = P(Q) | |
288 | 288 | if ((an == an)) | |
289 | 289 | then { | |
290 | 290 | let ad = if (containsElement(ab, Z)) | |
291 | 291 | then true | |
292 | 292 | else throw("Label doesn't exist") | |
293 | 293 | if ((ad == ad)) | |
294 | 294 | then [StringEntry(E(), makeString(removeByIndex(ab, value(indexOf(ab, Z))), a))] | |
295 | 295 | else throw("Strict value is not equal to itself.") | |
296 | 296 | } | |
297 | 297 | else throw("Strict value is not equal to itself.") | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | ||
302 | 302 | @Callable(Q) | |
303 | 303 | func addLabel (q,Z) = { | |
304 | 304 | let an = S(Q) | |
305 | 305 | if ((an == an)) | |
306 | 306 | then Y(q, Z, true) | |
307 | 307 | else throw("Strict value is not equal to itself.") | |
308 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | ||
312 | 312 | @Callable(Q) | |
313 | 313 | func deleteLabel (q,Z) = { | |
314 | 314 | let an = S(Q) | |
315 | 315 | if ((an == an)) | |
316 | 316 | then af(q, Z, true) | |
317 | 317 | else throw("Strict value is not equal to itself.") | |
318 | 318 | } | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | ||
322 | 322 | @Callable(Q) | |
323 | 323 | func updateTicker (q,w) = { | |
324 | 324 | let an = S(Q) | |
325 | 325 | if ((an == an)) | |
326 | 326 | then { | |
327 | 327 | let ar = if (V(q)) | |
328 | 328 | then true | |
329 | 329 | else k() | |
330 | 330 | if ((ar == ar)) | |
331 | 331 | then ai(q, w) | |
332 | 332 | else throw("Strict value is not equal to itself.") | |
333 | 333 | } | |
334 | 334 | else throw("Strict value is not equal to itself.") | |
335 | 335 | } | |
336 | 336 | ||
337 | 337 | ||
338 | 338 | ||
339 | 339 | @Callable(Q) | |
340 | 340 | func deleteTicker (q) = { | |
341 | 341 | let an = S(Q) | |
342 | 342 | if ((an == an)) | |
343 | 343 | then { | |
344 | 344 | let w = valueOrErrorMessage(getString(x(q)), "Invalid asset") | |
345 | 345 | [DeleteEntry(x(q)), DeleteEntry(v(w))] | |
346 | 346 | } | |
347 | 347 | else throw("Strict value is not equal to itself.") | |
348 | 348 | } | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | ||
352 | 352 | @Callable(Q) | |
353 | 353 | func createOrUpdate (q,as,X) = { | |
354 | 354 | let an = S(Q) | |
355 | 355 | if ((an == an)) | |
356 | 356 | then { | |
357 | 357 | let at = !(V(q)) | |
358 | 358 | if ((at == at)) | |
359 | 359 | then { | |
360 | 360 | let au = if ((as == "")) | |
361 | 361 | then nil | |
362 | 362 | else [StringEntry(r(q), as)] | |
363 | 363 | $Tuple2((([BooleanEntry(p(q), true)] ++ au) ++ ag(q, X)), at) | |
364 | 364 | } | |
365 | 365 | else throw("Strict value is not equal to itself.") | |
366 | 366 | } | |
367 | 367 | else throw("Strict value is not equal to itself.") | |
368 | 368 | } | |
369 | 369 | ||
370 | 370 | ||
371 | 371 | ||
372 | 372 | @Callable(Q) | |
373 | 373 | func setLogo (q,as) = { | |
374 | 374 | let av = [S(Q), if (V(q)) | |
375 | 375 | then true | |
376 | 376 | else k()] | |
377 | 377 | if ((av == av)) | |
378 | 378 | then [StringEntry(r(q), as)] | |
379 | 379 | else throw("Strict value is not equal to itself.") | |
380 | 380 | } | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | ||
384 | 384 | @Callable(Q) | |
385 | 385 | func setVerified (q,X) = { | |
386 | 386 | let av = [S(Q), if (V(q)) | |
387 | 387 | then true | |
388 | 388 | else k()] | |
389 | 389 | if ((av == av)) | |
390 | 390 | then $Tuple2(ag(q, X), unit) | |
391 | 391 | else throw("Strict value is not equal to itself.") | |
392 | 392 | } | |
393 | 393 | ||
394 | 394 | ||
395 | 395 | ||
396 | 396 | @Callable(Q) | |
397 | 397 | func onEliminate (q) = { | |
398 | 398 | let aw = valueOrElse(getInteger(u(q)), 0) | |
399 | 399 | let ax = if ((aw > 0)) | |
400 | 400 | then nil | |
401 | 401 | else [DeleteEntry(r(q))] | |
402 | 402 | $Tuple2(ax, unit) | |
403 | 403 | } | |
404 | 404 | ||
405 | 405 | ||
406 | 406 | ||
407 | 407 | @Callable(Q) | |
408 | 408 | func setAdmins (ay) = { | |
409 | 409 | let an = P(Q) | |
410 | 410 | if ((an == an)) | |
411 | 411 | then [StringEntry(n(), makeString(ay, a))] | |
412 | 412 | else throw("Strict value is not equal to itself.") | |
413 | 413 | } | |
414 | 414 | ||
415 | 415 | ||
416 | 416 | ||
417 | 417 | @Callable(Q) | |
418 | 418 | func setPoolLabels (G,H,Z) = { | |
419 | 419 | let an = S(Q) | |
420 | 420 | if ((an == an)) | |
421 | 421 | then { | |
422 | 422 | let az = if (containsElement(i, Z)) | |
423 | 423 | then true | |
424 | 424 | else throw("label is not valid") | |
425 | 425 | if ((az == az)) | |
426 | 426 | then $Tuple2([StringEntry(F(G, H), Z)], unit) | |
427 | 427 | else throw("Strict value is not equal to itself.") | |
428 | 428 | } | |
429 | 429 | else throw("Strict value is not equal to itself.") | |
430 | 430 | } | |
431 | 431 | ||
432 | 432 | ||
433 | 433 | ||
434 | 434 | @Callable(Q) | |
435 | 435 | func setManager (aA) = { | |
436 | 436 | let an = P(Q) | |
437 | 437 | if ((an == an)) | |
438 | 438 | then { | |
439 | 439 | let aB = fromBase58String(aA) | |
440 | 440 | if ((aB == aB)) | |
441 | 441 | then [StringEntry(m(), aA)] | |
442 | 442 | else throw("Strict value is not equal to itself.") | |
443 | 443 | } | |
444 | 444 | else throw("Strict value is not equal to itself.") | |
445 | 445 | } | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | ||
449 | 449 | @Callable(Q) | |
450 | 450 | func confirmManager () = { | |
451 | 451 | let aC = O() | |
452 | 452 | let aD = if (isDefined(aC)) | |
453 | 453 | then true | |
454 | 454 | else throw("No pending manager") | |
455 | 455 | if ((aD == aD)) | |
456 | 456 | then { | |
457 | 457 | let aE = if ((Q.callerPublicKey == value(aC))) | |
458 | 458 | then true | |
459 | 459 | else throw("You are not pending manager") | |
460 | 460 | if ((aE == aE)) | |
461 | 461 | then [StringEntry(l(), toBase58String(value(aC))), DeleteEntry(m())] | |
462 | 462 | else throw("Strict value is not equal to itself.") | |
463 | 463 | } | |
464 | 464 | else throw("Strict value is not equal to itself.") | |
465 | 465 | } | |
466 | 466 | ||
467 | 467 | ||
468 | 468 | ||
469 | 469 | @Callable(Q) | |
470 | 470 | func isVerifiedREADONLY (q) = $Tuple2(nil, I(q)) | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | @Verifier(aF) | |
474 | 474 | func aG () = { | |
475 | 475 | let aH = { | |
476 | 476 | let K = N() | |
477 | 477 | if ($isInstanceOf(K, "ByteVector")) | |
478 | 478 | then { | |
479 | 479 | let R = K | |
480 | 480 | R | |
481 | 481 | } | |
482 | 482 | else if ($isInstanceOf(K, "Unit")) | |
483 | 483 | then aF.senderPublicKey | |
484 | 484 | else throw("Match error") | |
485 | 485 | } | |
486 | 486 | sigVerify(aF.bodyBytes, aF.proofs[0], aH) | |
487 | 487 | } | |
488 | 488 |
github/deemru/w8io/026f985 44.88 ms ◑