tx · 4dvwNooe4e2xkbhYuWNPNBJ9ydHcvbcHGEQuguQuvJgz
3N1LyL2swM5JynQK5dXLx617nbMenqsD8mr: -0.01000000 Waves
2021.01.16 21:10 [1356323] smart account 3N1LyL2swM5JynQK5dXLx617nbMenqsD8mr > SELF 0.00000000 Waves
{
"type": 13,
"id": "4dvwNooe4e2xkbhYuWNPNBJ9ydHcvbcHGEQuguQuvJgz",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1610820614513,
"version": 2,
"chainId": 84,
"sender": "3N1LyL2swM5JynQK5dXLx617nbMenqsD8mr",
"senderPublicKey": "7y7fBdKdHMHWMv6Sc4W1ZfNxCvHhkrVdcFwtBe3DGam5",
"proofs": [
"3Tq4DsuXpDfwFzGfLf5mxMzHDqEgoxouWKFzj1M7MoGHyaaZenwBjXa3GKBvk5uHeMVB3a8H8F6nrgPU1R1N9Kc2"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIA0VlSh8xIiLukkHtUMpRkqoYmMHv54NDLuz7kTx5oBUBAAAAAlib2JQdWJLZXkBAAAAIPDOlT35GtLPUVIxDFPmf+3+mwM/IzsvxPU9NnB63IBYBAAAAAxjb29wZXJQdWJLZXkBAAAAIPXz23J15ZWerEVc9FaHnjU3mQ7O6kvTCwP/TO4HV4wkBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACnakXFA==",
"height": 1356323,
"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't5PVp6CkZwpPk7TtbwqeqHTCrGdzwMfwZadPzSYRAsm' |
---|
| 4 | + | let bobPubKey = base58'HD1Yvs87GYi3sYdqmZhSPR7QGYefPp3RAb8LQQyGQpJT' |
---|
| 5 | + | let cooperPubKey = base58'HZ6ZANLnmTe1YySS8m7dRdPACVTdiWq4HauEmkEw22W7' |
---|
| 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) |
---|