Skip to content
CenturionDEXDevelopers
TradeLiquidityProtocolsSDKsSecurity
CenturionDEX
ConceptsPreliminary conceptsWhat is CenturionDEX?Ecosystem participants
ProtocolsProtocols overview
CenturionDEX v3
TicksTicksEnabled ticksTick interval
Liquidity positionImpermanent lossMultiple liquidity positionsWorked examples
Protocol architectureOverviewState variablesFee accountingTrades
LP tokensOverviewMinting LP TokensAdjusting the Position: Part IAdjusting the Position: Part IIUpdating the PositionTick classBurning LP Tokens
CenturionDEX v2
Protocol overviewEcosystem participantsSmart contractsGlossary
Core conceptsTrading in a Centurion v2 poolIncorporating trading feesProviding liquidityStarting the poolBurning LP tokensDistributing feesDEX AggregatorsWorked examplesFlash swapsOracles
Advanced topicsPricingUnderstanding returnsSecurityMath
Permit2Overview
ConceptsAllowance TransferSignature Transfer
Protocol feeCenturion protocol fees
ConceptsProtocol fee configuration
GuidesGet startedReading asset balancesBest practices
GlossaryResources
Contracts
v3Overview
GuidesArchitecture overviewBuild a swap interfaceTesting guideLocal environment
SwapsSingle swapsMultihop swaps
Providing liquiditySetupMint positionIncrease liquidityDecrease liquidityCollect feesFull contract
Flash integrationsInheritance & constructorsCalling flashFlash callbackFinal contract
License modificationsLiquidity mining
ReferenceOverviewError codesDeployments
GovernanceOverviewGuide to votingAdversarial circumstances
CoreCenturionV3FactoryCenturionV3PoolCenturionV3PoolDeployer
InterfacesIERC20MinimalICenturionV3FactoryICenturionV3PoolICenturionV3PoolDeployer
LibrariesBitMathFixedPoint128FixedPoint96FullMathLiquidityMathOraclePositionSafeCastSqrtPriceMathSwapMathTickTickBitmapTickMathUnsafeMath
PeripheryNonfungiblePositionManagerSwapRouterV3Migrator
LensQuoterQuoterV2TickLens
LibrariesCallbackValidationLiquidityAmountsOracleLibraryPathPoolAddressTransferHelper
StakerDesignCenturionV3Staker
v2Overview
Guides
Smart contract integrationQuick startTradingProviding liquidityBuilding an oracleUsing flash swapsGetting pair addressesMeta transactions
Interface integrationUsing the APICustom linkingiFrame integration
Reference
Smart contractsFactoryPairPair ERC-20LibraryRouter01Router02Common errorsDeployment addresses
APIOverviewEntitiesQueries
Governance
Permit2OverviewAllowance transferSignature transfer
Universal RouterOverviewTechnical reference
Liquidity Providing
Adding LiquidityImport v2 positionsWarnings when adding liquidityAdd to an existing positionFull-range positionsCreate a v2 positionCreate a v3 positionMigrate from v2 to v3
Removing LiquidityRemove from v2Remove from v3Troubleshooting removalWCTN vs CTN withdrawal
Collecting FeesCTN RewardsLP feesFee tiersCollect fees on v3
Protocol FeeDeploymentsFee setting rationale
GuidesGetting startedBest practicesRead asset balance
Technical referenceDeployerResourceManagerTokenJarFirepitV3FeeAdapter
The CompactResources
ReferenceResource locksAllocatorsArbitersCompacts CIP-712Core interfacesPeriphery contracts
SDKs
v3Overview
GuidesBackgroundLocal developmentWeb3 basics
SwapsQuotingTradingRouting
LiquidityPosition dataMinting positionFetching positionsModifying positionCollecting feesSwap and add liquidity
AdvancedIntroductionPool dataActive liquidityPrice oracleRange orders
ReferenceOverview
ClassesPoolPositionRouteTradeSwapRouterSwapQuoterNonfungiblePositionManagerStakerTickMathTickListSqrtPriceMathFullMathLiquidityMathMulticall
v2Overview
GuidesQuick startFetching dataPricingTradingGetting pair addresses
ReferenceGetting startedPairRouteTradeOther exports
CoreOverview
ReferenceOverview
ClassesCurrencyAmountEtherFractionNativeCurrencyPercentPriceToken
EnumsChainIdRoundingTradeType
web3-reactOverviewConnectorsConnect walletSwitch chains
APIsOverview
SubgraphOverview
GuidesUsing subgraphsv2 query examplesv3 query examplesCommon queries
Concepts
v2EntitiesQueries
v3EntitiesQueries
Subgraph developmentIntroductionAll entitiesEventsSubgraph configsLinks & resources
Support
Centurion LabsOverviewOfficial linksTerms of servicePrivacy policyWhat are Centurion Labs' fees?Trademark guidelinesForking guidelines
Security resources
LLMsAI CodingOverview

FixedPoint96

Last modified: June 13, 2026

A library for handling binary fixed point numbers, see https://en.wikipedia.org/wiki/Q_(number_format)

Used in SqrtPriceMath.sol

FixedPoint128FullMath

Protocol

  • v3 Contracts
  • v2 Contracts

Developers

  • SDK v3
  • API

Resources

  • GitHub
  • Centurion Network

©2026 Centurion Labs