tx · 43N4eqHfYoyqp79rHEDR7KLbPFePPpG3fUmQyG6pb7D6
3MqEaCDJRvYYqM9bxhfcp6c4ar5CC5S1ZHk: -0.01000000 Waves
2019.03.11 19:57 [531712] smart account 3MqEaCDJRvYYqM9bxhfcp6c4ar5CC5S1ZHk > SELF 0.00000000 Waves
{
"type": 13,
"id": "43N4eqHfYoyqp79rHEDR7KLbPFePPpG3fUmQyG6pb7D6",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1552323457009,
"version": 1,
"sender": "3MqEaCDJRvYYqM9bxhfcp6c4ar5CC5S1ZHk",
"senderPublicKey": "BkXgNu3wBN41UXnF8E5fLszYhY1xDBLf1yXJFNS5ERCP",
"proofs": [
"66caKZVLDZbNj449k5JVYiVz27x1QibcmSKTPpABCtKr1m4qfaVnquRNaCHgc4fNqXoNdHwuaLyZpZAWsZfGjKhv"
],
"script": "base64:AgQAAAANZW5lcmd5VG9Ub2tlbgkAAGgAAAACAAAAAAAAAABkAAAAAAAAAAPoBAAAAA5jdXN0b21lclB1YktleQEAAAAgdvfizTCUDv74QYBuTAVHNvhTONRnw4HBJcLSLnYK9jMEAAAADHRyYWRlclB1YktleQEAAAAguDzFU0C3Rsduq1lvTiqxwcOmLhBPNerjJocNntM20S0EAAAADmN1c3RvbWVyU2lnbmVkAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5jdXN0b21lclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAA5jdXN0b21lclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMdHJhZGVyU2lnbmVkAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAx0cmFkZXJQdWJLZXkGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMdHJhZGVyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgUAAAAOY3VzdG9tZXJTaWduZWQFAAAADHRyYWRlclNpZ25lZAAAAAAAAAAAAjvAK4s=",
"chainId": 84,
"height": 531712,
"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 energyToToken = (100 * 1000) |
---|
| 4 | + | let customerPubKey = base58'91QLiVdpxNqozCMxgg8biCRg1scubzP7oy7jK5b7j9gE' |
---|
| 5 | + | let traderPubKey = base58'DQBmDh342GgmAZuZuBfnnjxdMgefjicYgmZnTBQqdDzL' |
---|
| 6 | + | let customerSigned = if (if (sigVerify(tx.bodyBytes, tx.proofs[0], customerPubKey)) |
---|
| 7 | + | then true |
---|
| 8 | + | else sigVerify(tx.bodyBytes, tx.proofs[1], customerPubKey)) |
---|
| 9 | + | then 1 |
---|
| 10 | + | else 0 |
---|
| 11 | + | let traderSigned = if (if (sigVerify(tx.bodyBytes, tx.proofs[1], traderPubKey)) |
---|
| 12 | + | then true |
---|
| 13 | + | else sigVerify(tx.bodyBytes, tx.proofs[0], traderPubKey)) |
---|
| 14 | + | then 1 |
---|
| 15 | + | else 0 |
---|
| 16 | + | ((customerSigned + traderSigned) >= 2) |
---|