tx · FhPupu9dM9Ji8BuNPnHRUqyhJyUeybwSfyqvoxskUjNq

3N3kKNoJohjVQYNLTrYTGTesr3nq3PZNh37:  -0.02300000 Waves

2024.05.16 14:41 [3108531] smart account 3N3kKNoJohjVQYNLTrYTGTesr3nq3PZNh37 > SELF 0.00000000 Waves

{ "type": 13, "id": "FhPupu9dM9Ji8BuNPnHRUqyhJyUeybwSfyqvoxskUjNq", "fee": 2300000, "feeAssetId": null, "timestamp": 1715859749432, "version": 2, "chainId": 84, "sender": "3N3kKNoJohjVQYNLTrYTGTesr3nq3PZNh37", "senderPublicKey": "vmMXxwQAMUAoisvL193ptPiTtaWQqL5YNu2zs1ouTbY", "proofs": [ "5BGyGefrNeNRTeQGzm5J3pzFBHZsPPWUBeuKD5seWPgwqG5T8Z2XzXqbmhVpuF8MizRWktDp6UNyjTMhP64w11M1" ], "script": "base64:BwI9CAISAwoBCBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGBIECgICGFYACXNlcGFyYXRvcgICX18AB2NoYWluSWQJAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEACGNoYWluSWRXAQFXABBjb250cmFjdEZpbGVuYW1lAhdmdXR1cmVzX2NhbGN1bGF0b3IucmlkZQAFbXVsdDgAgMLXLwAMbXVsdDE4QmlnSW50CQC2AgEAgICQu7rWrfANAA13YXZlc0RlY2ltYWxzAAgADHVzZHREZWNpbWFscwAGAAt3YXZlc1N0cmluZwIFV0FWRVMADXF1ZXVlSXRlbVNpemUAIAAEYmlnMAkAtgIBAAAACWtNdWx0aXNpZwIMJXNfX211bHRpc2lnAQdrU3RhdHVzAgRkYXBwBHR4SWQJALkJAgkAzAgCAgolc19fc3RhdHVzCQDMCAIFBGRhcHAJAMwIAgUEdHhJZAUDbmlsBQlzZXBhcmF0b3IACWtTaHV0ZG93bgIMJXNfX3NodXRkb3duAAtrUHVibGljS2V5cwIOJXNfX3B1YmxpY0tleXMAEWtNYXRjaGVyUHVibGljS2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kBEUBleHRyTmF0aXZlKDEwNjIpAQUIbXVsdGlzaWcFCXN0YXR1c0tleQcFBnN0YXR1cwcJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXmhvK5K", "height": 3108531, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4HpvvGtqvaRVPasnj8MMLd2DP4KwQNzXM2iwctLJUWgM Next: 3gheT5Mo9ByFriByEeXCzrD3Z8nQsPWFkoMM6fbbbydC Diff:
OldNewDifferences
134134
135135
136136 func ab (ac) = {
137- let L = getString(R, l)
138- if ($isInstanceOf(L, "String"))
139- then {
140- let ad = L
141- let ae = split(getStringValue(addressFromStringValue(ad), q), a)
142- if (containsElement(ae, toBase58String(ac)))
143- then true
144- else C("should be called by admin")
145- }
146- else if ($isInstanceOf(L, "Unit"))
147- then if ((addressFromPublicKey(ac) == R))
148- then true
149- else C("should be called by factory or admin")
150- else throw("Match error")
137+ let ad = addressFromStringValue(getStringValue(R, l))
138+ let ae = split(getStringValue(ad, q), a)
139+ if (containsElement(ae, toBase58String(ac)))
140+ then true
141+ else C("not allowed")
151142 }
152143
153144
534525 let av = F(bK[1])
535526 let bL = [if (!(W))
536527 then true
537- else C("not allowed"), aa(bH.caller), ab(ac), if ((getString(R, as(at)) == unit))
528+ else C("not allowed"), aa(bH.caller), if ((getString(R, as(at)) == unit))
538529 then true
539530 else C("invalid base asset"), if ((getString(R, au(av)) == unit))
540531 then true
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 7 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = take(drop(this.bytes, 1), 1)
77
88 let c = base58'2W'
99
1010 let d = "futures_calculator.ride"
1111
1212 let e = 100000000
1313
1414 let f = toBigInt(1000000000000000000)
1515
1616 let g = 8
1717
1818 let h = 6
1919
2020 let i = "WAVES"
2121
2222 let j = 32
2323
2424 let k = toBigInt(0)
2525
2626 let l = "%s__multisig"
2727
2828 func m (n,o) = makeString(["%s__status", n, o], a)
2929
3030
3131 let p = "%s__shutdown"
3232
3333 let q = "%s__publicKeys"
3434
3535 let r = "%s__matcherPublicKey"
3636
3737 func s (t,u) = fraction(toBigInt(t), f, toBigInt(u))
3838
3939
4040 func v (w,x) = toInt(fraction(w, toBigInt(x), f))
4141
4242
4343 func y (z) = isDefined(addressFromString(z))
4444
4545
4646 func A (B) = ((d + ": ") + B)
4747
4848
4949 func C (B) = throw(A(B))
5050
5151
5252 func D (E,B) = if ((E >= 0))
5353 then E
5454 else C((B + " value should be positive"))
5555
5656
5757 func F (G) = if ((G == i))
5858 then unit
5959 else fromBase58String(G)
6060
6161
6262 func H (G) = if ((G == unit))
6363 then i
6464 else toBase58String(value(G))
6565
6666
6767 func I (J) = valueOrErrorMessage(assetInfo(J), A("invalid asset info"))
6868
6969
7070 func K (J) = {
7171 let L = J
7272 if ($isInstanceOf(L, "Unit"))
7373 then g
7474 else if ($isInstanceOf(L, "ByteVector"))
7575 then {
7676 let J = L
7777 I(J).decimals
7878 }
7979 else throw("Match error")
8080 }
8181
8282
8383 func M (N) = pow(10, 0, N, 0, 0, DOWN)
8484
8585
8686 func O (J) = M(K(J))
8787
8888
8989 let P = "%s__factoryAddress"
9090
9191 let Q = {
9292 let L = getString(this, P)
9393 if ($isInstanceOf(L, "String"))
9494 then {
9595 let B = L
9696 addressFromString(B)
9797 }
9898 else if ($isInstanceOf(L, "Unit"))
9999 then unit
100100 else throw("Match error")
101101 }
102102
103103 let R = valueOrErrorMessage(Q, A("invalid factory address"))
104104
105105 let S = "%s__usdtAssetId"
106106
107107 let T = {
108108 let L = getString(R, S)
109109 if ($isInstanceOf(L, "String"))
110110 then {
111111 let B = L
112112 F(B)
113113 }
114114 else if ($isInstanceOf(L, "Unit"))
115115 then unit
116116 else throw("Match error")
117117 }
118118
119119 let U = valueOrErrorMessage(T, A("invalid usdt asset id"))
120120
121121 let V = "%s__calculatorAddress"
122122
123123 let W = valueOrElse(getBoolean(R, p), false)
124124
125125 func X (Y,z) = if ((Y == z))
126126 then true
127127 else C("permission denied")
128128
129129
130130 func Z (Y) = X(Y, this)
131131
132132
133133 func aa (Y) = X(Y, R)
134134
135135
136136 func ab (ac) = {
137- let L = getString(R, l)
138- if ($isInstanceOf(L, "String"))
139- then {
140- let ad = L
141- let ae = split(getStringValue(addressFromStringValue(ad), q), a)
142- if (containsElement(ae, toBase58String(ac)))
143- then true
144- else C("should be called by admin")
145- }
146- else if ($isInstanceOf(L, "Unit"))
147- then if ((addressFromPublicKey(ac) == R))
148- then true
149- else C("should be called by factory or admin")
150- else throw("Match error")
137+ let ad = addressFromStringValue(getStringValue(R, l))
138+ let ae = split(getStringValue(ad, q), a)
139+ if (containsElement(ae, toBase58String(ac)))
140+ then true
141+ else C("not allowed")
151142 }
152143
153144
154145 let af = "%s__accountScript"
155146
156147 func ag () = valueOrErrorMessage(getBinary(R, af), A("account script is not set"))
157148
158149
159150 let ah = "%s__rewardAmount"
160151
161152 func ai () = valueOrErrorMessage(getInteger(R, ah), A("reward amount is not set"))
162153
163154
164155 let aj = "%s__accountsLimit"
165156
166157 let ak = 20
167158
168159 func al () = valueOrElse(getInteger(R, aj), ak)
169160
170161
171162 func am (an) = makeString(["%s%s", "deposited", toString(an)], a)
172163
173164
174165 func ao (an) = getInteger(R, am(an))
175166
176167
177168 func ap (an,J) = makeString(["%s%s%s", "credit", toString(an), H(J)], a)
178169
179170
180171 func aq (an,J) = getInteger(R, ap(an, J))
181172
182173
183174 func ar (an) = makeString(["%s%s", "leverage", toString(an)], a)
184175
185176
186177 func as (at) = makeString(["%s%s", "syntheticAssetId", H(at)], a)
187178
188179
189180 func au (av) = makeString(["%s%s", "baseAssetId", H(av)], a)
190181
191182
192183 let aw = 0
193184
194185 let ax = 1
195186
196187 func ay (az) = makeString(["%s%s", toBase58String(az), "status"], a)
197188
198189
199190 func aA (an) = makeString(["%s%s", toString(an), "creatorPublicKey"], a)
200191
201192
202193 func aB (az) = makeString(["%s%s", toBase58String(az), "ownerPublicKey"], a)
203194
204195
205196 func aC (az) = makeString(["%s%s", toBase58String(az), "amountAssetId"], a)
206197
207198
208199 func aD (az) = makeString(["%s%s", toBase58String(az), "priceAssetId"], a)
209200
210201
211202 func aE (az) = makeString(["%s%s", toBase58String(az), "requestIdToAccountPublicKey"], a)
212203
213204
214205 func aF (an) = makeString(["%s%s", toString(an), "accountAddressToRequestId"], a)
215206
216207
217208 func aG () = makeString(["%s", "requestsQueue"], a)
218209
219210
220211 func aH () = valueOrElse(getBinary(R, aG()), base58'')
221212
222213
223214 func aI () = makeString(["%s", "accountsQueue"], a)
224215
225216
226217 func aJ () = valueOrElse(getBinary(R, aI()), base58'')
227218
228219
229220 func aK (aL) = makeString(["%s%s", "requests", toString(aL)], a)
230221
231222
232223 func aM (aL) = valueOrElse(getBinary(R, aK(aL)), base58'')
233224
234225
235226 func aN (aO,aP) = makeString(["%s%s%s", H(aO), H(aP), "pairAllowed"], a)
236227
237228
238229 func aQ (aO,aP) = valueOrElse(getBoolean(R, aN(aO, aP)), false)
239230
240231
241232 func aR (J) = makeString(["%s", H(J)], a)
242233
243234
244235 func aS (J) = {
245236 let aT = fromBase58String(valueOrErrorMessage(getString(R, r), A("invalid matcher public key")))
246237 let aU = addressFromPublicKey(aT)
247238 let aV = valueOrErrorMessage(getInteger(aU, aR(J)), A(("invalid price, assetId = " + H(J))))
248239 aV
249240 }
250241
251242
252243 func aW (aX,aY,aZ) = (fraction(aX, aZ, f) + aY)
253244
254245
255246 func ba (bb,bc,aZ) = (fraction(bb, aZ, f) + bc)
256247
257248
258249 func bd (be,bf) = (be - bf)
259250
260251
261252 func bg (bh,bi,bf) = (fraction(bh, bi, f) - bf)
262253
263254
264255 func bj (bk,bl) = if ((bk > k))
265256 then (bk - bl)
266257 else k
267258
268259
269260 func bm (bk,bl) = if ((bk > k))
270261 then (bl - bk)
271262 else k
272263
273264
274265 func bn (bo,bp) = if ((bp > k))
275266 then max([k, fraction(bo, f, bp)])
276267 else k
277268
278269
279270 func bq (bo,bp) = if ((bp > k))
280271 then max([k, fraction(bp, f, bo)])
281272 else k
282273
283274
284275 func br (bs,bt,aZ,bu) = fraction((fraction(bs, aZ, f) + bt), bu, f)
285276
286277
287278 func bv (bw,bu,bx) = fraction(bw, bx, bu)
288279
289280
290281 func by (bh,bz,bs,bt,bA,bB) = {
291282 let bC = if ((bs > k))
292283 then (((bh - bz) / bs) + bA)
293284 else k
294285 let bD = if ((bt > k))
295286 then (bB - ((bh - bz) / (bs / bB)))
296287 else k
297288 (bC + bD)
298289 }
299290
300291
301292 func bE (an) = {
302293 let az = fromBase58String(valueOrErrorMessage(getString(R, aF(an)), A("invalid account address: request id is undefined")))
303294 let aO = F(valueOrErrorMessage(getString(R, aC(az)), A("invalid amount asset id")))
304295 let aP = F(valueOrErrorMessage(getString(R, aD(az)), A("invalid amount price id")))
305296 $Tuple2(aO, aP)
306297 }
307298
308299
309300 func bF (an) = {
310301 let az = fromBase58String(valueOrErrorMessage(getString(R, aF(an)), A("invalid account address: request id is undefined")))
311302 let bG = valueOrErrorMessage(getBinary(R, aB(az)), A("invalid amount asset id"))
312303 bG
313304 }
314305
315306
316307 @Callable(bH)
317308 func init (bI) = {
318309 let bJ = Z(bH.caller)
319310 if ((bJ == bJ))
320311 then $Tuple2([StringEntry(P, bI)], unit)
321312 else throw("Strict value is not equal to itself.")
322313 }
323314
324315
325316
326317 @Callable(bH)
327318 func requestAccount (ac,bK) = {
328319 let bL = [if (!(W))
329320 then true
330321 else C("not allowed"), aa(bH.caller)]
331322 if ((bL == bL))
332323 then {
333324 let bM = bK[0]
334325 let bN = bK[1]
335326 let bO = addressFromPublicKey(ac)
336327 let az = sha256(((bO.bytes + fromBase58String(bM)) + fromBase58String(bN)))
337328 let aO = F(bM)
338329 let aP = F(bN)
339330 let bP = (size(aK(bO)) / j)
340331 let bQ = [if ((size(bH.payments) == 1))
341332 then true
342333 else C("1 payment is required"), if ((bH.payments[0].assetId == unit))
343334 then true
344335 else C("invalid asset"), if ((bH.payments[0].amount == ai()))
345336 then true
346337 else C("invalid amount"), if (aQ(aO, aP))
347338 then true
348339 else C("pair is not allowed"), if ((getInteger(R, ay(az)) == unit))
349340 then true
350341 else C("account is already exists"), if ((al() > bP))
351342 then true
352343 else C(("accounts limit is " + toString(al())))]
353344 if ((bQ == bQ))
354345 then {
355346 let bR = if ((size(aJ()) == 0))
356347 then $Tuple2([ScriptTransfer(R, ai(), unit)], [invoke(R, "integerEntry", [ay(az), aw], nil), invoke(R, "binaryEntry", [aG(), (aH() + az)], nil)])
357348 else {
358349 let bS = take(aJ(), j)
359350 let an = addressFromPublicKey(bS)
360351 let bT = addressFromPublicKey(valueOrErrorMessage(getBinary(R, aA(an)), A("invalid creator public key")))
361352 $Tuple2([ScriptTransfer(bT, ai(), unit)], [invoke(R, "binaryEntry", [aI(), drop(aJ(), j)], nil), invoke(R, "integerEntry", [ay(az), ax], nil), invoke(R, "binaryEntry", [aE(az), bS], nil), invoke(R, "stringEntry", [aF(an), toBase58String(az)], nil)])
362353 }
363354 let bU = bR._1
364355 let bV = bR._2
365356 $Tuple2(bU, (bV ++ [invoke(R, "binaryEntry", [aB(az), ac], nil), invoke(R, "binaryEntry", [aK(bO), (aM(bO) + az)], nil), invoke(R, "stringEntry", [aC(az), bM], nil), invoke(R, "stringEntry", [aD(az), bN], nil)]))
366357 }
367358 else throw("Strict value is not equal to itself.")
368359 }
369360 else throw("Strict value is not equal to itself.")
370361 }
371362
372363
373364
374365 @Callable(bH)
375366 func addAccount (ac,bK) = {
376367 let bL = [if (!(W))
377368 then true
378369 else C("not allowed"), aa(bH.caller)]
379370 if ((bL == bL))
380371 then {
381372 let bW = fromBase58String(bK[0])
382373 let bS = ac
383374 let an = addressFromPublicKey(ac)
384375 let bT = addressFromPublicKey(bW)
385376 let bQ = [if ((getBinary(R, aA(an)) == unit))
386377 then true
387378 else C("account is already exists"), if ({
388379 let L = scriptHash(an)
389380 if ($isInstanceOf(L, "ByteVector"))
390381 then {
391382 let bX = L
392383 (bX == blake2b256_32Kb(ag()))
393384 }
394385 else false
395386 })
396387 then true
397388 else C("invalid script")]
398389 if ((bQ == bQ))
399390 then {
400391 let bY = if ((size(aH()) == 0))
401392 then $Tuple2(nil, [invoke(R, "binaryEntry", [aI(), (aJ() + bS)], nil)])
402393 else {
403394 let az = take(aH(), j)
404395 $Tuple2(nil, [invoke(R, "integerEntry", [ay(az), ax], nil), invoke(R, "binaryEntry", [aE(az), bS], nil), invoke(R, "binaryEntry", [aG(), drop(aH(), j)], nil), invoke(R, "stringEntry", [aF(an), toBase58String(az)], nil), invoke(R, "transferWaves", [bT.bytes, ai()], nil)])
405396 }
406397 let bU = bY._1
407398 let bV = bY._2
408399 $Tuple2(bU, (bV ++ [invoke(R, "binaryEntry", [aA(an), bW], nil)]))
409400 }
410401 else throw("Strict value is not equal to itself.")
411402 }
412403 else throw("Strict value is not equal to itself.")
413404 }
414405
415406
416407
417408 @Callable(bH)
418409 func deposit (ac,bK) = {
419410 let bZ = bH.payments[0]
420411 let bL = [if (!(W))
421412 then true
422413 else C("not allowed"), aa(bH.caller), if ((size(bH.payments) == 1))
423414 then true
424415 else C("1 payment is required"), if ((bZ.assetId == U))
425416 then true
426417 else C("invalid asset")]
427418 if ((bL == bL))
428419 then {
429420 let an = valueOrErrorMessage(addressFromString(bK[0]), A("invalid account address"))
430421 let bU = [ScriptTransfer(an, bZ.amount, bZ.assetId)]
431422 let bV = [invoke(R, "integerEntry", [am(an), (valueOrElse(ao(an), 0) + bZ.amount)], nil)]
432423 $Tuple2(bU, bV)
433424 }
434425 else throw("Strict value is not equal to itself.")
435426 }
436427
437428
438429
439430 @Callable(bH)
440431 func withdraw (ac,bK) = {
441432 let bL = [if (!(W))
442433 then true
443434 else C("not allowed"), aa(bH.caller)]
444435 if ((bL == bL))
445436 then {
446437 let bO = addressFromPublicKey(ac)
447438 let an = valueOrErrorMessage(addressFromString(bK[0]), A("invalid account address"))
448439 let ca = valueOrErrorMessage(parseInt(bK[1]), A("invalid amount"))
449440 let J = F(bK[2])
450441 let cb = [invoke(an, "transferAsset", [bO.bytes, ca, J], nil)]
451442 $Tuple2(nil, cb)
452443 }
453444 else throw("Strict value is not equal to itself.")
454445 }
455446
456447
457448
458449 @Callable(bH)
459450 func borrow (ac,bK) = {
460451 let an = valueOrErrorMessage(addressFromString(bK[0]), A("invalid account address"))
461452 let cc = F(bK[1])
462453 let cd = D(valueOrErrorMessage(parseInt(bK[2]), A("invalid requested amount")), "requested amount")
463454 let ce = bF(an)
464455 let bO = addressFromPublicKey(ac)
465456 let bL = [if (!(W))
466457 then true
467458 else C("not allowed"), aa(bH.caller), if ((ac == ce))
468459 then true
469460 else C("can be called by account owner only")]
470461 if ((bL == bL))
471462 then {
472463 let aO = bE(an)._1
473464 let cf = s(valueOrElse(ao(an), 0), O(U))
474465 let aZ = s(aS(aO), O(U))
475466 let aX = s(valueOrElse(getInteger(R, ap(an, aO)), 0), O(aO))
476467 let aY = s(valueOrElse(getInteger(R, ap(an, U)), 0), O(U))
477468 let bf = aW(aX, aY, aZ)
478469 let cg = 3
479470 let bi = s(valueOrElse(getInteger(R, ar(an)), cg), 1)
480471 let ch = bg(cf, bi, bf)
481472 let ci = if ((cc == aO))
482473 then v(fraction(ch, f, aZ), O(aO))
483474 else if ((cc == U))
484475 then v(ch, O(U))
485476 else C("invalid requested asset id")
486477 let av = F(valueOrErrorMessage(getString(R, as(cc)), A("synthetic asset for requested asset is undefined")))
487478 let cj = if ((ci >= cd))
488479 then cd
489480 else C(("credit available = " + toString(ci)))
490481 let bV = [invoke(R, "integerEntry", [ap(an, cc), (valueOrElse(aq(an, cc), 0) + cj)], nil), invoke(R, "transferAsset", [bO.bytes, cj, av], nil)]
491482 $Tuple2(nil, [bV, ci])
492483 }
493484 else throw("Strict value is not equal to itself.")
494485 }
495486
496487
497488
498489 @Callable(bH)
499490 func repay (ac,bK) = {
500491 let bL = [if (!(W))
501492 then true
502493 else C("not allowed"), aa(bH.caller)]
503494 if ((bL == bL))
504495 then $Tuple2(nil, unit)
505496 else throw("Strict value is not equal to itself.")
506497 }
507498
508499
509500
510501 @Callable(bH)
511502 func setPairAllowance (ac,bK) = {
512503 let bL = [if (!(W))
513504 then true
514505 else C("not allowed"), aa(bH.caller), ab(ac)]
515506 if ((bL == bL))
516507 then {
517508 let bM = bK[0]
518509 let bN = bK[1]
519510 let ck = bK[2]
520511 let aO = F(bM)
521512 let aP = F(bN)
522513 let cl = (ck == "true")
523514 let cb = [invoke(R, "booleanEntry", [aN(aO, aP), cl], nil)]
524515 $Tuple2(nil, cb)
525516 }
526517 else throw("Strict value is not equal to itself.")
527518 }
528519
529520
530521
531522 @Callable(bH)
532523 func addSyntheticAsset (ac,bK) = {
533524 let at = F(bK[0])
534525 let av = F(bK[1])
535526 let bL = [if (!(W))
536527 then true
537- else C("not allowed"), aa(bH.caller), ab(ac), if ((getString(R, as(at)) == unit))
528+ else C("not allowed"), aa(bH.caller), if ((getString(R, as(at)) == unit))
538529 then true
539530 else C("invalid base asset"), if ((getString(R, au(av)) == unit))
540531 then true
541532 else C("invalid synthetic asset")]
542533 if ((bL == bL))
543534 then {
544535 let cb = [invoke(R, "stringEntry", [as(at), H(av)], nil), invoke(R, "stringEntry", [au(av), H(at)], nil)]
545536 $Tuple2(nil, cb)
546537 }
547538 else throw("Strict value is not equal to itself.")
548539 }
549540
550541
551542
552543 @Callable(bH)
553544 func doShutdown (ac,bK) = {
554545 let bQ = [aa(bH.caller), ab(ac)]
555546 if ((bQ == bQ))
556547 then {
557548 let cb = [invoke(R, "booleanEntry", [p, true], nil)]
558549 $Tuple2(nil, cb)
559550 }
560551 else throw("Strict value is not equal to itself.")
561552 }
562553
563554
564555 @Verifier(cm)
565556 func cn () = if (if (isDefined(Q))
566557 then isDefined(getString(R, l))
567558 else false)
568559 then {
569560 let L = getString(R, l)
570561 if ($isInstanceOf(L, "String"))
571562 then {
572563 let ad = L
573564 let co = m(toString(this), toBase58String(cm.id))
574565 let cp = valueOrElse(getBoolean(addressFromStringValue(ad), co), false)
575566 cp
576567 }
577568 else false
578569 }
579570 else sigVerify(cm.bodyBytes, cm.proofs[0], cm.senderPublicKey)
580571

github/deemru/w8io/169f3d6 
59.92 ms