0.0.1 • Published 3 years ago
abi-coder-bundle v0.0.1
abi-coder-bundle
export declare class AbiCoder {
  encodeFunctionSignature<AbiItem extends any = any>(functionName: string | AbiItem): string
  encodeEventSignature<AbiItem extends any = any>(functionName: string | AbiItem): string
  encodeParameter(type: any, parameter: any): string
  encodeParameters(types: any[], parameters: any[]): string
  encodeFunctionCall<AbiItem extends any = any>(abiItem: AbiItem, params: string[]): string
  decodeParameter(
    type: any,
    hex: string
  ): {
    [key: string]: any
  }
  decodeParameters(
    types: any[],
    hex: string
  ): {
    [key: string]: any
  }
  decodeLog(
    inputs: any[],
    hex: string,
    topics: string[]
  ): {
    [key: string]: string
  }
}
declare const _default: AbiCoder
export default _default0.0.1
3 years ago