tx · 5TWc3dL2nYWWs1xAgqfjJ1kUMnqYSzpYgHqezkRLzhJv
3N1AE7kbThJDGMYykgoZXnXBTuGcZ8y7HKH: -0.01000000 Waves
2020.09.01 15:04 [1158295] smart account 3N1AE7kbThJDGMYykgoZXnXBTuGcZ8y7HKH > SELF 0.00000000 Waves
{
"type": 13,
"id": "5TWc3dL2nYWWs1xAgqfjJ1kUMnqYSzpYgHqezkRLzhJv",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1598961903130,
"version": 1,
"sender": "3N1AE7kbThJDGMYykgoZXnXBTuGcZ8y7HKH",
"senderPublicKey": "CXAHoByEkedhfJwM42FK8BjcuB3ceVfuGr1XYCbcKpKF",
"proofs": [
"4EXLhdBgmeFK5od84bgy6zhvjb7SH9y2DUnVgYWtRQBWnn5PtGG6PJn54Ysp566GcYe4p9J9WFgc7ofWZg39p25X"
],
"script": "base64:AwQAAAALYWxpY2VQdWJLZXkBAAAAIPq0iEYWa8HnKqCcP/pb2eqzy2z4nlW6SRvfkIiKCVcQBAAAAAlib2JQdWJLZXkBAAAAIJ6Ckf63iYkHLgAtvyytixTB4itvwdC3KjHWPzxjGIMFBAAAAAxjb29wZXJQdWJLZXkBAAAAIKsqe/cC2QG0bVlzTG9047lFzJjd3tNVosRhMwNz+TE+BAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAAC2Zpb1Q==",
"chainId": 84,
"height": 1158295,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 3 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'Hseb7VwdLH6AviSEWm2VV4YHCbo25rpSLa5GmrKyFbTu' |
---|
| 4 | + | let bobPubKey = base58'Bfktoyimfrj43VcbphwzUavkt1AtESoezwJ97jMoV3si' |
---|
| 5 | + | let cooperPubKey = base58'CXAHoByEkedhfJwM42FK8BjcuB3ceVfuGr1XYCbcKpKF' |
---|
| 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) |
---|