Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • GovVoteRecord

Implements

Index

Properties

address: PublicKey
owner: PublicKey
proposal: PublicKey
vote: Vote
weight: BN

Methods

  • createVoterIx(voter: GovVoter, realm: GovRealm, bumpSeed: number): Promise<TransactionInstruction>
  • Create the populated transaction instruction for initVoter.

    memberof

    GovVoteRecord

    Parameters

    Returns Promise<TransactionInstruction>

  • depositTokenIx(realm: GovRealm, voter: GovVoter, tokenAccount: PublicKey, amount: Amount): Promise<TransactionInstruction>
  • Create the populated transaction instruction for depositToken.

    memberof

    GovVoter

    Parameters

    Returns Promise<TransactionInstruction>

  • refresh(): Promise<void>
  • withdrawTokenIx(realm: GovRealm, voter: GovVoter, tokenAccount: PublicKey, bump: number, amount: Amount): Promise<TransactionInstruction>
  • Create the populated transaction instruction for withdrawToken.

    memberof

    GovVoter

    Parameters

    Returns Promise<TransactionInstruction>

Generated using TypeDoc