Interface that should be implemented by ABI serializable objects.

Hierarchy

Properties

chainId: ChainId
expiration: TimePointSec
scope: Name
signature: Signature
abiFields: ABIField[]
abiName: string

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

  • Recover the public key that signed this proof.

    Returns PublicKey

  • Encode the proof to an EOSIO auth header string.

    Returns string

  • Verify that given authority signed this proof.

    Parameters

    • auth: AuthorityType

      The accounts signing authority.

    • Optional currentTime: any

      Time to verify expiry against, if unset will use system time.

    Returns boolean

  • Create a new instance from an EOSIO authorization header string. "EOSIO "

    Parameters

    • string: string

    Returns IdentityProof