tx · GopN7VPaFJMa4t1hSY4aykhR7Ms8gkg7Z1dCMLERTHs2
3MwhfnCd5J4YZdDXjWRGyJyNneecYaqHAjf: -0.01000000 Waves
2019.06.25 04:03 [556927] smart account 3MwhfnCd5J4YZdDXjWRGyJyNneecYaqHAjf > SELF 0.00000000 Waves
{
"type": 13,
"id": "GopN7VPaFJMa4t1hSY4aykhR7Ms8gkg7Z1dCMLERTHs2",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1561424656361,
"version": 1,
"sender": "3MwhfnCd5J4YZdDXjWRGyJyNneecYaqHAjf",
"senderPublicKey": "tfDnezKa1Gj3zhSHoA2wCm8Rv7pNsE4EeerUo3YjLex",
"proofs": [
"5HphZ683WfdSJ3fSMfeGczfb8YGy2uXZoxXRbBDFyQF2g62BUYfo5tssbxcwWg25CtdwC3TMahfVhALZkqWnMDnJ"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIA071lg+JJo2QeetULv9RChcTq1TDs3hqGsblHi6SscFBAAAAAlib2JQdWJLZXkBAAAAICif6gM65Wb1K4/DE4UoTTwrJCytUj1B2eg9zArL3th2BAAAAAxjb29wZXJQdWJLZXkBAAAAIIs7OXd5BN1WRFTmNLANbPFc8LHpgbh6XKEu+vh+Jg5fBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACDkGg0Q==",
"chainId": 84,
"height": 556927,
"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'tfDnezKa1Gj3zhSHoA2wCm8Rv7pNsE4EeerUo3YjLex' |
---|
| 4 | + | let bobPubKey = base58'3jajjU2UAxaz5FmRZrFLsgBQzZYqfQ4sjbuCHp2TyxqT' |
---|
| 5 | + | let cooperPubKey = base58'ANW3ot2nJMG6QdfKZsFvoJCPuR5oTTJxoZnj8SgdXafG' |
---|
| 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) |
---|