Add lockups via solana-tokens (#11782)

* Allow stake distributions to update lockups

* Reorg

* Add lockup test

* Fix clippy warning
This commit is contained in:
Greg Fitzgerald
2020-08-24 15:18:35 -06:00
committed by GitHub
parent c2e5dae7ba
commit 5553732ae2
7 changed files with 244 additions and 59 deletions

View File

@@ -16,6 +16,7 @@ pub struct StakeArgs {
pub stake_account_address: Pubkey,
pub stake_authority: Box<dyn Signer>,
pub withdraw_authority: Box<dyn Signer>,
pub lockup_authority: Option<Box<dyn Signer>>,
}
pub struct BalancesArgs {