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/string.ts | |
parent | a172ab158e2eaca8256ef881c3f2d4098987ec8a (diff) | |
download | dexon-sol-tools-b8ea322541e291b84f261bffcc77baf85dae08c1.tar dexon-sol-tools-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.gz dexon-sol-tools-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.bz2 dexon-sol-tools-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.lz dexon-sol-tools-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.xz dexon-sol-tools-b8ea322541e291b84f261bffcc77baf85dae08c1.tar.zst dexon-sol-tools-b8ea322541e291b84f261bffcc77baf85dae08c1.zip |
Explicit imports for abstract data types.
Diffstat (limited to 'packages/utils/src/abi_encoder/evm_data_types/string.ts')
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_types/string.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_types/string.ts b/packages/utils/src/abi_encoder/evm_data_types/string.ts index d7e9ec7fe..7b6af747b 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/string.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/string.ts @@ -2,11 +2,12 @@ import { DataItem, SolidityTypes } from 'ethereum-types'; import * as ethUtil from 'ethereumjs-util'; import * as _ from 'lodash'; -import { AbstractDataTypes, DataTypeFactory } from '../abstract_data_types'; +import { DataTypeFactory } from '../abstract_data_types/interfaces'; +import { AbstractBlobDataType } from '../abstract_data_types/types/blob'; import { RawCalldata } from '../calldata'; import { constants } from '../utils/constants'; -export class StringDataType extends AbstractDataTypes.Blob { +export class StringDataType extends AbstractBlobDataType { private static readonly _SIZE_KNOWN_AT_COMPILE_TIME: boolean = false; public static matchType(type: string): boolean { |