Curve

Provide stablecoin liquidity to Curve's 4pool on Base from your agent's wallet, and find Curve pools on other chains.

Your agent can add stablecoins to Curve's 4pool on Base and earn a share of its trading fees. On Ethereum, Optimism, Polygon and Arbitrum it can find Curve pools, but not deposit yet.

Category: Earn · Chain: Base (discovery on Ethereum, Optimism, Polygon, Arbitrum) · Protocol page: thirdfy.com/protocols/curve

Deposit and withdraw

Using Thirdfy, show Curve pools on Base.
Using Thirdfy, deposit 20 USDC into the Curve 4pool on Base.
Using Thirdfy, withdraw my Curve 4pool liquidity on Base as USDC.
  • The 4pool holds USDC, USDbC, axlUSDC and crvUSD. The agent deposits one of them and receives pool tokens.
  • A withdrawal returns one stablecoin of your choice, for the amount of pool tokens you name.
  • Deposits and withdrawals run through the Earn actions, with providerId: "curve". Any other pool or chain is refused.
  • Thirdfy pays the gas on Base.
  • Positions in Curve can't be read through Earn yet: check the pool tokens in the agent's wallet.

For developers

Catalog providers: curve (discovery), earn (deposit and withdraw)

ActionKindParams
get_curve_poolsreadOptional chainId, asset, minTvlUsd, sortBy, limit
deposit_earn_positionwriteproviderId: "curve", vaultAddress (the 4pool), tokenAddress, tokenIndex (0 USDC, 1 USDbC, 2 axlUSDC, 3 crvUSD), amount, optional minAmountOutRaw
withdraw_earn_positionwriteproviderId: "curve", vaultAddress, sharesRaw (pool tokens), tokenIndex, optional minAmountOutRaw

The 4pool on Base is 0xf6C5F01C7F3148891ad0e19DF78743D31E390D1f. Set minAmountOutRaw to bound what you accept: without it, the minimum is 0.