aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base-contract/src
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-12-24 12:50:02 +0800
committerGreg Hysen <greg.hysen@gmail.com>2019-01-15 02:49:44 +0800
commit86caa4a0bb82e3ba7d362cca9b75565bf8944952 (patch)
tree1cddd589130d6844dcb6824d1b4bcf588a8719b5 /packages/base-contract/src
parent6d832deb62cdef38c5fa69169986ef00dbc6e1eb (diff)
downloaddexon-sol-tools-86caa4a0bb82e3ba7d362cca9b75565bf8944952.tar
dexon-sol-tools-86caa4a0bb82e3ba7d362cca9b75565bf8944952.tar.gz
dexon-sol-tools-86caa4a0bb82e3ba7d362cca9b75565bf8944952.tar.bz2
dexon-sol-tools-86caa4a0bb82e3ba7d362cca9b75565bf8944952.tar.lz
dexon-sol-tools-86caa4a0bb82e3ba7d362cca9b75565bf8944952.tar.xz
dexon-sol-tools-86caa4a0bb82e3ba7d362cca9b75565bf8944952.tar.zst
dexon-sol-tools-86caa4a0bb82e3ba7d362cca9b75565bf8944952.zip
Ran prettier and linter
Diffstat (limited to 'packages/base-contract/src')
-rw-r--r--packages/base-contract/src/index.ts18
1 files changed, 3 insertions, 15 deletions
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(