tx · DH96jTBhNApgHnboZAQZytwXJqvvhJcbVbyTpeCRhSwr

3NC6z8qVwvnUtjkCPjWkChi9pWqcR2DpDa3:  -1.00000000 Waves

2019.03.20 11:25 [544353] smart asset 3NC6z8qVwvnUtjkCPjWkChi9pWqcR2DpDa3 > SELF 0.00000000 98token

{ "type": 15, "id": "DH96jTBhNApgHnboZAQZytwXJqvvhJcbVbyTpeCRhSwr", "fee": 100000000, "feeAssetId": null, "timestamp": 1553070355679, "version": 1, "sender": "3NC6z8qVwvnUtjkCPjWkChi9pWqcR2DpDa3", "senderPublicKey": "6hRFV3c39EhCuHoNozcqU17q3PuMT48rjq6B4nYwNP3W", "proofs": [ "3bmMMrN4J5e6cuvXUrP8PXkXbpjqicTzjpyxnkbrHJmsUcnpKYwX7C5Cv3WMKWEzaFmBiBWx2bpdv5B65M2PnenT" ], "assetId": "4UfTfQQZDtFbW89oqBSXHt9gt4KCA9SC8roSbzjFGh7T", "script": "base64:AgQAAAAGaXNzdWVyCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFU82Kio9qxzJwolMCf2VgGRgcAN/mQjvhkBAAAAAdhc3NldElkAQAAACAzqTqorhTfO4QOcZZ+pD0JN/6dFzoRLtBZi0EAkZ4UzgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAmV4BQAAAAckbWF0Y2gwBAAAAARwYWlyCQEAAAAJQXNzZXRQYWlyAAAAAgUAAAAHYXNzZXRJZAUAAAAEdW5pdAQAAAAEcmF0ZQkBAAAAB2V4dHJhY3QAAAABCQAEGgAAAAIFAAAABmlzc3VlcgIAAAAMZXhjaGFuZ2VSYXRlBAAAAAhyYXRlRGlmZgkAAGUAAAACBQAAAARyYXRlCQAAawAAAAMAAAAAAAX14QAIBQAAAAJleAAAAAVwcmljZQgFAAAAAmV4AAAABmFtb3VudAMDCQAAAAAAAAIICAUAAAACZXgAAAAIYnV5T3JkZXIAAAAJYXNzZXRQYWlyBQAAAARwYWlyCQAAZgAAAAIFAAAACHJhdGVEaWZmAP////////+cBwkAAGYAAAACAAAAAAAAAABkBQAAAAhyYXRlRGlmZgcGJDT/NA==", "chainId": 84, "height": 544353, "spentComplexity": 0 } View: original | compacted Prev: none Next: 2KisTETrPTi68cW6vqb6JGrpxTGYcZ56iSoinuVKGoeL Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 2 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let issuer = Address(base58'3NC6z8qVwvnUtjkCPjWkChi9pWqcR2DpDa3')
4+let assetId = base58'4UfTfQQZDtFbW89oqBSXHt9gt4KCA9SC8roSbzjFGh7T'
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+}

github/deemru/w8io/169f3d6 
19.56 ms