tx · 7Zz5rKeN6gKkS1uMsBHpcKmEHNH3Hs5SUzcXNynrtniQ
3N7uKpb5y2sFwdF7AsSLwuwMLXcs96yMqEA: -0.01000000 Waves
2019.03.01 19:53 [517016] smart account 3N7uKpb5y2sFwdF7AsSLwuwMLXcs96yMqEA > SELF 0.00000000 Waves
{
"type": 13,
"id": "7Zz5rKeN6gKkS1uMsBHpcKmEHNH3Hs5SUzcXNynrtniQ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1551459185845,
"version": 1,
"sender": "3N7uKpb5y2sFwdF7AsSLwuwMLXcs96yMqEA",
"senderPublicKey": "76R1kkT4ik3ZpzxehkgXJSDbbAJUbjSd5ryZYz2dqcLb",
"proofs": [
"4NgpzDjc9WZhDDLgukTP8smtPqrDf19KQMDJk9g5HM6nXgcmG3r93nEhHriQ1RpBzAXmKbqvqpuuX5EXmn93ASMt"
],
"script": "base64:AgQAAAALY2VudFBlcldhdHQAAAAAAAAAABkEAAAADmN1c3RvbWVyUHViS2V5AQAAACAExH6/Zvdui4txMa6gpu2nOYb9SLF/xSAuIYuF/MvFFAQAAAAMdHJhZGVyUHViS2V5AQAAACC4PMVTQLdGx26rWW9OKrHBw6YuEE816uMmhw2e0zbRLQQAAAAOY3VzdG9tZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADmN1c3RvbWVyUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADmN1c3RvbWVyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAx0cmFkZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHRyYWRlclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAx0cmFkZXJQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACBQAAAA5jdXN0b21lclNpZ25lZAUAAAAMdHJhZGVyU2lnbmVkAAAAAAAAAAAC7kS6zA==",
"chainId": 84,
"height": 517016,
"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) |
---|