Coda by Ian Macalinao
    Preparing search index...
    interface FarmsPluginInstructions {
        addRewards: (
            input: MakeOptional<
                AddRewardsAsyncInput<
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                >,
                "payer",
            >,
        ) => Promise<
            AddRewardsInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        depositToFarmVault: (
            input: DepositToFarmVaultInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                WritableAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        farmsIdlMissingTypes: (
            input: FarmsIdlMissingTypesInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        harvestReward: (
            input: HarvestRewardAsyncInput,
        ) => Promise<
            HarvestRewardInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        initializeFarm: (
            input: InitializeFarmAsyncInput,
        ) => Promise<
            InitializeFarmInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        initializeFarmDelegated: (
            input: InitializeFarmDelegatedAsyncInput,
        ) => Promise<
            InitializeFarmDelegatedInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        initializeGlobalConfig: (
            input: InitializeGlobalConfigAsyncInput,
        ) => Promise<
            InitializeGlobalConfigInstruction<
                Address,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        initializeReward: (
            input: InitializeRewardAsyncInput,
        ) => Promise<
            InitializeRewardInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        initializeUser: (
            input: MakeOptional<
                InitializeUserAsyncInput<
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                    string,
                >,
                "payer",
            >,
        ) => Promise<
            InitializeUserInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        refreshFarm: (
            input: RefreshFarmInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [WritableAccount<string>, ReadonlyAccount<string>],
        > & SelfPlanAndSendFunctions;
        refreshUserState: (
            input: RefreshUserStateInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                WritableAccount<string>,
                WritableAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        rewardUserOnce: (
            input: RewardUserOnceInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                WritableAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        setStakeDelegated: (
            input: SetStakeDelegatedInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                WritableAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        stake: (
            input: StakeAsyncInput,
        ) => Promise<
            StakeInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        transferOwnership: (
            input: TransferOwnershipInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        unstake: (
            input: UnstakeAsyncInput,
        ) => Promise<
            UnstakeInstruction<Address, string, string, string, string, []>,
        > & SelfPlanAndSendFunctions;
        updateFarmAdmin: (
            input: UpdateFarmAdminInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        updateFarmConfig: (
            input: UpdateFarmConfigInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
                ReadonlyAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        updateGlobalConfig: (
            input: UpdateGlobalConfigInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        updateGlobalConfigAdmin: (
            input: UpdateGlobalConfigAdminInput,
        ) => Instruction<
            Address,
            readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
        > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
            [
                AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                    string,
                    TransactionSigner<string>,
                >,
                WritableAccount<string>,
            ],
        > & SelfPlanAndSendFunctions;
        withdrawFromFarmVault: (
            input: WithdrawFromFarmVaultAsyncInput,
        ) => Promise<
            WithdrawFromFarmVaultInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        withdrawReward: (
            input: WithdrawRewardAsyncInput,
        ) => Promise<
            WithdrawRewardInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        withdrawSlashedAmount: (
            input: WithdrawSlashedAmountAsyncInput,
        ) => Promise<
            WithdrawSlashedAmountInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        withdrawTreasury: (
            input: WithdrawTreasuryAsyncInput,
        ) => Promise<
            WithdrawTreasuryInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
        withdrawUnstakedDeposits: (
            input: WithdrawUnstakedDepositsAsyncInput,
        ) => Promise<
            WithdrawUnstakedDepositsInstruction<
                Address,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                [],
            >,
        > & SelfPlanAndSendFunctions;
    }
    Index

    Properties

    addRewards: (
        input: MakeOptional<
            AddRewardsAsyncInput<
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
            >,
            "payer",
        >,
    ) => Promise<
        AddRewardsInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    depositToFarmVault: (
        input: DepositToFarmVaultInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            WritableAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    farmsIdlMissingTypes: (
        input: FarmsIdlMissingTypesInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    harvestReward: (
        input: HarvestRewardAsyncInput,
    ) => Promise<
        HarvestRewardInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    initializeFarm: (
        input: InitializeFarmAsyncInput,
    ) => Promise<
        InitializeFarmInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    initializeFarmDelegated: (
        input: InitializeFarmDelegatedAsyncInput,
    ) => Promise<
        InitializeFarmDelegatedInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    initializeGlobalConfig: (
        input: InitializeGlobalConfigAsyncInput,
    ) => Promise<
        InitializeGlobalConfigInstruction<
            Address,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    initializeReward: (
        input: InitializeRewardAsyncInput,
    ) => Promise<
        InitializeRewardInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    initializeUser: (
        input: MakeOptional<
            InitializeUserAsyncInput<
                string,
                string,
                string,
                string,
                string,
                string,
                string,
                string,
            >,
            "payer",
        >,
    ) => Promise<
        InitializeUserInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    refreshFarm: (
        input: RefreshFarmInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [WritableAccount<string>, ReadonlyAccount<string>],
    > & SelfPlanAndSendFunctions
    refreshUserState: (
        input: RefreshUserStateInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            WritableAccount<string>,
            WritableAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    rewardUserOnce: (
        input: RewardUserOnceInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            WritableAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    setStakeDelegated: (
        input: SetStakeDelegatedInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            WritableAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    stake: (
        input: StakeAsyncInput,
    ) => Promise<
        StakeInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    transferOwnership: (
        input: TransferOwnershipInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    unstake: (
        input: UnstakeAsyncInput,
    ) => Promise<
        UnstakeInstruction<Address, string, string, string, string, []>,
    > & SelfPlanAndSendFunctions
    updateFarmAdmin: (
        input: UpdateFarmAdminInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    updateFarmConfig: (
        input: UpdateFarmConfigInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: WRITABLE_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
            ReadonlyAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    updateGlobalConfig: (
        input: UpdateGlobalConfigInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    updateGlobalConfigAdmin: (
        input: UpdateGlobalConfigAdminInput,
    ) => Instruction<
        Address,
        readonly (AccountMeta<string> | AccountLookupMeta<string, string>)[],
    > & InstructionWithData<ReadonlyUint8Array<ArrayBufferLike>> & InstructionWithAccounts<
        [
            AccountMeta<string> & { role: READONLY_SIGNER } & AccountSignerMeta<
                string,
                TransactionSigner<string>,
            >,
            WritableAccount<string>,
        ],
    > & SelfPlanAndSendFunctions
    withdrawFromFarmVault: (
        input: WithdrawFromFarmVaultAsyncInput,
    ) => Promise<
        WithdrawFromFarmVaultInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    withdrawReward: (
        input: WithdrawRewardAsyncInput,
    ) => Promise<
        WithdrawRewardInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    withdrawSlashedAmount: (
        input: WithdrawSlashedAmountAsyncInput,
    ) => Promise<
        WithdrawSlashedAmountInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    withdrawTreasury: (
        input: WithdrawTreasuryAsyncInput,
    ) => Promise<
        WithdrawTreasuryInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions
    withdrawUnstakedDeposits: (
        input: WithdrawUnstakedDepositsAsyncInput,
    ) => Promise<
        WithdrawUnstakedDepositsInstruction<
            Address,
            string,
            string,
            string,
            string,
            string,
            string,
            string,
            [],
        >,
    > & SelfPlanAndSendFunctions