tx · 5WC7eR7bnqXRPp1HDopSnL6bnFZHswxuiji6SELKU9o
3MrK1RojnAeo5Dij5QLQjgPySGHShxJ13mz: -1.00000000 Waves
2019.02.27 13:29 [513720] smart asset 3MrK1RojnAeo5Dij5QLQjgPySGHShxJ13mz > SELF 0.00000000 testestoken
{
"type": 15,
"id": "5WC7eR7bnqXRPp1HDopSnL6bnFZHswxuiji6SELKU9o",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1551263399338,
"version": 1,
"sender": "3MrK1RojnAeo5Dij5QLQjgPySGHShxJ13mz",
"senderPublicKey": "CeHdhRbYRxo78mkuzL4p5o7EAzxDnZt4Tsv31kKNT7FK",
"proofs": [
"5n9UchghJVDmqfy3hcCRe88FZ6q6NYihj4fEm6Na5qkKZXDkUzmy5zvbQFof4Y3pZc7bjw4SjTssZW6fqjabXHDb"
],
"assetId": "5pNsqHzxqyoBeAwQPjc2s3QAiFYCWqf25J2bdBjrmL4E",
"script": "base64:AQQAAAAHV2F2ZXNJZAEAAAAEJNGBkAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDADCQAAAAAAAAIICAgFAAAAAXQAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAdXYXZlc0lkBgkAAAAAAAACCAgIBQAAAAF0AAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQFAAAAB1dhdmVzSWQGUgSLpg==",
"chainId": 84,
"height": 513720,
"spentComplexity": 0
}
View: original | compacted
Prev: AuTqKKwVor6HEaupepcA4vfQAMVs3YPDvZ84AE7Ze8K6
Next: 93rFLt8UPnJ3T4ikhaQR5ouXcZjNZibWJ674L8usARLK
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | | - | let BTCId = base58'DWgwcZTMhSvnyYCoWLRUXXSH1RSkzThXLJhww9gwkqdn' |
---|
| 3 | + | let WavesId = base58'waves' |
---|
4 | 4 | | match tx { |
---|
5 | 5 | | case t: ExchangeTransaction => |
---|
6 | | - | if ((t.sellOrder.assetPair.priceAsset == BTCId)) |
---|
| 6 | + | if ((t.sellOrder.assetPair.priceAsset == WavesId)) |
---|
7 | 7 | | then true |
---|
8 | | - | else (t.sellOrder.assetPair.amountAsset == BTCId) |
---|
| 8 | + | else (t.sellOrder.assetPair.amountAsset == WavesId) |
---|
9 | 9 | | case _ => |
---|
10 | 10 | | true |
---|
11 | 11 | | } |
---|