Coda by Ian Macalinao
    Preparing search index...

    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
    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