meal_curve
may change things: you confirm before it runsMeal Curve on Arc: buy or sell an Agent Meal NFT against a linear bonding curve (contract 0x74a442c1b9c3d4f47cc4d6f77abd0f6f60dafdc6). Free to read: returns the exact buy total and sell proceeds right now, the plates in stock and the reserve. Trading is on chain from your own wallet: buy(uint256 tokenId, uint256 maxTotal) payable with value = the quoted total (tokenId 0 = newest plate); sell(uint256 tokenId, uint256 minOut) after approve(curve, tokenId) on the Agent Meal 0xefa92e34a2adef2898abe482dede3a0161372244; withdraw(address to) for proceeds and change. Pass the EXACT quote (no slippage room). 2.5% fee to the APEX revenue split, no tip; a sale needs reserve.
Input schema
{
"type": "object",
"properties": {
"wallet": {
"type": "string",
"description": "optional 0x wallet: also return what the curve owes it"
}
}
}