tx · 38ZHEmUk12eu1qXbPZGwqixJ2h4H55MmYsMWo84oExRq
3N23U5rhT78EmY3M8WQJmQynmAwAL9BJTKw: -0.01000000 Waves
2019.03.01 19:52 [517015] smart account 3N23U5rhT78EmY3M8WQJmQynmAwAL9BJTKw > SELF 0.00000000 Waves
{
"type": 13,
"id": "38ZHEmUk12eu1qXbPZGwqixJ2h4H55MmYsMWo84oExRq",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1551459149591,
"version": 1,
"sender": "3N23U5rhT78EmY3M8WQJmQynmAwAL9BJTKw",
"senderPublicKey": "7ry3x2e1o3Q4LmBardxaKzXUF8ViY5ncoMQGnwJKcRg9",
"proofs": [
"3m1RfMDRjp8JnD1W5SSAaZPHKn64jz5AFRyXkC6J6rnux9WJ3rReWPiRGm2T4bWCV2k8rgVD6JxPt5wKpZDZa2HY"
],
"script": "base64:AgQAAAALY2VudFBlcldhdHQAAAAAAAAAABkEAAAADmN1c3RvbWVyUHViS2V5AQAAACAExH6/Zvdui4txMa6gpu2nOYb9SLF/xSAuIYuF/MvFFAQAAAAMdHJhZGVyUHViS2V5AQAAACC4PMVTQLdGx26rWW9OKrHBw6YuEE816uMmhw2e0zbRLQQAAAAOY3VzdG9tZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADmN1c3RvbWVyUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADmN1c3RvbWVyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAx0cmFkZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHRyYWRlclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAx0cmFkZXJQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACBQAAAA5jdXN0b21lclNpZ25lZAUAAAAMdHJhZGVyU2lnbmVkAAAAAAAAAAAC7kS6zA==",
"chainId": 84,
"height": 517015,
"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 centPerWatt = 25 |
---|
| 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) |
---|