Coda by Ian Macalinao
    Preparing search index...
    interface StakePool {
        accountType: AccountType;
        epochFee: Fee;
        lastEpochPoolTokenSupply: bigint;
        lastEpochTotalLamports: bigint;
        lastUpdateEpoch: bigint;
        lockup: Lockup;
        manager: Address;
        managerFeeAccount: Address;
        nextEpochFee: FutureEpoch;
        nextSolWithdrawalFee: FutureEpoch;
        nextStakeWithdrawalFee: FutureEpoch;
        poolMint: Address;
        poolTokenSupply: bigint;
        preferredDepositValidatorVoteAddress: Option<Address>;
        preferredWithdrawValidatorVoteAddress: Option<Address>;
        reserveStake: Address;
        solDepositAuthority: Option<Address>;
        solDepositFee: Fee;
        solReferralFee: number;
        solWithdrawalFee: Fee;
        solWithdrawAuthority: Option<Address>;
        stakeDepositAuthority: Address;
        stakeDepositFee: Fee;
        staker: Address;
        stakeReferralFee: number;
        stakeWithdrawalFee: Fee;
        stakeWithdrawBumpSeed: number;
        tokenProgramId: Address;
        totalLamports: bigint;
        validatorList: Address;
    }
    Index

    Properties

    accountType: AccountType

    Account type, must be StakePool currently

    epochFee: Fee

    Fee taken as a proportion of rewards each epoch

    lastEpochPoolTokenSupply: bigint

    Last epoch's total pool tokens, used only for APR estimation

    lastEpochTotalLamports: bigint

    Last epoch's total lamports, used only for APR estimation

    lastUpdateEpoch: bigint

    Last epoch the total_lamports field was updated

    lockup: Lockup

    Lockup that all stakes in the pool must have

    manager: Address

    Manager authority, allows for updating the staker, manager, and fee account

    managerFeeAccount: Address

    Manager fee account

    nextEpochFee: FutureEpoch

    Fee for next epoch

    nextSolWithdrawalFee: FutureEpoch

    Future SOL withdrawal fee, to be set for the following epoch

    nextStakeWithdrawalFee: FutureEpoch

    Future stake withdrawal fee, to be set for the following epoch

    poolMint: Address

    Pool Mint

    poolTokenSupply: bigint

    Total supply of pool tokens (should always match the supply in the Pool Mint)

    preferredDepositValidatorVoteAddress: Option<Address>

    Preferred deposit validator vote account pubkey

    preferredWithdrawValidatorVoteAddress: Option<Address>

    Preferred withdraw validator vote account pubkey

    reserveStake: Address

    Reserve stake account, holds deactivated stake

    solDepositAuthority: Option<Address>

    Toggles whether the DepositSol instruction requires a signature from this sol_deposit_authority

    solDepositFee: Fee

    Fee assessed on SOL deposits

    solReferralFee: number

    Fees paid out to referrers on referred SOL deposits. Expressed as a percentage (0 - 100) of SOL deposit fees. i.e. sol_deposit_fee% of SOL deposited is collected as deposit fees for every deposit and sol_referral_fee% of the collected SOL deposit fees is paid out to the referrer

    solWithdrawalFee: Fee

    Fee assessed on SOL withdrawals

    solWithdrawAuthority: Option<Address>

    Toggles whether the WithdrawSol instruction requires a signature from the deposit_authority

    stakeDepositAuthority: Address

    Stake deposit authority If a depositor pubkey is specified on initialization, then deposits must be signed by this authority. If no deposit authority is specified, then the stake pool will default to the result of: Pubkey::find_program_address( &[&stake_pool_address.as_ref(), b"deposit"], program_id, )

    stakeDepositFee: Fee

    Fee assessed on stake deposits

    staker: Address

    Staker authority, allows for adding and removing validators, and managing stake distribution

    stakeReferralFee: number

    Fees paid out to referrers on referred stake deposits. Expressed as a percentage (0 - 100) of deposit fees. i.e. stake_deposit_fee% of stake deposited is collected as deposit fees for every deposit and stake_referral_fee% of the collected stake deposit fees is paid out to the referrer

    stakeWithdrawalFee: Fee

    Fee assessed on withdrawals

    stakeWithdrawBumpSeed: number

    Stake withdrawal authority bump seed for create_program_address(&[state::StakePool account, "withdrawal"])

    tokenProgramId: Address

    Pool token program id

    totalLamports: bigint

    Total stake under management. Note that if last_update_epoch does not match the current epoch then this field may not be accurate

    validatorList: Address

    Validator stake list storage account