tx · 9rkPgLQBbWzcjSmYgZdghKozkaTmSSu4V6AEZnCSvmCW
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.25 05:34 [551285] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 ccccc
{
"type": 15,
"id": "9rkPgLQBbWzcjSmYgZdghKozkaTmSSu4V6AEZnCSvmCW",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553481223883,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"yeo6pCJR9cq7bRb2BUVKEagK3RLzgsnLf7ZKimZLavHiwcA5D1fdF2HTJmkm3MmqGmfoRXBFLvkoGZh8y8whn1t"
],
"assetId": "6a8EtSnqp87GTjKdTvh4QrKUmvunv4VCtSh8Sv3vMbbS",
"script": "base64:AgQAAAAGUEFSN0lkAQAAACAV1H/l5cWNjbkUNHs7Af1VBfGHG5yTzOl2QaphBQ5sUAQAAAAFUHJpY2UAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwMJAAAAAAAAAggICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQFAAAABlBBUjdJZAkAAAAAAAACCAUAAAABZQAAAAVwcmljZQUAAAAFUHJpY2UHBgkAAAIAAAABAgAAAEJOb3cgeW91IGNhbiBvbmx5IGV4Y2hhbmdlIHN3YXAgUEFSNyAhIFRoYW5rIHlvdSBmb3IgeW91ciBwYXRpZW5jZS4DCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWEFAAAAByRtYXRjaDADAwkAAAAAAAACCAgIBQAAAAFhAAAACGJ1eU9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAZQQVI3SWQJAAAAAAAAAggFAAAAAWEAAAAFcHJpY2UFAAAABVByaWNlBwYJAAACAAAAAQIAAABCTm93IHlvdSBjYW4gb25seSBleGNoYW5nZSBzd2FwIFBBUjcgISBUaGFuayB5b3UgZm9yIHlvdXIgcGF0aWVuY2UuBl8AROI=",
"chainId": 84,
"height": 551285,
"spentComplexity": 0
}
View: original | compacted
Prev: EaGGGjLrCT3DkFNFyUuhqFRPA3gG3UTH1tESfxDz79Sj
Next: EyXTdk7dctSC1tPGqs1EF4tKebvRShJSnmhQriHQyYXa
Diff:
Old | New | | Differences |
---|
4 | 4 | | let Price = 1000 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | | - | if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
| 7 | + | if (if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
| 8 | + | then (e.price == Price) |
---|
| 9 | + | else false) |
---|
| 10 | + | then true |
---|
| 11 | + | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
| 12 | + | case a: ExchangeTransaction => |
---|
| 13 | + | if (if ((a.buyOrder.assetPair.priceAsset == PAR7Id)) |
---|
| 14 | + | then (a.price == Price) |
---|
| 15 | + | else false) |
---|
8 | 16 | | then true |
---|
9 | 17 | | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
10 | 18 | | case _ => |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 2 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | let PAR7Id = base58'2UDVrBQuBpyVayA8giH4NjPE5F31WxkD7CzMvNRzZXHh' |
---|
4 | 4 | | let Price = 1000 |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | | - | if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
| 7 | + | if (if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
| 8 | + | then (e.price == Price) |
---|
| 9 | + | else false) |
---|
| 10 | + | then true |
---|
| 11 | + | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
| 12 | + | case a: ExchangeTransaction => |
---|
| 13 | + | if (if ((a.buyOrder.assetPair.priceAsset == PAR7Id)) |
---|
| 14 | + | then (a.price == Price) |
---|
| 15 | + | else false) |
---|
8 | 16 | | then true |
---|
9 | 17 | | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
10 | 18 | | case _ => |
---|
11 | 19 | | true |
---|
12 | 20 | | } |
---|