aboutsummaryrefslogblamecommitdiffstats
path: root/packages/abi-gen/src/types.ts
blob: 8b158d77aeb09a22a22803e9c21c79d2646e344b (plain) (tree)
1
2
3
4
5
6

                             



                       







                                                
                            
 
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[];
}