@@ -543,7 +543,8 @@ pub enum LendingInstruction {
543
543
/// * b"RewardVaultAuthority"
544
544
/// * Lending market account pubkey
545
545
/// * Reserve account pubkey
546
- /// `[]` Uninitialized rent-exempt account that will hold reward tokens.
546
+ /// * Reward mint pubkey
547
+ /// `[writable]` Uninitialized rent-exempt account that will hold reward tokens.
547
548
/// `[]` Lending market account.
548
549
/// `[signer]` Lending market owner.
549
550
/// `[]` Rent sysvar.
@@ -565,6 +566,20 @@ pub enum LendingInstruction {
565
566
/// * Admin only instruction.
566
567
/// * Can only be called if reward period is over.
567
568
/// * Can only be called if all users claimed rewards.
569
+ ///
570
+ /// `[writable]` Reserve account.
571
+ /// `[]` Reward mint.
572
+ /// `[writable]` Reward token account owned by signer
573
+ /// `[]` Derived reserve pool reward authority. Seed:
574
+ /// * b"RewardVaultAuthority"
575
+ /// * Lending market account pubkey
576
+ /// * Reserve account pubkey
577
+ /// * Reward mint pubkey
578
+ /// `[writable]` Reward vault token account.
579
+ /// `[]` Lending market account.
580
+ /// `[signer]` Lending market owner.
581
+ /// `[]` Rent sysvar.
582
+ /// `[]` Token program.
568
583
ClosePoolReward {
569
584
/// Whether this reward applies to deposits or borrows
570
585
position_kind : PositionKind ,
@@ -578,6 +593,20 @@ pub enum LendingInstruction {
578
593
/// * Admin only instruction.
579
594
/// * Changed the endtime of the reward to the current time.
580
595
/// * Claims unallocated rewards to the admin signer.
596
+ ///
597
+ /// `[writable]` Reserve account.
598
+ /// `[]` Reward mint.
599
+ /// `[writable]` Reward token account owned by signer
600
+ /// `[]` Derived reserve pool reward authority. Seed:
601
+ /// * b"RewardVaultAuthority"
602
+ /// * Lending market account pubkey
603
+ /// * Reserve account pubkey
604
+ /// * Reward mint pubkey
605
+ /// `[writable]` Reward vault token account.
606
+ /// `[]` Lending market account.
607
+ /// `[signer]` Lending market owner.
608
+ /// `[]` Rent sysvar.
609
+ /// `[]` Token program.
581
610
CancelPoolReward {
582
611
/// Whether this reward applies to deposits or borrows
583
612
position_kind : PositionKind ,
0 commit comments