tx · 4KPDWsmUmiQRiUcw9GasfPh2hSuDT6Kgg2mJtreqYFr2
3N38tGfcLaLbrxe7tWfjinhwyFPEz5L5JJc: -0.01000000 Waves
2019.01.20 11:12 [458161] smart account 3N38tGfcLaLbrxe7tWfjinhwyFPEz5L5JJc > SELF 0.00000000 Waves
{
"type": 13,
"id": "4KPDWsmUmiQRiUcw9GasfPh2hSuDT6Kgg2mJtreqYFr2",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1547971980149,
"version": 1,
"sender": "3N38tGfcLaLbrxe7tWfjinhwyFPEz5L5JJc",
"senderPublicKey": "3KGcwHAyYBU8YHLeqdmmuXxH4Fbu1fYnSiXRgpQgkeY6",
"proofs": [
"5gXD8G6hhCuCuajD36hiFGq42LuXSfmkkYgdxL5R4u1vKUNwygpuFNzxt13xBLLqMhhRJY8vKUuUD9Aaa1AjXMUc"
],
"script": "base64:AQQAAAALYWxpY2VQdWJLZXkBAAAAIFqK1n7mNcF1h9VzklFH/g5X8pRFvsByAD7Dj77e2wIVBAAAAAlib2JQdWJLZXkBAAAAICJlfVIxKc76/ZD2sy8KaIjtdZnZei2qGl6rxKppuGAHBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAAAAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQAAAAAAAAAAAK/N9lD",
"chainId": 84,
"height": 458161,
"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) |
---|