1 |
|
2 | import { DataItem } from 'ethereum-types';
|
3 | import { RawCalldata } from '../calldata/raw_calldata';
|
4 | import { DataType } from './data_type';
|
5 | export interface DataTypeFactory {
|
6 | create: (dataItem: DataItem, parentDataType?: DataType) => DataType;
|
7 | }
|
8 | export interface DataTypeStaticInterface {
|
9 | matchType: (type: string) => boolean;
|
10 | encodeValue: (value: any) => Buffer;
|
11 | decodeValue: (rawCalldata: RawCalldata) => any;
|
12 | }
|
13 | export interface MemberIndexByName {
|
14 | [key: string]: number;
|
15 | }
|
16 |
|
\ | No newline at end of file |