Build on crossr
@crossr/shared
- Chains:
CHAINS,chainMeta(id)(viem chain, LayerZero eid, Uniswap v4 addresses, explorer),SOLANA_CHAINS,isSolanaChain,chainLabel/chainColor/nativeCurrency/tokenDecimalsfor either kind,chainIdByEid,rpcUrl,solanaRpcUrl,explorerTx. - Manifest:
hashManifest,encodeManifest,validateManifest,NATIVE,TOTAL_SUPPLY,MAX_LEGS. - Curve:
quoteBuy,quoteSell,quoteForTokens,spotPrice,sellable,progress,reservedTokensover aCurveStatethat is exactly the on-chainCurvestruct. - LayerZero:
lzReceiveOptions(gas, value),RELAY_LEG_GAS,BRIDGE_RECEIVE_GAS. Deployments:deployment(chainId),deployedChainIds(). ABIs:launchpadAbi,launchTokenAbi,tokenBridgeAbi,launchRelayAbi,feeEscrowAbi,liquidityLockerAbi,launchHookAbi.