Coda by Ian Macalinao
    Preparing search index...

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

    type StakeAsyncInput<
        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
    farmVault?: TAccountFarmVault
    scopePrices?: TAccountScopePrices
    tokenProgram?: TAccountTokenProgram
    userState?: TAccountUserState