Utils

This guide covers commonly used read methods for integration.

Factory-Level Lookups

Get Coin Bonding Curve Contract

function tokenToBondingCurve(address token) external view returns (address);

Get Coin Collateral Token

function tokenToCollateralToken(address token) external view returns (address);
  • address(0) means native collateral.

  • Non-zero means ERC20 collateral.

Check Migration Readiness

function readyForMigration(address token) external view returns (bool);

For stage boundaries in indexers and backend systems, use V2Migrated as the authoritative migration event.

Bonding Curve Reads

Use the token's bonding curve contract for curve-state reads.

Estimate Output with Fixed Input

Estimate Input with Fixed Output

Curve Progress

Curve Market Cap

Last updated