tx · H7akvjykD19aRRycLJeEmdLStxHTgCAxK6fFNNtEyj4G

3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz:  -1.00000000 Waves

2019.03.05 12:16 [522427] smart asset 3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz > SELF 0.00000000 TokenA

{ "type": 15, "id": "H7akvjykD19aRRycLJeEmdLStxHTgCAxK6fFNNtEyj4G", "fee": 100000000, "feeAssetId": null, "timestamp": 1551777366684, "version": 1, "sender": "3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz", "senderPublicKey": "JAjDSSQ1LdVR1jVcWbdn3UqCUA1xuQeLqTTkZUKRVddL", "proofs": [ "2M9r6oRXCTdMbwAJDv7ySqFoWE7f7rtRnqqbfwVcWzPBxKSoA8jhV3bXrFj5hkvZPfLLgUEnWCCC3AW7TdAUgRUe" ], "assetId": "4fCneYmvnZeX4wfUjmKV3dmtGBEubPe5oMgK1noeU35r", "script": "base64:AgQAAAANTWluV2F2ZXNQcmljZQAAAAAAAAGGoAQAAAACbWUIBQAAAAJ0eAAAAAZzZW5kZXIEAAAABmlzc3VlcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVKgHapxItJail6/jw+jLQ0bSKJwdgkNEhQMJAAAAAAAAAgUAAAACbWUFAAAABmlzc3VlcgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAGBgQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDADCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAMJAAAAAAAAAggIBQAAAAFlAAAACGJ1eU9yZGVyAAAACW9yZGVyVHlwZQUAAAADQnV5AwkAAGcAAAACCAgFAAAAAWUAAAAIYnV5T3JkZXIAAAAFcHJpY2UFAAAADU1pbldhdmVzUHJpY2UGBAAAAAlXQVZlcnJTdHIJAAEsAAAAAgkAASwAAAACAgAAABZNaW5pbWFsIFdBVkVTIHByaWNlID0gCQABpAAAAAEFAAAADU1pbldhdmVzUHJpY2UCAAAACiB3YXZlbGV0cy4JAAACAAAAAQUAAAAJV0FWZXJyU3RyBgQAAAAJRGVmRXJyU3RyAgAAACJPbmx5IHRyYWRpbmcgYWdhaW5zdCBXQVZFUyBhbGxvd2VkCQAAAgAAAAEFAAAACURlZkVyclN0cgbw7o7M", "chainId": 84, "height": 522427, "spentComplexity": 0 } View: original | compacted Prev: 6effrPwHqnaeb8vu6ijfajEQoChr3MNqGCEy4EFxrp7r Next: none Diff:
OldNewDifferences
44 let me = tx.sender
55 let issuer = Address(base58'3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz')
66 if ((me == issuer))
7- then true
7+ then match tx {
8+ case t: ExchangeTransaction =>
9+ true
10+ case _ =>
11+ true
12+ }
813 else match tx {
914 case e: ExchangeTransaction =>
1015 if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let MinWavesPrice = 100000
44 let me = tx.sender
55 let issuer = Address(base58'3N5EYBTAEfEALhE15d6B2ZL7yu27enxMedz')
66 if ((me == issuer))
7- then true
7+ then match tx {
8+ case t: ExchangeTransaction =>
9+ true
10+ case _ =>
11+ true
12+ }
813 else match tx {
914 case e: ExchangeTransaction =>
1015 if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
1116 then if ((e.buyOrder.orderType == Buy))
1217 then if ((e.buyOrder.price >= MinWavesPrice))
1318 then true
1419 else {
1520 let WAVerrStr = (("Minimal WAVES price = " + toString(MinWavesPrice)) + " wavelets.")
1621 throw(WAVerrStr)
1722 }
1823 else true
1924 else {
2025 let DefErrStr = "Only trading against WAVES allowed"
2126 throw(DefErrStr)
2227 }
2328 case _ =>
2429 true
2530 }

github/deemru/w8io/169f3d6 
31.68 ms