tx · 72x76ibkZpjP4xwQa55ESLKcLhgZ5Bq2cUdWMej1Xcgb

3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9:  -1.00000000 Waves

2019.03.18 05:18 [541072] smart asset 3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9 > SELF 0.00000000 serrote

{ "type": 15, "id": "72x76ibkZpjP4xwQa55ESLKcLhgZ5Bq2cUdWMej1Xcgb", "fee": 100000000, "feeAssetId": null, "timestamp": 1552875529697, "version": 1, "sender": "3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9", "senderPublicKey": "5HwUTPzUP1wy7djMELX2wLNmasSaARD4kw1xpAyeJw1h", "proofs": [ "5LGzhttmeMymTX5kpQozdhrNADJTQ2Nypcf5H15kDiGLsPK5wfjLD28uM83m3SM886CcH1WNyxdqR2aXs7BVAK7z" ], "assetId": "CpMnMP75j2vyK5cGaiVsLTgFTfxgFcFLMnVUshzzeHrA", "script": "base64:AgQAAAAFcHJpY2UAAAAAAAAAAAEEAAAABmFtb3VudAAAAAAAAAAABQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWEFAAAAByRtYXRjaDAEAAAABHBhaXIICAUAAAABYQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIEAAAADnRyYWRlZEZvcldhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAALYW1vdW50QXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAApwcmljZUFzc2V0AwUAAAAOdHJhZGVkRm9yV2F2ZXMJAAAAAAAAAggFAAAAAWEAAAAFcHJpY2UFAAAABXByaWNlBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABYgUAAAAHJG1hdGNoMAkAAAAAAAACCAUAAAABYgAAAAZhbW91bnQFAAAABmFtb3VudAYbTgYF", "chainId": 84, "height": 541072, "spentComplexity": 0 } View: original | compacted Prev: CN6AFL58wQDWxUE57yhakF2vFnLUdJpjkjee23hzGNfH Next: AGpWNL9dRaUxpJQhU469BSMxSVNKpABhkFJFrR7zKmLk Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3-let price = 10000000
3+let price = 1
4+let amount = 5
45 match tx {
5- case e: ExchangeTransaction =>
6- let pair = e.sellOrder.assetPair
6+ case a: ExchangeTransaction =>
7+ let pair = a.buyOrder.assetPair
78 let tradedForWaves = if (!(isDefined(pair.amountAsset)))
89 then true
910 else !(isDefined(pair.priceAsset))
1011 if (tradedForWaves)
11- then (e.amount == price)
12+ then (a.price == price)
1213 else false
14+ case b: ExchangeTransaction =>
15+ (b.amount == amount)
1316 case _ =>
1417 true
1518 }

github/deemru/w8io/026f985 
22.61 ms