Coda by Ian Macalinao
    Preparing search index...

    Type Alias DepositSolWithSlippageInput<TAccountStakePool, TAccountWithdrawAuthority, TAccountReserveStake, TAccountPayer, TAccountUserPoolTokenAccount, TAccountFeeAccount, TAccountReferralFeeAccount, TAccountPoolMint, TAccountSystemProgram, TAccountTokenProgram, TAccountSolDepositAuthority>

    type DepositSolWithSlippageInput<
        TAccountStakePool extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountWithdrawAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountReserveStake extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPayer extends InstructionSignerInput = InstructionSignerInput,
        TAccountUserPoolTokenAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountFeeAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountReferralFeeAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountPoolMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSolDepositAuthority extends
            InstructionAccountInput
            | InstructionSignerInput =
            | InstructionAccountInput
            | InstructionSignerInput,
    > = {
        feeAccount: TAccountFeeAccount;
        lamportsIn: DepositSolWithSlippageInstructionDataArgs["lamportsIn"];
        minimumPoolTokensOut: DepositSolWithSlippageInstructionDataArgs["minimumPoolTokensOut"];
        payer: TAccountPayer;
        poolMint: TAccountPoolMint;
        referralFeeAccount: TAccountReferralFeeAccount;
        reserveStake: TAccountReserveStake;
        solDepositAuthority: TAccountSolDepositAuthority;
        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
    • TAccountFeeAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountReferralFeeAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountPoolMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountSolDepositAuthority extends InstructionAccountInput | InstructionSignerInput = InstructionAccountInput | InstructionSignerInput
    Index
    feeAccount: TAccountFeeAccount

    Fee account

    Payer

    Pool mint

    referralFeeAccount: TAccountReferralFeeAccount

    Referral fee account

    reserveStake: TAccountReserveStake

    Reserve stake

    solDepositAuthority: TAccountSolDepositAuthority

    Stake pool sol deposit authority

    Stake pool

    systemProgram?: TAccountSystemProgram

    System program

    tokenProgram?: TAccountTokenProgram

    Token program

    userPoolTokenAccount: TAccountUserPoolTokenAccount

    User pool token account

    withdrawAuthority: TAccountWithdrawAuthority

    Stake pool withdraw authority