diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-15 04:56:36 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-15 04:56:36 +0800 |
commit | 4811dfa66310edfb00cf2db9def4565770edb742 (patch) | |
tree | c48b4190abb85202f6a08f40c461cbd9b041f308 /packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts | |
parent | 0e354e5ea1f9951088331a310999bf87c8f8f4b3 (diff) | |
download | dexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.tar dexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.tar.gz dexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.tar.bz2 dexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.tar.lz dexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.tar.xz dexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.tar.zst dexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.zip |
Fix filling orders on Portal
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts index 430ce9c5e..2c517502a 100644 --- a/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts +++ b/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts @@ -2,6 +2,7 @@ import { schemas } from '@0xproject/json-schemas'; import { formatters, getOrderHashHex, OrderStateUtils } from '@0xproject/order-utils'; import { BlockParamLiteral, + ContractAbi DecodedLogArgs, ECSignature, ExchangeContractErrs, @@ -54,6 +55,7 @@ interface ExchangeContractErrCodesToMsgs { * events of the 0x Exchange smart contract. */ export class ExchangeWrapper extends ContractWrapper { + public abi: ContractAbi = artifacts.Exchange.abi; private _exchangeContractIfExists?: ExchangeContract; private _orderValidationUtilsIfExists?: OrderValidationUtils; private _tokenWrapper: TokenWrapper; |