tx · BSBMVdgLmuXW85FfGtPCQAxokMph5VW978cMsCrqRR3d 3MpDjmA6c1mGrUUsBtQiSUkpNepyyq2U2bi: -0.01400000 Waves 2019.08.29 15:38 [652513] smart account 3MpDjmA6c1mGrUUsBtQiSUkpNepyyq2U2bi > SELF 0.00000000 Waves
{ "type": 13, "id": "BSBMVdgLmuXW85FfGtPCQAxokMph5VW978cMsCrqRR3d", "fee": 1400000, "feeAssetId": null, "timestamp": 1567082265737, "version": 1, "sender": "3MpDjmA6c1mGrUUsBtQiSUkpNepyyq2U2bi", "senderPublicKey": "GNuHLNfdrBQFcKg3AwDj1fwFdrtuxDna2T8EZCxJA2Z6", "proofs": [ "2nziYXN8FeeNG1mKZChKEP42dHKYZKUTdcdJEs7ud2ttUfeaRZDWmopGqEQ38PJQWiZRpMdUAriKwAijzQvr45W3", "58yyvWJ6wZf56kkjzuSQoRHCkF5uuaSpo7Hw15hevnrP1NwnkzqnZMwuz9DtP1q3oSP8vi8nBpmYNK837f6trGTK", "RFgXD3H6MNaxchKHwM3RYiSAN4itcqQw762ircLTpzpu3F3sVnPGdLT1oprweVBHPVhBxKMQ7mfVvCCmbMHCMoM" ], "script": "base64:AAIDAAAAAAAAAAAAAAADAAAAAA5hbGljZVB1YmxpY0tleQEAAAAgTaWMe3/8oA1YP1ailiHRqNdCQZmpAcXFmiPt5jm1OHoAAAAADGJvYlB1YmxpY0tleQEAAAAg5Hudq9ex4dOIafZf4XcBmIPQV3QtBgDULqinX56T2wEAAAAAD2Nvb3BlclB1YmxpY0tleQEAAAAg+7hLx6QCCcFKwAp5FLsd8sDbBsiv2a5QNFJdMtKEfwMAAAAAAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAGYWxpY2UxCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAOYWxpY2VQdWJsaWNLZXkEAAAABmFsaWNlMgkAAfQ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YDBQAAAAZhbGljZTIFAAAABGJvYjEHBgMFAAAABmFsaWNlMgUAAAAEYm9iMwcGAwUAAAAGYWxpY2UzBQAAAARib2IxBwYDBQAAAAZhbGljZTMFAAAABGJvYjIHBAAAAA5hbGljZUFuZENvb3BlcgMDAwMDAwUAAAAGYWxpY2UxBQAAAAdjb29wZXIyBwYDBQAAAAZhbGljZTEFAAAAB2Nvb3BlcjMHBgMFAAAABmFsaWNlMgUAAAAHY29vcGVyMQcGAwUAAAAGYWxpY2UyBQAAAAdjb29wZXIzBwYDBQAAAAZhbGljZTMFAAAAB2Nvb3BlcjEHBgMFAAAABmFsaWNlMwUAAAAHY29vcGVyMgcEAAAADWJvYmVBbmRDb29wZXIDAwMDAwMFAAAAB2Nvb3BlcjEFAAAABGJvYjIHBgMFAAAAB2Nvb3BlcjEFAAAABGJvYjMHBgMFAAAAB2Nvb3BlcjIFAAAABGJvYjEHBgMFAAAAB2Nvb3BlcjIFAAAABGJvYjMHBgMFAAAAB2Nvb3BlcjMFAAAABGJvYjEHBgMFAAAAB2Nvb3BlcjMFAAAABGJvYjIHBAAAAAckbWF0Y2gwBQAAAAJ0eAMDBQAAAAthbGljZUFuZEJvYgYFAAAADmFsaWNlQW5kQ29vcGVyBgUAAAANYm9iZUFuZENvb3Blchf/6cQ=", "chainId": 84, "height": 652513, "spentComplexity": 0 } View: original | compacted Prev: 9NBwwDCEbfgxoLzD7hABqty9YBWDbDyt5aiWYE1v3MPd Next: Cc3yV9QQpQgridXCrfjces97bwfpjVCpbFmxRjBVdLT2 Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let alicePublicKey = base58'6E6ogeeCpxu9SkEFhggJqUD7fCCQrW8rmAaCLNKzNiXK' | |
5 | 5 | ||
6 | 6 | let bobPublicKey = base58'GNuHLNfdrBQFcKg3AwDj1fwFdrtuxDna2T8EZCxJA2Z6' | |
7 | 7 | ||
8 | 8 | let cooperPublicKey = base58'HwcKpWc8w2qMgyLzmyTm6MDfsuVLCMS6ULASN6dWnwdk' | |
9 | 9 | ||
10 | 10 | ||
11 | 11 | @Verifier(tx) | |
12 | 12 | func verify () = { | |
13 | 13 | let alice1 = sigVerify(tx.bodyBytes, tx.proofs[0], alicePublicKey) | |
14 | 14 | let alice2 = sigVerify(tx.bodyBytes, tx.proofs[1], alicePublicKey) | |
15 | 15 | let alice3 = sigVerify(tx.bodyBytes, tx.proofs[2], alicePublicKey) | |
16 | 16 | let bob1 = sigVerify(tx.bodyBytes, tx.proofs[0], bobPublicKey) | |
17 | 17 | let bob2 = sigVerify(tx.bodyBytes, tx.proofs[1], bobPublicKey) | |
18 | 18 | let bob3 = sigVerify(tx.bodyBytes, tx.proofs[2], bobPublicKey) | |
19 | 19 | let cooper1 = sigVerify(tx.bodyBytes, tx.proofs[0], cooperPublicKey) | |
20 | 20 | let cooper2 = sigVerify(tx.bodyBytes, tx.proofs[1], cooperPublicKey) | |
21 | 21 | let cooper3 = sigVerify(tx.bodyBytes, tx.proofs[2], cooperPublicKey) | |
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 bobeAndCooper = 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 bobeAndCooper | |
98 | 98 | } | |
99 | 99 | } | |
100 | 100 |
github/deemru/w8io/026f985 36.48 ms ◑