Coda by Ian Macalinao
    Preparing search index...

    Type Alias FarmsPluginInstructions

    type FarmsPluginInstructions = {
        addRewards: (
            input: MakeOptional<AddRewardsAsyncInput, "payer">,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getAddRewardsInstructionAsync> & SelfPlanAndSendFunctions;
        depositToFarmVault: (
            input: DepositToFarmVaultInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getDepositToFarmVaultInstruction> & SelfPlanAndSendFunctions;
        farmsIdlMissingTypes: (
            input: FarmsIdlMissingTypesInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getFarmsIdlMissingTypesInstruction> & SelfPlanAndSendFunctions;
        harvestReward: (
            input: HarvestRewardAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getHarvestRewardInstructionAsync> & SelfPlanAndSendFunctions;
        initializeFarm: (
            input: InitializeFarmAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getInitializeFarmInstructionAsync> & SelfPlanAndSendFunctions;
        initializeFarmDelegated: (
            input: InitializeFarmDelegatedAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getInitializeFarmDelegatedInstructionAsync> & SelfPlanAndSendFunctions;
        initializeGlobalConfig: (
            input: InitializeGlobalConfigAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getInitializeGlobalConfigInstructionAsync> & SelfPlanAndSendFunctions;
        initializeReward: (
            input: InitializeRewardAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getInitializeRewardInstructionAsync> & SelfPlanAndSendFunctions;
        initializeUser: (
            input: MakeOptional<InitializeUserAsyncInput, "payer">,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getInitializeUserInstructionAsync> & SelfPlanAndSendFunctions;
        refreshFarm: (
            input: RefreshFarmInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getRefreshFarmInstruction> & SelfPlanAndSendFunctions;
        refreshUserState: (
            input: RefreshUserStateInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getRefreshUserStateInstruction> & SelfPlanAndSendFunctions;
        rewardUserOnce: (
            input: RewardUserOnceInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getRewardUserOnceInstruction> & SelfPlanAndSendFunctions;
        setStakeDelegated: (
            input: SetStakeDelegatedInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getSetStakeDelegatedInstruction> & SelfPlanAndSendFunctions;
        stake: (
            input: StakeAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getStakeInstructionAsync> & SelfPlanAndSendFunctions;
        transferOwnership: (
            input: TransferOwnershipInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getTransferOwnershipInstruction> & SelfPlanAndSendFunctions;
        unstake: (
            input: UnstakeAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getUnstakeInstructionAsync> & SelfPlanAndSendFunctions;
        updateFarmAdmin: (
            input: UpdateFarmAdminInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getUpdateFarmAdminInstruction> & SelfPlanAndSendFunctions;
        updateFarmConfig: (
            input: UpdateFarmConfigInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getUpdateFarmConfigInstruction> & SelfPlanAndSendFunctions;
        updateGlobalConfig: (
            input: UpdateGlobalConfigInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getUpdateGlobalConfigInstruction> & SelfPlanAndSendFunctions;
        updateGlobalConfigAdmin: (
            input: UpdateGlobalConfigAdminInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getUpdateGlobalConfigAdminInstruction> & SelfPlanAndSendFunctions;
        withdrawFromFarmVault: (
            input: WithdrawFromFarmVaultAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getWithdrawFromFarmVaultInstructionAsync> & SelfPlanAndSendFunctions;
        withdrawReward: (
            input: WithdrawRewardAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getWithdrawRewardInstructionAsync> & SelfPlanAndSendFunctions;
        withdrawSlashedAmount: (
            input: WithdrawSlashedAmountAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getWithdrawSlashedAmountInstructionAsync> & SelfPlanAndSendFunctions;
        withdrawTreasury: (
            input: WithdrawTreasuryAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getWithdrawTreasuryInstructionAsync> & SelfPlanAndSendFunctions;
        withdrawUnstakedDeposits: (
            input: WithdrawUnstakedDepositsAsyncInput,
            config?: { programAddress?: Address | HasAddress },
        ) => ReturnType<typeof getWithdrawUnstakedDepositsInstructionAsync> & SelfPlanAndSendFunctions;
    }
    Index
    addRewards: (
        input: MakeOptional<AddRewardsAsyncInput, "payer">,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getAddRewardsInstructionAsync> & SelfPlanAndSendFunctions
    depositToFarmVault: (
        input: DepositToFarmVaultInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getDepositToFarmVaultInstruction> & SelfPlanAndSendFunctions
    farmsIdlMissingTypes: (
        input: FarmsIdlMissingTypesInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getFarmsIdlMissingTypesInstruction> & SelfPlanAndSendFunctions
    harvestReward: (
        input: HarvestRewardAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getHarvestRewardInstructionAsync> & SelfPlanAndSendFunctions
    initializeFarm: (
        input: InitializeFarmAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getInitializeFarmInstructionAsync> & SelfPlanAndSendFunctions
    initializeFarmDelegated: (
        input: InitializeFarmDelegatedAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getInitializeFarmDelegatedInstructionAsync> & SelfPlanAndSendFunctions
    initializeGlobalConfig: (
        input: InitializeGlobalConfigAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getInitializeGlobalConfigInstructionAsync> & SelfPlanAndSendFunctions
    initializeReward: (
        input: InitializeRewardAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getInitializeRewardInstructionAsync> & SelfPlanAndSendFunctions
    initializeUser: (
        input: MakeOptional<InitializeUserAsyncInput, "payer">,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getInitializeUserInstructionAsync> & SelfPlanAndSendFunctions
    refreshFarm: (
        input: RefreshFarmInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getRefreshFarmInstruction> & SelfPlanAndSendFunctions
    refreshUserState: (
        input: RefreshUserStateInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getRefreshUserStateInstruction> & SelfPlanAndSendFunctions
    rewardUserOnce: (
        input: RewardUserOnceInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getRewardUserOnceInstruction> & SelfPlanAndSendFunctions
    setStakeDelegated: (
        input: SetStakeDelegatedInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getSetStakeDelegatedInstruction> & SelfPlanAndSendFunctions
    stake: (
        input: StakeAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getStakeInstructionAsync> & SelfPlanAndSendFunctions
    transferOwnership: (
        input: TransferOwnershipInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getTransferOwnershipInstruction> & SelfPlanAndSendFunctions
    unstake: (
        input: UnstakeAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getUnstakeInstructionAsync> & SelfPlanAndSendFunctions
    updateFarmAdmin: (
        input: UpdateFarmAdminInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getUpdateFarmAdminInstruction> & SelfPlanAndSendFunctions
    updateFarmConfig: (
        input: UpdateFarmConfigInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getUpdateFarmConfigInstruction> & SelfPlanAndSendFunctions
    updateGlobalConfig: (
        input: UpdateGlobalConfigInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getUpdateGlobalConfigInstruction> & SelfPlanAndSendFunctions
    updateGlobalConfigAdmin: (
        input: UpdateGlobalConfigAdminInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getUpdateGlobalConfigAdminInstruction> & SelfPlanAndSendFunctions
    withdrawFromFarmVault: (
        input: WithdrawFromFarmVaultAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getWithdrawFromFarmVaultInstructionAsync> & SelfPlanAndSendFunctions
    withdrawReward: (
        input: WithdrawRewardAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getWithdrawRewardInstructionAsync> & SelfPlanAndSendFunctions
    withdrawSlashedAmount: (
        input: WithdrawSlashedAmountAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getWithdrawSlashedAmountInstructionAsync> & SelfPlanAndSendFunctions
    withdrawTreasury: (
        input: WithdrawTreasuryAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getWithdrawTreasuryInstructionAsync> & SelfPlanAndSendFunctions
    withdrawUnstakedDeposits: (
        input: WithdrawUnstakedDepositsAsyncInput,
        config?: { programAddress?: Address | HasAddress },
    ) => ReturnType<typeof getWithdrawUnstakedDepositsInstructionAsync> & SelfPlanAndSendFunctions