tx · to7u22n4Rjhu16sSMRM9h52nAQUnWVqb1ee4r4g3oPT
3NA5k8MzWt4UKYDd3ne4N78FWkE6AXyYKWQ: -0.01000000 Waves
2019.09.01 11:16 [656622] smart account 3NA5k8MzWt4UKYDd3ne4N78FWkE6AXyYKWQ > SELF 0.00000000 Waves
{
"type": 13,
"id": "to7u22n4Rjhu16sSMRM9h52nAQUnWVqb1ee4r4g3oPT",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1567325662567,
"version": 1,
"sender": "3NA5k8MzWt4UKYDd3ne4N78FWkE6AXyYKWQ",
"senderPublicKey": "BXyUjJwDT75jjo9D2mUS7zLQSSkrfWKFG5oGnpVF1U9a",
"proofs": [
"WKk5FuA6CoYfDkp6uLaUBEnWg2aEchvaNYXwo3sWonq819HcQ2GSGdVzdXmzfeWhhNVLBPBETpHeNLtyfsZbGpr"
],
"script": "base64:AwQAAAALYWxpY2VQdWJLZXkBAAAAIJyEJ00gDLxT2KXKoSNRAugB2GgHEtEPSr/zKlOeglpdBAAAAAlib2JQdWJLZXkBAAAAIGiNJlg/M+ic9yscIOszTo8mws5aMrw4uSL1Iq9jd7wZBAAAAAxjb29wZXJQdWJLZXkBAAAAIMksMXu93Xk8bKwB/0Rh2uCmPFyvVGfrtkNmdopYy5w8BAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAAC5dKTbw==",
"chainId": 84,
"height": 656622,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: 8sbiwrL8yPmbGSVegLAurbTyGKTZESf1n8rDCtQbNkd6
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'BXyUjJwDT75jjo9D2mUS7zLQSSkrfWKFG5oGnpVF1U9a' |
---|
| 4 | + | let bobPubKey = base58'838EagoyLBpwRkwqf7Dnodv1iUCe8X7XdMyKvHJobNHv' |
---|
| 5 | + | let cooperPubKey = base58'EYJ2rjC3VveCL7JYziigdcG8rv7gqRHx2DjVoigoG1LP' |
---|
| 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) |
---|