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/method.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/method.ts')
-rw-r--r-- | packages/utils/src/abi_encoder/evm_data_types/method.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/utils/src/abi_encoder/evm_data_types/method.ts b/packages/utils/src/abi_encoder/evm_data_types/method.ts index de8809edf..b1cd1377f 100644 --- a/packages/utils/src/abi_encoder/evm_data_types/method.ts +++ b/packages/utils/src/abi_encoder/evm_data_types/method.ts @@ -2,13 +2,15 @@ import { DataItem, MethodAbi } from 'ethereum-types'; import * as ethUtil from 'ethereumjs-util'; import * as _ from 'lodash'; -import { AbstractDataTypes, DataType, DataTypeFactory } from '../abstract_data_types'; +import { DataType } from '../abstract_data_types/data_type'; +import { DataTypeFactory } from '../abstract_data_types/interfaces'; +import { AbstractSetDataType } from '../abstract_data_types/types/set'; import { constants } from '../utils/constants'; import { DecodingRules, EncodingRules } from '../utils/rules'; import { TupleDataType } from './tuple'; -export class MethodDataType extends AbstractDataTypes.Set { +export class MethodDataType extends AbstractSetDataType { private readonly _methodSignature: string; private readonly _methodSelector: string; private readonly _returnDataType: DataType; |