tx · GHTmnpf16Ssv91eXqnJ8z1VLfz1NbVzrsVpmoJ575qji 3Mu5az6au8YX5m5TRUsP6AikYd1sEYuHpuX: -0.01400000 Waves 2019.09.15 22:03 [677718] smart account 3Mu5az6au8YX5m5TRUsP6AikYd1sEYuHpuX > SELF 0.00000000 Waves
{ "type": 13, "id": "GHTmnpf16Ssv91eXqnJ8z1VLfz1NbVzrsVpmoJ575qji", "fee": 1400000, "feeAssetId": null, "timestamp": 1568574262380, "version": 1, "sender": "3Mu5az6au8YX5m5TRUsP6AikYd1sEYuHpuX", "senderPublicKey": "3HfyXf2ZAkJWH8JFGthdvdbGCpzxifMdMtzmC9LgpNdA", "proofs": [ "3Gk6exhKqsBCdQKC79Sz8HHoRas6v83eCqJvcCbsZGdrWkX38W111Kf39jCgecQZPwvnJSKyVJzaq2ubw8Z8nQvS" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAApQdWJsaWNLZXlBAQAAACBlFG/sIPg+U07YjSH40UeKhfiAtTLEqBV7ZCcIiV3kWgAAAAAKUHVibGljS2V5QgEAAAAgkhAQBREgpyFt1ILIF6E20M663uCkYdk1oBN359NmiFcAAAAAClB1YmxpY0tleUMBAAAAICH8vE0tnW7RIe7z+ffR91fFeoG7GarbjyvkQ1TBiElNAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAACUFjY291bnRBMQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAClB1YmxpY0tleUEEAAAACUFjY291bnRBMgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAAClB1YmxpY0tleUEEAAAACUFjY291bnRBMwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAA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BY2NvdW50QTEFAAAACUFjY291bnRDMwcGAwUAAAAJQWNjb3VudEEyBQAAAAlBY2NvdW50QzEHBgMFAAAACUFjY291bnRBMgUAAAAJQWNjb3VudEMzBwYDBQAAAAlBY2NvdW50QTMFAAAACUFjY291bnRDMQcGAwUAAAAJQWNjb3VudEEzBQAAAAlBY2NvdW50QzIHBAAAAAJDQgMDAwMDAwUAAAAJQWNjb3VudEMxBQAAAAlBY2NvdW50QjIHBgMFAAAACUFjY291bnRDMQUAAAAJQWNjb3VudEIzBwYDBQAAAAlBY2NvdW50QzIFAAAACUFjY291bnRCMQcGAwUAAAAJQWNjb3VudEMyBQAAAAlBY2NvdW50QjMHBgMFAAAACUFjY291bnRDMwUAAAAJQWNjb3VudEIxBwYDBQAAAAlBY2NvdW50QzMFAAAACUFjY291bnRCMgcEAAAAByRtYXRjaDAFAAAAAnR4AwMFAAAAAkFCBgUAAAACQUMGBQAAAAJDQk2rVA4=", "chainId": 84, "height": 677718, "spentComplexity": 0 } View: original | compacted Prev: 7podcyZnKCyb7TX18Wc9jZRCAMviCmnYxQgVQjHdDdNc Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let PublicKeyA = base58'7oaFdWwnwtS1JDpBsDZMbtR3t4u1ZqLwECqz5FJ2NSsB' | |
4 | 5 | ||
6 | + | let PublicKeyB = base58'AqAjKhpty12gZLGVeYp5KBits72Ahgud7eBBveb2ju2n' | |
7 | + | ||
8 | + | let PublicKeyC = base58'3HfyXf2ZAkJWH8JFGthdvdbGCpzxifMdMtzmC9LgpNdA' | |
5 | 9 | ||
6 | 10 | ||
7 | 11 | @Verifier(tx) | |
8 | - | func verify () = match tx { | |
9 | - | case d: DataTransaction => | |
10 | - | false | |
11 | - | case s: SetScriptTransaction => | |
12 | - | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
13 | - | case t: TransferTransaction => | |
14 | - | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
15 | - | case _ => | |
16 | - | false | |
17 | - | } | |
12 | + | func verify () = { | |
13 | + | let AccountA1 = sigVerify(tx.bodyBytes, tx.proofs[0], PublicKeyA) | |
14 | + | let AccountA2 = sigVerify(tx.bodyBytes, tx.proofs[1], PublicKeyA) | |
15 | + | let AccountA3 = sigVerify(tx.bodyBytes, tx.proofs[2], PublicKeyA) | |
16 | + | let AccountB1 = sigVerify(tx.bodyBytes, tx.proofs[0], PublicKeyB) | |
17 | + | let AccountB2 = sigVerify(tx.bodyBytes, tx.proofs[1], PublicKeyB) | |
18 | + | let AccountB3 = sigVerify(tx.bodyBytes, tx.proofs[2], PublicKeyB) | |
19 | + | let AccountC1 = sigVerify(tx.bodyBytes, tx.proofs[0], PublicKeyC) | |
20 | + | let AccountC2 = sigVerify(tx.bodyBytes, tx.proofs[1], PublicKeyC) | |
21 | + | let AccountC3 = sigVerify(tx.bodyBytes, tx.proofs[2], PublicKeyC) | |
22 | + | let AB = if (if (if (if (if (if (AccountA1) | |
23 | + | then AccountB2 | |
24 | + | else false) | |
25 | + | then true | |
26 | + | else if (AccountA1) | |
27 | + | then AccountB3 | |
28 | + | else false) | |
29 | + | then true | |
30 | + | else if (AccountA2) | |
31 | + | then AccountB1 | |
32 | + | else false) | |
33 | + | then true | |
34 | + | else if (AccountA2) | |
35 | + | then AccountB3 | |
36 | + | else false) | |
37 | + | then true | |
38 | + | else if (AccountA3) | |
39 | + | then AccountB1 | |
40 | + | else false) | |
41 | + | then true | |
42 | + | else if (AccountA3) | |
43 | + | then AccountB2 | |
44 | + | else false | |
45 | + | let AC = if (if (if (if (if (if (AccountA1) | |
46 | + | then AccountC2 | |
47 | + | else false) | |
48 | + | then true | |
49 | + | else if (AccountA1) | |
50 | + | then AccountC3 | |
51 | + | else false) | |
52 | + | then true | |
53 | + | else if (AccountA2) | |
54 | + | then AccountC1 | |
55 | + | else false) | |
56 | + | then true | |
57 | + | else if (AccountA2) | |
58 | + | then AccountC3 | |
59 | + | else false) | |
60 | + | then true | |
61 | + | else if (AccountA3) | |
62 | + | then AccountC1 | |
63 | + | else false) | |
64 | + | then true | |
65 | + | else if (AccountA3) | |
66 | + | then AccountC2 | |
67 | + | else false | |
68 | + | let CB = if (if (if (if (if (if (AccountC1) | |
69 | + | then AccountB2 | |
70 | + | else false) | |
71 | + | then true | |
72 | + | else if (AccountC1) | |
73 | + | then AccountB3 | |
74 | + | else false) | |
75 | + | then true | |
76 | + | else if (AccountC2) | |
77 | + | then AccountB1 | |
78 | + | else false) | |
79 | + | then true | |
80 | + | else if (AccountC2) | |
81 | + | then AccountB3 | |
82 | + | else false) | |
83 | + | then true | |
84 | + | else if (AccountC3) | |
85 | + | then AccountB1 | |
86 | + | else false) | |
87 | + | then true | |
88 | + | else if (AccountC3) | |
89 | + | then AccountB2 | |
90 | + | else false | |
91 | + | match tx { | |
92 | + | case _ => | |
93 | + | if (if (AB) | |
94 | + | then true | |
95 | + | else AC) | |
96 | + | then true | |
97 | + | else CB | |
98 | + | } | |
99 | + | } | |
18 | 100 |
github/deemru/w8io/026f985 33.28 ms ◑