Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: claim rewards #552

Merged
merged 20 commits into from
Jan 8, 2025
42 changes: 22 additions & 20 deletions staking/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions staking/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ uriparse = "0.6.4"
solana-remote-wallet = "1.18.16"
solana-account-decoder = "1.18.16"
chrono = "0.4.38"
futures = "0.3.31"
tokio = "1.42.0"
tokio-stream = "0.1.17"
4 changes: 4 additions & 0 deletions staking/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ pub enum Action {
},
SaveStakeAccountsSnapshot {},
CloseAllPublisherCaps {},
ClaimRewards {
#[clap(long, help = "Minimum staked tokens")]
min_staked: u64,
},
}

pub enum SignerSource {
Expand Down
Loading
Loading