Coda by Ian Macalinao
    Preparing search index...

    Type Alias AddValidatorToPoolAsyncInput<TAccountStakePool, TAccountStaker, TAccountReserveStakeAccount, TAccountWithdrawAuthority, TAccountValidatorStakeList, TAccountNewStakeAccount, TAccountValidatorVoteAccount, TAccountRentSysvar, TAccountClockSysvar, TAccountStakeHistorySysvar, TAccountStakeConfigSysvar, TAccountSystemProgram, TAccountStakeProgram>

    type AddValidatorToPoolAsyncInput<
        TAccountStakePool extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountStaker extends InstructionSignerInput = InstructionSignerInput,
        TAccountReserveStakeAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountWithdrawAuthority extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountValidatorStakeList extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountNewStakeAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountValidatorVoteAccount extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountRentSysvar extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountClockSysvar extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountStakeHistorySysvar extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountStakeConfigSysvar extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountSystemProgram extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountStakeProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        args: AddValidatorToPoolInstructionDataArgs["args"];
        clockSysvar?: TAccountClockSysvar;
        newStakeAccount: TAccountNewStakeAccount;
        rentSysvar?: TAccountRentSysvar;
        reserveStakeAccount: TAccountReserveStakeAccount;
        stakeConfigSysvar?: TAccountStakeConfigSysvar;
        stakeHistorySysvar?: TAccountStakeHistorySysvar;
        stakePool: TAccountStakePool;
        stakeProgram?: TAccountStakeProgram;
        staker: TAccountStaker;
        systemProgram?: TAccountSystemProgram;
        validatorStakeList: TAccountValidatorStakeList;
        validatorVoteAccount: TAccountValidatorVoteAccount;
        withdrawAuthority?: TAccountWithdrawAuthority;
    }

    Type Parameters

    • TAccountStakePool extends InstructionAccountInput = InstructionAccountInput
    • TAccountStaker extends InstructionSignerInput = InstructionSignerInput
    • TAccountReserveStakeAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountWithdrawAuthority extends InstructionAccountInput = InstructionAccountInput
    • TAccountValidatorStakeList extends InstructionAccountInput = InstructionAccountInput
    • TAccountNewStakeAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountValidatorVoteAccount extends InstructionAccountInput = InstructionAccountInput
    • TAccountRentSysvar extends InstructionAccountInput = InstructionAccountInput
    • TAccountClockSysvar extends InstructionAccountInput = InstructionAccountInput
    • TAccountStakeHistorySysvar extends InstructionAccountInput = InstructionAccountInput
    • TAccountStakeConfigSysvar extends InstructionAccountInput = InstructionAccountInput
    • TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput
    • TAccountStakeProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    clockSysvar?: TAccountClockSysvar

    Clock sysvar

    newStakeAccount: TAccountNewStakeAccount

    Stake account to add to the pool

    rentSysvar?: TAccountRentSysvar

    Rent sysvar

    reserveStakeAccount: TAccountReserveStakeAccount

    Reserve stake account

    stakeConfigSysvar?: TAccountStakeConfigSysvar

    Stake config sysvar

    stakeHistorySysvar?: TAccountStakeHistorySysvar

    Stake history sysvar

    Stake pool

    stakeProgram?: TAccountStakeProgram

    Stake program

    Staker

    systemProgram?: TAccountSystemProgram

    System program

    validatorStakeList: TAccountValidatorStakeList

    Validator stake list storage account

    validatorVoteAccount: TAccountValidatorVoteAccount

    Validator this stake account will be delegated to

    withdrawAuthority?: TAccountWithdrawAuthority

    Stake pool withdraw authority