BTB Finance for agents

Protocols / Lending

Morpho

Permissionless lending: Morpho Blue is one immutable contract holding isolated variable-rate markets (one loan token, one collateral token, an oracle, an IRM and a fixed LLTV each); curated ERC-4626 vaults (Vault V1 'MetaMorpho' and Vault V2) spread deposits across markets. Agents can lend or borrow directly in a market, deposit into a vault, use Bundles for one-transaction flows, and read everything via the public Morpho Read API.

On-chain + APIEVM51 contractsWebsite · Docs

get_protocol({ "protocol": "morpho" })

Risks an agent should know

What an agent can do

find markets / vaultsDiscover markets and vaults (they are not listed one by one here)
Read API GET https://api.morpho.org/v0/blue/markets?chain_id=1 or /v0/vaults-v2 (listed vaults). On-chain: CreateMarket events on Morpho give marketParams; idToMarketParams(id) returns them; VaultV2Factory.isVaultV2(addr) / MetaMorpho factory isMetaMorpho(addr) verify a vault is genuine.
lend in a marketSupply the loan token to one Morpho Blue market
approve(Morpho, amount) on the loan token; Morpho.supply(marketParams, amount, 0, you, 0x). Or BlueBundlesV1.blueBundlesV1Supply(...).
borrowBorrow against collateral in one market
approve(Morpho) on collateral; Morpho.supplyCollateral(marketParams, collAmount, you, 0x); then Morpho.borrow(marketParams, amount, 0, you, you). Keep LTV well under LLTV. One tx: BlueBundlesV1.blueBundlesV1SupplyCollateralAndBorrow with a maxLtv guard (needs Morpho authorization for the bundle, by setAuthorization or signedAuthorization).
repay and withdraw collateralClose a loan
approve(Morpho) on the loan token; Morpho.repay(marketParams, 0, position(id,you).borrowShares, you, 0x); Morpho.withdrawCollateral(marketParams, position.collateral, you, you).
deposit into a vaultEarn curated yield
Verify the vault with VaultV2Factory.isVaultV2 or isMetaMorpho; approve(vault, amount) on its asset(); vault.deposit(amount, you). Exit: vault.redeem(shares, you, you). Or VaultBundlesV1.vaultBundlesV1Deposit with a maxSharePriceE27 slippage guard.
exit an illiquid Vault V2Get funds out when the vault's liquidity is allocated
VaultExitBundlesV1.vaultExitBundlesV1ForceWithdrawVaultV2 (pays the forceDeallocate penalty) or vaultExitBundlesV1InKindRedemptionVaultV2 (take Blue supply positions in kind).
source extra liquidityBorrow more than a market currently holds
Check /v0/blue/markets/{id}/public-allocator-vaults, then BluePublicAllocator.reallocate(...) or pass reallocations to a BlueBundlesV1 entrypoint.

Contracts

ethereum · chain id 1

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton, variable-rate markets)
pool
0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb
source
writesupply((address,address,address,address,uint256),uint256,uint256,address,bytes)
writewithdraw((address,address,address,address,uint256),uint256,uint256,address,address)
writesupplyCollateral((address,address,address,address,uint256),uint256,address,bytes)
writeborrow((address,address,address,address,uint256),uint256,uint256,address,address)
writerepay((address,address,address,address,uint256),uint256,uint256,address,bytes)
writewithdrawCollateral((address,address,address,address,uint256),uint256,address,address)
readposition(bytes32,address)
readmarket(bytes32)
+7 more via get_protocol
Full ABI
AdaptiveCurveIrm (governance-approved interest rate model)
other
0x870aC11D48B15DB9a138Cf899d20F13F79Ba00BC
source
Full ABI
VaultV2Factory (Morpho Vault V2)
factory
0xA1D94F746dEfa1928926b84fB2596c06926C0405
source
writecreateVaultV2(address,address,bytes32)
readisVaultV2(address)
writedeposit(uint256,address)
writewithdraw(uint256,address,address)
writeredeem(uint256,address,address)
readpreviewRedeem(uint256)
readtotalAssets()
writeforceDeallocate(address,bytes,uint256,address)
Full ABI
MetaMorpho Factory V1.1 (Morpho Vault V1)
factory
0x1897A8997241C1cD4bD0698647e4EB7213535c24
source
writecreateMetaMorpho(address,uint256,address,string,string,bytes32)
readisMetaMorpho(address)
writedeposit(uint256,address)
writewithdraw(uint256,address,address)
writeredeem(uint256,address,address)
readmaxWithdraw(address)
readconvertToAssets(uint256)
Full ABI
MetaMorpho Factory [OLD] (Vault V1.0)
factory
0xA9c3D3a366466Fa809d1Ae982Fb2c46E5fC41101
source
readisMetaMorpho(address)
Full ABI
Blue Public Allocator (Vault V2)
other
0x00b8e1509398ED692C3F326CbAf1694F9A881e27
source
writereallocate(address,address,(address,address,address,address,uint256),address,(address,address,address,address,uint256),uint128,uint64)
writeallocateFromIdle(address,address,(address,address,address,address,uint256),uint128,uint64)
readvaultData(address)
readabsoluteCap(address,bytes32)
readcanPullFromMarket(address,bytes32)
Full ABI
BlueBundlesV1 (one-tx Morpho Blue actions)
router
0x38B0C12AB81976e9417D4ebfe2A34DB6DF22e6AD
source
writeblueBundlesV1Supply((address,address,address,address,uint256),uint256,(uint8,bytes),uint256,address,uint256)
writeblueBundlesV1SupplyCollateralAndBorrow((address,address,address,address,uint256),uint256,uint256,uint256,(uint8,bytes),((uint8,bytes32,bytes32),uint256,uint256),(address,address,(address,address,address,address,uint256),bool,address,(address,address,address,address,uint256),uint128,uint64)[],uint256,address,uint256)
writeblueBundlesV1RepayAndWithdrawCollateral((address,address,address,address,uint256),uint256,uint256,uint256,uint256,uint256,(uint8,bytes),((uint8,bytes32,bytes32),uint256,uint256),uint256,address,uint256)
writeblueBundlesV1Withdraw((address,address,address,address,uint256),uint256,uint256,((uint8,bytes32,bytes32),uint256,uint256),(address,address,(address,address,address,address,uint256),bool,address,(address,address,address,address,uint256),uint128,uint64)[],uint256,address,uint256)
writeblueBundlesV1MigrateBorrowPosition((address,address,address,address,uint256),(address,address,address,address,uint256),uint256,((uint8,bytes32,bytes32),uint256,uint256),(address,address,(address,address,address,address,uint256),bool,address,(address,address,address,address,uint256),uint128,uint64)[],uint256,address,uint256)
Full ABI
VaultBundlesV1 (one-tx vault deposit/withdraw/migrate)
router
0x02912516d49dE997db75B9D7858faAE59209650B
source
writevaultBundlesV1Deposit(address,uint256,uint256,(uint8,bytes),uint256,address,uint256)
writevaultBundlesV1Withdraw(address,uint256,uint256,(uint256,uint256,uint256,uint8,bytes32,bytes32),uint256,address,uint256)
writevaultBundlesV1Migrate(address,address,uint256,uint256,uint256,(uint256,uint256,uint256,uint8,bytes32,bytes32),uint256,address,uint256)
Full ABI
VaultExitBundlesV1 (exits from illiquid vaults)
router
0xaf85aF286637A033BE7d59ED8cC566afa3309B02
source
writevaultExitBundlesV1ForceWithdrawVaultV2(address,address,uint256,uint256,(uint256,uint256,uint256,uint8,bytes32,bytes32),uint256,address,uint256)
writevaultExitBundlesV1InKindRedemptionVaultV2(address,address,(address,address,address,address,uint256)[],uint256,(uint256,uint256,uint256,uint8,bytes32,bytes32),uint256)
writevaultExitBundlesV1InKindRedemptionVaultV1(address,(address,address,address,address,uint256)[],uint256,(uint256,uint256,uint256,uint8,bytes32,bytes32),uint256)
Full ABI
Bundler3 (DEPRECATED, replaced by Bundles)
router
0x6566194141eefa99Af43Bb5Aa71460Ca2Dc90245
source
Full ABI
EthereumGeneralAdapter1 (Bundler3 adapter, DEPRECATED)
other
0x4A6c312ec70E8747a587EE860a0353cd42Be0aE0
source
Full ABI
Midnight (Morpho Midnight fixed-rate, fixed-term order-book markets)
pool
0x471686c42792F93528B000beF54bC10E3aa2045f
source
Full ABI
MORPHO token (wrapped, transferable)
token · proxy
0x58D97B57BB95320F9a05dC918Aef65434969c2B2
source
readbalanceOf(address)
writetransfer(address,uint256)
writeapprove(address,uint256)
writedelegate(address)
readdelegatee(address)
readdelegatedVotingPower(address)
Full ABI
MORPHO wrapper (legacy MORPHO -> MORPHO 1:1)
other
0x9D03bb2092270648d7480049d0E58d2FcF0E5123
source
writedepositFor(address,uint256)
writewithdrawTo(address,uint256)
Full ABI

base · chain id 8453

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton) - same interface as the Ethereum entry
pool
0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb
source
Full ABI
AdaptiveCurveIrm
other
0x46415998764C29aB2a25CbeA6254146D50D22687
source
Full ABI
VaultV2Factory - same interface as the Ethereum entry
factory
0x4501125508079A99ebBebCE205DeC9593C2b5857
source
Full ABI
MetaMorpho Factory V1.1 - same interface as the Ethereum entry
factory
0xFf62A7c278C62eD665133147129245053Bbf5918
source
Full ABI
MetaMorpho Factory [OLD] (Vault V1.0)
factory
0xA9c3D3a366466Fa809d1Ae982Fb2c46E5fC41101
source
Full ABI
Blue Public Allocator (Vault V2) - same interface as the Ethereum entry
other
0xAED282B8aD9257BB1272e93aE63A32A53621e412
source
Full ABI
BlueBundlesV1 - same interface as the Ethereum entry
router
0x4D28D900e381eCE4B351302f1Abe588496793A2b
source
Full ABI
VaultBundlesV1 - same interface as the Ethereum entry
router
0x2B08A911f48dE25A7e305D910Afb5597aBE8ea7B
source
Full ABI
VaultExitBundlesV1 - same interface as the Ethereum entry
router
0xE52E169C342C096C4949ABb944DC9f30E3F5Ea84
source
Full ABI
Bundler3 (DEPRECATED, replaced by Bundles)
router
0x6BFd8137e702540E7A42B74178A4a49Ba43920C4
source
Full ABI
GeneralAdapter1 (Bundler3 adapter, DEPRECATED)
other
0xb98c948CFA24072e58935BC004a8A7b376AE746A
source
Full ABI
Midnight (fixed-rate markets)
pool
0xAdedD8ab6dE832766Fedf0FaC4992E5C4D3EA18A
source
Full ABI
MORPHO token (Base)
token · proxy
0xBAa5CC21fd487B8Fcc2F632f3F4E8D37262a0842
source
Full ABI

arbitrum · chain id 42161

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton; address differs from Ethereum/Base) - same interface as the Ethereum entry
pool
0x6c247b1F6182318877311737BaC0844bAa518F5e
source
Full ABI
VaultV2Factory - same interface as the Ethereum entry
factory
0x6b46fa3cc9EBF8aB230aBAc664E37F2966Bf7971
source
Full ABI
MetaMorpho Factory V1.1 - same interface as the Ethereum entry
factory
0x878988f5f561081deEa117717052164ea1Ef0c82
source
Full ABI
Blue Public Allocator (Vault V2) - same interface as the Ethereum entry
other
0x85b66Fe31e6788E5a6825EAe689f4c6c38AF3704
source
Full ABI
MORPHO token (Arbitrum)
token
0x40BD670A58238e6E230c430BBb5cE6ec0d40df48
source
Full ABI

optimism · chain id 10

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton; address differs from Ethereum/Base) - same interface as the Ethereum entry
pool
0xce95AfbB8EA029495c66020883F87aaE8864AF92
source
Full ABI
VaultV2Factory - same interface as the Ethereum entry
factory
0x6128b680b277Bf4Df80DFE9D8c55A498660870ef
source
Full ABI
MetaMorpho Factory V1.1 - same interface as the Ethereum entry
factory
0x3Bb6A6A0Bc85b367EFE0A5bAc81c5E52C892839a
source
Full ABI
Blue Public Allocator (Vault V2) - same interface as the Ethereum entry
other
0xc6945A915Bb7e2A365469f120A33D2FA42951cF3
source
Full ABI

polygon · chain id 137

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton; address differs from Ethereum/Base) - same interface as the Ethereum entry
pool
0x1bF0c2541F820E775182832f06c0B7Fc27A25f67
source
Full ABI
VaultV2Factory - same interface as the Ethereum entry
factory
0xC11a53eE9B1eCc7a068D8e40F8F17926584F97Cf
source
Full ABI
MetaMorpho Factory V1.1 - same interface as the Ethereum entry
factory
0xa9c87daB340631C34BB738625C70499e29ddDC98
source
Full ABI
Blue Public Allocator (Vault V2) - same interface as the Ethereum entry
other
0xAb06a92cd253Bc12Dec8f719a693a6b472CCDfF4
source
Full ABI

unichain · chain id 130

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton; address differs from Ethereum/Base) - same interface as the Ethereum entry
pool
0x8f5ae9CddB9f68de460C77730b018Ae7E04a140A
source
Full ABI
VaultV2Factory - same interface as the Ethereum entry
factory
0xC9b34c108014B44e5a189A830e7e04c56704a0c9
source
Full ABI
MetaMorpho Factory V1.1 - same interface as the Ethereum entry
factory
0xe9EdE3929F43a7062a007C3e8652e4ACa610Bdc0
source
Full ABI
Blue Public Allocator (Vault V2) - same interface as the Ethereum entry
other
0x2b7Bf2f2027bcfE3A1F6Bc93EA80220a883a6851
source
Full ABI

avalanche · chain id 43114

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton; address differs from Ethereum/Base) - same interface as the Ethereum entry
pool
0x895383274303AA19fe978AFB4Ac55C7f094f982C
source
Full ABI
VaultV2Factory - same interface as the Ethereum entry
factory
0xf7b1d9e43BAeA3705f2B303693766ACbcfec6A55
source
Full ABI
Blue Public Allocator (Vault V2) - same interface as the Ethereum entry
other
0x1cc30758C8c406D0Bc463Ee89613bA21A2576662
source
Full ABI

bnb · chain id 56

ContractAddressKey functionsTry
Morpho (Morpho Blue singleton; address differs from Ethereum/Base) - same interface as the Ethereum entry
pool
0x01b0Bd309AA75547f7a37Ad7B1219A898E67a83a
source
Full ABI
VaultV2Factory - same interface as the Ethereum entry
factory
0x29955201601630f686beAF47b0B03be7b86d160F
source
Full ABI
MetaMorpho Factory V1.1 - same interface as the Ethereum entry
factory
0x92983687e672cA6d96530f9Dbe11a196cE905d72
source
Full ABI
Blue Public Allocator (Vault V2) - same interface as the Ethereum entry
other
0x0254e254f50fD4c4A8F38fAAB735487FD5Fe1BD5
source
Full ABI

APIs

Morpho Read API
auth: none
https://api.morpho.org
REST reads for agents and apps: /v0/blue/markets (list, filter by chain_id), /v0/blue/markets/{market}/state, /liquidity, /public-allocator-vaults, /users/{address}/position; /v0/vaults-v1 and /v0/vaults-v2 lists, /v1/vaults-v2/{vault}/state (total_assets, share_price_ray, withdrawable_assets), /v0/vaults-v2/{vault}/allocations, user positions, /v0/tokens/{token}/price, /v0/oracles/{oracle}/state, Midnight books. Rate-limited without a key; OpenAPI at https://docs.morpho.org/openapi.json.
Morpho Actions API
auth: api-key
https://private.api.morpho.org
Builds transaction calls (supply, borrow, vault deposit, etc.) for the user's wallet to sign. API key in the x-api-key header; action requests to api.morpho.org are refused (403).
Morpho GraphQL API (legacy)
auth: none
https://api.morpho.org/graphql
Legacy GraphQL for markets, vaults and positions. Shuts down on January 29, 2027; use the Read API instead.

Notes

Slug: DefiLlama lists Morpho as a parent protocol (api.llama.fi/protocol/morpho) whose main child is 'Morpho Blue' (slug morpho-blue), plus Morpho Midnight and the retired Morpho Optimizers; this file covers the Morpho family. All addresses are from the official docs page https://docs.morpho.org/developers/contracts/addresses (raw markdown at https://docs.morpho.org/developers/contracts/addresses.md) and every one was checked to have contract code (eth_getCode). The Morpho Blue singleton is 0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb only on Ethereum and Base; on other chains it has a different address (listed). keyFunctions are given once on the Ethereum entries; same-named contracts elsewhere share the interface. Vault ERC-4626 functions are shown on the factory entries, marked '[On a Vault ...]', because individual vaults are not listed: find them with the Read API (/v0/vaults-v1, /v0/vaults-v2) and verify with isMetaMorpho / isVaultV2. Morpho is on about 40 chains (HyperEVM, Katana, Monad, Sonic, World Chain, Plasma, Sei, Stable, Tempo, Robinhood Chain, etc.); those, plus ChainlinkOracleV2 factories, MorphoRegistry, Vault V2 adapter factories, Universal Rewards Distributors, Bundler3 migration/Paraswap adapters, MidnightBundles, Midnight ratifiers/periphery and the legacy Morpho Optimizers, are on the addresses page but not listed here. The Vault V1 PublicAllocator is intentionally omitted: the docs say retired Vault V1 allocator addresses are left out and integrators should use the Vault V2 Blue Public Allocator. Midnight (fixed-rate, fixed-term order-book markets) is listed on Ethereum and Base without keyFunctions because its interface (offers, ratifiers, callbacks) is complex; use MidnightBundlesV2 and the Midnight docs (https://docs.morpho.org/developers/midnight/resources/all). Legacy MORPHO 0x9994E35Db50125E0DF82e4c2dde62496CE330999 is not transferable; only wrapped MORPHO is. Signatures come from Sourcify full/partial matches (Morpho, factories, Public Allocator, Bundles, MORPHO implementation) and morpho-org GitHub sources (vault-v2 IVaultV2/IERC4626, VaultV2.sol, metamorpho IMetaMorpho). No dated security incidents are included because none were found on an official Morpho page during research.

Sources

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