Options
All
  • Public
  • Public/Protected
  • All
Menu

The on-chain structure of a gateway token. Matches: solana/integration-lib/src/state.rs

The pattern for these objects is to have their properties dynamically assigned by borsh.decode, as opposed to via a constructor.

The imperative assignment operator (!) is used to avoid Typescript complaining about the above.

Hierarchy

  • Assignable
    • GatewayTokenData

Index

Constructors

constructor

Properties

Optional expiry

expiry: BN

gatekeeperNetwork

gatekeeperNetwork: AssignablePublicKey

issuingGatekeeper

issuingGatekeeper: AssignablePublicKey

owner

state

Methods

encode

  • encode(): Buffer

forAuthority

Static decode

  • decode<T>(data: Buffer): T
  • Type parameters

    • T: Assignable<T>

    Parameters

    • data: Buffer

    Returns T

Static empty

Static fromAccount

Generated using TypeDoc