abi-coder-bundle
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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 _default

Dependencies (0)

    Dev Dependencies (22)

    Package Sidebar

    Install

    npm i abi-coder-bundle

    Weekly Downloads

    0

    Version

    0.0.1

    License

    ISC

    Unpacked Size

    1.9 MB

    Total Files

    6

    Last publish

    Collaborators

    • wizardsorb