Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GatewayToken

Index

Constructors

constructor

  • new GatewayToken(issuingGatekeeper: PublicKey, gatekeeperNetwork: PublicKey, owner: PublicKey, state: State, publicKey: PublicKey, programId: PublicKey, expiryTime?: number): GatewayToken
  • Parameters

    • issuingGatekeeper: PublicKey
    • gatekeeperNetwork: PublicKey
    • owner: PublicKey
    • state: State
    • publicKey: PublicKey
    • programId: PublicKey
    • Optional expiryTime: number

    Returns GatewayToken

Properties

Optional Readonly expiryTime

expiryTime: number

Readonly gatekeeperNetwork

gatekeeperNetwork: PublicKey

Readonly issuingGatekeeper

issuingGatekeeper: PublicKey

Readonly owner

owner: PublicKey

Readonly programId

programId: PublicKey

Readonly publicKey

publicKey: PublicKey

Readonly state

state: State

Methods

Private hasExpired

  • hasExpired(): boolean

isValid

  • isValid(): boolean

update

Static fromAccount

  • fromAccount(accountInfo: AccountInfo<Buffer>, key: PublicKey): GatewayToken

Generated using TypeDoc