tx · HHapDYfTKcGVdtQKncjXZ7n5N4HtLXCHHGffjyfS9U4Y
3NC7ggxpRTdwi2K1WivBTAjP6DJ7tjFeGsJ: -0.01000000 Waves
2019.03.10 19:02 [530182] smart account 3NC7ggxpRTdwi2K1WivBTAjP6DJ7tjFeGsJ > SELF 0.00000000 Waves
{
"type": 13,
"id": "HHapDYfTKcGVdtQKncjXZ7n5N4HtLXCHHGffjyfS9U4Y",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1552233749663,
"version": 1,
"sender": "3NC7ggxpRTdwi2K1WivBTAjP6DJ7tjFeGsJ",
"senderPublicKey": "B6JBFiuuotoSKSTWLckhMvSBF1wTsZNkn2FyucKxw3Yk",
"proofs": [
"4gyL5cfk6bMi5BVyQhkckdQnW45iUWZXC3LijUUJPaEg8qUxfYfPyioRTrtTPV7Dknc7Cf1x3kwWaZg2dYbEZZQ9"
],
"script": "base64:AgQAAAANZW5lcmd5VG9Ub2tlbgkAAGgAAAACAAAAAAAAAABkAAAAAAAAAAPoBAAAAA5jdXN0b21lclB1YktleQEAAAAgBMR+v2b3bouLcTGuoKbtpzmG/Uixf8UgLiGLhfzLxRQEAAAADHRyYWRlclB1YktleQEAAAAguDzFU0C3Rsduq1lvTiqxwcOmLhBPNerjJocNntM20S0EAAAADmN1c3RvbWVyU2lnbmVkAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5jdXN0b21lclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAA5jdXN0b21lclB1YktleQAAAAAAAAAAAQAAAAAAAAAAAAQAAAAMdHJhZGVyU2lnbmVkAwMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABBQAAAAx0cmFkZXJQdWJLZXkGCQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAUAAAAMdHJhZGVyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAACQAAZwAAAAIJAABkAAAAAgUAAAAOY3VzdG9tZXJTaWduZWQFAAAADHRyYWRlclNpZ25lZAAAAAAAAAAAAp/Cr/I=",
"chainId": 84,
"height": 530182,
"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'KcQuAzZw15FsKMLAVtr7Z1bQ1rhbntCwgZsCsr6npGT' |
---|
| 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) |
---|