aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen/src/types.ts
blob: 8b158d77aeb09a22a22803e9c21c79d2646e344b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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[];
    events: Web3.EventAbi[];
}