Methods
Static derive
Parameters
stakeAccount: PublicKey
seed: string
Static load
- load(rewardsProgram: Program<RewardsIdl>, stakeAccount: PublicKey, seed: string): Promise<Award>
Parameters
rewardsProgram: Program<RewardsIdl>
stakeAccount: PublicKey
seed: string
Returns Promise<Award>
Static use
- use(rewardsProgram: undefined | Program<RewardsIdl>, stakeAccount: undefined | PublicKey, seed: string): undefined | Award
Parameters
rewardsProgram: undefined | Program<RewardsIdl>
stakeAccount: undefined | PublicKey
seed: string
Returns undefined | Award
Creates an instance of Award.
Award