Add StakeInstruction::AuthorizeWithSeed (#11700)
* Add StakeInstruction::AuthorizeWithSeed * chore: add authorize-with-seed to web.js * fix: add address_owner * Add SystemInstruction::TransferWithSeed * Update ABI hash * chore: better variable names * Add AuthorizeWithSeedArgs * Reorder and rename arguments for clarity
This commit is contained in:
10
web3.js/module.d.ts
vendored
10
web3.js/module.d.ts
vendored
@ -689,6 +689,15 @@ declare module '@solana/web3.js' {
|
||||
stakeAuthorizationType: StakeAuthorizationType;
|
||||
};
|
||||
|
||||
export type AuthorizeWithSeedStakeParams = {
|
||||
stakePubkey: PublicKey;
|
||||
authorityBase: PublicKey;
|
||||
authoritySeed: string;
|
||||
authorityOwner: PublicKey;
|
||||
newAuthorizedPubkey: PublicKey;
|
||||
stakeAuthorizationType: StakeAuthorizationType;
|
||||
};
|
||||
|
||||
export type SplitStakeParams = {
|
||||
stakePubkey: PublicKey;
|
||||
authorizedPubkey: PublicKey;
|
||||
@ -725,6 +734,7 @@ declare module '@solana/web3.js' {
|
||||
export type StakeInstructionType =
|
||||
| 'Initialize'
|
||||
| 'Authorize'
|
||||
| 'AuthorizeWithSeed'
|
||||
| 'Delegate'
|
||||
| 'Split'
|
||||
| 'Withdraw'
|
||||
|
Reference in New Issue
Block a user