tx · Aixmn9UuvPRYLAqPmGMy8YhCkCyzZzmsBtopvcWPCh8G
3MyVVcPZcbFz1jTmN4EmDi4ki358DBejRWw: -0.00100000 Waves
2023.03.26 20:59 [2507285] smart account 3MyVVcPZcbFz1jTmN4EmDi4ki358DBejRWw > SELF 0.00000000 Waves
{
"type": 13,
"id": "Aixmn9UuvPRYLAqPmGMy8YhCkCyzZzmsBtopvcWPCh8G",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1679853636339,
"version": 2,
"chainId": 84,
"sender": "3MyVVcPZcbFz1jTmN4EmDi4ki358DBejRWw",
"senderPublicKey": "3kxwosCN2Tw5mmkJrQXWh4k8FuSzwt9318XSdrwUPV5R",
"proofs": [
"5QsCujKHbc8ndc2vgKgJD13ogZdpbiHQhTXL5kEqLzM7NZbeedpcTcDs7FxaQZjwnhgVPMJ8fJPZo2UVqyn6wWPH"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAICj6mxbcpwp3PWFPuUyfDKBNkpoL7iH8Ye59M4R/mS4QBAAAAAlib2JQdWJLZXkBAAAAIHHfGuXypQjlASH1oPG4mVpUp9+GZ6X1zeu8umck83dCBAAAAAxjb29wZXJQdWJLZXkBAAAAIEDoFTYh49h1MF0OJ8uABg/pPGdp3ahEOM5lOOOt9Lo2BAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACbPTV+Q==",
"height": 2507285,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 2 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'3kxwosCN2Tw5mmkJrQXWh4k8FuSzwt9318XSdrwUPV5R' |
---|
| 4 | + | let bobPubKey = base58'8fWPLVDkiEye1rZWqLgg1cxVyqNpPnREHQos18k7vJaV' |
---|
| 5 | + | let cooperPubKey = base58'5NNMBNqq76Q8WPaoNxJFwBhF8vuPFBwcAzWvLHBRK67P' |
---|
| 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) >= 2) |
---|