Coda by Ian Macalinao
    Preparing search index...

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

    DepositSolInstruction: 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
                ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<
                    TAccountPayer,
                >
                : TAccountPayer,
            TAccountUserPoolTokenAccount extends string
                ? WritableAccount<TAccountUserPoolTokenAccount>
                : TAccountUserPoolTokenAccount,
            TAccountManagerFeeAccount extends string
                ? WritableAccount<TAccountManagerFeeAccount>
                : TAccountManagerFeeAccount,
            TAccountReferralPoolAccount extends string
                ? WritableAccount<TAccountReferralPoolAccount>
                : TAccountReferralPoolAccount,
            TAccountPoolMint extends string
                ? WritableAccount<TAccountPoolMint>
                : TAccountPoolMint,
            TAccountSystemProgram extends string
                ? ReadonlyAccount<TAccountSystemProgram>
                : TAccountSystemProgram,
            TAccountTokenProgram extends string
                ? ReadonlyAccount<TAccountTokenProgram>
                : TAccountTokenProgram,
            TAccountDepositAuthority extends string
                ? ReadonlySignerAccount<TAccountDepositAuthority> & AccountSignerMeta<
                    TAccountDepositAuthority,
                >
                : TAccountDepositAuthority,
            ...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
    • TAccountManagerFeeAccount extends string | AccountMeta = string
    • TAccountReferralPoolAccount extends string | AccountMeta = string
    • TAccountPoolMint extends string | AccountMeta = string
    • TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111"
    • TAccountTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountDepositAuthority extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []