Coda by Ian Macalinao
    Preparing search index...

    Type Alias StakeInput<TAccountOwner, TAccountUserState, TAccountFarmState, TAccountFarmVault, TAccountUserAta, TAccountTokenMint, TAccountScopePrices, TAccountTokenProgram>

    type StakeInput<
        TAccountOwner extends InstructionSignerInput = InstructionSignerInput,
        TAccountUserState extends InstructionAccountInput = InstructionAccountInput,
        TAccountFarmState extends InstructionAccountInput = InstructionAccountInput,
        TAccountFarmVault extends InstructionAccountInput = InstructionAccountInput,
        TAccountUserAta extends InstructionAccountInput = InstructionAccountInput,
        TAccountTokenMint extends InstructionAccountInput = InstructionAccountInput,
        TAccountScopePrices extends
            InstructionAccountInput = InstructionAccountInput,
        TAccountTokenProgram extends
            InstructionAccountInput = InstructionAccountInput,
    > = {
        amount: StakeInstructionDataArgs["amount"];
        farmState: TAccountFarmState;
        farmVault: TAccountFarmVault;
        owner: TAccountOwner;
        scopePrices?: TAccountScopePrices;
        tokenMint: TAccountTokenMint;
        tokenProgram?: TAccountTokenProgram;
        userAta: TAccountUserAta;
        userState: TAccountUserState;
    }

    Type Parameters

    • TAccountOwner extends InstructionSignerInput = InstructionSignerInput
    • TAccountUserState extends InstructionAccountInput = InstructionAccountInput
    • TAccountFarmState extends InstructionAccountInput = InstructionAccountInput
    • TAccountFarmVault extends InstructionAccountInput = InstructionAccountInput
    • TAccountUserAta extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenMint extends InstructionAccountInput = InstructionAccountInput
    • TAccountScopePrices extends InstructionAccountInput = InstructionAccountInput
    • TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput
    Index
    scopePrices?: TAccountScopePrices
    tokenProgram?: TAccountTokenProgram