tx · 4gCGYex4UcaZMBCt7RJUFJdMGLJVj9JstJqueTbuKrRb

3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY:  -1.00000000 Waves

2019.03.22 21:57 [547920] smart asset 3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY > SELF 0.00000000 Kolombo

{ "type": 15, "id": "4gCGYex4UcaZMBCt7RJUFJdMGLJVj9JstJqueTbuKrRb", "fee": 100000000, "feeAssetId": null, "timestamp": 1553281106263, "version": 1, "sender": "3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY", "senderPublicKey": "ADUHSBBZmwzMU7AJTU9s55aDMxqtFdUH8cPZbU39J2fW", "proofs": [ "6tiFjHR6amWCFtrxkvrLQnE7WvnJq9nDLoYKQC3vvnFQhhbDxgvk12yctppz3Hcm2rSHJ4pY3ZBK9xxqJe6k7de" ], "assetId": "JE9KVwzMSkzfxjzYgouWxtQhRjsN1u7hmTSPQ4wNWQcY", "script": "base64:AgQAAAAGb3JhY2xlCQEAAAAHQWRkcmVzcwAAAAEBAAAAGgFUFuDxX2z4qVOpnZffbZSfseuiV2YuTFN5BAAAAAdhc3NldElkCQACWAAAAAEBAAAAIP/0onC+E7ANaRryH8sUJKekMOjkD5jW2GkbXQ5S4lshBAAAAAckbWF0Y2gwBQAAAAJ0eAMDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAF01hc3NUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABZQUAAAAHJG1hdGNoMAQAAAAMY29ycmVjdFByaWNlCQAAAAAAAAIIBQAAAAFlAAAABXByaWNlCQEAAAAHZXh0cmFjdAAAAAEJAAQaAAAAAgUAAAAGb3JhY2xlBQAAAAdhc3NldElkBAAAABFjb3JyZWN0UHJpY2VBc3NldAkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQDBQAAAAxjb3JyZWN0UHJpY2UFAAAAEWNvcnJlY3RQcmljZUFzc2V0Bwaz1Hj0", "chainId": 84, "height": 547920, "spentComplexity": 0 } View: original | compacted Prev: none Next: 7cKvJSRWA57mJs4mRUos2uNXqaj1VGdarhbHLuEMSdnW Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 2 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let oracle = Address(base58'3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY')
4+let assetId = toBase58String(base58'JE9KVwzMSkzfxjzYgouWxtQhRjsN1u7hmTSPQ4wNWQcY')
5+match tx {
6+ case t: MassTransferTransaction|TransferTransaction =>
7+ false
8+ case e: ExchangeTransaction =>
9+ let correctPrice = (e.price == extract(getInteger(oracle, assetId)))
10+ let correctPriceAsset = !(isDefined(e.sellOrder.assetPair.priceAsset))
11+ if (correctPrice)
12+ then correctPriceAsset
13+ else false
14+ case _ =>
15+ true
16+}

github/deemru/w8io/026f985 
13.43 ms