Coda by Ian Macalinao
    Preparing search index...

    Type Alias DepositInput<TAccountRegistrar, TAccountVoter, TAccountVault, TAccountDepositToken, TAccountDepositAuthority, TAccountTokenProgram>

    type DepositInput<
        TAccountRegistrar extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountVoter extends InstructionAccountInput = InstructionAccountInput,
        TAccountVault extends InstructionAccountInput = InstructionAccountInput,
        TAccountDepositToken extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountDepositAuthority extends
            InstructionSignerInput = InstructionSignerInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        amount: DepositInstructionDataArgs["amount"];
        depositAuthority: TAccountDepositAuthority;
        depositEntryIndex: DepositInstructionDataArgs["depositEntryIndex"];
        depositToken: TAccountDepositToken;
        registrar: TAccountRegistrar;
        tokenProgram?: TAccountTokenProgram;
        vault: TAccountVault;
        voter: TAccountVoter;
    }

    Type Parameters

    • TAccountRegistrar extends InstructionAccountInput = InstructionAccountInput
    • TAccountVoter extends InstructionAccountInput = InstructionAccountInput
    • TAccountVault extends InstructionAccountInput = InstructionAccountInput
    • TAccountDepositToken extends InstructionAccountInput = InstructionAccountInput
    • TAccountDepositAuthority extends InstructionSignerInput = InstructionSignerInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    depositAuthority: TAccountDepositAuthority
    depositToken: TAccountDepositToken
    tokenProgram?: TAccountTokenProgram