Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Distribution

Index

Constructors

Properties

distribution: DistributionInfo

Methods

  • isActive(now: BN): boolean
  • create(rewardsProgram: Program<RewardsIdl>, provider: AnchorProvider, targetAccount: PublicKey, tokenMint: PublicKey, params: DistributionCreateParams): Promise<string>
  • TODO:

    static
    memberof

    Distribution

    Parameters

    • rewardsProgram: Program<RewardsIdl>
    • provider: AnchorProvider
    • targetAccount: PublicKey
    • tokenMint: PublicKey
    • params: DistributionCreateParams

    Returns Promise<string>

  • createForStakePool(rewardsProgram: Program<RewardsIdl>, provider: AnchorProvider, distributionTarget: StakePool, params: DistributionCreateParams): Promise<void>

Generated using TypeDoc