Skip to content

feat: expose reward pool clawbak#346

Merged
Yolley merged 1 commit intomasterfrom
feat/reward_pool_clawback
Mar 30, 2026
Merged

feat: expose reward pool clawbak#346
Yolley merged 1 commit intomasterfrom
feat/reward_pool_clawback

Conversation

@Yolley
Copy link
Copy Markdown
Collaborator

@Yolley Yolley commented Mar 30, 2026

  • feat: expoe reward pool clawback for reward pools with fixed reward distribution;

@Yolley Yolley requested a review from rolginroman March 30, 2026 17:03
}

async prepareClawbackInstructions(
{ nonce, rewardMint, stakePool, tokenProgramId = TOKEN_PROGRAM_ID }: ClawbackRewardPoolArgs,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why decided to pass nonce instead of an explicit reward pool pk? I'm struggling to imagine a case where a consumer has nonce, but doesn't have a reward pool key explicitly.

upd: following other methods signature policy.

@Yolley Yolley merged commit 5e14fe3 into master Mar 30, 2026
8 checks passed
@Yolley Yolley deleted the feat/reward_pool_clawback branch March 30, 2026 17:13
@github-actions
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants