tx · AGhuCbEC617Qp92nfzugLuHi1v7uAkdT4hcv3iv1H9Gw
3N27MvUdZuziHqBnHhcAZiDdVyZduAuQfpH: -0.01000000 Waves
2019.01.20 11:11 [458159] smart account 3N27MvUdZuziHqBnHhcAZiDdVyZduAuQfpH > SELF 0.00000000 Waves
{
"type": 13,
"id": "AGhuCbEC617Qp92nfzugLuHi1v7uAkdT4hcv3iv1H9Gw",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1547971891085,
"version": 1,
"sender": "3N27MvUdZuziHqBnHhcAZiDdVyZduAuQfpH",
"senderPublicKey": "76SUwVxErcazPKHqeaEZwy6Q3TU1TxVPtR7djexiUUbn",
"proofs": [
"548jbJZ7DnyfVcbLVpDtBaW6ou7e4KpcbC3AFKsgUwU62Skqkovbs2oReDXM5PK1tbhD82zMKzWFQjAyCv5q1a1d"
],
"script": "base64:AQQAAAALYWxpY2VQdWJLZXkBAAAAIFqK1n7mNcF1h9VzklFH/g5X8pRFvsByAD7Dj77e2wIVBAAAAAlib2JQdWJLZXkBAAAAICJlfVIxKc76/ZD2sy8KaIjtdZnZei2qGl6rxKppuGAHBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAAAAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQAAAAAAAAAAAK/N9lD",
"chainId": 84,
"height": 458159,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'76SUwVxErcazPKHqeaEZwy6Q3TU1TxVPtR7djexiUUbn' |
---|
| 4 | + | let bobPubKey = base58'3KGcwHAyYBU8YHLeqdmmuXxH4Fbu1fYnSiXRgpQgkeY6' |
---|
| 5 | + | let aliceSigned = if (sigVerify(tx.bodyBytes, tx.proofs[0], alicePubKey)) |
---|
| 6 | + | then 1 |
---|
| 7 | + | else 0 |
---|
| 8 | + | let bobSigned = if (sigVerify(tx.bodyBytes, tx.proofs[1], bobPubKey)) |
---|
| 9 | + | then 1 |
---|
| 10 | + | else 0 |
---|
| 11 | + | ((aliceSigned + bobSigned) == 2) |
---|