tx · 2zn9RTfYkUVDMvg9g5gUXzrxx5EU8XTDcDJWZNVpu835

3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9:  -1.00000000 Waves

2019.03.18 05:28 [541081] smart asset 3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9 > SELF 0.00000000 serrote

{ "type": 15, "id": "2zn9RTfYkUVDMvg9g5gUXzrxx5EU8XTDcDJWZNVpu835", "fee": 100000000, "feeAssetId": null, "timestamp": 1552876115335, "version": 1, "sender": "3MtHweJiyA6ikkkPCn4ssqpi4Nokcrf9hT9", "senderPublicKey": "5HwUTPzUP1wy7djMELX2wLNmasSaARD4kw1xpAyeJw1h", "proofs": [ "4Qo7FvWR4qUCtcdjQohNxC6pTqjNww3xrc9h8HUgL4pXEqdac77bzoSnxGheodRAfwS3q5xYhY1PxweNeHouTL4S" ], "assetId": "CpMnMP75j2vyK5cGaiVsLTgFTfxgFcFLMnVUshzzeHrA", "script": "base64:AgQAAAAFcHJpY2UAAAAAAAAAAAEEAAAABmFtb3VudAAAAAAAAAAABQQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWEFAAAAByRtYXRjaDAEAAAABHBhaXIICAUAAAABYQAAAAhidXlPcmRlcgAAAAlhc3NldFBhaXIEAAAADnRyYWRlZEZvcldhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgFAAAABHBhaXIAAAALYW1vdW50QXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAApwcmljZUFzc2V0AwUAAAAOdHJhZGVkRm9yV2F2ZXMJAAAAAAAAAggFAAAAAWEAAAAFcHJpY2UFAAAABXByaWNlBwMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATRXhjaGFuZ2VUcmFuc2FjdGlvbgQAAAABYgUAAAAHJG1hdGNoMAQAAAAEcGFpcggIBQAAAAFiAAAACGJ1eU9yZGVyAAAACWFzc2V0UGFpcgQAAAAOdHJhZGVkRm9yV2F2ZXMDCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAUAAAAEcGFpcgAAAAthbW91bnRBc3NldAYJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEIBQAAAARwYWlyAAAACnByaWNlQXNzZXQDBQAAAA50cmFkZWRGb3JXYXZlcwkAAAAAAAACCAUAAAABYgAAAAZhbW91bnQFAAAABmFtb3VudAcDAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAABdNYXNzVHJhbnNmZXJUcmFuc2FjdGlvbgYJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgYH9gM4Kg==", "chainId": 84, "height": 541081, "spentComplexity": 0 } View: original | compacted Prev: AGpWNL9dRaUxpJQhU469BSMxSVNKpABhkFJFrR7zKmLk Next: none Diff:
OldNewDifferences
1212 then (a.price == price)
1313 else false
1414 case b: ExchangeTransaction =>
15- (b.amount == amount)
15+ let pair = b.buyOrder.assetPair
16+ let tradedForWaves = if (!(isDefined(pair.amountAsset)))
17+ then true
18+ else !(isDefined(pair.priceAsset))
19+ if (tradedForWaves)
20+ then (b.amount == amount)
21+ else false
22+ case _: MassTransferTransaction|TransferTransaction =>
23+ true
1624 case _ =>
17- true
25+ false
1826 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 2 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let price = 1
44 let amount = 5
55 match tx {
66 case a: ExchangeTransaction =>
77 let pair = a.buyOrder.assetPair
88 let tradedForWaves = if (!(isDefined(pair.amountAsset)))
99 then true
1010 else !(isDefined(pair.priceAsset))
1111 if (tradedForWaves)
1212 then (a.price == price)
1313 else false
1414 case b: ExchangeTransaction =>
15- (b.amount == amount)
15+ let pair = b.buyOrder.assetPair
16+ let tradedForWaves = if (!(isDefined(pair.amountAsset)))
17+ then true
18+ else !(isDefined(pair.priceAsset))
19+ if (tradedForWaves)
20+ then (b.amount == amount)
21+ else false
22+ case _: MassTransferTransaction|TransferTransaction =>
23+ true
1624 case _ =>
17- true
25+ false
1826 }

github/deemru/w8io/026f985 
21.12 ms