tx · EUWm3fyN3pueYpzMzwkRiWoKq8B3nkamug7wu1xY1vCq 3NBraus7UMqDUxu3CKwPXn72CCQF4RRjxCe: -0.01000000 Waves 2020.09.30 23:51 [1200562] smart account 3NBraus7UMqDUxu3CKwPXn72CCQF4RRjxCe > SELF 0.00000000 Waves
{ "type": 13, "id": "EUWm3fyN3pueYpzMzwkRiWoKq8B3nkamug7wu1xY1vCq", "fee": 1000000, "feeAssetId": null, "timestamp": 1601499146943, "version": 2, "chainId": 84, "sender": "3NBraus7UMqDUxu3CKwPXn72CCQF4RRjxCe", "senderPublicKey": "D7UW6F8rpXRMR2Wp7VL4kLSyFY7B5ezBrZ3piPbhuWLF", "proofs": [ "4piKCXhkxgfGj1jMrKfaX1QqnuNkxTK37BLnEV44ZwU4uNqrYDfXL3dZ3Ptvrx5k4bYdUFMbrN6HbfHjKF27fsYJ" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAMAAAAAC2FsaWNlUHViS2V5AQAAACCz9NL3DxeeO2GpxEctaXy8YPWD81Uz1vhmT4hA2Bk+UAAAAAAJYm9iUHViS2V5AQAAACCAqalMO2uGK9w4uBC2TDrBLgpLzdz9iK392qYNtygFcgAAAAALZnJhbmtQdWJLZXkBAAAAICQVCDvWd45/Y+2iPgdYeFyNT5BmsRZZmJ+SN9KMt9MiAAAAAAAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAEAAAABmFsaWNlMQkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAAC2FsaWNlUHViS2V5BAAAAAZhbGljZTIJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAthbGljZVB1YktleQQAAAAGYWxpY2UzCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AA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WxpY2UyBQAAAAZmcmFuazEHBgMFAAAABmFsaWNlMgUAAAAGZnJhbmszBwYDBQAAAAZhbGljZTMFAAAABmZyYW5rMQcGAwUAAAAGYWxpY2UzBQAAAAZmcmFuazIHBAAAAAtBY2MyQW5kQWNjMwMDAwMDAwUAAAAGYWxpY2UxBQAAAARib2IyBwYDBQAAAAZhbGljZTEFAAAABGJvYjMHBgMFAAAABmFsaWNlMgUAAAAEYm9iMQcGAwUAAAAGYWxpY2UyBQAAAARib2IzBwYDBQAAAAZhbGljZTMFAAAABGJvYjEHBgMFAAAABmFsaWNlMwUAAAAEYm9iMgcEAAAAByRtYXRjaDAFAAAAAnR4AwMFAAAAC0FjYzFBbmRBY2MyBgUAAAALQWNjMUFuZEFjYzMGBQAAAAtBY2MyQW5kQWNjMx8FbfU=", "height": 1200562, "applicationStatus": "succeeded", "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 alicePubKey = base58'D7UW6F8rpXRMR2Wp7VL4kLSyFY7B5ezBrZ3piPbhuWLF' | |
5 | + | ||
6 | + | let bobPubKey = base58'9fFEcLwxFWtv46o7PXBtnnHPSN1w1ajhXtf3cYycVCh7' | |
7 | + | ||
8 | + | let frankPubKey = base58'3RrH8RzgBn1zs9yKzb4D9WyzkBofuXFGuhkdnHFenqDK' | |
9 | + | ||
10 | + | ||
11 | + | @Verifier(tx) | |
12 | + | func verify () = { | |
13 | + | let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey) | |
14 | + | let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey) | |
15 | + | let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey) | |
16 | + | let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey) | |
17 | + | let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey) | |
18 | + | let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey) | |
19 | + | let frank1 = sigVerify(tx.bodyBytes, tx.proofs[0], frankPubKey) | |
20 | + | let frank2 = sigVerify(tx.bodyBytes, tx.proofs[0], frankPubKey) | |
21 | + | let frank3 = sigVerify(tx.bodyBytes, tx.proofs[0], frankPubKey) | |
22 | + | let Acc1AndAcc2 = if (if (if (if (if (if (alice1) | |
23 | + | then bob2 | |
24 | + | else false) | |
25 | + | then true | |
26 | + | else if (alice1) | |
27 | + | then bob3 | |
28 | + | else false) | |
29 | + | then true | |
30 | + | else if (alice2) | |
31 | + | then bob1 | |
32 | + | else false) | |
33 | + | then true | |
34 | + | else if (alice2) | |
35 | + | then bob3 | |
36 | + | else false) | |
37 | + | then true | |
38 | + | else if (alice3) | |
39 | + | then bob1 | |
40 | + | else false) | |
41 | + | then true | |
42 | + | else if (alice3) | |
43 | + | then bob2 | |
44 | + | else false | |
45 | + | let Acc1AndAcc3 = if (if (if (if (if (if (alice1) | |
46 | + | then frank2 | |
47 | + | else false) | |
48 | + | then true | |
49 | + | else if (alice1) | |
50 | + | then frank3 | |
51 | + | else false) | |
52 | + | then true | |
53 | + | else if (alice2) | |
54 | + | then frank1 | |
55 | + | else false) | |
56 | + | then true | |
57 | + | else if (alice2) | |
58 | + | then frank3 | |
59 | + | else false) | |
60 | + | then true | |
61 | + | else if (alice3) | |
62 | + | then frank1 | |
63 | + | else false) | |
64 | + | then true | |
65 | + | else if (alice3) | |
66 | + | then frank2 | |
67 | + | else false | |
68 | + | let Acc2AndAcc3 = if (if (if (if (if (if (alice1) | |
69 | + | then bob2 | |
70 | + | else false) | |
71 | + | then true | |
72 | + | else if (alice1) | |
73 | + | then bob3 | |
74 | + | else false) | |
75 | + | then true | |
76 | + | else if (alice2) | |
77 | + | then bob1 | |
78 | + | else false) | |
79 | + | then true | |
80 | + | else if (alice2) | |
81 | + | then bob3 | |
82 | + | else false) | |
83 | + | then true | |
84 | + | else if (alice3) | |
85 | + | then bob1 | |
86 | + | else false) | |
87 | + | then true | |
88 | + | else if (alice3) | |
89 | + | then bob2 | |
90 | + | else false | |
91 | + | match tx { | |
92 | + | case _ => | |
93 | + | if (if (Acc1AndAcc2) | |
94 | + | then true | |
95 | + | else Acc1AndAcc3) | |
96 | + | then true | |
97 | + | else Acc2AndAcc3 | |
98 | + | } | |
99 | + | } | |
100 | + |
github/deemru/w8io/169f3d6 23.44 ms ◑