@marinade.finance/kamino-sdk
Version:
27 lines (26 loc) • 911 B
TypeScript
import { TransactionInstruction, PublicKey } from '@solana/web3.js';
export interface CollectRemainingRewardsArgs {
rewardIndex: number;
}
export interface CollectRemainingRewardsAccounts {
/** The founder who init reward info in berfore */
rewardFunder: PublicKey;
/** The funder's reward token account */
funderTokenAccount: PublicKey;
/** Set reward for this pool */
poolState: PublicKey;
/** Reward vault transfer remaining token to founder token account */
rewardTokenVault: PublicKey;
tokenProgram: PublicKey;
}
export declare const layout: any;
/**
* Collect remaining reward token for reward founder
*
* # Arguments
*
* * `ctx`- The context of accounts
* * `reward_index` - the index to reward info
*
*/
export declare function collectRemainingRewards(args: CollectRemainingRewardsArgs, accounts: CollectRemainingRewardsAccounts): TransactionInstruction;