tx · G9WqexpyzahRUtPnN8AXKrrvo5nwVnHgFtfoxnrU7Kad 3N3zqyHQMQBsdE8GBCTP8nfAztXgTvmbVj9: -0.05000000 Waves 2020.09.29 14:32 [1198554] smart account 3N3zqyHQMQBsdE8GBCTP8nfAztXgTvmbVj9 > SELF 0.00000000 Waves
{ "type": 13, "id": "G9WqexpyzahRUtPnN8AXKrrvo5nwVnHgFtfoxnrU7Kad", "fee": 5000000, "feeAssetId": null, "timestamp": 1601379153289, "version": 2, "chainId": 84, "sender": "3N3zqyHQMQBsdE8GBCTP8nfAztXgTvmbVj9", "senderPublicKey": "AQC4cqNzFb67Z2eYUSiv1nFtcsfEbtimY9iCQhsW1Tut", "proofs": [ "3YCbRezz7qnyMUUVCeFgxB5s3jCtRAjBY1uW2qHH9k168Xxe4dJ6MJbY23SLpi565GF557dPPQgTZxD6tW8etsqw", "581oopbVDVKpForBq8Hz8M3xCXwVv4hFjcfQgAtopS2gucBmHHV6KFoniH1dDSkRgGvjf2o1mPgG1psRDQnJ538U" ], "script": "base64:AAIDAAAAAAAAAAIIAQAAAAMAAAAAC2FsaWNlUHViS2V5AQAAACCLqgyZVlSwLv3zsQKqR9nso+UXjN38fIzB54ytOKxOMwAAAAAJYm9iUHViS2V5AQAAACCUqoL99z99yt8V4c9BQAk4cX2C4u1ce2I0RHcd71boYgAAAAAMY29vcGVyUHViS2V5AQAAACAgJ19jGsi7T+1Jn64qIXtMoMbkPySVigTvynVoEeSAeQAAAAAAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAABAAAAAZhbGljZTEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQQAAAAGYWxpY2UyCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAQUAAAALYWxpY2VQdWJLZXk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29vcGVyAwMDAwMDBQAAAAZhbGljZTEFAAAAB2Nvb3BlcjIHBgMFAAAABmFsaWNlMQUAAAAHY29vcGVyMwcGAwUAAAAGYWxpY2UyBQAAAAdjb29wZXIxBwYDBQAAAAZhbGljZTIFAAAAB2Nvb3BlcjMHBgMFAAAABmFsaWNlMwUAAAAHY29vcGVyMQcGAwUAAAAGYWxpY2UzBQAAAAdjb29wZXIyBwQAAAAMYm9iQW5kQ29vcGVyAwMDAwMDBQAAAAdjb29wZXIxBQAAAARib2IyBwYDBQAAAAdjb29wZXIxBQAAAARib2IzBwYDBQAAAAdjb29wZXIyBQAAAARib2IxBwYDBQAAAAdjb29wZXIyBQAAAARib2IzBwYDBQAAAAdjb29wZXIzBQAAAARib2IxBwYDBQAAAAdjb29wZXIzBQAAAARib2IyBwQAAAAHJG1hdGNoMAUAAAACdHgDAwUAAAALYWxpY2VBbmRCb2IGBQAAAA5hbGljZUFuZENvb3BlcgYFAAAADGJvYkFuZENvb3Blct2JeFM=", "height": 1198554, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BLcHzfYMRTk1NEzBdKhfu5n2GNEQ3vSJXcAcVpykvwwp Next: none Diff:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let alicePubKey = base58'AQC4cqNzFb67Z2eYUSiv1nFtcsfEbtimY9iCQhsW1Tut' |
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let alicePubKey = base58'AQC4cqNzFb67Z2eYUSiv1nFtcsfEbtimY9iCQhsW1Tut' | |
5 | 5 | ||
6 | 6 | let bobPubKey = base58'B1L9ADLhT3AgSCGBbDqFgvHGQg23J4vtF6qx38yTzi2V' | |
7 | 7 | ||
8 | 8 | let cooperPubKey = base58'3AWsKp1X42XqcUCWsp8NXfV2W6fkXLZG5w4EwfgDkgtQ' | |
9 | 9 | ||
10 | 10 | ||
11 | 11 | @Verifier(tx) | |
12 | 12 | func verify () = { | |
13 | 13 | let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey) | |
14 | 14 | let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePubKey) | |
15 | 15 | let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePubKey) | |
16 | 16 | let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPubKey) | |
17 | 17 | let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey) | |
18 | 18 | let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPubKey) | |
19 | 19 | let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperPubKey) | |
20 | 20 | let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperPubKey) | |
21 | 21 | let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey) | |
22 | 22 | let aliceAndBob = if (if (if (if (if (if (alice1) | |
23 | 23 | then bob2 | |
24 | 24 | else false) | |
25 | 25 | then true | |
26 | 26 | else if (alice1) | |
27 | 27 | then bob3 | |
28 | 28 | else false) | |
29 | 29 | then true | |
30 | 30 | else if (alice2) | |
31 | 31 | then bob1 | |
32 | 32 | else false) | |
33 | 33 | then true | |
34 | 34 | else if (alice2) | |
35 | 35 | then bob3 | |
36 | 36 | else false) | |
37 | 37 | then true | |
38 | 38 | else if (alice3) | |
39 | 39 | then bob1 | |
40 | 40 | else false) | |
41 | 41 | then true | |
42 | 42 | else if (alice3) | |
43 | 43 | then bob2 | |
44 | 44 | else false | |
45 | 45 | let aliceAndCooper = if (if (if (if (if (if (alice1) | |
46 | 46 | then cooper2 | |
47 | 47 | else false) | |
48 | 48 | then true | |
49 | 49 | else if (alice1) | |
50 | 50 | then cooper3 | |
51 | 51 | else false) | |
52 | 52 | then true | |
53 | 53 | else if (alice2) | |
54 | 54 | then cooper1 | |
55 | 55 | else false) | |
56 | 56 | then true | |
57 | 57 | else if (alice2) | |
58 | 58 | then cooper3 | |
59 | 59 | else false) | |
60 | 60 | then true | |
61 | 61 | else if (alice3) | |
62 | 62 | then cooper1 | |
63 | 63 | else false) | |
64 | 64 | then true | |
65 | 65 | else if (alice3) | |
66 | 66 | then cooper2 | |
67 | 67 | else false | |
68 | 68 | let bobAndCooper = if (if (if (if (if (if (cooper1) | |
69 | 69 | then bob2 | |
70 | 70 | else false) | |
71 | 71 | then true | |
72 | 72 | else if (cooper1) | |
73 | 73 | then bob3 | |
74 | 74 | else false) | |
75 | 75 | then true | |
76 | 76 | else if (cooper2) | |
77 | 77 | then bob1 | |
78 | 78 | else false) | |
79 | 79 | then true | |
80 | 80 | else if (cooper2) | |
81 | 81 | then bob3 | |
82 | 82 | else false) | |
83 | 83 | then true | |
84 | 84 | else if (cooper3) | |
85 | 85 | then bob1 | |
86 | 86 | else false) | |
87 | 87 | then true | |
88 | 88 | else if (cooper3) | |
89 | 89 | then bob2 | |
90 | 90 | else false | |
91 | 91 | match tx { | |
92 | 92 | case _ => | |
93 | 93 | if (if (aliceAndBob) | |
94 | 94 | then true | |
95 | 95 | else aliceAndCooper) | |
96 | 96 | then true | |
97 | 97 | else bobAndCooper | |
98 | 98 | } | |
99 | 99 | } | |
100 | 100 |
github/deemru/w8io/026f985 35.12 ms ◑