tx · AoAuxxsXEUSxvNBKyZ7nbQQ3MSDdYf8rnfEztTHtkstj
3MpmHYrE7NHn6ffw3mfsZRDhLiB9EBkeLug: -0.00100000 Waves
2022.07.26 18:26 [2156951] smart account 3MpmHYrE7NHn6ffw3mfsZRDhLiB9EBkeLug > SELF 0.00000000 Waves
{
"type": 13,
"id": "AoAuxxsXEUSxvNBKyZ7nbQQ3MSDdYf8rnfEztTHtkstj",
"fee": 100000,
"feeAssetId": null,
"timestamp": 1658849280646,
"version": 2,
"chainId": 84,
"sender": "3MpmHYrE7NHn6ffw3mfsZRDhLiB9EBkeLug",
"senderPublicKey": "6RVb4zuaMwQKpJaeNG23Wk2Bvv9ZmbGgmw5su2Ppqj1P",
"proofs": [
"dJwAgLF4A55BibbPJwFyotMyJrBEZiU7igi8izXbCDwRV3rjb8P7GEiZvSVfp6tn6JCg6LfDJXU8tWzoJekrfsW"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIDRHspbOKwwLBPolZxuuxLqUH4UuoIsxrwW7pLfGblIrBAAAAAlib2JQdWJLZXkBAAAAICrUA5lhyv7qa62uaTyO5RNeSdH8epr6MmFT4JwM5FI9BAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQAAAAAAAAAAAKnBqUl",
"height": 2156951,
"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'4X5cP6YXN4YC8XZdfNxhNfBibUum5LEnjLasg3YWJaxz' |
---|
| 4 | + | let bobPubKey = base58'3tBdX2P4zdVMQdmoaMFFCE4pjvCoWk9aFwDjiBamd9vU' |
---|
| 5 | + | let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)) |
---|
| 6 | + | then 1 |
---|
| 7 | + | else 0 |
---|
| 8 | + | let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)) |
---|
| 9 | + | then 1 |
---|
| 10 | + | else 0 |
---|
| 11 | + | ((aliceSigned + bobSigned) >= 2) |
---|