aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-13 06:10:18 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 04:38:59 +0800
commit003ab1e5b311bfedcffce07f03035e42736a47af (patch)
tree04354ebeaecbdd9f8380f0ed8370cbc80510763d /packages/contract-wrappers/src
parent24673be1cd2ec0b86ecb9b8b5eb8f69197e763d1 (diff)
downloaddexon-0x-contracts-003ab1e5b311bfedcffce07f03035e42736a47af.tar.gz
dexon-0x-contracts-003ab1e5b311bfedcffce07f03035e42736a47af.tar.zst
dexon-0x-contracts-003ab1e5b311bfedcffce07f03035e42736a47af.zip
Fix linter errors in contract-wrappers
Diffstat (limited to 'packages/contract-wrappers/src')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers.ts1
-rw-r--r--packages/contract-wrappers/src/utils/contract_addresses.ts6
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(