blob: df5b1feafdd1ba5ce3f179cf08b67ae70c73bb89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
import { EventAbi, MethodAbi } from '@0xproject/types';
export enum ParamKind {
Input = 'input',
Output = 'output',
}
export enum AbiType {
Function = 'function',
Constructor = 'constructor',
Event = 'event',
Fallback = 'fallback',
}
export enum ContractsBackend {
Web3 = 'web3',
Ethers = 'ethers',
}
export interface Method extends MethodAbi {
singleReturnValue: boolean;
hasReturnValue: boolean;
}
export interface ContextData {
contractName: string;
methods: Method[];
events: EventAbi[];
}
|