Skip to main content

index/interfaces/PoolDetailsData.md

Pool details data from GalaChain - contains complete bonding curve pool state

Properties​

PropertyTypeDescription
basePricestringBase price for the token
currentSupply?stringCurrent supply (computed: maxSupply - sellingTokenQuantity, preserves full precision)
eulerstringEuler constant
exponentFactorstringExponent factor for bonding curve
hasReverseBondingCurveFeebooleanBoolean flag indicating if reverse bonding curve fees are non-zero
isGraduatedbooleanBoolean flag indicating if the pool has graduated (saleStatus === 'Completed')
maxSupplystringMaximum token supply
nativeTokenTokenInfoNative token information (GALA)
nativeTokenQuantitystringCurrent native token quantity in the vault
reverseBondingCurveConfiguration?ReverseBondingCurveConfigurationReverse bonding curve configuration (nested, as returned by GalaChain FetchSaleDetails)
reverseBondingCurveMaxFeeFactor?numberNormalized max fee factor as number (0.5 = 50%) - used for sell operations only
reverseBondingCurveMaxFeePortionstringReverse bonding curve maximum fee portion (flattened, coalesced to "0" if null)
reverseBondingCurveMinFeeFactor?numberNormalized min fee factor as number (0.5 = 50%) - used for sell operations only
reverseBondingCurveMinFeePortionstringReverse bonding curve minimum fee portion (flattened, coalesced to "0" if null)
reverseBondingCurveNetFeeFactor?numberNormalized net fee factor as number (max - min) - convenience field for calculations
saleOwnerstringSale owner address
saleStartTime?numberUnix timestamp (seconds) when the sale is scheduled to start (0 or absent if already started)
saleStatusstringCurrent sale status
sellingTokenTokenInfoSelling token information
sellingTokenQuantitystringCurrent selling token quantity
vaultAddressstringVault address