tx · 3P3aqi6Dn4XZV5FG5jMnDkseGukm3JvkJr5rr9TZLHan
3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC: -1.00000000 Waves
2019.03.25 06:23 [551333] smart asset 3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC > SELF 0.00 ccccc
{
"type": 15,
"id": "3P3aqi6Dn4XZV5FG5jMnDkseGukm3JvkJr5rr9TZLHan",
"fee": 100000000,
"feeAssetId": null,
"timestamp": 1553484185913,
"version": 1,
"sender": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"senderPublicKey": "74wMvThvfXfuxPa3JAiDoBuzpWD4wkZuLPVG2BigeUVi",
"proofs": [
"3NCd8NYjp4aHjbqYfs8N2QTGP8cnDSrR2i99k7Fi4S9HVxricpZ9nhtQFxLHZWTv75iLrJBuwNgc55GAHsp99tvx"
],
"assetId": "6a8EtSnqp87GTjKdTvh4QrKUmvunv4VCtSh8Sv3vMbbS",
"script": "base64:AgQAAAAGUEFSN0lkAQAAACAV1H/l5cWNjbkUNHs7Af1VBfGHG5yTzOl2QaphBQ5sUAQAAAAFUHJpY2UAAAAAAAAAA+gEAAAAByRtYXRjaDAFAAAAAnR4AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAFlBQAAAAckbWF0Y2gwAwMDCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BQAAAAZQQVI3SWQGCQAAAAAAAAIICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAUAAAAGUEFSN0lkCQAAAAAAAAIIBQAAAAFlAAAABXByaWNlBQAAAAVQcmljZQcGCQAAAgAAAAECAAAAQk5vdyB5b3UgY2FuIG9ubHkgZXhjaGFuZ2Ugc3dhcCBQQVI3ICEgVGhhbmsgeW91IGZvciB5b3VyIHBhdGllbmNlLgMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAFFNldFNjcmlwdFRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABlTZXRBc3NldFNjcmlwdFRyYW5zYWN0aW9uBAAAAAFzBQAAAAckbWF0Y2gwBgcZ/Ds3",
"chainId": 84,
"height": 551333,
"spentComplexity": 0
}
View: original | compacted
Prev: EyXTdk7dctSC1tPGqs1EF4tKebvRShJSnmhQriHQyYXa
Next: 6Rv5LSD7GtBMhGtzyq5AtbJaULH7ouc5HEoyyhmx1faR
Diff:
Old | New | | Differences |
---|
5 | 5 | | match tx { |
---|
6 | 6 | | case e: ExchangeTransaction => |
---|
7 | 7 | | if (if (if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
8 | | - | then (e.buyOrder.assetPair.priceAsset == PAR7Id) |
---|
9 | | - | else false) |
---|
| 8 | + | then true |
---|
| 9 | + | else (e.sellOrder.assetPair.amountAsset == PAR7Id)) |
---|
10 | 10 | | then (e.price == Price) |
---|
11 | 11 | | else false) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
| 14 | + | case s: SetScriptTransaction|SetAssetScriptTransaction => |
---|
| 15 | + | true |
---|
14 | 16 | | case _ => |
---|
15 | | - | true |
---|
| 17 | + | false |
---|
16 | 18 | | } |
---|
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 | 7 | | if (if (if ((e.sellOrder.assetPair.priceAsset == PAR7Id)) |
---|
8 | | - | then (e.buyOrder.assetPair.priceAsset == PAR7Id) |
---|
9 | | - | else false) |
---|
| 8 | + | then true |
---|
| 9 | + | else (e.sellOrder.assetPair.amountAsset == PAR7Id)) |
---|
10 | 10 | | then (e.price == Price) |
---|
11 | 11 | | else false) |
---|
12 | 12 | | then true |
---|
13 | 13 | | else throw("Now you can only exchange swap PAR7 ! Thank you for your patience.") |
---|
| 14 | + | case s: SetScriptTransaction|SetAssetScriptTransaction => |
---|
| 15 | + | true |
---|
14 | 16 | | case _ => |
---|
15 | | - | true |
---|
| 17 | + | false |
---|
16 | 18 | | } |
---|