tx · C5vDCn3tWSD3CEUZ4zy38DNqmMNZV8EeBcDFUAR5EJKE
3MpX7t1abP9D1VzmLeeL3KkcBCMXto4nFre: -1.00000000 Waves
2019.02.06 20:58 [483524] smart asset 3MpX7t1abP9D1VzmLeeL3KkcBCMXto4nFre > SELF 0 new ticket
{
"type": 15,
"id": "C5vDCn3tWSD3CEUZ4zy38DNqmMNZV8EeBcDFUAR5EJKE",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1549475921332,
"version": 1,
"sender": "3MpX7t1abP9D1VzmLeeL3KkcBCMXto4nFre",
"senderPublicKey": "3bBumwZNWnpwe76xAmfQXajtZZkhat6aDt8jx75daZq6",
"proofs": [
"4QtVnnKkFU7Q8ydGSxwbehuQ1CPQPXbiDugLMyDkbRrKYKAPDspnDmH6rrgaYbVmTEZd26RyNK2uN1CegYgGkBwZ"
],
"assetId": "DtGnffe1SHzkLXajEF3Ky2tNeNyqo3on7rZ9o7gxhVjk",
"script": "base64:AQQAAAAOYWRtaW5QdWJsaWNLZXkBAAAAICZ5dQ17ZQeL5xaZHTh3TXVgnRWnLJiQ8wEdPY5cEF5NBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAEc2VsbAkAAfQAAAADCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWJvZHlCeXRlcwkAAZEAAAACCAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAABnByb29mcwAAAAAAAAAAAAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAA9zZW5kZXJQdWJsaWNLZXkDBQAAAARzZWxsCQAB9AAAAAMICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYm9keUJ5dGVzCQABkQAAAAIICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAGcHJvb2ZzAAAAAAAAAAAABQAAAA5hZG1pblB1YmxpY0tleQYDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAD0J1cm5UcmFuc2FjdGlvbgQAAAACdHgFAAAAByRtYXRjaDAGBqCvH+Q=",
"chainId": 84,
"height": 483524,
"spentComplexity": 0
}
View: original | compacted
Prev: CCT1iqyAUhy6MtxvpVHnDFkwfxAgbwbkHxdBRj4ftuMn
Next: 2fEZ5s67oyAhBEHT9Y7j5hwPeEokFSqKpYJurHHWjLHj
Diff:
Old | New | | Differences |
---|
3 | 3 | | let adminPublicKey = base58'3bBumwZNWnpwe76xAmfQXajtZZkhat6aDt8jx75daZq6' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case e: ExchangeTransaction => |
---|
6 | | - | throw(((toString(sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)) + " ") + toString(sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)))) |
---|
| 6 | + | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) |
---|
| 7 | + | if (sell) |
---|
| 8 | + | then sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], adminPublicKey) |
---|
| 9 | + | else true |
---|
7 | 10 | | case tx: BurnTransaction => |
---|
8 | 11 | | true |
---|
9 | 12 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let adminPublicKey = base58'3bBumwZNWnpwe76xAmfQXajtZZkhat6aDt8jx75daZq6' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case e: ExchangeTransaction => |
---|
6 | | - | throw(((toString(sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey)) + " ") + toString(sigVerify(e.buyOrder.bodyBytes, e.buyOrder.proofs[0], e.buyOrder.senderPublicKey)))) |
---|
| 6 | + | let sell = sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], e.sellOrder.senderPublicKey) |
---|
| 7 | + | if (sell) |
---|
| 8 | + | then sigVerify(e.sellOrder.bodyBytes, e.sellOrder.proofs[0], adminPublicKey) |
---|
| 9 | + | else true |
---|
7 | 10 | | case tx: BurnTransaction => |
---|
8 | 11 | | true |
---|
9 | 12 | | case _ => |
---|
10 | 13 | | true |
---|
11 | 14 | | } |
---|