Options
All
  • Public
  • Public/Protected
  • All
Menu

Holds the data for the ProvingProcess Account and provides de/serialization functionality for that data

Hierarchy

  • ProvingProcess

Implements

Index

Properties

accountType: AccountType
cardsRedeemed: number
cardsToRedeem: Map<number, number>
isExhausted: boolean
packSet: PublicKey
voucherMint: PublicKey
walletKey: PublicKey

Methods

  • pretty(): { accountType: string; cardsRedeemed: number; cardsToRedeem: Map<number, number>; isExhausted: boolean; packSet: string; voucherMint: string; walletKey: string }
  • serialize(): [Buffer, number]
  • fromAccountAddress(connection: Connection, address: PublicKey): Promise<ProvingProcess>
  • fromAccountInfo(accountInfo: AccountInfo<Buffer>, offset?: number): [ProvingProcess, number]
  • getMinimumBalanceForRentExemption(args: ProvingProcessArgs, connection: Connection, commitment?: Commitment): Promise<number>
  • gpaBuilder(programId?: PublicKey): GpaBuilder<Object>

Generated using TypeDoc