tx · 7t6yFyn5RExmDHpU5ztZJt2gK4aGdNvNctijcYwRoBqA
3MrhiYfuy7GCuDda7kzx2xj9KZW1CDSnQ8i: -0.01000000 Waves
2019.02.17 17:39 [499234] smart account 3MrhiYfuy7GCuDda7kzx2xj9KZW1CDSnQ8i > SELF 0.00000000 Waves
{
"type": 13,
"id": "7t6yFyn5RExmDHpU5ztZJt2gK4aGdNvNctijcYwRoBqA",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1550414362589,
"version": 1,
"sender": "3MrhiYfuy7GCuDda7kzx2xj9KZW1CDSnQ8i",
"senderPublicKey": "GMgKBtNR4TsAAXuMJyuDXiAw5QMU12tS92oEHq3iLYTT",
"proofs": [
"2a8CVRacCEQ41wJp84h2mGHYqons9qfiC6Mbnjji9nUdAiAaMrkrPJEdytZ2H9TrPF9iAgwe7FX8HPHXTwbMR9Aa"
],
"script": "base64:AQQAAAALY2VudFBlcldhdHQAAAAAAAAAABkEAAAADmN1c3RvbWVyUHViS2V5AQAAACAExH6/Zvdui4txMa6gpu2nOYb9SLF/xSAuIYuF/MvFFAQAAAAMdHJhZGVyUHViS2V5AQAAACC4PMVTQLdGx26rWW9OKrHBw6YuEE816uMmhw2e0zbRLQQAAAAOY3VzdG9tZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADmN1c3RvbWVyUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADmN1c3RvbWVyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAx0cmFkZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHRyYWRlclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAx0cmFkZXJQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACBQAAAA5jdXN0b21lclNpZ25lZAUAAAAMdHJhZGVyU2lnbmVkAAAAAAAAAAAC0kBW8g==",
"chainId": 84,
"height": 499234,
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: none
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 1 #-} |
---|
| 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) |
---|