tx · 5Z7TGYQiPcyXpdNW9vtJKQBhizHPRC5sMQiC1eekHUd7

3MwZW2qaipEauHPa4kVKtXcciYPtKGYL1Hm:  -1.00000000 Waves

2019.01.30 11:23 [472744] smart asset 3MwZW2qaipEauHPa4kVKtXcciYPtKGYL1Hm > SELF 0.00000000 OracleCoin

{ "type": 15, "id": "5Z7TGYQiPcyXpdNW9vtJKQBhizHPRC5sMQiC1eekHUd7", "fee": 100000000, "feeAssetId": null, "timestamp": 1548836660822, "version": 1, "sender": "3MwZW2qaipEauHPa4kVKtXcciYPtKGYL1Hm", "senderPublicKey": "PYLg2tgZFWvcDNA9xnroZWxSwjNbc1TM6Bik8Mq2qjw", "proofs": [ "2JWUrphUKoYUUcZ4ZPD1Hnmf2MhthsKa2oD9A4jnKviLPz9B4ufpRSxwnNoMTLK9aDmAgQwEEg3eMKpxNemvJuge" ], "assetId": "Bq6g8sSzGHES35EjTki3cXSKoaZ2P5BRcBC22fUtxF3o", "script": "base64:AQQAAAAEYWRkcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVK4aUf/QxlY6SdRtxnAvXdTBrxtg8alX6QQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAADXByaWNlQXNzZXRLZXkJAAEsAAAAAgkAASwAAAACAgAAAAhzdGF0dXNfPAkAAlgAAAABCQEAAAAHZXh0cmFjdAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0AgAAAAE+BAAAABJwcmljZUFzc2V0SW5PcmFjbGUJAAAAAAAAAgkABBoAAAACBQAAAARhZGRyBQAAAA1wcmljZUFzc2V0S2V5AAAAAAAAAAACBAAAAA5hbW91bnRBc3NldEtleQkAASwAAAACCQABLAAAAAICAAAACHN0YXR1c188CQACWAAAAAEJAQAAAAdleHRyYWN0AAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0AgAAAAE+BAAAABNhbW91bnRBc3NldEluT3JhY2xlCQAAAAAAAAIJAAQaAAAAAgUAAAAEYWRkcgUAAAANcHJpY2VBc3NldEtleQAAAAAAAAAAAgQAAAAJd2l0aFdhdmVzAwkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAACnByaWNlQXNzZXQGCQEAAAABIQAAAAEJAQAAAAlpc0RlZmluZWQAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAALYW1vdW50QXNzZXQDAwUAAAAScHJpY2VBc3NldEluT3JhY2xlBgUAAAATYW1vdW50QXNzZXRJbk9yYWNsZQYFAAAACXdpdGhXYXZlcwZ0Smkq", "chainId": 84, "height": 472744, "spentComplexity": 0 } View: original | compacted Prev: APNjv8r9xysozwwBtyYAaW9Uby88uFoDBHY29Bkh881U Next: 2SjTdrgJ4pDAzexSVSN5AMAT8UGPRDRkv4eGKg6PBsLS Diff:
OldNewDifferences
77 let priceAssetInOracle = (getInteger(addr, priceAssetKey) == 2)
88 let amountAssetKey = (("status_<" + toBase58String(extract(e.sellOrder.assetPair.amountAsset))) + ">")
99 let amountAssetInOracle = (getInteger(addr, priceAssetKey) == 2)
10- if (priceAssetInOracle)
10+ let withWaves = if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
1111 then true
12- else amountAssetInOracle
12+ else !(isDefined(e.sellOrder.assetPair.amountAsset))
13+ if (if (priceAssetInOracle)
14+ then true
15+ else amountAssetInOracle)
16+ then true
17+ else withWaves
1318 case _ =>
1419 true
1520 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
33 let addr = Address(base58'3N5net4nzSeeqxPfGZrvVvnGavsinipQHbE')
44 match tx {
55 case e: ExchangeTransaction =>
66 let priceAssetKey = (("status_<" + toBase58String(extract(e.sellOrder.assetPair.priceAsset))) + ">")
77 let priceAssetInOracle = (getInteger(addr, priceAssetKey) == 2)
88 let amountAssetKey = (("status_<" + toBase58String(extract(e.sellOrder.assetPair.amountAsset))) + ">")
99 let amountAssetInOracle = (getInteger(addr, priceAssetKey) == 2)
10- if (priceAssetInOracle)
10+ let withWaves = if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
1111 then true
12- else amountAssetInOracle
12+ else !(isDefined(e.sellOrder.assetPair.amountAsset))
13+ if (if (priceAssetInOracle)
14+ then true
15+ else amountAssetInOracle)
16+ then true
17+ else withWaves
1318 case _ =>
1419 true
1520 }

github/deemru/w8io/026f985 
29.70 ms