PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@solana/spl-stake-pool/dist/utils
Просмотр файла: program-address.d.ts
import { PublicKey } from '@solana/web3.js';
import BN from 'bn.js';
/**
* Generates the withdraw authority program address for the stake pool
*/
export declare function findWithdrawAuthorityProgramAddress(programId: PublicKey, stakePoolAddress: PublicKey): Promise<PublicKey>;
/**
* Generates the stake program address for a validator's vote account
*/
export declare function findStakeProgramAddress(programId: PublicKey, voteAccountAddress: PublicKey, stakePoolAddress: PublicKey, seed?: number): Promise<PublicKey>;
/**
* Generates the stake program address for a validator's vote account
*/
export declare function findTransientStakeProgramAddress(programId: PublicKey, voteAccountAddress: PublicKey, stakePoolAddress: PublicKey, seed: BN): Promise<PublicKey>;
/**
* Generates the ephemeral program address for stake pool redelegation
*/
export declare function findEphemeralStakeProgramAddress(programId: PublicKey, stakePoolAddress: PublicKey, seed: BN): Promise<PublicKey>;
/**
* Generates the metadata program address for the stake pool
*/
export declare function findMetadataAddress(stakePoolMintAddress: PublicKey): PublicKey;
Выполнить команду
Для локальной разработки. Не используйте в интернете!