Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GovClient

Index

Constructors

  • new GovClient(program: Program<Idl>): GovClient

Properties

program: Program<Idl>

Methods

  • deriveRealmAuthority(realm: PublicKey): Promise<[PublicKey, number]>
  • Parameters

    • realm: PublicKey

    Returns Promise<[PublicKey, number]>

  • deriveVault(realm: PublicKey): Promise<[PublicKey, number]>
  • Parameters

    • realm: PublicKey

    Returns Promise<[PublicKey, number]>

  • deriveVoter(realm: PublicKey, wallet: PublicKey): Promise<[PublicKey, number]>
  • Parameters

    • realm: PublicKey
    • wallet: PublicKey

    Returns Promise<[PublicKey, number]>

  • connect(provider: default): Promise<GovClient>

Generated using TypeDoc