tx · 2ANXT7A4zCK917sjzPYSDguwCK2cyFknnx2eZieqac64 3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL: -0.01400000 Waves 2019.07.28 23:50 [606420] smart account 3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL > SELF 0.00000000 Waves
{ "type": 13, "id": "2ANXT7A4zCK917sjzPYSDguwCK2cyFknnx2eZieqac64", "fee": 1400000, "feeAssetId": null, "timestamp": 1564347076378, "version": 1, "sender": "3N4RCuByb1n8ikP3jYtYUYVQvT1vDkR6hfL", "senderPublicKey": "BRFZFVsnc2b87hEHPEVNzWUtayFELMnWmDiPuVUFkfZ3", "proofs": [ "5fZpw4JoWVumcdWqC4gV3NrTVGfDc1dRg6dcZw66EiA9mkQLaibTpKbmMi4g36Gf9NQMpWYSZHr7GqTuDBqzkT1Q" ], "script": "base64:AAIDAAAAAAAAAAAAAAAAAAAAAgAAAAFpAQAAAAR0ZXN0AAAAAAQAAAAGcmVzdWx0AwMJAAH0AAAAAwEAAAAGWauGw2OmAQAAAAMCmnkBAAAAAwJ1hgYJAAH0AAAAAwEAAAAHFFDciESTnAEAAAADApp5AQAAAAMCdYYGCQAB9AAAAAMBAAAACASaUfbfiXFYAQAAAAMCmnkBAAAAAwJ1hgkAAAIAAAABCQABpQAAAAEFAAAABnJlc3VsdAAAAAFpAQAAAAh0b0Jhc2U1OAAAAAEAAAADbXNnBAAAAAZyZXN1bHQJAAJYAAAAAQkAAZsAAAABBQAAAANtc2cJAAACAAAAAQUAAAAGcmVzdWx0AAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAYjj6uH", "chainId": 84, "height": 606420, "spentComplexity": 0 } View: original | compacted Prev: GYKdvr2RvuvpAFLDDbuZemYVoTNYzT6aWv9xNMRdhxyL Next: 2sZWq1GcyLmvje5U9MCnsxwSRQpF7i34xMAZXBoRBXRR Diff:
Old | New | Differences | |
---|---|---|---|
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func test () = { | |
8 | - | let result = | |
8 | + | let result = if (if (sigVerify(base58'message1', base58'sig', base58'pub')) | |
9 | 9 | then true | |
10 | 10 | else sigVerify(base58'message11', base58'sig', base58'pub')) | |
11 | 11 | then true | |
12 | - | else sigVerify(base58'message111', base58'sig', base58'pub')) | |
13 | - | then true | |
14 | - | else sigVerify(base58'message1111', base58'sig', base58'pub')) | |
15 | - | then true | |
16 | - | else sigVerify(base58'message11111', base58'sig', base58'pub')) | |
17 | - | then true | |
18 | - | else sigVerify(base58'message111111', base58'sig', base58'pub')) | |
19 | - | then true | |
20 | - | else sigVerify(base58'message2', base58'sig', base58'pub')) | |
21 | - | then true | |
22 | - | else sigVerify(base58'message22', base58'sig', base58'pub')) | |
23 | - | then true | |
24 | - | else sigVerify(base58'message222', base58'sig', base58'pub')) | |
25 | - | then true | |
26 | - | else sigVerify(base58'message2222', base58'sig', base58'pub')) | |
27 | - | then true | |
28 | - | else sigVerify(base58'message22222', base58'sig', base58'pub')) | |
29 | - | then true | |
30 | - | else sigVerify(base58'message222222', base58'sig', base58'pub')) | |
31 | - | then true | |
32 | - | else sigVerify(base58'message3', base58'sig', base58'pub')) | |
33 | - | then true | |
34 | - | else sigVerify(base58'message33', base58'sig', base58'pub')) | |
35 | - | then true | |
36 | - | else sigVerify(base58'message333', base58'sig', base58'pub')) | |
37 | - | then true | |
38 | - | else sigVerify(base58'message3333', base58'sig', base58'pub')) | |
39 | - | then true | |
40 | - | else sigVerify(base58'message33333', base58'sig', base58'pub')) | |
41 | - | then true | |
42 | - | else sigVerify(base58'message333333', base58'sig', base58'pub')) | |
43 | - | then true | |
44 | - | else sigVerify(base58'message4', base58'sig', base58'pub')) | |
45 | - | then true | |
46 | - | else sigVerify(base58'message44', base58'sig', base58'pub')) | |
47 | - | then true | |
48 | - | else sigVerify(base58'message444', base58'sig', base58'pub')) | |
49 | - | then true | |
50 | - | else sigVerify(base58'message4444', base58'sig', base58'pub')) | |
51 | - | then true | |
52 | - | else sigVerify(base58'message44444', base58'sig', base58'pub')) | |
53 | - | then true | |
54 | - | else sigVerify(base58'message444444', base58'sig', base58'pub')) | |
55 | - | then true | |
56 | - | else sigVerify(base58'message5', base58'sig', base58'pub')) | |
57 | - | then true | |
58 | - | else sigVerify(base58'message55', base58'sig', base58'pub')) | |
59 | - | then true | |
60 | - | else sigVerify(base58'message555', base58'sig', base58'pub')) | |
61 | - | then true | |
62 | - | else sigVerify(base58'message5555', base58'sig', base58'pub')) | |
63 | - | then true | |
64 | - | else sigVerify(base58'message55555', base58'sig', base58'pub')) | |
65 | - | then true | |
66 | - | else sigVerify(base58'message555555', base58'sig', base58'pub')) | |
67 | - | then true | |
68 | - | else sigVerify(base58'message6', base58'sig', base58'pub')) | |
69 | - | then true | |
70 | - | else sigVerify(base58'message66', base58'sig', base58'pub')) | |
71 | - | then true | |
72 | - | else sigVerify(base58'message666', base58'sig', base58'pub')) | |
73 | - | then true | |
74 | - | else sigVerify(base58'message6666', base58'sig', base58'pub')) | |
75 | - | then true | |
76 | - | else sigVerify(base58'message66666', base58'sig', base58'pub')) | |
77 | - | then true | |
78 | - | else sigVerify(base58'message666666', base58'sig', base58'pub')) | |
79 | - | then true | |
80 | - | else sigVerify(base58'message7', base58'sig', base58'pub')) | |
81 | - | then true | |
82 | - | else sigVerify(base58'message77', base58'sig', base58'pub') | |
12 | + | else sigVerify(base58'message111', base58'sig', base58'pub') | |
83 | 13 | throw(toString(result)) | |
14 | + | } | |
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | @Callable(i) | |
19 | + | func toBase58 (msg) = { | |
20 | + | let result = toBase58String(toBytes(msg)) | |
21 | + | throw(result) | |
84 | 22 | } | |
85 | 23 | ||
86 | 24 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | 7 | func test () = { | |
8 | - | let result = | |
8 | + | let result = if (if (sigVerify(base58'message1', base58'sig', base58'pub')) | |
9 | 9 | then true | |
10 | 10 | else sigVerify(base58'message11', base58'sig', base58'pub')) | |
11 | 11 | then true | |
12 | - | else sigVerify(base58'message111', base58'sig', base58'pub')) | |
13 | - | then true | |
14 | - | else sigVerify(base58'message1111', base58'sig', base58'pub')) | |
15 | - | then true | |
16 | - | else sigVerify(base58'message11111', base58'sig', base58'pub')) | |
17 | - | then true | |
18 | - | else sigVerify(base58'message111111', base58'sig', base58'pub')) | |
19 | - | then true | |
20 | - | else sigVerify(base58'message2', base58'sig', base58'pub')) | |
21 | - | then true | |
22 | - | else sigVerify(base58'message22', base58'sig', base58'pub')) | |
23 | - | then true | |
24 | - | else sigVerify(base58'message222', base58'sig', base58'pub')) | |
25 | - | then true | |
26 | - | else sigVerify(base58'message2222', base58'sig', base58'pub')) | |
27 | - | then true | |
28 | - | else sigVerify(base58'message22222', base58'sig', base58'pub')) | |
29 | - | then true | |
30 | - | else sigVerify(base58'message222222', base58'sig', base58'pub')) | |
31 | - | then true | |
32 | - | else sigVerify(base58'message3', base58'sig', base58'pub')) | |
33 | - | then true | |
34 | - | else sigVerify(base58'message33', base58'sig', base58'pub')) | |
35 | - | then true | |
36 | - | else sigVerify(base58'message333', base58'sig', base58'pub')) | |
37 | - | then true | |
38 | - | else sigVerify(base58'message3333', base58'sig', base58'pub')) | |
39 | - | then true | |
40 | - | else sigVerify(base58'message33333', base58'sig', base58'pub')) | |
41 | - | then true | |
42 | - | else sigVerify(base58'message333333', base58'sig', base58'pub')) | |
43 | - | then true | |
44 | - | else sigVerify(base58'message4', base58'sig', base58'pub')) | |
45 | - | then true | |
46 | - | else sigVerify(base58'message44', base58'sig', base58'pub')) | |
47 | - | then true | |
48 | - | else sigVerify(base58'message444', base58'sig', base58'pub')) | |
49 | - | then true | |
50 | - | else sigVerify(base58'message4444', base58'sig', base58'pub')) | |
51 | - | then true | |
52 | - | else sigVerify(base58'message44444', base58'sig', base58'pub')) | |
53 | - | then true | |
54 | - | else sigVerify(base58'message444444', base58'sig', base58'pub')) | |
55 | - | then true | |
56 | - | else sigVerify(base58'message5', base58'sig', base58'pub')) | |
57 | - | then true | |
58 | - | else sigVerify(base58'message55', base58'sig', base58'pub')) | |
59 | - | then true | |
60 | - | else sigVerify(base58'message555', base58'sig', base58'pub')) | |
61 | - | then true | |
62 | - | else sigVerify(base58'message5555', base58'sig', base58'pub')) | |
63 | - | then true | |
64 | - | else sigVerify(base58'message55555', base58'sig', base58'pub')) | |
65 | - | then true | |
66 | - | else sigVerify(base58'message555555', base58'sig', base58'pub')) | |
67 | - | then true | |
68 | - | else sigVerify(base58'message6', base58'sig', base58'pub')) | |
69 | - | then true | |
70 | - | else sigVerify(base58'message66', base58'sig', base58'pub')) | |
71 | - | then true | |
72 | - | else sigVerify(base58'message666', base58'sig', base58'pub')) | |
73 | - | then true | |
74 | - | else sigVerify(base58'message6666', base58'sig', base58'pub')) | |
75 | - | then true | |
76 | - | else sigVerify(base58'message66666', base58'sig', base58'pub')) | |
77 | - | then true | |
78 | - | else sigVerify(base58'message666666', base58'sig', base58'pub')) | |
79 | - | then true | |
80 | - | else sigVerify(base58'message7', base58'sig', base58'pub')) | |
81 | - | then true | |
82 | - | else sigVerify(base58'message77', base58'sig', base58'pub') | |
12 | + | else sigVerify(base58'message111', base58'sig', base58'pub') | |
83 | 13 | throw(toString(result)) | |
14 | + | } | |
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | @Callable(i) | |
19 | + | func toBase58 (msg) = { | |
20 | + | let result = toBase58String(toBytes(msg)) | |
21 | + | throw(result) | |
84 | 22 | } | |
85 | 23 | ||
86 | 24 | ||
87 | 25 | @Verifier(tx) | |
88 | 26 | func verify () = true | |
89 | 27 |
github/deemru/w8io/169f3d6 48.30 ms ◑