tx · 4H9qqjd7x7vkasd1hp8w9m8cvDoAUeFQpcH93UHQHTf7 3N4zGacudDXKxVE5ugQxu8st1D7fYuTVcmN: -0.01000000 Waves 2019.06.22 15:00 [553218] smart account 3N4zGacudDXKxVE5ugQxu8st1D7fYuTVcmN > SELF 0.00000000 Waves
{ "type": 13, "id": "4H9qqjd7x7vkasd1hp8w9m8cvDoAUeFQpcH93UHQHTf7", "fee": 1000000, "feeAssetId": null, "timestamp": 1561204805315, "version": 1, "sender": "3N4zGacudDXKxVE5ugQxu8st1D7fYuTVcmN", "senderPublicKey": "HxAjaRd9vmwcn1AaqEj6R74j6UUfhjGVYAY9VDBDYDkx", "proofs": [ "5i8rjrgnoxAJyEWdZy9HbwxaaGudYgM6jmsnKk4xM7nZEgVYUdUD3PvjxZqPs5fvrFMDupEUp3373nXMy4bcj5n6" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAAphY2MxUHViS2V5AQAAACD73PERfo8j4wLmaevpNjdYj3T+AcJPFP0k4i+W+LCifQAAAAAKYWNjMlB1YktleQEAAAAgSRfUaV8KdlfPUlFBSl5EcEsGsR52bDkZnci1Jxi68T8AAAAACXM1a1B1YktleQEAAAAgEDS9Wd0oND/5nhaYUoU8ikEhcaSo29CcItrLPFaUVmoAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAFYWNjMTAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAphY2MxUHViS2V5BAAAAAVhY2MxMQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACmFjYzFQdWJLZXkEAAAABWFjYzEyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAA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cGAwUAAAAFYWNjMTIFAAAABHM1azEHBgMFAAAABWFjYzEyBQAAAARzNWsyBwQAAAAKYWNjMmFuZHM1awMDAwMDAwUAAAAFYWNjMjEFAAAABHM1azEHBgMFAAAABWFjYzIyBQAAAARzNWsxBwYDBQAAAAVhY2MyMAUAAAAEczVrMgcGAwUAAAAFYWNjMjIFAAAABHM1azIHBgMFAAAABWFjYzEwBQAAAARzNWszBwYDBQAAAAVhY2MyMgUAAAAEczVrMwcEAAAAByRtYXRjaDAFAAAAAnR4AwMFAAAAC2FjYzFhbmRhY2MyBgUAAAAKYWNjMWFuZHM1awYFAAAACmFjYzJhbmRzNWuKB9ds", "chainId": 84, "height": 553218, "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let acc1PubKey = base58'HxAjaRd9vmwcn1AaqEj6R74j6UUfhjGVYAY9VDBDYDkx' | |
5 | + | ||
6 | + | let acc2PubKey = base58'5vKqYv1L4uB89AjfNzL7mxQixQDMwnhrMpiprr8xEfnW' | |
7 | + | ||
8 | + | let s5kPubKey = base58'26GAehmc1WPSk81xSFZ2R1GbMyEWtVNmTckjfESDERiR' | |
9 | + | ||
10 | + | ||
11 | + | @Verifier(tx) | |
12 | + | func verify () = { | |
13 | + | let acc10 = sigVerify(tx.bodyBytes, tx.proofs[0], acc1PubKey) | |
14 | + | let acc11 = sigVerify(tx.bodyBytes, tx.proofs[1], acc1PubKey) | |
15 | + | let acc12 = sigVerify(tx.bodyBytes, tx.proofs[2], acc1PubKey) | |
16 | + | let acc20 = sigVerify(tx.bodyBytes, tx.proofs[0], acc2PubKey) | |
17 | + | let acc21 = sigVerify(tx.bodyBytes, tx.proofs[1], acc2PubKey) | |
18 | + | let acc22 = sigVerify(tx.bodyBytes, tx.proofs[2], acc2PubKey) | |
19 | + | let s5k1 = sigVerify(tx.bodyBytes, tx.proofs[0], s5kPubKey) | |
20 | + | let s5k2 = sigVerify(tx.bodyBytes, tx.proofs[1], s5kPubKey) | |
21 | + | let s5k3 = sigVerify(tx.bodyBytes, tx.proofs[2], s5kPubKey) | |
22 | + | let acc1andacc2 = if (if (if (if (if (if (acc10) | |
23 | + | then acc21 | |
24 | + | else false) | |
25 | + | then true | |
26 | + | else if (acc10) | |
27 | + | then acc22 | |
28 | + | else false) | |
29 | + | then true | |
30 | + | else if (acc11) | |
31 | + | then acc20 | |
32 | + | else false) | |
33 | + | then true | |
34 | + | else if (acc11) | |
35 | + | then acc22 | |
36 | + | else false) | |
37 | + | then true | |
38 | + | else if (acc12) | |
39 | + | then acc20 | |
40 | + | else false) | |
41 | + | then true | |
42 | + | else if (acc12) | |
43 | + | then acc21 | |
44 | + | else false | |
45 | + | let acc1ands5k = if (if (if (if (if (if (acc10) | |
46 | + | then s5k2 | |
47 | + | else false) | |
48 | + | then true | |
49 | + | else if (acc10) | |
50 | + | then s5k3 | |
51 | + | else false) | |
52 | + | then true | |
53 | + | else if (acc11) | |
54 | + | then s5k1 | |
55 | + | else false) | |
56 | + | then true | |
57 | + | else if (acc11) | |
58 | + | then s5k3 | |
59 | + | else false) | |
60 | + | then true | |
61 | + | else if (acc12) | |
62 | + | then s5k1 | |
63 | + | else false) | |
64 | + | then true | |
65 | + | else if (acc12) | |
66 | + | then s5k2 | |
67 | + | else false | |
68 | + | let acc2ands5k = if (if (if (if (if (if (acc21) | |
69 | + | then s5k1 | |
70 | + | else false) | |
71 | + | then true | |
72 | + | else if (acc22) | |
73 | + | then s5k1 | |
74 | + | else false) | |
75 | + | then true | |
76 | + | else if (acc20) | |
77 | + | then s5k2 | |
78 | + | else false) | |
79 | + | then true | |
80 | + | else if (acc22) | |
81 | + | then s5k2 | |
82 | + | else false) | |
83 | + | then true | |
84 | + | else if (acc10) | |
85 | + | then s5k3 | |
86 | + | else false) | |
87 | + | then true | |
88 | + | else if (acc22) | |
89 | + | then s5k3 | |
90 | + | else false | |
91 | + | match tx { | |
92 | + | case _ => | |
93 | + | if (if (acc1andacc2) | |
94 | + | then true | |
95 | + | else acc1ands5k) | |
96 | + | then true | |
97 | + | else acc2ands5k | |
98 | + | } | |
99 | + | } | |
100 | + |
github/deemru/w8io/169f3d6 30.22 ms ◑