Coda by Ian Macalinao
    Preparing search index...

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

    DepositSolWithSlippageInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountStakePool extends string
                ? WritableAccount<TAccountStakePool>
                : TAccountStakePool,
            TAccountWithdrawAuthority extends string
                ? ReadonlyAccount<TAccountWithdrawAuthority>
                : TAccountWithdrawAuthority,
            TAccountReserveStake extends string
                ? WritableAccount<TAccountReserveStake>
                : TAccountReserveStake,
            TAccountPayer extends string
                ? ReadonlySignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountUserPoolTokenAccount extends string
                ? WritableAccount<TAccountUserPoolTokenAccount>
                : TAccountUserPoolTokenAccount,
            TAccountFeeAccount extends string
                ? WritableAccount<TAccountFeeAccount>
                : TAccountFeeAccount,
            TAccountReferralFeeAccount extends string
                ? WritableAccount<TAccountReferralFeeAccount>
                : TAccountReferralFeeAccount,
            TAccountPoolMint extends string
                ? WritableAccount<TAccountPoolMint>
                : TAccountPoolMint,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            TAccountTokenProgram extends string
                ? ReadonlyAccount<TAccountTokenProgram>
                : TAccountTokenProgram,
            TAccountSolDepositAuthority extends string
                ? ReadonlyAccount<TAccountSolDepositAuthority>
                : TAccountSolDepositAuthority,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof SPL_STAKE_POOL_PROGRAM_ADDRESS
    • TAccountStakePool extends string | AccountMeta = string
    • TAccountWithdrawAuthority extends string | AccountMeta = string
    • TAccountReserveStake extends string | AccountMeta = string
    • TAccountPayer extends string | AccountMeta = string
    • TAccountUserPoolTokenAccount extends string | AccountMeta = string
    • TAccountFeeAccount extends string | AccountMeta = string
    • TAccountReferralFeeAccount extends string | AccountMeta = string
    • TAccountPoolMint extends string | AccountMeta = string
    • TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111"
    • TAccountTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountSolDepositAuthority extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []