Interface that should be implemented by ABI serializable objects.

Hierarchy

  • ABI

Implements

Constructors

  • Parameters

    • args: Partial<Def>

    Returns ABI

Properties

actions: ABI.Action[]
ricardian_clauses: Clause[]
structs: ABI.Struct[]
tables: Table[]
types: TypeDef[]
variants: ABI.Variant[]
version: string
abiName: string
version: string

Methods

  • Return true if the object equals the other object passed.

    Parameters

    Returns boolean

  • Return arguments type of an action in this ABI.

    Parameters

    Returns undefined | string

  • Parameters

    • name: string

    Returns undefined | ABI.Struct

  • Parameters

    • name: string

    Returns undefined | ABI.Variant

  • Parameters

    • name: string

    Returns ResolvedType

  • Called when encoding to binary abi format.

    Parameters

    Returns void

  • Called when encoding to json abi format.

    Returns {
        abi_extensions: never[];
        actions: ABI.Action[];
        error_messages: never[];
        ricardian_clauses: Clause[];
        structs: ABI.Struct[];
        tables: Table[];
        types: TypeDef[];
        variants: ABI.Variant[];
        version: string;
    }

  • Parameters

    Returns ABI

  • Parameters

    Returns ABI