Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Farm

Index

Constructors

Methods

  • getAssociatedAuthority(__namedParameters: { poolId: PublicKey; programId: PublicKey }): Promise<{ nonce: number; publicKey: PublicKey }>
  • Parameters

    • __namedParameters: { poolId: PublicKey; programId: PublicKey }
      • poolId: PublicKey
      • programId: PublicKey

    Returns Promise<{ nonce: number; publicKey: PublicKey }>

  • getAssociatedLedgerAccount(__namedParameters: { owner: PublicKey; poolId: PublicKey; programId: PublicKey }): Promise<PublicKey>
  • Parameters

    • __namedParameters: { owner: PublicKey; poolId: PublicKey; programId: PublicKey }
      • owner: PublicKey
      • poolId: PublicKey
      • programId: PublicKey

    Returns Promise<PublicKey>

  • getProgramId(version: number): PublicKey
  • Parameters

    • version: number

    Returns PublicKey

  • Parameters

    • version: number

    Returns FarmStateLayout