tx · AZhNoWP1tNNNYvqJmBAGERWsMv8efYXLoxLEP7vwWcCN
3MzP1DGAnLhQSboExcf9xFRRUGK9bmEy2Ee: -0.01000000 Waves
2019.08.31 12:38 [655257] smart account 3MzP1DGAnLhQSboExcf9xFRRUGK9bmEy2Ee > SELF 0.00000000 Waves
{
"type": 13,
"id": "AZhNoWP1tNNNYvqJmBAGERWsMv8efYXLoxLEP7vwWcCN",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1567244270186,
"version": 1,
"sender": "3MzP1DGAnLhQSboExcf9xFRRUGK9bmEy2Ee",
"senderPublicKey": "5amorFHsRjXqUYdb3SsLAUxTTqn7nULQYg7btt7XwEw5",
"proofs": [
"39ihzFdCH9cHFFBzxZ9SuxDE8UdwFfR6zYWGEvfqeug6b5rzzWiY8HfZC9mQ8Cm2Gd2pZDn1jyeAzi2i2YWrJCJJ"
],
"script": "base64:AwQAAAALYWxpY2VQdWJLZXkBAAAAIEQVlCRxJoS2r7kmLhoK7X9D6HeSKb6KvlApm6YGoz1kBAAAAAlib2JQdWJLZXkBAAAAIGNqwXXsmzrj8WqHLr9aiUkZ4phmDpu1XxQraa3zDXZsBAAAAAxjb29wZXJQdWJLZXkBAAAAIPSS2wbaOfRFmXcHiGy8FmjDJ5yLMMkzio3iWYPYyEZqBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAAD7ydNBQ==",
"chainId": 84,
"height": 655257,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'5amorFHsRjXqUYdb3SsLAUxTTqn7nULQYg7btt7XwEw5' |
---|
| 4 | + | let bobPubKey = base58'7h5n64MogDPkkNbHVLNwnGCbjuLTPa8hLLMt9dHiNSEX' |
---|
| 5 | + | let cooperPubKey = base58'HTiMmYDZk45iVQdsT5zyC8TCvd2YMLdGeiFZvscFQ4xq' |
---|
| 6 | + | let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)) |
---|
| 7 | + | then 1 |
---|
| 8 | + | else 0 |
---|
| 9 | + | let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)) |
---|
| 10 | + | then 1 |
---|
| 11 | + | else 0 |
---|
| 12 | + | let cooperSigned = if (sigVerify(tx.bodyBytes, tx.proofs[2], cooperPubKey)) |
---|
| 13 | + | then 1 |
---|
| 14 | + | else 0 |
---|
| 15 | + | (((aliceSigned + bobSigned) + cooperSigned) >= 3) |
---|