tx · 5aEcjTtUHrcpfd799cewYaHPN3niJQUj7NwUUjj7cd2
3N5rUEp1F3VbncRnB2jd7KZUHANumJ3h6eg: -0.01000000 Waves
2019.09.07 13:19 [665514] smart account 3N5rUEp1F3VbncRnB2jd7KZUHANumJ3h6eg > SELF 0.00000000 Waves
{
"type": 13,
"id": "5aEcjTtUHrcpfd799cewYaHPN3niJQUj7NwUUjj7cd2",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1567851532099,
"version": 1,
"sender": "3N5rUEp1F3VbncRnB2jd7KZUHANumJ3h6eg",
"senderPublicKey": "9bbSLbNMWpiW7NTGJDLAJ62HQBmXRNLFMHm7chKtg7Yn",
"proofs": [
"4DuqgaFy6TjUQmoHvBL1Y9SJCCci24M5FrZM7cxbUpkguc2YWtRHmnUUZmqksSbJEAwzsEPuQ8fsXPVKPAnhnDNv"
],
"script": "base64:AgQAAAALYWxpY2VQdWJLZXkBAAAAIFbcm7LNUggwY1NUi2DXrIGvGQKsumYo7yom9RzV69giBAAAAAlib2JQdWJLZXkBAAAAIBO1uieokBahePoeVqt4/usbhaXRq+i5EvtfsdBILNtuBAAAAAxjb29wZXJQdWJLZXkBAAAAIOfM/qkwkfi4pdngdn18n5yxNwCrBOBC3ihWaFg4gV4yBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMY29vcGVyU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAIFAAAADGNvb3BlclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIJAABkAAAAAgUAAAALYWxpY2VTaWduZWQFAAAACWJvYlNpZ25lZAUAAAAMY29vcGVyU2lnbmVkAAAAAAAAAAACrCyjCg==",
"chainId": 84,
"height": 665514,
"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'6r5AoZupjuXuZnsdJ53PNCGjsNsVWNHrvr8vFMo2bcvM' |
---|
| 4 | + | let bobPubKey = base58'2KwU4vzdgPmKyf7q354H9kSyX9NZjNiq4qbnH2wi2VDF' |
---|
| 5 | + | let cooperPubKey = base58'GbrUeGaBfmyFJjSQb9Z8uTCej5GzjXfRDVGJGrmgt5cD' |
---|
| 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) |
---|