import { AbiEntry } from "./abi"; export default class MethodAbi { private abi; readonly name: string; readonly functionSelector: string; readonly signature: string; readonly stateMutability: string; readonly inputs: any[]; readonly inputTypes: { [key: string]: string; }; readonly outputTypes: { [key: string]: string; }; readonly outputs: any[]; readonly type: string; constructor(abi: AbiEntry); /** * Get IDs for this method */ getIds(): { [key: string]: MethodAbi; }; /** * Retrieve indexed inputs */ getIndexedInputs(): any[]; /** * Retrieve indexed inputs */ getInputs(): any[]; hasInput(): boolean; decodeInput(data: any): any; getInputResult(data: string): any; getOutputResult(data: string): any; parseNonIndexedData(data: any): any; isPayable(): boolean; isView(): boolean; isPure(): boolean; /** * If the method is a call that does not require a blockchain transactions */ isConstant(): boolean; }