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