tx · 49GFafTEiwbsD4t3bp2tYWcMRvSpZvusQKdnC25oNEc8
3NBxqkQMDks2SngBcSCtTmLM9RZjMt5PaT2: -0.01000000 Waves
2019.02.17 18:22 [499289] smart account 3NBxqkQMDks2SngBcSCtTmLM9RZjMt5PaT2 > SELF 0.00000000 Waves
{
"type": 13,
"id": "49GFafTEiwbsD4t3bp2tYWcMRvSpZvusQKdnC25oNEc8",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1550416971855,
"version": 1,
"sender": "3NBxqkQMDks2SngBcSCtTmLM9RZjMt5PaT2",
"senderPublicKey": "34FUwVnqHEWuAYsuFQSJeEFuE3gT2Em3o6ZwgiyQ8wmk",
"proofs": [
"m6te1tfdDvrcjWa2NVFemsnnaBUfVGXeW8JU6bb7q3eWcNanp7QtJp5RNu3HbDwFJrDdWg9tVhoB7Z4Ese2BCdP"
],
"script": "base64:AQQAAAALY2VudFBlcldhdHQAAAAAAAAAABkEAAAADmN1c3RvbWVyUHViS2V5AQAAACAExH6/Zvdui4txMa6gpu2nOYb9SLF/xSAuIYuF/MvFFAQAAAAMdHJhZGVyUHViS2V5AQAAACC4PMVTQLdGx26rWW9OKrHBw6YuEE816uMmhw2e0zbRLQQAAAAOY3VzdG9tZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAAFAAAADmN1c3RvbWVyUHViS2V5BgkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADmN1c3RvbWVyUHViS2V5AAAAAAAAAAABAAAAAAAAAAAABAAAAAx0cmFkZXJTaWduZWQDAwkAAfQAAAADCAUAAAACdHgAAAAJYm9keUJ5dGVzCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEFAAAADHRyYWRlclB1YktleQYJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAAx0cmFkZXJQdWJLZXkAAAAAAAAAAAEAAAAAAAAAAAAJAABnAAAAAgkAAGQAAAACBQAAAA5jdXN0b21lclNpZ25lZAUAAAAMdHJhZGVyU2lnbmVkAAAAAAAAAAAC0kBW8g==",
"chainId": 84,
"height": 499289,
"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) |
---|