File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
stake_deposit_interceptor/src Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- use std:: num:: NonZeroU32 ;
2- use std:: str:: FromStr ;
3- use std:: time:: { SystemTime , UNIX_EPOCH } ;
1+ use std:: {
2+ num:: NonZeroU32 ,
3+ time:: { SystemTime , UNIX_EPOCH } ,
4+ } ;
45
56use jito_bytemuck:: AccountDeserialize ;
67use solana_account_decoder:: UiAccountEncoding ;
@@ -69,7 +70,7 @@ pub fn command_create_stake_deposit_authority(
6970 & config. fee_payer . pubkey ( ) ,
7071 stake_pool_address,
7172 & stake_pool. pool_mint ,
72- & Pubkey :: from_str ( "DPoo15wWDqpPJJtS2MUZ49aRxqz5ZaaJCJP4z8bLuib" ) . unwrap ( ) ,
73+ & spl_stake_pool :: id ( ) ,
7374 & spl_token:: id ( ) ,
7475 fee_wallet,
7576 cool_down_seconds,
@@ -493,6 +494,7 @@ pub fn command_claim_tokens(
493494 }
494495}
495496
497+ /// Command to get [`StakePoolDepositStakeAuthority`]
496498pub fn command_get_stake_deposit_authority (
497499 config : & Config ,
498500 stake_deposit_authority_address : & Pubkey ,
Original file line number Diff line number Diff line change @@ -3108,7 +3108,7 @@ fn main() {
31083108 )
31093109 )
31103110 . subcommand ( SubCommand :: with_name ( "get-stake-deposit-authority" )
3111- . about ( "Claim pool tokens for a specific deposit receipt " )
3111+ . about ( "Get a stake deposit authority for a specific stake pool " )
31123112 . arg (
31133113 Arg :: with_name ( "stake_deposit_authority" )
31143114 . index ( 1 )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pub mod state;
1111#[ cfg( not( feature = "no-entrypoint" ) ) ]
1212pub mod entrypoint;
1313
14- declare_id ! ( "2KVTQfCi5YfmgmTKyHTZVz8s1G3YHAxuhpW1J65sdwwu " ) ;
14+ declare_id ! ( "5TAiuAh3YGDbwjEruC1ZpXTJWdNDS7Ur7VeqNNiHMmGV " ) ;
1515
1616#[ cfg( not( feature = "no-entrypoint" ) ) ]
1717security_txt ! {
You can’t perform that action at this time.
0 commit comments