tx · 9UhijsBYQbu7VmWbNbJpb7kYNnud6dx2f8eataeGsg2n

3MtyC1mD9vS4UuKQ6wu2JXKzjUecdY4EW7A:  -0.10000000 Waves

2020.06.09 06:18 [1035269] smart account 3MtyC1mD9vS4UuKQ6wu2JXKzjUecdY4EW7A > SELF 0.00000000 Waves

{ "type": 13, "id": "9UhijsBYQbu7VmWbNbJpb7kYNnud6dx2f8eataeGsg2n", "fee": 10000000, "feeAssetId": null, "timestamp": 1591672709798, "version": 1, "sender": "3MtyC1mD9vS4UuKQ6wu2JXKzjUecdY4EW7A", "senderPublicKey": "37FyP8sdqQUjbk3FX2jBTsn4S4yWMSVx5zmrt4tHZG4s", "proofs": [ "XdbXTzKKZH9pQk8tnkNooFQA3yB9MRkoQagwyzY6uZFXh9kUokaEJeyTgR9wEgNhBqEwr8zGf4R3XyXif25Sqsq" ], "script": null, "chainId": 84, "height": 1035269, "spentComplexity": 0 } View: original | compacted Prev: CK4cCjTZygeQw9re4JMKCYt8P2sckwovX4odhRw31SFa Next: 69zyhzZLFs5cZz3xs9b2xx5pRBmnyGQH6dG93rsZwZK3 Full:
OldNewDifferences
1-{-# STDLIB_VERSION 2 #-}
2-{-# CONTENT_TYPE EXPRESSION #-}
3-let issuer = Address(base58'3MtyC1mD9vS4UuKQ6wu2JXKzjUecdY4EW7A')
4-let assetId = base58'CtnDK5TjMAQEEAh9uyzzohmbmVZaeT5jAx9ZuGSHFQQ3'
5-match tx {
6- case ex: ExchangeTransaction =>
7- let pair = AssetPair(assetId, unit)
8- let rate = extract(getInteger(issuer, "exchangeRate"))
9- let rateDiff = (rate - fraction(100000000, ex.price, ex.amount))
10- if (if ((ex.buyOrder.assetPair == pair))
11- then (rateDiff > -100)
12- else false)
13- then (100 > rateDiff)
14- else false
15- case _ =>
16- true
17-}
1+# no script

github/deemru/w8io/169f3d6 
16.27 ms