Coda by Ian Macalinao
    Preparing search index...

    Type Alias FarmsPluginInstructions

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