Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
FarmsPluginInstructions
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
Properties
add
Rewards
deposit
To
Farm
Vault
farms
Idl
Missing
Types
harvest
Reward
initialize
Farm
initialize
Farm
Delegated
initialize
Global
Config
initialize
Reward
initialize
User
refresh
Farm
refresh
User
State
reward
User
Once
set
Stake
Delegated
stake
transfer
Ownership
unstake
update
Farm
Admin
update
Farm
Config
update
Global
Config
update
Global
Config
Admin
withdraw
From
Farm
Vault
withdraw
Reward
withdraw
Slashed
Amount
withdraw
Treasury
withdraw
Unstaked
Deposits
Properties
add
Rewards
addRewards
:
(
input
:
MakeOptional
<
AddRewardsAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getAddRewardsInstructionAsync
>
&
SelfPlanAndSendFunctions
deposit
To
Farm
Vault
depositToFarmVault
:
(
input
:
DepositToFarmVaultInput
,
)
=>
ReturnType
<
typeof
getDepositToFarmVaultInstruction
>
&
SelfPlanAndSendFunctions
farms
Idl
Missing
Types
farmsIdlMissingTypes
:
(
input
:
FarmsIdlMissingTypesInput
,
)
=>
ReturnType
<
typeof
getFarmsIdlMissingTypesInstruction
>
&
SelfPlanAndSendFunctions
harvest
Reward
harvestReward
:
(
input
:
HarvestRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getHarvestRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Farm
initializeFarm
:
(
input
:
InitializeFarmAsyncInput
,
)
=>
ReturnType
<
typeof
getInitializeFarmInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Farm
Delegated
initializeFarmDelegated
:
(
input
:
InitializeFarmDelegatedAsyncInput
,
)
=>
ReturnType
<
typeof
getInitializeFarmDelegatedInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Global
Config
initializeGlobalConfig
:
(
input
:
InitializeGlobalConfigAsyncInput
,
)
=>
ReturnType
<
typeof
getInitializeGlobalConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Reward
initializeReward
:
(
input
:
InitializeRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getInitializeRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
User
initializeUser
:
(
input
:
MakeOptional
<
InitializeUserAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializeUserInstructionAsync
>
&
SelfPlanAndSendFunctions
refresh
Farm
refreshFarm
:
(
input
:
RefreshFarmInput
,
)
=>
ReturnType
<
typeof
getRefreshFarmInstruction
>
&
SelfPlanAndSendFunctions
refresh
User
State
refreshUserState
:
(
input
:
RefreshUserStateInput
,
)
=>
ReturnType
<
typeof
getRefreshUserStateInstruction
>
&
SelfPlanAndSendFunctions
reward
User
Once
rewardUserOnce
:
(
input
:
RewardUserOnceInput
,
)
=>
ReturnType
<
typeof
getRewardUserOnceInstruction
>
&
SelfPlanAndSendFunctions
set
Stake
Delegated
setStakeDelegated
:
(
input
:
SetStakeDelegatedInput
,
)
=>
ReturnType
<
typeof
getSetStakeDelegatedInstruction
>
&
SelfPlanAndSendFunctions
stake
stake
:
(
input
:
StakeAsyncInput
,
)
=>
ReturnType
<
typeof
getStakeInstructionAsync
>
&
SelfPlanAndSendFunctions
transfer
Ownership
transferOwnership
:
(
input
:
TransferOwnershipInput
,
)
=>
ReturnType
<
typeof
getTransferOwnershipInstruction
>
&
SelfPlanAndSendFunctions
unstake
unstake
:
(
input
:
UnstakeAsyncInput
,
)
=>
ReturnType
<
typeof
getUnstakeInstructionAsync
>
&
SelfPlanAndSendFunctions
update
Farm
Admin
updateFarmAdmin
:
(
input
:
UpdateFarmAdminInput
,
)
=>
ReturnType
<
typeof
getUpdateFarmAdminInstruction
>
&
SelfPlanAndSendFunctions
update
Farm
Config
updateFarmConfig
:
(
input
:
UpdateFarmConfigInput
,
)
=>
ReturnType
<
typeof
getUpdateFarmConfigInstruction
>
&
SelfPlanAndSendFunctions
update
Global
Config
updateGlobalConfig
:
(
input
:
UpdateGlobalConfigInput
,
)
=>
ReturnType
<
typeof
getUpdateGlobalConfigInstruction
>
&
SelfPlanAndSendFunctions
update
Global
Config
Admin
updateGlobalConfigAdmin
:
(
input
:
UpdateGlobalConfigAdminInput
,
)
=>
ReturnType
<
typeof
getUpdateGlobalConfigAdminInstruction
>
&
SelfPlanAndSendFunctions
withdraw
From
Farm
Vault
withdrawFromFarmVault
:
(
input
:
WithdrawFromFarmVaultAsyncInput
,
)
=>
ReturnType
<
typeof
getWithdrawFromFarmVaultInstructionAsync
>
&
SelfPlanAndSendFunctions
withdraw
Reward
withdrawReward
:
(
input
:
WithdrawRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getWithdrawRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
withdraw
Slashed
Amount
withdrawSlashedAmount
:
(
input
:
WithdrawSlashedAmountAsyncInput
,
)
=>
ReturnType
<
typeof
getWithdrawSlashedAmountInstructionAsync
>
&
SelfPlanAndSendFunctions
withdraw
Treasury
withdrawTreasury
:
(
input
:
WithdrawTreasuryAsyncInput
,
)
=>
ReturnType
<
typeof
getWithdrawTreasuryInstructionAsync
>
&
SelfPlanAndSendFunctions
withdraw
Unstaked
Deposits
withdrawUnstakedDeposits
:
(
input
:
WithdrawUnstakedDepositsAsyncInput
,
)
=>
ReturnType
<
typeof
getWithdrawUnstakedDepositsInstructionAsync
>
&
SelfPlanAndSendFunctions
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
add
Rewards
deposit
To
Farm
Vault
farms
Idl
Missing
Types
harvest
Reward
initialize
Farm
initialize
Farm
Delegated
initialize
Global
Config
initialize
Reward
initialize
User
refresh
Farm
refresh
User
State
reward
User
Once
set
Stake
Delegated
stake
transfer
Ownership
unstake
update
Farm
Admin
update
Farm
Config
update
Global
Config
update
Global
Config
Admin
withdraw
From
Farm
Vault
withdraw
Reward
withdraw
Slashed
Amount
withdraw
Treasury
withdraw
Unstaked
Deposits
Coda by Ian Macalinao
Loading...