tx · 5j1nYd2xBFCkeDbrHbeT9ZL8zYVyE97vByR6anabvwJJ
3ND4ThBMjKiijEv45y3S5MEkNQCDSNY87B9: -0.01000000 Waves
2019.03.02 11:29 [517972] smart account 3ND4ThBMjKiijEv45y3S5MEkNQCDSNY87B9 > SELF 0.00000000 Waves
{
"type": 13,
"id": "5j1nYd2xBFCkeDbrHbeT9ZL8zYVyE97vByR6anabvwJJ",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1551515336240,
"version": 1,
"sender": "3ND4ThBMjKiijEv45y3S5MEkNQCDSNY87B9",
"senderPublicKey": "CvAnKJxENLmKnQp81giKRff1X6LQRviGN65wz6h1Vqrr",
"proofs": [
"4AtGi8TS9ZUa7N9KHQeyaLB7KC3dUefMrdZTmmfzm4c6oqoPFacArkmiqsuLcF5zqaVjyMRVWQRzp82ZNiUXpgfS"
],
"script": "base64:AgQAAAALY2VudFBlcldhdHQAAAAAAAAAABkEAAAADmN1c3RvbWVyUHViS2V5AQAAACAExH6/Zvdui4txMa6gpu2nOYb9SLF/xSAuIYuF/MvFFAQAAAAMdHJhZGVyUHViS2V5AQAAACC4PMVTQLdGx26rWW9OKrHBw6YuEE816uMmhw2e0zbRLQQAAAAOY3VzdG9tZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADmN1c3RvbWVyUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADmN1c3RvbWVyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAx0cmFkZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHRyYWRlclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAx0cmFkZXJQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACBQAAAA5jdXN0b21lclNpZ25lZAUAAAAMdHJhZGVyU2lnbmVkAAAAAAAAAAAC7kS6zA==",
"chainId": 84,
"height": 517972,
"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) |
---|