fix: add custodian key support to stake instructions

This commit is contained in:
Michael Vines
2021-01-26 09:40:41 -08:00
parent 1d6e9335ff
commit e08d2e6fcc
4 changed files with 132 additions and 25 deletions

View File

@ -780,6 +780,7 @@ declare module '@solana/web3.js' {
authorizedPubkey: PublicKey,
newAuthorizedPubkey: PublicKey,
stakeAuthorizationType: StakeAuthorizationType,
custodianPubkey?: PublicKey,
|};
declare export type AuthorizeWithSeedStakeParams = {|
@ -789,6 +790,7 @@ declare module '@solana/web3.js' {
authorityOwner: PublicKey,
newAuthorizedPubkey: PublicKey,
stakeAuthorizationType: StakeAuthorizationType,
custodianPubkey?: PublicKey,
|};
declare export type SplitStakeParams = {|
@ -803,6 +805,7 @@ declare module '@solana/web3.js' {
authorizedPubkey: PublicKey,
toPubkey: PublicKey,
lamports: number,
custodianPubkey?: PublicKey,
|};
declare export type DeactivateStakeParams = {|