aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-15 04:56:36 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-15 04:56:36 +0800
commit4811dfa66310edfb00cf2db9def4565770edb742 (patch)
treec48b4190abb85202f6a08f40c461cbd9b041f308 /packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
parent0e354e5ea1f9951088331a310999bf87c8f8f4b3 (diff)
downloaddexon-0x-contracts-4811dfa66310edfb00cf2db9def4565770edb742.tar.gz
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.ts2
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;