diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-12-24 13:54:51 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2019-01-15 02:49:44 +0800 |
commit | f39c03191c8a8870aaf5180d2764cd8c8eb17d0c (patch) | |
tree | dd6366ca1c7a799d3d92e73436766bd0c278b071 /packages | |
parent | 05adb38a09021581e955d45644c4b34ea720fe74 (diff) | |
download | dexon-sol-tools-f39c03191c8a8870aaf5180d2764cd8c8eb17d0c.tar dexon-sol-tools-f39c03191c8a8870aaf5180d2764cd8c8eb17d0c.tar.gz dexon-sol-tools-f39c03191c8a8870aaf5180d2764cd8c8eb17d0c.tar.bz2 dexon-sol-tools-f39c03191c8a8870aaf5180d2764cd8c8eb17d0c.tar.lz dexon-sol-tools-f39c03191c8a8870aaf5180d2764cd8c8eb17d0c.tar.xz dexon-sol-tools-f39c03191c8a8870aaf5180d2764cd8c8eb17d0c.tar.zst dexon-sol-tools-f39c03191c8a8870aaf5180d2764cd8c8eb17d0c.zip |
Ran linter
Diffstat (limited to 'packages')
-rw-r--r-- | packages/base-contract/src/index.ts | 12 | ||||
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_types/tuple.ts | 1 |
2 files changed, 11 insertions, 2 deletions
diff --git a/packages/base-contract/src/index.ts b/packages/base-contract/src/index.ts index a08c3381d..f9867a348 100644 --- a/packages/base-contract/src/index.ts +++ b/packages/base-contract/src/index.ts @@ -1,6 +1,16 @@ 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'; diff --git a/packages/utils/src/abi_encoder/evm_data_types/tuple.ts b/packages/utils/src/abi_encoder/evm_data_types/tuple.ts index 3d1cb5a92..2370ecdef 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/tuple.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/tuple.ts @@ -5,7 +5,6 @@ import { DataTypeFactory } from '../abstract_data_types/interfaces'; import { AbstractSetDataType } from '../abstract_data_types/types/set'; export class TupleDataType extends AbstractSetDataType { - public static matchType(type: string): boolean { return type === SolidityTypes.Tuple; } |