diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-13 06:10:18 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 04:38:59 +0800 |
commit | 003ab1e5b311bfedcffce07f03035e42736a47af (patch) | |
tree | 04354ebeaecbdd9f8380f0ed8370cbc80510763d /packages/contract-wrappers/src | |
parent | 24673be1cd2ec0b86ecb9b8b5eb8f69197e763d1 (diff) | |
download | dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.gz dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.bz2 dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.lz dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.xz dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.tar.zst dexon-sol-tools-003ab1e5b311bfedcffce07f03035e42736a47af.zip |
Fix linter errors in contract-wrappers
Diffstat (limited to 'packages/contract-wrappers/src')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers.ts | 1 | ||||
-rw-r--r-- | packages/contract-wrappers/src/utils/contract_addresses.ts | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts index 8cb322912..ebca2e99d 100644 --- a/packages/contract-wrappers/src/contract_wrappers.ts +++ b/packages/contract-wrappers/src/contract_wrappers.ts @@ -1,4 +1,3 @@ -import { getContractAddressesForNetwork } from '@0xproject/contract-addresses'; import { ERC20Proxy, ERC20Token, diff --git a/packages/contract-wrappers/src/utils/contract_addresses.ts b/packages/contract-wrappers/src/utils/contract_addresses.ts index c32907c24..cd0d31308 100644 --- a/packages/contract-wrappers/src/utils/contract_addresses.ts +++ b/packages/contract-wrappers/src/utils/contract_addresses.ts @@ -1,8 +1,10 @@ import { ContractAddresses, getContractAddressesForNetwork, NetworkId } from '@0xproject/contract-addresses'; import * as _ from 'lodash'; -// Returns the default contract addresses for the given networkId or throws with -// a context-specific error message if the networkId is not recognized. +/** + * Returns the default contract addresses for the given networkId or throws with + * a context-specific error message if the networkId is not recognized. + */ export function _getDefaultContractAddresses(networkId: number): ContractAddresses { if (!(networkId in NetworkId)) { throw new Error( |