Coda by Ian Macalinao
Preparing search index...
@solana-programs/meteora-damm-v2
CpAmmPluginInstructions
Type Alias CpAmmPluginInstructions
type
CpAmmPluginInstructions
=
{
addLiquidity
:
(
input
:
AddLiquidityAsyncInput
,
)
=>
ReturnType
<
typeof
getAddLiquidityInstructionAsync
>
&
SelfPlanAndSendFunctions
;
claimPartnerFee
:
(
input
:
ClaimPartnerFeeAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimPartnerFeeInstructionAsync
>
&
SelfPlanAndSendFunctions
;
claimPositionFee
:
(
input
:
ClaimPositionFeeAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimPositionFeeInstructionAsync
>
&
SelfPlanAndSendFunctions
;
claimProtocolFee
:
(
input
:
ClaimProtocolFeeAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimProtocolFeeInstructionAsync
>
&
SelfPlanAndSendFunctions
;
claimReward
:
(
input
:
ClaimRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
;
closeClaimFeeOperator
:
(
input
:
CloseClaimFeeOperatorAsyncInput
,
)
=>
ReturnType
<
typeof
getCloseClaimFeeOperatorInstructionAsync
>
&
SelfPlanAndSendFunctions
;
closeConfig
:
(
input
:
CloseConfigAsyncInput
,
)
=>
ReturnType
<
typeof
getCloseConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
;
closePosition
:
(
input
:
ClosePositionAsyncInput
,
)
=>
ReturnType
<
typeof
getClosePositionInstructionAsync
>
&
SelfPlanAndSendFunctions
;
closeTokenBadge
:
(
input
:
CloseTokenBadgeAsyncInput
,
)
=>
ReturnType
<
typeof
getCloseTokenBadgeInstructionAsync
>
&
SelfPlanAndSendFunctions
;
createClaimFeeOperator
:
(
input
:
CreateClaimFeeOperatorAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateClaimFeeOperatorInstructionAsync
>
&
SelfPlanAndSendFunctions
;
createConfig
:
(
input
:
CreateConfigAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
;
createDynamicConfig
:
(
input
:
CreateDynamicConfigAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateDynamicConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
;
createPosition
:
(
input
:
MakeOptional
<
CreatePositionAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreatePositionInstructionAsync
>
&
SelfPlanAndSendFunctions
;
createTokenBadge
:
(
input
:
CreateTokenBadgeAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateTokenBadgeInstructionAsync
>
&
SelfPlanAndSendFunctions
;
fundReward
:
(
input
:
FundRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getFundRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
;
initializeCustomizablePool
:
(
input
:
MakeOptional
<
InitializeCustomizablePoolAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializeCustomizablePoolInstructionAsync
>
&
SelfPlanAndSendFunctions
;
initializePool
:
(
input
:
MakeOptional
<
InitializePoolAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializePoolInstructionAsync
>
&
SelfPlanAndSendFunctions
;
initializePoolWithDynamicConfig
:
(
input
:
MakeOptional
<
InitializePoolWithDynamicConfigAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializePoolWithDynamicConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
;
initializeReward
:
(
input
:
MakeOptional
<
InitializeRewardAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializeRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
;
lockPosition
:
(
input
:
MakeOptional
<
LockPositionAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getLockPositionInstructionAsync
>
&
SelfPlanAndSendFunctions
;
permanentLockPosition
:
(
input
:
PermanentLockPositionAsyncInput
,
)
=>
ReturnType
<
typeof
getPermanentLockPositionInstructionAsync
>
&
SelfPlanAndSendFunctions
;
refreshVesting
:
(
input
:
RefreshVestingInput
,
)
=>
ReturnType
<
typeof
getRefreshVestingInstruction
>
&
SelfPlanAndSendFunctions
;
removeAllLiquidity
:
(
input
:
RemoveAllLiquidityAsyncInput
,
)
=>
ReturnType
<
typeof
getRemoveAllLiquidityInstructionAsync
>
&
SelfPlanAndSendFunctions
;
removeLiquidity
:
(
input
:
RemoveLiquidityAsyncInput
,
)
=>
ReturnType
<
typeof
getRemoveLiquidityInstructionAsync
>
&
SelfPlanAndSendFunctions
;
setPoolStatus
:
(
input
:
SetPoolStatusAsyncInput
,
)
=>
ReturnType
<
typeof
getSetPoolStatusInstructionAsync
>
&
SelfPlanAndSendFunctions
;
splitPosition
:
(
input
:
SplitPositionAsyncInput
,
)
=>
ReturnType
<
typeof
getSplitPositionInstructionAsync
>
&
SelfPlanAndSendFunctions
;
splitPosition2
:
(
input
:
SplitPosition2AsyncInput
,
)
=>
ReturnType
<
typeof
getSplitPosition2InstructionAsync
>
&
SelfPlanAndSendFunctions
;
swap
:
(
input
:
MakeOptional
<
SwapAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getSwapInstructionAsync
>
&
SelfPlanAndSendFunctions
;
swap2
:
(
input
:
MakeOptional
<
Swap2AsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getSwap2InstructionAsync
>
&
SelfPlanAndSendFunctions
;
updateRewardDuration
:
(
input
:
UpdateRewardDurationAsyncInput
,
)
=>
ReturnType
<
typeof
getUpdateRewardDurationInstructionAsync
>
&
SelfPlanAndSendFunctions
;
updateRewardFunder
:
(
input
:
UpdateRewardFunderAsyncInput
,
)
=>
ReturnType
<
typeof
getUpdateRewardFunderInstructionAsync
>
&
SelfPlanAndSendFunctions
;
withdrawIneligibleReward
:
(
input
:
WithdrawIneligibleRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getWithdrawIneligibleRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
;
}
Index
Properties
add
Liquidity
claim
Partner
Fee
claim
Position
Fee
claim
Protocol
Fee
claim
Reward
close
Claim
Fee
Operator
close
Config
close
Position
close
Token
Badge
create
Claim
Fee
Operator
create
Config
create
Dynamic
Config
create
Position
create
Token
Badge
fund
Reward
initialize
Customizable
Pool
initialize
Pool
initialize
Pool
With
Dynamic
Config
initialize
Reward
lock
Position
permanent
Lock
Position
refresh
Vesting
remove
All
Liquidity
remove
Liquidity
set
Pool
Status
split
Position
split
Position2
swap
swap2
update
Reward
Duration
update
Reward
Funder
withdraw
Ineligible
Reward
Properties
add
Liquidity
addLiquidity
:
(
input
:
AddLiquidityAsyncInput
,
)
=>
ReturnType
<
typeof
getAddLiquidityInstructionAsync
>
&
SelfPlanAndSendFunctions
claim
Partner
Fee
claimPartnerFee
:
(
input
:
ClaimPartnerFeeAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimPartnerFeeInstructionAsync
>
&
SelfPlanAndSendFunctions
claim
Position
Fee
claimPositionFee
:
(
input
:
ClaimPositionFeeAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimPositionFeeInstructionAsync
>
&
SelfPlanAndSendFunctions
claim
Protocol
Fee
claimProtocolFee
:
(
input
:
ClaimProtocolFeeAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimProtocolFeeInstructionAsync
>
&
SelfPlanAndSendFunctions
claim
Reward
claimReward
:
(
input
:
ClaimRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getClaimRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
close
Claim
Fee
Operator
closeClaimFeeOperator
:
(
input
:
CloseClaimFeeOperatorAsyncInput
,
)
=>
ReturnType
<
typeof
getCloseClaimFeeOperatorInstructionAsync
>
&
SelfPlanAndSendFunctions
close
Config
closeConfig
:
(
input
:
CloseConfigAsyncInput
,
)
=>
ReturnType
<
typeof
getCloseConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
close
Position
closePosition
:
(
input
:
ClosePositionAsyncInput
,
)
=>
ReturnType
<
typeof
getClosePositionInstructionAsync
>
&
SelfPlanAndSendFunctions
close
Token
Badge
closeTokenBadge
:
(
input
:
CloseTokenBadgeAsyncInput
,
)
=>
ReturnType
<
typeof
getCloseTokenBadgeInstructionAsync
>
&
SelfPlanAndSendFunctions
create
Claim
Fee
Operator
createClaimFeeOperator
:
(
input
:
CreateClaimFeeOperatorAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateClaimFeeOperatorInstructionAsync
>
&
SelfPlanAndSendFunctions
create
Config
createConfig
:
(
input
:
CreateConfigAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
create
Dynamic
Config
createDynamicConfig
:
(
input
:
CreateDynamicConfigAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateDynamicConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
create
Position
createPosition
:
(
input
:
MakeOptional
<
CreatePositionAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getCreatePositionInstructionAsync
>
&
SelfPlanAndSendFunctions
create
Token
Badge
createTokenBadge
:
(
input
:
CreateTokenBadgeAsyncInput
,
)
=>
ReturnType
<
typeof
getCreateTokenBadgeInstructionAsync
>
&
SelfPlanAndSendFunctions
fund
Reward
fundReward
:
(
input
:
FundRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getFundRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Customizable
Pool
initializeCustomizablePool
:
(
input
:
MakeOptional
<
InitializeCustomizablePoolAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializeCustomizablePoolInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Pool
initializePool
:
(
input
:
MakeOptional
<
InitializePoolAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializePoolInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Pool
With
Dynamic
Config
initializePoolWithDynamicConfig
:
(
input
:
MakeOptional
<
InitializePoolWithDynamicConfigAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializePoolWithDynamicConfigInstructionAsync
>
&
SelfPlanAndSendFunctions
initialize
Reward
initializeReward
:
(
input
:
MakeOptional
<
InitializeRewardAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getInitializeRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
lock
Position
lockPosition
:
(
input
:
MakeOptional
<
LockPositionAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getLockPositionInstructionAsync
>
&
SelfPlanAndSendFunctions
permanent
Lock
Position
permanentLockPosition
:
(
input
:
PermanentLockPositionAsyncInput
,
)
=>
ReturnType
<
typeof
getPermanentLockPositionInstructionAsync
>
&
SelfPlanAndSendFunctions
refresh
Vesting
refreshVesting
:
(
input
:
RefreshVestingInput
,
)
=>
ReturnType
<
typeof
getRefreshVestingInstruction
>
&
SelfPlanAndSendFunctions
remove
All
Liquidity
removeAllLiquidity
:
(
input
:
RemoveAllLiquidityAsyncInput
,
)
=>
ReturnType
<
typeof
getRemoveAllLiquidityInstructionAsync
>
&
SelfPlanAndSendFunctions
remove
Liquidity
removeLiquidity
:
(
input
:
RemoveLiquidityAsyncInput
,
)
=>
ReturnType
<
typeof
getRemoveLiquidityInstructionAsync
>
&
SelfPlanAndSendFunctions
set
Pool
Status
setPoolStatus
:
(
input
:
SetPoolStatusAsyncInput
,
)
=>
ReturnType
<
typeof
getSetPoolStatusInstructionAsync
>
&
SelfPlanAndSendFunctions
split
Position
splitPosition
:
(
input
:
SplitPositionAsyncInput
,
)
=>
ReturnType
<
typeof
getSplitPositionInstructionAsync
>
&
SelfPlanAndSendFunctions
split
Position2
splitPosition2
:
(
input
:
SplitPosition2AsyncInput
,
)
=>
ReturnType
<
typeof
getSplitPosition2InstructionAsync
>
&
SelfPlanAndSendFunctions
swap
swap
:
(
input
:
MakeOptional
<
SwapAsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getSwapInstructionAsync
>
&
SelfPlanAndSendFunctions
swap2
swap2
:
(
input
:
MakeOptional
<
Swap2AsyncInput
,
"payer"
>
,
)
=>
ReturnType
<
typeof
getSwap2InstructionAsync
>
&
SelfPlanAndSendFunctions
update
Reward
Duration
updateRewardDuration
:
(
input
:
UpdateRewardDurationAsyncInput
,
)
=>
ReturnType
<
typeof
getUpdateRewardDurationInstructionAsync
>
&
SelfPlanAndSendFunctions
update
Reward
Funder
updateRewardFunder
:
(
input
:
UpdateRewardFunderAsyncInput
,
)
=>
ReturnType
<
typeof
getUpdateRewardFunderInstructionAsync
>
&
SelfPlanAndSendFunctions
withdraw
Ineligible
Reward
withdrawIneligibleReward
:
(
input
:
WithdrawIneligibleRewardAsyncInput
,
)
=>
ReturnType
<
typeof
getWithdrawIneligibleRewardInstructionAsync
>
&
SelfPlanAndSendFunctions
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
add
Liquidity
claim
Partner
Fee
claim
Position
Fee
claim
Protocol
Fee
claim
Reward
close
Claim
Fee
Operator
close
Config
close
Position
close
Token
Badge
create
Claim
Fee
Operator
create
Config
create
Dynamic
Config
create
Position
create
Token
Badge
fund
Reward
initialize
Customizable
Pool
initialize
Pool
initialize
Pool
With
Dynamic
Config
initialize
Reward
lock
Position
permanent
Lock
Position
refresh
Vesting
remove
All
Liquidity
remove
Liquidity
set
Pool
Status
split
Position
split
Position2
swap
swap2
update
Reward
Duration
update
Reward
Funder
withdraw
Ineligible
Reward
Coda by Ian Macalinao
Loading...