tx · 7cKvJSRWA57mJs4mRUos2uNXqaj1VGdarhbHLuEMSdnW

3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY:  -1.00000000 Waves

2019.03.22 22:06 [547927] smart asset 3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY > SELF 0.00000000 Kolombo

{ "type": 15, "id": "7cKvJSRWA57mJs4mRUos2uNXqaj1VGdarhbHLuEMSdnW", "fee": 100000000, "feeAssetId": null, "timestamp": 1553281608793, "version": 1, "sender": "3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY", "senderPublicKey": "ADUHSBBZmwzMU7AJTU9s55aDMxqtFdUH8cPZbU39J2fW", "proofs": [ "rv66EdmRtzvdMk6Qd8ebCVQHGA3Uuxk4342tv5cUz7FJan3P1V38Gq4xjXmxpYpmyjqLSYVVWsgFdFCXNRd7Pqd" ], "assetId": "JE9KVwzMSkzfxjzYgouWxtQhRjsN1u7hmTSPQ4wNWQcY", "script": "base64:AgQAAAAHJG1hdGNoMAUAAAACdHgDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAA9CdXJuVHJhbnNhY3Rpb24GAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNUcmFuc2ZlclRyYW5zYWN0aW9uBgkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABNFeGNoYW5nZVRyYW5zYWN0aW9uBAAAAAF0BQAAAAckbWF0Y2gwBgdBrmNO", "chainId": 84, "height": 547927, "spentComplexity": 0 } View: original | compacted Prev: 4gCGYex4UcaZMBCt7RJUFJdMGLJVj9JstJqueTbuKrRb Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let oracle = Address(base58'3Mr147SkrDYJqsLUD1ky5tXwVKbcTUn1zpY')
4-let assetId = toBase58String(base58'JE9KVwzMSkzfxjzYgouWxtQhRjsN1u7hmTSPQ4wNWQcY')
53 match tx {
6- case t: MassTransferTransaction|TransferTransaction =>
4+ case t: BurnTransaction|TransferTransaction|ExchangeTransaction =>
5+ true
6+ case _ =>
77 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
168 }

github/deemru/w8io/026f985 
18.01 ms