Interface that should be implemented by ABI serializable objects.

Hierarchy-Diagram

UML class diagram of IdentityProof
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

chainId: ChainId
expiration: TimePointSec
scope: Name
signature: Signature
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

  • Verify that given authority signed this proof.

    Parameters

    • auth: AuthorityType

      The accounts signing authority.

    • Optional currentTime: TimePointType

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

    Returns boolean