tx · 9jdktVWVDcYzwpbJ9gk3N5jCuXLdB5ZKraEGKRU4PePi

3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz:  -1.00000000 Waves

2019.03.05 11:53 [522403] smart asset 3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz > SELF 0.00000000 TokenA

{ "type": 15, "id": "9jdktVWVDcYzwpbJ9gk3N5jCuXLdB5ZKraEGKRU4PePi", "fee": 100000000, "feeAssetId": null, "timestamp": 1551776011570, "version": 1, "sender": "3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz", "senderPublicKey": "JAjDSSQ1LdVR1jVcWbdn3UqCUA1xuQeLqTTkZUKRVddL", "proofs": [ "4rWLfABNFn8d5cnAWaosU5RuroGgkKmD3CjNHpTNfkqHSdMSWQduRSmDiktT9Fo2nYLRXG1YQBEYTgJNjYWXqg6n" ], "assetId": "4fCneYmvnZeX4wfUjmKV3dmtGBEubPe5oMgK1noeU35r", "script": "base64:AgQAAAANTWluV2F2ZXNQcmljZQAAAAAAAAGGoAQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAMJAAAAAAAAAggIBQAAAAFlAAAACGJ1eU9yZGVyAAAACW9yZGVyVHlwZQUAAAADQnV5AwkAAGcAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAFcHJpY2UFAAAADU1pbldhdmVzUHJpY2UGBAAAAAlXQVZlcnJTdHIJAAEsAAAAAgkAASwAAAACAgAAABZNaW5pbWFsIFdBVkVTIHByaWNlID0gCQABpAAAAAEFAAAADU1pbldhdmVzUHJpY2UCAAAACiB3YXZlbGV0cy4JAAACAAAAAQUAAAAJV0FWZXJyU3RyBgQAAAAJRGVmRXJyU3RyAgAAACJPbmx5IHRyYWRpbmcgYWdhaW5zdCBXQVZFUyBhbGxvd2VkCQAAAgAAAAEFAAAACURlZkVyclN0cgZMRdXs", "chainId": 84, "height": 522403, "spentComplexity": 0 } View: original | compacted Prev: none Next: 6effrPwHqnaeb8vu6ijfajEQoChr3MNqGCEy4EFxrp7r Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 2 #-}
2+{-# CONTENT_TYPE EXPRESSION #-}
3+let MinWavesPrice = 100000
4+match tx {
5+ case e: ExchangeTransaction =>
6+ if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
7+ then if ((e.buyOrder.orderType == Buy))
8+ then if ((e.buyOrder.price >= MinWavesPrice))
9+ then true
10+ else {
11+ let WAVerrStr = (("Minimal WAVES price = " + toString(MinWavesPrice)) + " wavelets.")
12+ throw(WAVerrStr)
13+ }
14+ else true
15+ else {
16+ let DefErrStr = "Only trading against WAVES allowed"
17+ throw(DefErrStr)
18+ }
19+ case _ =>
20+ true
21+}

github/deemru/w8io/169f3d6 
20.36 ms