tx · 3Qw2o56LTw8spvE5HrYDvTUgyyBkxN8c52W3sxCCKx1u
3N7KbgCYVwyXUumUsGpo7AnGN9G8n6AqfvM: -0.01000000 Waves
2019.07.26 12:02 [602832] smart account 3N7KbgCYVwyXUumUsGpo7AnGN9G8n6AqfvM > SELF 0.00000000 Waves
{
"type": 13,
"id": "3Qw2o56LTw8spvE5HrYDvTUgyyBkxN8c52W3sxCCKx1u",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1564131820934,
"version": 1,
"sender": "3N7KbgCYVwyXUumUsGpo7AnGN9G8n6AqfvM",
"senderPublicKey": "HwinP9oPr3b6npjTixVHjLXWMtePLpk3Ztuy1RXgTM5m",
"proofs": [
"Rj3bg75zS4T2q8iGt29M7hbY9KjF59i5kSuTUtYiGhWyBbREXjUfiCtJdEn1YtnhyYuQQ3JQhAHPbz3twa6SYZF"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIH50OJBXUa2fldGR7tovQsll3zseCArYIPNCHuErMAV6BAAAAAlib2JQdWJLZXkBAAAAIJCZ+xRWNeLL5DZ4HMdnyIhrVoCcUUlH4TRgENY/MzRXBAAAAAxjb29wZXJQdWJLZXkBAAAAIJCZ+xRWNeLL5DZ4HMdnyIhrVoCcUUlH4TRgENY/MzRXBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACKfrqlQ==",
"chainId": 84,
"height": 602832,
"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'9WdA4rQoLuxXvUxWtD2ijc3YZVnn2f875wimbvGxs2sb' |
---|
| 4 | + | let bobPubKey = base58'AjTtcVDCuPiQN2zCmbuCWTkHtUQG3XmYKhjWkuXFbQHC' |
---|
| 5 | + | let cooperPubKey = base58'AjTtcVDCuPiQN2zCmbuCWTkHtUQG3XmYKhjWkuXFbQHC' |
---|
| 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) |
---|