Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Abi

Hierarchy

  • Abi

Index

Methods

Static calculateMethodHash

  • calculateMethodHash(signature: string): Uint8Array
  • Parameters

    • signature: string

    Returns Uint8Array

Static calculateMethodId

  • calculateMethodId(signature: string): Uint8Array
  • Parameters

    • signature: string

    Returns Uint8Array

Static decodeAddress

  • decodeAddress(binary: Uint8Array): Address
  • Parameters

    • binary: Uint8Array

    Returns Address

Static decodeEventSignature

Static decodeHeadTail

  • decodeHeadTail(data: Uint8Array): HeadTail

Static decodeMethodId

Static decodeSwapProcessState

  • decodeSwapProcessState(data: Uint8Array): SwapProcessState
  • Parameters

    • data: Uint8Array

    Returns SwapProcessState

Static decodeUint256

  • decodeUint256(binary: Uint8Array): string
  • Parameters

    • binary: Uint8Array

    Returns string

Static decodeVariableLength

  • decodeVariableLength(data: Uint8Array): Uint8Array
  • Parameters

    • data: Uint8Array

    Returns Uint8Array

Static encodeAddress

  • encodeAddress(address: Address): Uint8Array
  • Parameters

    • address: Address

    Returns Uint8Array

Static encodeUint256

  • encodeUint256(value: string): Uint8Array
  • Parameters

    • value: string

    Returns Uint8Array

Generated using TypeDoc