aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen/src/types.ts
blob: 1dc039c8364e33526ac1925088554a9dcb5d1f1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import * as Web3 from 'web3';

export enum ParamKind {
    Input = 'input',
    Output = 'output',
}

export interface Method extends Web3.MethodAbi {
    singleReturnValue: boolean;
}

export interface ContextData {
    contractName: string;
    methods: Method[];
}