BTB Finance for agents

Protocols / Lending

Euler V2

Isolated lending markets where each market is an ERC4626 vault with its own collateral list, oracle and rates. An agent can deposit into a vault to earn interest, or post collateral and borrow through the Ethereum Vault Connector (EVC).

On-chainEVM15 contractsWebsite · Docs

get_protocol({ "protocol": "euler-v2" })

Risks an agent should know

What an agent can do

supplyDeposit an asset into a market vault to earn interest
approve the asset to the vault, then vault.deposit(amount, receiver); the caller receives vault shares
withdrawWithdraw supplied assets
vault.withdraw(amount, receiver, owner) or vault.redeem(shares, receiver, owner); reverts if the account would be unhealthy
borrowBorrow an asset against collateral vault shares
in one EVC.batch: enableController(account, borrowVault), enableCollateral(account, collateralVault), then borrowVault.borrow(amount, receiver). Deposit collateral into the collateral vault first. Check health with the AccountLens before borrowing.
repayRepay debt in a market
approve the asset to the vault, then vault.repay(amount, account). Repaying the full debt with the debtOf amount clears the debt.
toggle-collateralUse or stop using a vault's shares as collateral
EVC.enableCollateral(account, vault) or EVC.disableCollateral(account, vault)
check-positionRead collateral, debt and health for an account
AccountLens.getAccountEnabledVaultsInfo(evc, account) on Ethereum, or getAccountLiquidityInfo for the health figures
find-marketsList market vaults on a chain
eVaultFactory.getProxyListLength() then getProxyListSlice(start, end); read VaultLens.getVaultInfoFull(vault) for each market

Contracts

ethereum · chain id 1

ContractAddressKey functionsTry
Ethereum Vault Connector (EVC)
other
0x0C9a3dd6b8F28529d72d7f9cE918D493519EE383
source
writebatch((address,address,uint256,bytes)[])
writecall(address,address,uint256,bytes)
writeenableController(address,address)
writeenableCollateral(address,address)
writedisableCollateral(address,address)
writedisableController(address)
writesetAccountOperator(address,address,bool)
readgetControllers(address)
+1 more via get_protocol
Full ABI
eVaultFactory
factory
0x29a56a1b8214D9Cf7c5561811750D5cBDb45CC8e
source
writecreateProxy(address,bool,bytes)
readgetProxyListLength()
readgetProxyListSlice(uint256,uint256)
readisProxy(address)
readgetProxyConfig(address)
Full ABI
eVault implementation (template, not a market)
vault
0x8Ff1C814719096b61aBf00Bb46EAd0c9A529Dd7D
source
writedeposit(uint256,address)
writewithdraw(uint256,address,address)
writeredeem(uint256,address,address)
writeborrow(uint256,address)
writerepay(uint256,address)
writeliquidate(address,address,uint256,uint256)
readdebtOf(address)
readmaxWithdraw(address)
+5 more via get_protocol
Full ABI
AccountLens
other
0x2C5C13e4600AAbf77c1FdaA7b63d2D654DdFf7C5
source
readgetAccountEnabledVaultsInfo(address,address)
readgetAccountLiquidityInfo(address,address)
Full ABI
VaultLens
other
0x4A7Bc3bf4db4dD6eEE1b2c27A7C9e35A6fD14bDE
source
readgetVaultInfoFull(address)
readgetVaultInfoDynamic(address)
Full ABI

base · chain id 8453

ContractAddressKey functionsTry
Ethereum Vault Connector (EVC)
other
0x5301c7dD20bD945D2013b48ed0DEE3A284ca8989
source
writebatch((address,address,uint256,bytes)[])
writeenableController(address,address)
writeenableCollateral(address,address)
Full ABI
eVaultFactory
factory
0x7F321498A801A191a93C840750ed637149dDf8D0
source
readgetProxyListSlice(uint256,uint256)
readisProxy(address)
Full ABI

arbitrum · chain id 42161

ContractAddressKey functionsTry
Ethereum Vault Connector (EVC)
other
0x6302ef0F34100CDDFb5489fbcB6eE1AA95CD1066
source
writebatch((address,address,uint256,bytes)[])
writeenableController(address,address)
writeenableCollateral(address,address)
Full ABI
eVaultFactory
factory
0x78Df1CF5bf06a7f27f2ACc580B934238C1b80D50
source
readgetProxyListSlice(uint256,uint256)
readisProxy(address)
Full ABI

avalanche · chain id 43114

ContractAddressKey functionsTry
Ethereum Vault Connector (EVC)
other
0xddcbe30A761Edd2e19bba930A977475265F36Fa1
source
writebatch((address,address,uint256,bytes)[])
writeenableController(address,address)
writeenableCollateral(address,address)
Full ABI
eVaultFactory
factory
0xaf4B4c18B17F6a2B32F6c398a3910bdCD7f26181
source
readgetProxyListSlice(uint256,uint256)
Full ABI

hyperevm · chain id 999

ContractAddressKey functionsTry
Ethereum Vault Connector (EVC)
other
0xceAA7cdCD7dDBee8601127a9Abb17A974d613db4
source
writebatch((address,address,uint256,bytes)[])
Full ABI
eVaultFactory
factory
0xcF5552580fD364cdBBFcB5Ae345f75674c59273A
source
readgetProxyListSlice(uint256,uint256)
Full ABI

monad · chain id 143

ContractAddressKey functionsTry
Ethereum Vault Connector (EVC)
other
0x7a9324E8f270413fa2E458f5831226d99C7477CD
source
writebatch((address,address,uint256,bytes)[])
Full ABI
eVaultFactory
factory
0xba4Dd672062dE8FeeDb665DD4410658864483f1E
source
readgetProxyListSlice(uint256,uint256)
Full ABI

Notes

EVC and eVaultFactory addresses come from Euler's official euler-interfaces repo (addresses/<chainId>/CoreAddresses.json). The AccountLens and VaultLens addresses come from addresses/1/LensAddresses.json. The Ethereum, Base and Arbitrum factories, and the EVC on Ethereum, Base, Arbitrum and Avalanche, were checked against Sourcify ABIs. The Avalanche factory, and the HyperEVM and Monad contracts, have code on chain but no verified ABI on Sourcify, so their function lists were not checked. Individual market vault addresses are not listed here; read them from the factory with getProxyListSlice. The eVault function list comes from the verified implementation ABI on Ethereum. DefiLlama lists more chains (Sonic, Unichain, BNB, Linea, Plasma, Berachain, Mantle and others) that are not covered here.

Sources

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