From 86caa4a0bb82e3ba7d362cca9b75565bf8944952 Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Sun, 23 Dec 2018 20:50:02 -0800 Subject: Ran prettier and linter --- packages/base-contract/src/index.ts | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'packages/base-contract/src') diff --git a/packages/base-contract/src/index.ts b/packages/base-contract/src/index.ts index 9723dc9c8..30546725c 100644 --- a/packages/base-contract/src/index.ts +++ b/packages/base-contract/src/index.ts @@ -1,23 +1,11 @@ -import { abiUtils, BigNumber } from '@0x/utils'; +import { AbiEncoder, abiUtils } from '@0x/utils'; import { Web3Wrapper } from '@0x/web3-wrapper'; -import { - AbiDefinition, - AbiType, - ConstructorAbi, - ContractAbi, - DataItem, - MethodAbi, - Provider, - TxData, - TxDataPayable, -} from 'ethereum-types'; +import { AbiDefinition, AbiType, ConstructorAbi, ContractAbi, DataItem, MethodAbi, Provider, TxData, TxDataPayable } from 'ethereum-types'; import * as ethers from 'ethers'; import * as _ from 'lodash'; import { formatABIDataItem } from './utils'; -import { AbiEncoder } from '@0x/utils'; - export interface AbiEncoderByFunctionSignature { [key: string]: AbiEncoder.Method; } @@ -143,7 +131,7 @@ export class BaseContract { if (inputAbi === undefined) { throw new Error(`Undefined Method Input ABI`); } - const abiEncodedArguments = abiEncoder.encode(functionArguments); ////BaseContract.strictArgumentEncodingCheck(inputAbi, functionArguments); + const abiEncodedArguments = abiEncoder.encode(functionArguments); return abiEncodedArguments; } constructor( -- cgit