tx · DGTN2R7EereXodKwqgrytMxma4MV6kR3wRwTb6WWws5G 3MuZLXoD3TwJvRaw7LewtxGd32yW8u8ovjw: -0.05000000 Waves 2022.03.17 09:35 [1967584] smart account 3MuZLXoD3TwJvRaw7LewtxGd32yW8u8ovjw > SELF 0.00000000 Waves
{ "type": 13, "id": "DGTN2R7EereXodKwqgrytMxma4MV6kR3wRwTb6WWws5G", "fee": 5000000, "feeAssetId": null, "timestamp": 1647498939422, "version": 2, "chainId": 84, "sender": "3MuZLXoD3TwJvRaw7LewtxGd32yW8u8ovjw", "senderPublicKey": "68fL3LofvP8XvE3Nei5sjoZprfVxdDALDjkQ5SGLVDeX", "proofs": [ "5BvHLE7eNbjH9gRoqrg4r5qJPcdGenhvZ8rYj96ip1KUo7vqHwN9hWQzb4MxEiwm8REPSBY7jSoMFwdkfbQxUMrQ" ], "script": "base64:AAIFAAAAAAAAAAIIAgAAAAMAAAAACkFQdWJsaWNLZXkBAAAAIIu19x30Xz+P53LrUAJYEkMtH1VpfGt0/1aTVmldOosMAAAAAApCUHVibGljS2V5AQAAACC3DZKziv/tGyt03Qly8mbrCHW73dDw0g2OKdh4o9AuGgAAAAAKQ1B1YmxpY0tleQEAAAAgTEDWlbqWShJQlBG6PB0IqAYOORzGNp+r5czsD9gl8mAAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAACQTEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAApBUHVibGljS2V5BAAAAAJBMgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACkFQdWJsaWNLZXkEAAAAAkEzCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAgUAAAAKQ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cGAwUAAAACQzIFAAAAAkIxBwYDBQAAAAJDMgUAAAACQjMHBgMFAAAAAkMzBQAAAAJCMQcGAwUAAAACQzMFAAAAAkIyBwQAAAAHJG1hdGNoMAUAAAACdHgDAwUAAAACQUIGBQAAAAJBQwYFAAAAAkJDm8GJ5g==", "height": 1967584, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FGMMqNrHBruZXmKgrJs7muHN9F3xEvMygfycstjLo3TZ Next: none Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let APublicKey = base58'AQNbrqrtZ6QZSsdTekNofCi39KjhtsyRBSpBEmc4EqMm' | |
5 | + | ||
6 | + | let BPublicKey = base58'DKZcYM5WoZ3gBkiAgjzXdfQaZcfisgn2Zn4B226GHMcD' | |
7 | + | ||
4 | 8 | let CPublicKey = base58'68fL3LofvP8XvE3Nei5sjoZprfVxdDALDjkQ5SGLVDeX' | |
5 | 9 | ||
6 | 10 | ||
7 | 11 | @Verifier(tx) | |
8 | - | func verify () = match tx { | |
9 | - | case t: TransferTransaction => | |
10 | - | sigVerify(tx.bodyBytes, tx.proofs[0], CPublicKey) | |
11 | - | case d: SetScriptTransaction => | |
12 | - | sigVerify(tx.bodyBytes, tx.proofs[0], CPublicKey) | |
13 | - | case d: DataTransaction => | |
14 | - | true | |
15 | - | case _ => | |
16 | - | false | |
17 | - | } | |
12 | + | func verify () = { | |
13 | + | let A1 = sigVerify(tx.bodyBytes, tx.proofs[0], APublicKey) | |
14 | + | let A2 = sigVerify(tx.bodyBytes, tx.proofs[1], APublicKey) | |
15 | + | let A3 = sigVerify(tx.bodyBytes, tx.proofs[2], APublicKey) | |
16 | + | let B1 = sigVerify(tx.bodyBytes, tx.proofs[0], BPublicKey) | |
17 | + | let B2 = sigVerify(tx.bodyBytes, tx.proofs[1], BPublicKey) | |
18 | + | let B3 = sigVerify(tx.bodyBytes, tx.proofs[2], BPublicKey) | |
19 | + | let C1 = sigVerify(tx.bodyBytes, tx.proofs[0], CPublicKey) | |
20 | + | let C2 = sigVerify(tx.bodyBytes, tx.proofs[1], CPublicKey) | |
21 | + | let C3 = sigVerify(tx.bodyBytes, tx.proofs[2], CPublicKey) | |
22 | + | let AB = if (if (if (if (if (if (A1) | |
23 | + | then B2 | |
24 | + | else false) | |
25 | + | then true | |
26 | + | else if (A1) | |
27 | + | then B3 | |
28 | + | else false) | |
29 | + | then true | |
30 | + | else if (A2) | |
31 | + | then B1 | |
32 | + | else false) | |
33 | + | then true | |
34 | + | else if (A2) | |
35 | + | then B3 | |
36 | + | else false) | |
37 | + | then true | |
38 | + | else if (A3) | |
39 | + | then B1 | |
40 | + | else false) | |
41 | + | then true | |
42 | + | else if (A3) | |
43 | + | then B2 | |
44 | + | else false | |
45 | + | let AC = if (if (if (if (if (if (A1) | |
46 | + | then C2 | |
47 | + | else false) | |
48 | + | then true | |
49 | + | else if (A1) | |
50 | + | then C3 | |
51 | + | else false) | |
52 | + | then true | |
53 | + | else if (A2) | |
54 | + | then C1 | |
55 | + | else false) | |
56 | + | then true | |
57 | + | else if (A2) | |
58 | + | then C3 | |
59 | + | else false) | |
60 | + | then true | |
61 | + | else if (A3) | |
62 | + | then C1 | |
63 | + | else false) | |
64 | + | then true | |
65 | + | else if (A3) | |
66 | + | then C2 | |
67 | + | else false | |
68 | + | let BC = if (if (if (if (if (if (C1) | |
69 | + | then B2 | |
70 | + | else false) | |
71 | + | then true | |
72 | + | else if (C1) | |
73 | + | then B3 | |
74 | + | else false) | |
75 | + | then true | |
76 | + | else if (C2) | |
77 | + | then B1 | |
78 | + | else false) | |
79 | + | then true | |
80 | + | else if (C2) | |
81 | + | then B3 | |
82 | + | else false) | |
83 | + | then true | |
84 | + | else if (C3) | |
85 | + | then B1 | |
86 | + | else false) | |
87 | + | then true | |
88 | + | else if (C3) | |
89 | + | then B2 | |
90 | + | else false | |
91 | + | match tx { | |
92 | + | case _ => | |
93 | + | if (if (AB) | |
94 | + | then true | |
95 | + | else AC) | |
96 | + | then true | |
97 | + | else BC | |
98 | + | } | |
99 | + | } | |
18 | 100 |
github/deemru/w8io/026f985 23.13 ms ◑