Interface IRewardsResponse
Methods
claimRewards
- claimRewards(provider: Provider, owner: PublicKey, info: IRewardsInfo): Promise<TransactionEnvelope>
Parameters
provider: Provider
owner: PublicKey
Returns Promise<TransactionEnvelope>
confirmInsertDistributor
Parameters
Returns Promise<any>
confirmUpdateDistributor
Parameters
Returns Promise<any>
deleteDistributor
- deleteDistributor(address: string, headers: IConfirmHeader): Promise<any>
Parameters
Returns Promise<any>
getDistributor
Parameters
getDistributors
Parameters
insertDistributor
Parameters
Returns Promise<{ distributor: IMerkleRewardsInsertResponse; txe: TransactionEnvelope }>
insertDistributorMerkleRewards
Parameters
updateDistributor
Parameters
Returns Promise<{ distributor: IMerkleRewardsInsertResponse; txe: TransactionEnvelope }>
claim distributor rewards