BTB Finance for agents

Protocols / Yield Aggregator

Harvest Finance

Yield vaults run by Harvest. Autopilot vaults on Base are ERC-4626 vaults: deposit USDC, WETH, EURC or cbBTC, and Harvest allocates across yield markets. Withdraw or redeem shares at any time, subject to available liquidity.

On-chainEVM4 contractsWebsite · Docs

get_protocol({ "protocol": "harvest-finance" })

Risks an agent should know

What an agent can do

depositDeposit an asset into an Autopilot vault
approve the vault for asset() by the amount, then deposit(amount, you). Receive vault shares (balanceOf).
withdrawWithdraw by amount or exit fully
withdraw(assets, you, you) for an amount, or redeem(shares, you, you) for all shares (shares = balanceOf(you)). Check maxWithdraw(you) or maxRedeem(you) first.
check-positionValue a position in the asset
convertToAssets(balanceOf(you)) gives the underlying amount, using the vault's own decimals for the shares.
previewPreview a deposit or exit before sending
previewDeposit(assets), previewRedeem(shares) or previewWithdraw(assets) return the expected amounts at the current price.

Contracts

base · chain id 8453

ContractAddressKey functionsTry
Autopilot USDC vault (bAutopilot_USDC)
vault
0x0d877Dc7C8Fa3aD980DfDb18B48eC9F8768359C4
source
writedeposit(uint256,address)
writemint(uint256,address)
writewithdraw(uint256,address,address)
writeredeem(uint256,address,address)
readasset()
readtotalAssets()
readconvertToAssets(uint256)
readconvertToShares(uint256)
+7 more via get_protocol
Full ABI
Autopilot WETH vault (bAutopilot_wETH)
vault
0x7872893e528Fe2c0829e405960db5B742112aa97
source
writedeposit(uint256,address)
writemint(uint256,address)
writewithdraw(uint256,address,address)
writeredeem(uint256,address,address)
readasset()
readtotalAssets()
readconvertToAssets(uint256)
readconvertToShares(uint256)
+7 more via get_protocol
Full ABI
Autopilot EURC vault (bAutopilot_EURC)
vault
0x180493090667A35D8511Be743835dAD8715d33be
source
writedeposit(uint256,address)
writemint(uint256,address)
writewithdraw(uint256,address,address)
writeredeem(uint256,address,address)
readasset()
readtotalAssets()
readconvertToAssets(uint256)
readconvertToShares(uint256)
+7 more via get_protocol
Full ABI
Autopilot cbBTC vault (bAutopilot_cbBTC)
vault
0x31A421271414641cb5063B71594b642D2666dB6B
source
writedeposit(uint256,address)
writemint(uint256,address)
writewithdraw(uint256,address,address)
writeredeem(uint256,address,address)
readasset()
readtotalAssets()
readconvertToAssets(uint256)
readconvertToShares(uint256)
+7 more via get_protocol
Full ABI

APIs

Harvest vaults API
auth: api-key
https://api.harvest.finance/vaults
All Harvest vaults with APYs and TVL, used by the Autopilot app. Needs a key sent as the key query parameter (ask Harvest for one; it is not published here). The on-chain values (totalAssets, convertToAssets) do not need it.
Harvest pools and APY (internal)
auth: api-key
https://api-ui.harvest.finance/pools
Pools with APYs and TVL for the Harvest front end. Key required, as for /vaults.

Notes

Harvest's current product on this list is Autopilot: four ERC-4626 vaults on Base (USDC, WETH, EURC, cbBTC). Each vault address comes from the official harvestfi/harvest-autopilot-miniapp constants file, and each was checked on chain (the asset() call matches the token in that file, and the Sourcify ABI is ERC-4626). The largest vault is bAutopilot_USDC (about 680,000 USDC of assets at research time). There is no per-pool factory for Autopilot; each vault is a single contract. The original Harvest V1 vaults (Vault.sol, a Solidity 0.5.16 proxy created by VaultFactory.createVault, which is governance-only) are documented in the harvest-finance/harvest README on Ethereum (for example fUSDC 0xf0358e8c3CD5Fa238a29301d0bEa3D63A17bEdBE, fWETH 0xFE09e53A81Fe2808bc493ea64319109B5bAa573e). That README is older than the Autopilot product, so the V1 vaults are not listed as active. The V1 vault interface is deposit(uint256), withdraw(uint256 numberOfShares), getPricePerFullShare() and underlying(). Harvest's mainnet deployer, harvester and other operational addresses are in the same README. Autopilot chains: Base only in the sources used here, although DefiLlama lists Harvest on Ethereum, Arbitrum, Polygon and zkSync Era as well.

Sources

Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.