Interface that should be implemented by ABI serializable objects.

Hierarchy-Diagram

UML class diagram of Permission
Legend
icon for a class in the UML class diagram class
icon for a public method in the UML class diagram public method
underlined static property/method

Hierarchy (view full)

Properties

parent: string
perm_name: string
required_auth: {
    accounts: any[];
    keys: {
        key: string;
        weight: number;
    }[];
    threshold: number;
    waits: any[];
}

Type declaration

  • accounts: any[]
  • keys: {
        key: string;
        weight: number;
    }[]
  • threshold: number
  • waits: any[]
abiFields: ABIField[]
abiName: string = '__struct'

Accessors

  • get structFields(): ABIField[]
  • Returns ABIField[]

Methods

  • Return true if this struct equals the other.

    Note: This compares the ABI encoded bytes of both structs, subclasses should implement their own fast equality check when possible.

    Parameters

    • other: any

    Returns boolean