tx · 4rDwtSdDHmaDwgWWh4xuBdc4w11ZyhbXSa5Ev3NLVbZk
3N2havm7bDxq3rZHo6d531zt9h7mSYaNoC1: -0.01000000 Waves
2019.01.23 08:50 [462373] smart account 3N2havm7bDxq3rZHo6d531zt9h7mSYaNoC1 > SELF 0.00000000 Waves
{
"type": 13,
"id": "4rDwtSdDHmaDwgWWh4xuBdc4w11ZyhbXSa5Ev3NLVbZk",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1548222572889,
"version": 1,
"sender": "3N2havm7bDxq3rZHo6d531zt9h7mSYaNoC1",
"senderPublicKey": "3UnXqwyoWCTsPi2M5rNAaXJCcuEhHAQFMTrBwoz1qNaZ",
"proofs": [
"32G2qVSWvfh8wyEYyd4aAGad92YN5JkPeYWDHEpU6xKQ5sZRLNnreKgGCBL9x4rK5YPxY1pfMw6nvJM8ERNULofj"
],
"script": "base64:AQQAAAALYWxpY2VQdWJLZXkBAAAAICTVieWNlcd/RxPlIRrVF+qdzzvzK78U8WHnNBquo7YuBAAAAAlib2JQdWJLZXkBAAAAICTVieWNlcd/RxPlIRrVF+qdzzvzK78U8WHnNBquo7YuBAAAAAthbGljZVNpZ25lZAMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAthbGljZVB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAJYm9iU2lnbmVkAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAACWJvYlB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAkAAGcAAAACCQAAZAAAAAIFAAAAC2FsaWNlU2lnbmVkBQAAAAlib2JTaWduZWQAAAAAAAAAAAKi/LaT",
"chainId": 84,
"height": 462373,
"spentComplexity": 0
}
View: original | compacted
Prev: 71VyyyeSTHRamqsXC4tzYzzVj8p8nKxJXeQ6VazxpQfq
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 2 | + | {-# CONTENT_TYPE EXPRESSION #-} |
---|
| 3 | + | let alicePubKey = base58'3UnXqwyoWCTsPi2M5rNAaXJCcuEhHAQFMTrBwoz1qNaZ' |
---|
| 4 | + | let bobPubKey = base58'3UnXqwyoWCTsPi2M5rNAaXJCcuEhHAQFMTrBwoz1qNaZ' |
---|
| 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) |
---|