tx · HSRi2BiRA72zSDgKVEhL3w9hZU81Rk2sab4ZPBGB43zf

3Mps7CZqB9nUbEirYyCMMoA7VbqrxLvJFSB:  -1.00000000 Waves

2019.01.31 11:24 [474207] smart asset 3Mps7CZqB9nUbEirYyCMMoA7VbqrxLvJFSB > SELF 0.00000000 SmartAsset01

{ "type": 15, "id": "HSRi2BiRA72zSDgKVEhL3w9hZU81Rk2sab4ZPBGB43zf", "fee": 100000000, "feeAssetId": null, "timestamp": 1548923066704, "version": 1, "sender": "3Mps7CZqB9nUbEirYyCMMoA7VbqrxLvJFSB", "senderPublicKey": "FB5ErjREo817duEBBQUqUdkgoPctQJEYuG3mU7w3AYjc", "proofs": [ "2Eh84C67mmHNP3a81sbYuNtB1Wxi58WXZCZiqPAQsSKtNELqwooubF5JMS9x4CDSsdduVErjUnUm7XRXwfmb46b1" ], "assetId": "J8NNSbyt6docY4UNuH87wBDeYDReycjtcMviPcwPUc66", "script": "base64:AQQAAAAEYWRkcgkBAAAAB0FkZHJlc3MAAAABAQAAABoBVK4aUf/QxlY6SdRtxnAvXdTBrxtg8alX6QQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE0V4Y2hhbmdlVHJhbnNhY3Rpb24EAAAAAWUFAAAAByRtYXRjaDAEAAAACXdpdGhXYXZlcwMJAQAAAAEhAAAAAQkBAAAACWlzRGVmaW5lZAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAApwcmljZUFzc2V0BgkBAAAAASEAAAABCQEAAAAJaXNEZWZpbmVkAAAAAQgICAUAAAABZQAAAAlzZWxsT3JkZXIAAAAJYXNzZXRQYWlyAAAAC2Ftb3VudEFzc2V0AwkAAAAAAAACBQAAAAl3aXRoV2F2ZXMHBAAAAA1wcmljZUFzc2V0S2V5CQABLAAAAAIJAAEsAAAAAgIAAAAIc3RhdHVzXzwJAAJYAAAAAQkBAAAAB2V4dHJhY3QAAAABCAgIBQAAAAFlAAAACXNlbGxPcmRlcgAAAAlhc3NldFBhaXIAAAAKcHJpY2VBc3NldAIAAAABPgQAAAAScHJpY2VBc3NldEluT3JhY2xlCQAAAAAAAAIJAAQaAAAAAgUAAAAEYWRkcgUAAAANcHJpY2VBc3NldEtleQAAAAAAAAAAAgQAAAAOYW1vdW50QXNzZXRLZXkJAAEsAAAAAgkAASwAAAACAgAAAAhzdGF0dXNfPAkAAlgAAAABCQEAAAAHZXh0cmFjdAAAAAEICAgFAAAAAWUAAAAJc2VsbE9yZGVyAAAACWFzc2V0UGFpcgAAAAthbW91bnRBc3NldAIAAAABPgQAAAATYW1vdW50QXNzZXRJbk9yYWNsZQkAAAAAAAACCQAEGgAAAAIFAAAABGFkZHIFAAAADXByaWNlQXNzZXRLZXkAAAAAAAAAAAIDBQAAABJwcmljZUFzc2V0SW5PcmFjbGUGBQAAABNhbW91bnRBc3NldEluT3JhY2xlBgbX427/", "chainId": 84, "height": 474207, "spentComplexity": 0 } View: original | compacted Prev: 8m6ryTK872tayGL6yeSPy7qRoMrKApCnRdisRCe7CGRt Next: none Full:
OldNewDifferences
11 {-# STDLIB_VERSION 1 #-}
22 {-# CONTENT_TYPE EXPRESSION #-}
3+let addr = Address(base58'3N5net4nzSeeqxPfGZrvVvnGavsinipQHbE')
34 match tx {
4- case t: TransferTransaction =>
5- (2 > 1)
6- case b: BurnTransaction =>
7- (4 > 3)
5+ case e: ExchangeTransaction =>
6+ let withWaves = if (!(isDefined(e.sellOrder.assetPair.priceAsset)))
7+ then true
8+ else !(isDefined(e.sellOrder.assetPair.amountAsset))
9+ if ((withWaves == false))
10+ then {
11+ let priceAssetKey = (("status_<" + toBase58String(extract(e.sellOrder.assetPair.priceAsset))) + ">")
12+ let priceAssetInOracle = (getInteger(addr, priceAssetKey) == 2)
13+ let amountAssetKey = (("status_<" + toBase58String(extract(e.sellOrder.assetPair.amountAsset))) + ">")
14+ let amountAssetInOracle = (getInteger(addr, priceAssetKey) == 2)
15+ if (priceAssetInOracle)
16+ then true
17+ else amountAssetInOracle
18+ }
19+ else true
820 case _ =>
921 true
1022 }

github/deemru/w8io/169f3d6 
26.39 ms