Coda by Ian Macalinao
    Preparing search index...

    Type Alias DepositSolAsyncInput<TAccountStakePool, TAccountWithdrawAuthority, TAccountReserveStake, TAccountPayer, TAccountUserPoolTokenAccount, TAccountManagerFeeAccount, TAccountReferralPoolAccount, TAccountPoolMint, TAccountSystemProgram, TAccountTokenProgram, TAccountDepositAuthority>

    type DepositSolAsyncInput<
        TAccountStakePool extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountWithdrawAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountReserveStake extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountUserPoolTokenAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountManagerFeeAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountReferralPoolAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPoolMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountDepositAuthority extends
            InstructionSignerInput = InstructionSignerInput,
    > = {
        args: DepositSolInstructionDataArgs["args"];
        depositAuthority?: TAccountDepositAuthority;
        managerFeeAccount: TAccountManagerFeeAccount;
        payer: TAccountPayer;
        poolMint: TAccountPoolMint;
        referralPoolAccount: TAccountReferralPoolAccount;
        reserveStake: TAccountReserveStake;
        stakePool: TAccountStakePool;
        systemProgram?: TAccountSystemProgram;
        tokenProgram?: TAccountTokenProgram;
        userPoolTokenAccount: TAccountUserPoolTokenAccount;
        withdrawAuthority?: TAccountWithdrawAuthority;
    }

    Type Parameters

    • TAccountStakePool extends InstructionAccountInput = InstructionAccountInput
    • TAccountWithdrawAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountReserveStake extends InstructionAccountInput = InstructionAccountInput
    • TAccountPayer extends InstructionSignerInput = InstructionSignerInput
    • TAccountUserPoolTokenAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountManagerFeeAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountReferralPoolAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountPoolMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountDepositAuthority extends InstructionSignerInput = InstructionSignerInput
    Index
    depositAuthority?: TAccountDepositAuthority

    (Optional) Stake pool sol deposit authority.

    managerFeeAccount: TAccountManagerFeeAccount

    Account to receive fee tokens

    Account providing the lamports to be deposited into the pool

    Pool token mint account

    referralPoolAccount: TAccountReferralPoolAccount

    Account to receive a portion of fee as referral fees

    reserveStake: TAccountReserveStake

    Reserve stake account, to deposit SOL

    Stake pool

    systemProgram?: TAccountSystemProgram

    System program account

    tokenProgram?: TAccountTokenProgram

    Token program id

    userPoolTokenAccount: TAccountUserPoolTokenAccount

    User account to receive pool tokens

    withdrawAuthority?: TAccountWithdrawAuthority

    Stake pool withdraw authority