diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 05:35:53 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:11 +0800 |
commit | b8ea322541e291b84f261bffcc77baf85dae08c1 (patch) | |
tree | 3c3a4e5adf7aaa0af037b172d74f529c824b8d7b /packages/utils/src/abi_encoder/evm_data_types/array.ts | |
parent | a172ab158e2eaca8256ef881c3f2d4098987ec8a (diff) | |
download | dexon-0x-contracts-b8ea322541e291b84f261bffcc77baf85dae08c1.tar dexon-0x-contracts-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.gz dexon-0x-contracts-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.bz2 dexon-0x-contracts-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.lz dexon-0x-contracts-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.xz dexon-0x-contracts-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.zst dexon-0x-contracts-b8ea322541e291b84f261bffcc77baf85dae08c1.zip |
Explicit imports for abstract data types.
Diffstat (limited to 'packages/utils/src/abi_encoder/evm_data_types/array.ts')
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_types/array.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_types/array.ts b/packages/utils/src/abi_encoder/evm_data_types/array.ts index 1736bcef0..7595cb667 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/array.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/array.ts @@ -1,10 +1,11 @@ import { DataItem } from 'ethereum-types'; import * as _ from 'lodash'; -import { AbstractDataTypes, DataTypeFactory } from '../abstract_data_types'; +import { DataTypeFactory } from '../abstract_data_types/interfaces'; +import { AbstractSetDataType } from '../abstract_data_types/types/set'; import { constants } from '../utils/constants'; -export class ArrayDataType extends AbstractDataTypes.Set { +export class ArrayDataType extends AbstractSetDataType { private static readonly _MATCHER = RegExp('^(.+)\\[([0-9]*)\\]$'); private readonly _arraySignature: string; private readonly _elementType: string; |