{"version":"1","deployed":false,"chainId":9,"rpc":"https://rpc.quai.network/cyprus1","vaultFactory":null,"tools":[{"name":"manifest","method":"GET","path":"/api/agent/manifest","description":"Tool list, contract addresses and rules.","params":{}},{"name":"vault","method":"GET","path":"/api/agent/vault/:addr","description":"Read a vault's live state, holdings and P&L.","params":{"addr":"address (path param)"}},{"name":"quote","method":"GET","path":"/api/agent/quote","description":"Curve or pool quote for a token amount.","params":{"token":"address","side":"\"buy\"|\"sell\"","amountWei":"string (wei)"}},{"name":"buy","method":"POST","path":"/api/agent/build/buy","description":"Build a bonding-curve buy.","params":{"vault":"address","token":"address","amountInWei":"string (wei)","minTokensOutWei":"string (wei, optional)"}},{"name":"sell","method":"POST","path":"/api/agent/build/sell","description":"Build an approve+sell on the bonding curve.","params":{"vault":"address","token":"address","tokensInWei":"string (wei)","minQuaiOutWei":"string (wei, optional)"}},{"name":"launch","method":"POST","path":"/api/agent/build/launch","description":"Build a token launch (creator = the vault).","params":{"vault":"address","name":"string","symbol":"string","metadataHash":"bytes32 (optional)","creatorAllocBps":"number (optional)"}},{"name":"swap","method":"POST","path":"/api/agent/build/swap","description":"Build a HartiiSwap swap (native QUAI or token in/out).","params":{"vault":"address","tokenIn":"address","tokenOut":"address","amountInWei":"string (wei)","minAmountOutWei":"string (wei)","path":"address[] (optional, defaults to [tokenIn, tokenOut])"}},{"name":"addLiquidity","method":"POST","path":"/api/agent/build/addLiquidity","description":"Build an approve+addLiquidityETH.","params":{"vault":"address","token":"address","amountTokenDesiredWei":"string (wei)","amountQuaiDesiredWei":"string (wei)"}},{"name":"removeLiquidity","method":"POST","path":"/api/agent/build/removeLiquidity","description":"Build an approve+removeLiquidityETH.","params":{"vault":"address","token":"address","liquidityWei":"string (wei)","minTokenOutWei":"string (wei, optional)","minQuaiOutWei":"string (wei, optional)"}},{"name":"launchNft","method":"POST","path":"/api/agent/build/launchNft","description":"Build a Gallery NFT collection deploy, owned by the vault.","params":{"vault":"address","name":"string","symbol":"string","mintPriceWei":"string (wei)","maxSupply":"number","baseURI":"string"}},{"name":"fishCast","method":"POST","path":"/api/agent/fish/cast","description":"Draw one token from the eligible pond and build a small buy.","params":{"vault":"address"}},{"name":"flyRoute","method":"POST","path":"/api/agent/fly/route","description":"Draw an ordered route of tokens and build the first buy.","params":{"vault":"address","stops":"number 2-6 (optional, default 3)"}},{"name":"flyNext","method":"POST","path":"/api/agent/fly/next","description":"Continue a route: sell the current stop, buy the next one.","params":{"vault":"address","routeId":"string"}}],"caps":{"defaultMaxPerTxWei":"5000000000000000000","defaultMaxPerDayWei":"50000000000000000000","warnAboveMaxPerTxWei":"25000000000000000000","warnAboveMaxPerDayWei":"250000000000000000000"},"targets":{"tokenFactory":"0x001AF1BbB40807fcb99C9Eeaa49dF5E91e7Efd42","router":"0x006B3450cca780066A3A8aA8b508103d25315Ea4","wquai":"0x006C3e2AaAE5DB1bCd11A1a097cE572312EADdBB"},"forbiddenSelectors":["transfer(address,uint256)","transferFrom(address,address,uint256)"],"revertReasons":["not agent","paused","target","selector","recipient","spender","per-tx cap","daily cap","transfer forbidden","caps","not owner","initialized","path","hop"],"games":{"randomness":"draw = uint256(keccak256(blockHash ‖ vaultAddress ‖ nonce)) mod totalWeight, tight byte concatenation (32-byte block hash + 20-byte vault address + 32-byte big-endian nonce, 84 bytes, hashed once). The block number is always returned so anyone can recompute the draw from public data alone.","eligibility":{"minHolders":3,"minLiquidityWei":"50000000000000000000","statuses":["active","graduated"]},"weightTiers":[{"belowQuai":200,"weight":5},{"belowQuai":1000,"weight":3},{"belowQuai":5000,"weight":2},{"belowQuai":null,"weight":1}],"fishDefaultCastWei":"1000000000000000000","flyStopsRange":[2,6]}}