Coda by Ian Macalinao
    Preparing search index...

    Type Alias ParsedFarmsInstruction<TProgram>

    ParsedFarmsInstruction:
        | { instructionType: typeof FarmsInstruction.InitializeGlobalConfig } & ParsedInitializeGlobalConfigInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.UpdateGlobalConfig } & ParsedUpdateGlobalConfigInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.InitializeFarm } & ParsedInitializeFarmInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.InitializeFarmDelegated } & ParsedInitializeFarmDelegatedInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.InitializeReward } & ParsedInitializeRewardInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.AddRewards } & ParsedAddRewardsInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.UpdateFarmConfig } & ParsedUpdateFarmConfigInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.InitializeUser } & ParsedInitializeUserInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.TransferOwnership } & ParsedTransferOwnershipInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.RewardUserOnce } & ParsedRewardUserOnceInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.RefreshFarm } & ParsedRefreshFarmInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.Stake } & ParsedStakeInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.SetStakeDelegated } & ParsedSetStakeDelegatedInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.HarvestReward } & ParsedHarvestRewardInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.Unstake } & ParsedUnstakeInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.RefreshUserState } & ParsedRefreshUserStateInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.WithdrawUnstakedDeposits } & ParsedWithdrawUnstakedDepositsInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.WithdrawTreasury } & ParsedWithdrawTreasuryInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.DepositToFarmVault } & ParsedDepositToFarmVaultInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.WithdrawFromFarmVault } & ParsedWithdrawFromFarmVaultInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.WithdrawSlashedAmount } & ParsedWithdrawSlashedAmountInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.UpdateFarmAdmin } & ParsedUpdateFarmAdminInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.UpdateGlobalConfigAdmin } & ParsedUpdateGlobalConfigAdminInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.WithdrawReward } & ParsedWithdrawRewardInstruction<
            TProgram,
        >
        | { instructionType: typeof FarmsInstruction.FarmsIdlMissingTypes } & ParsedFarmsIdlMissingTypesInstruction<
            TProgram,
        >

    Type Parameters

    • TProgram extends string = "FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr"