tx · 2iXN6SDa9UpgSzzvjno9G5o1p3kirHDQYGxegrgx32Jk

3PEm86FUd9gGoJn4AaZTjRy7so1TPLHCPMa:  -1.00400000 Waves

2020.08.04 02:14 [2180160] smart asset 3PEm86FUd9gGoJn4AaZTjRy7so1TPLHCPMa > SELF 0.00 MiningDiamonds

{ "type": 15, "id": "2iXN6SDa9UpgSzzvjno9G5o1p3kirHDQYGxegrgx32Jk", "fee": 100400000, "feeAssetId": null, "timestamp": 1596496545613, "version": 1, "sender": "3PEm86FUd9gGoJn4AaZTjRy7so1TPLHCPMa", "senderPublicKey": "4tJYASwPt4FwdU4dP8ofTA7oguobhmnABw2dMtuDeSWh", "proofs": [ "5v5iCpo97oQ3sSq6duzncvTZXdBRz16tVnnFSxpRoAKNf68zUDQAdZGSra8idLHRjFZz45Y114g9Sdb51i92GAcg" ], "assetId": "5bRor9zouQryETEhEiCmn9Pw8rwVc4aJGUFeLKaVf5FA", "script": "base64:AgQAAAAHJG1hdGNoMAUAAAACdHgEAAAAGVNldEFzc2V0U2NyaXB0VHJhbnNhY3Rpb24FAAAAByRtYXRjaDAG+64Ikw==", "chainId": 87, "height": 2180160, "spentComplexity": 0 } View: original | compacted Prev: 5eiFE6doDF4pu6M3E3JP23vF6H43719gGc5dBTSAwm4o Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let issuer = Address(base58'3PEm86FUd9gGoJn4AaZTjRy7so1TPLHCPMa')
4-let price = if (isDefined(getInteger(issuer, "fixedPrice")))
5- then getInteger(issuer, "fixedPrice")
6- else 100000000
73 match tx {
8- case e: ExchangeTransaction =>
9- let pair = e.buyOrder.assetPair
10- let tradedForBaseCurrency = if (!(isDefined(pair.amountAsset)))
11- then true
12- else !(isDefined(pair.priceAsset))
13- if (tradedForBaseCurrency)
14- then (e.price == extract(price))
15- else false
164 case SetAssetScriptTransaction =>
175 true
186 }

github/deemru/w8io/6500d08 
46.78 ms