tx · GmsGtDifMd15rEskJhdQWp4mTqDDskvm5ePsqJaeTjP6

3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB:  -0.01000000 Waves

2023.01.09 16:25 [2397460] smart account 3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB > SELF 0.00000000 Waves

{ "type": 13, "id": "GmsGtDifMd15rEskJhdQWp4mTqDDskvm5ePsqJaeTjP6", "fee": 1000000, "feeAssetId": null, "timestamp": 1673270718797, "version": 2, "chainId": 84, "sender": "3MtEFgs9JgvadLTPHxmNTLoYdWeb2q6S8NB", "senderPublicKey": "1TPcHyMLh4VbFSScV3oHKxxgdSwY4XC6TaGyrqhFrhd", "proofs": [ "52TPDC771CCD5wrheo5pFEhBca7RnCYguAzLiKg3GAmB6jtGeGPKMCARNPR52cjgGazBevGdYxcHBhaLhu7aLpU8" ], "script": "base64:BgIGCAISABIACAAHbWVzc2FnZQkBEUBleHRyTmF0aXZlKDEwNTIpAgUEdGhpcwIHbWVzc2FnZQADc2lnCQERQGV4dHJOYXRpdmUoMTA1MikCBQR0aGlzAgNzaWcAA3B1YgkBEUBleHRyTmF0aXZlKDEwNTIpAgUEdGhpcwIDcHViAAZ2ZXJpZnkJAPQDAwUHbWVzc2FnZQUDc2lnBQNwdWIAA2FycgkAzAgCAAEJAMwIAgACCQDMCAIAAwkAzAgCAAQJAMwIAgAFCQDMCAIABgkAzAgCAAcJAMwIAgAIBQNuaWwBDGlubmVyUG93RnVuYwIDYWNjBG5leHQDBQZ2ZXJpZnkEA2JpZwkAtgIBBQRuZXh0CQBkAgkAZAIFA2FjYwkAoAMBCQB2BgUDYmlnAAEFA2JpZwABAAEFBERPV04JAKADAQkAdgYFA2JpZwACBQNiaWcAAgACBQRET1dOBQNuaWwBB3Bvd0Z1bmMCA2FjYwRuZXh0AwUGdmVyaWZ5BANiaWcJALYCAQUEbmV4dAkAZAIFA2FjYwoAAiRsBQNhcnIKAAIkcwkAkAMBBQIkbAoABSRhY2MwBQRuZX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AiRzBQIkYQkBB3Bvd0Z1bmMCBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECE0xpc3Qgc2l6ZSBleGNlZWRzIDgJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAICQCUCgIFA25pbAUBcAD9QlDg", "height": 2397460, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 85mSqZvhTLrxbkucbDfQUNhZQtwLmMPwoJcJ3UYGatiF Next: none Full:
OldNewDifferences
1-{-# STDLIB_VERSION 5 #-}
1+{-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let a = getBinaryValue(this, "message")
5+
6+let b = getBinaryValue(this, "sig")
7+
8+let c = getBinaryValue(this, "pub")
9+
10+let d = sigVerify(a, b, c)
11+
12+let e = [1, 2, 3, 4, 5, 6, 7, 8]
13+
14+func f (g,h) = if (d)
15+ then {
16+ let i = toBigInt(h)
17+ ((g + toInt(pow(i, 1, i, 1, 1, DOWN))) + toInt(pow(i, 2, i, 2, 2, DOWN)))
18+ }
19+ else nil
420
521
6-@Callable(a)
7-func call () = {
8- let b = Issue("Asset", "", 1, 0, true, unit, 0)
9- let c = calculateAssetId(b)
10-[BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str")]
22+func j (g,h) = if (d)
23+ then {
24+ let i = toBigInt(h)
25+ (g + {
26+ let k = e
27+ let l = size(k)
28+ let m = h
29+ func n (o,p) = if ((p >= l))
30+ then o
31+ else f(o, k[p])
32+
33+ func q (o,p) = if ((p >= l))
34+ then o
35+ else throw("List size exceeds 8")
36+
37+ q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8)
38+ })
39+ }
40+ else nil
41+
42+
43+func r () = {
44+ let s = {
45+ let k = e
46+ let l = size(k)
47+ let m = 1
48+ func n (o,p) = if ((p >= l))
49+ then o
50+ else j(o, k[p])
51+
52+ func q (o,p) = if ((p >= l))
53+ then o
54+ else throw("List size exceeds 8")
55+
56+ q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8)
57+ }
58+ $Tuple2(nil, s)
1159 }
1260
1361
14-@Verifier(d)
15-func e () = sigVerify(d.bodyBytes, d.proofs[0], d.senderPublicKey)
62+@Callable(t)
63+func prepare () = [BinaryEntry("message", base58'emsY'), BinaryEntry("pub", base58'HnU9jfhpMcQNaG5yQ46eR43RnkWKGxerw2zVrbpnbGof'), BinaryEntry("sig", base58'4uXfw7162zaopAkTNa7eo6YK2mJsTiHGJL3dCtRRH63z1nrdoHBHyhbvrfZovkxf2jKsi2vPsaP2XykfZmUiwPeg')]
64+
65+
66+
67+@Callable(t)
68+func call () = {
69+ let s = {
70+ let k = e
71+ let l = size(k)
72+ let m = 1
73+ func n (o,p) = if ((p >= l))
74+ then o
75+ else j(o, k[p])
76+
77+ func q (o,p) = if ((p >= l))
78+ then o
79+ else throw("List size exceeds 8")
80+
81+ q(n(n(n(n(n(n(n(n(m, 0), 1), 2), 3), 4), 5), 6), 7), 8)
82+ }
83+ $Tuple2(nil, s)
84+ }
85+
1686

github/deemru/w8io/169f3d6 
19.75 ms