tx · BVpa7XF4nCwj5nv4NWu8QJedmGAuow9PQC2jsH84Vzx4
3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww: -1.00000000 Waves
2023.01.30 23:09 [2428148] smart asset 3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww > SELF 0.000000 MainAsset
{
"type": 15,
"id": "BVpa7XF4nCwj5nv4NWu8QJedmGAuow9PQC2jsH84Vzx4",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1675109395913,
"version": 2,
"chainId": 84,
"sender": "3N49T9MHfWsZJp62WPv37cg2ToyDrvMzLww",
"senderPublicKey": "CJFqGECQ9QCcwYnw3kJCYZp35bzxjVo2akYs1B1C7gbS",
"proofs": [
"3VKvkGXQP4dDBSTe5t5ALTBSjWRJSaH6sTnrn1GQEBZAQFkCxtuYJSibrvEk96dqrZBHqEphR7U3AMXzanDQZhy7"
],
"assetId": "G6GLtJ1wmZhE9uAeRABo4a66kwWFDgx3rcjsG3tFkG3C",
"script": "base64:BQQAAAAGb3JhY2xlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU9xIy1Xhizmi8e7bCFGtkUZHvGPwzLF4uBAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAABdAUAAAAHJG1hdGNoMAYDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdJbnZva2VTY3JpcHRUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAXTWFzc1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwBAAAAAxjb3JyZWN0UHJpY2UJAAAAAAAAAggFAAAAAWUAAAAFcHJpY2UJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABm9yYWNsZQIAAAAsRzZHTHRKMXdtWmhFOXVBZVJBQm80YTY2a3dXRkRneDNyY2pzRzN0RmtHM0MEAAAAEWNvcnJlY3RQcmljZUFzc2V0CQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAMFAAAADGNvcnJlY3RQcmljZQYFAAAAEWNvcnJlY3RQcmljZUFzc2V0BvP6UlU=",
"height": 2428148,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: 8FLznhVPGLcngHVNCiAsZudKXat3rzPMUZ6HYGKDjCsi
Next: 3xqeu6WZAf5qAyhanoQ7s27gAhCRH9LQ6Hm4Hf7hK7fp
Diff:
Old | New | | Differences |
---|
10 | 10 | | let correctPrice = (e.price == getIntegerValue(oracle, "G6GLtJ1wmZhE9uAeRABo4a66kwWFDgx3rcjsG3tFkG3C")) |
---|
11 | 11 | | let correctPriceAsset = !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
12 | 12 | | if (correctPrice) |
---|
13 | | - | then correctPriceAsset |
---|
14 | | - | else false |
---|
| 13 | + | then true |
---|
| 14 | + | else correctPriceAsset |
---|
15 | 15 | | case _ => |
---|
16 | 16 | | true |
---|
17 | 17 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 5 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let oracle = Address(base58'3NCSUUm7nAFGsH6GPxDLxiQFgB1bvtn5BYq') |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: TransferTransaction => |
---|
6 | 6 | | true |
---|
7 | 7 | | case t: InvokeScriptTransaction|MassTransferTransaction => |
---|
8 | 8 | | false |
---|
9 | 9 | | case e: ExchangeTransaction => |
---|
10 | 10 | | let correctPrice = (e.price == getIntegerValue(oracle, "G6GLtJ1wmZhE9uAeRABo4a66kwWFDgx3rcjsG3tFkG3C")) |
---|
11 | 11 | | let correctPriceAsset = !(isDefined(e.sellOrder.assetPair.priceAsset)) |
---|
12 | 12 | | if (correctPrice) |
---|
13 | | - | then correctPriceAsset |
---|
14 | | - | else false |
---|
| 13 | + | then true |
---|
| 14 | + | else correctPriceAsset |
---|
15 | 15 | | case _ => |
---|
16 | 16 | | true |
---|
17 | 17 | | } |
---|