tx · 7eb48fV7vunyeaJgHja1sGn2zasvCJjbVy7raKMNCsej
3Mq9Z4oXtW6kmEXKL3rYp6YUczRL6cCT2f6: -1.00000000 Waves
2021.12.10 13:08 [1828005] smart account 3Mq9Z4oXtW6kmEXKL3rYp6YUczRL6cCT2f6 > SELF 0.00000000 Waves
{
"type": 13,
"id": "7eb48fV7vunyeaJgHja1sGn2zasvCJjbVy7raKMNCsej",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1639130861235,
"version": 2,
"chainId": 84,
"sender": "3Mq9Z4oXtW6kmEXKL3rYp6YUczRL6cCT2f6",
"senderPublicKey": "CDVNKdsxcpvFCGpEBuSWYJWKvrfPmjtDAKEjigQBVbey",
"proofs": [
"28FJTnrPNgtChUEWGqiupwjobKz4KGGaFoDiGZoZhwAjLVNKAQCaVjRpm6tRouZieTC5cGADF45vSDG2Fe9kotdL"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIAexMvrpD2UqJ3W1rTxyfFmqrP1MAqcoNJgde5y76oYzBAAAAAlib2JQdWJLZXkBAAAAIAKtD2kz4I6zvGTFryywk72oSOtUTVS+zvuai0qKIiR3BAAAAAxjb29wZXJQdWJLZXkBAAAAIKajmevt9qtqn1U1/bJaPn6/nHez8ZBHkhPd59AQWYYCBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACemIltA==",
"height": 1828005,
"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'X2a3Uth5N7Gg1eF5AM8cjFVxz5enRzQU1DviSZ5rTXQ' |
---|
| 4 | + | let bobPubKey = base58'BSsW5XN1h4SnWidaZ9EdArhaSiDnHEgqpBqrhmdurUN' |
---|
| 5 | + | let cooperPubKey = base58'CDVNKdsxcpvFCGpEBuSWYJWKvrfPmjtDAKEjigQBVbey' |
---|
| 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) |
---|