tx · 8o37p7YXSKRAhMWWSwaxUk1ThSahozgz3Psi4GfYvuij
3N5JqKxc9mnkaaNdJxMJvvj8vY5zSnU6sqg: -0.01000000 Waves
2020.10.19 15:20 [1227433] smart account 3N5JqKxc9mnkaaNdJxMJvvj8vY5zSnU6sqg > SELF 0.00000000 Waves
{
"type": 13,
"id": "8o37p7YXSKRAhMWWSwaxUk1ThSahozgz3Psi4GfYvuij",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1603110087434,
"version": 2,
"chainId": 84,
"sender": "3N5JqKxc9mnkaaNdJxMJvvj8vY5zSnU6sqg",
"senderPublicKey": "HSbRpT3Jz7knKBivYVQ69zJo6W1Tm6DRPsA8n9qPmNC2",
"proofs": [
"2Chy5PWrD5id5vaxttCSaMA7N6geDrGhbL3ULuNVzbQhefgDpX8kM63FL6rRPH4TF1TSSC3BcpQj6Tq5eqvPcyp8"
],
"script": "base64:BAQAAAALYWxpY2VQdWJLZXkBAAAAII+4gBOPFbHafW/WQwvDkPIQrTB+vMR1NyZnKLFe3PByBAAAAAlib2JQdWJLZXkBAAAAIO7rIWuJmW/XMIgHLsUEuXbV7v1WbGHEL0AGK2oV988sBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAAAAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQAAAAAAAAAAAK4iLqY",
"height": 1227433,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 8tv43tX634PDeEHMVqRhjghvv6cozMbHX929LxVjahrW
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 4 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'Ag2UUnzMddxdv8HKmnaSboeEmFENu7J6YhvVD4c6y6gy' |
---|
| 4 | + | let bobPubKey = base58'H5dyzrVmaarApTg5pK6N489ThaGaWWJPkA6GhpCQh42w' |
---|
| 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) |
---|