Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GovRealm

Implements

Index

Properties

address: PublicKey
authority: PublicKey

PDA that can sign on behalf of the realm

owner: PublicKey

External account with permission to modify realm

vault: PublicKey

PDA token account that stores governance token

Methods

  • createRealmIx(realm: GovRealm, governanceTokenMint: PublicKey, bumpSeeds: { authority: number; vault: number }): Promise<TransactionInstruction>
  • Create the populated transaction instruction for initRealm.

    memberof

    GovRealm

    Parameters

    • realm: GovRealm
    • governanceTokenMint: PublicKey
    • bumpSeeds: { authority: number; vault: number }
      • authority: number
      • vault: number

    Returns Promise<TransactionInstruction>

  • refresh(): Promise<void>

Generated using TypeDoc