aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-19 18:35:32 +0800
committerFabio Berger <me@fabioberger.com>2018-06-19 18:35:32 +0800
commit08ea71cb243067d8f4a4b08b2ed83ee11225d494 (patch)
tree0b9e213e05a050ede2be9d11ed2e040dc0947a81 /packages/contract-wrappers/src/contract_wrappers/exchange_wrapper.ts
parent0d0c1af7f741834f076a604b776d4542c4dbb6ec (diff)
parent0bfcf79e79b762a9fb98e90b8e6310c781cfae97 (diff)
downloaddexon-0x-contracts-08ea71cb243067d8f4a4b08b2ed83ee11225d494.tar
dexon-0x-contracts-08ea71cb243067d8f4a4b08b2ed83ee11225d494.tar.gz
dexon-0x-contracts-08ea71cb243067d8f4a4b08b2ed83ee11225d494.tar.bz2
dexon-0x-contracts-08ea71cb243067d8f4a4b08b2ed83ee11225d494.tar.lz
dexon-0x-contracts-08ea71cb243067d8f4a4b08b2ed83ee11225d494.tar.xz
dexon-0x-contracts-08ea71cb243067d8f4a4b08b2ed83ee11225d494.tar.zst
dexon-0x-contracts-08ea71cb243067d8f4a4b08b2ed83ee11225d494.zip
Merge branch 'v2-prototype' into feature/combinatorial-testing
* v2-prototype: (40 commits) Increase number of columns in relayer grid for small screens Make isValidSignature public Make batchFill methods return FIllResults struct Remove remove_tags script Small fixes Use semver package instead of getNextPatchVersion Use semver library instead of semverUtils small fixes Show all errors of a given kind at once rather then throwing after the first instance is encountered fix package.json Add more prepublish checks remove remove_tags script Create a shared Image component Adjust version in changelog Update RelayerGridTile render logic to incorportate colors and logos Add max width to top bar Set max-width for LargeLayout Finish last onboarding step Finish set allowance step Add onboarding assets ...
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..8548a06b6 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;