BTB Finance for agents

Protocols / CDP

Inverse Finance

DAO behind the DOLA stablecoin and FiRM, a fixed-rate CDP on Ethereum: deposit collateral into a per-collateral market, borrow DOLA, and pay interest by holding DBR (burned at 1 DBR per DOLA borrowed per year). Agents can also stake DOLA as sDOLA, INV as sINV, or provide first-loss cover with jrDOLA.

On-chainEVM32 contractsWebsite · Docs

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

Risks an agent should know

What an agent can do

borrow-dolaOpen a fixed-rate DOLA loan on FiRM
1) Get DBR >= expected debt x years (DBR auction at inverse.finance/dbr/auction or Curve triDBR). 2) collateral.approve(market, amt). 3) market.depositAndBorrow(amt, dolaAmount) or deposit() then borrow(). Check market.getCreditLimit(you), market.borrowPaused(), BorrowController.dailyLimits/minDebts first. Must be sent by an EOA unless your contract is allowlisted.
repay-and-withdrawClose or reduce a FiRM loan
DOLA.approve(market, amt); market.repay(you, amt) (2^256-1 = all) then market.withdraw(collateralAmt), or market.repayAndWithdraw(repay, withdraw). Make sure DBR.deficitOf(you) == 0 or withdraw reverts.
monitor-positionCheck a FiRM position
market.debts(you), market.getCreditLimit(you), market.getWithdrawalLimit(you); DBR.balanceOf(you) / DBR.debts(you) = years of DBR left; DBR.deficitOf(you) must stay 0.
stake-dolaEarn yield on DOLA with sDOLA
DOLA.approve(sDOLA, amt); sDOLA.deposit(amt, receiver). Exit any time with sDOLA.redeem(shares, receiver, owner).
stake-invStake INV into sINV
INV.approve(sINV, amt); sINV.deposit(amt, receiver); exit with sINV.redeem(shares, receiver, owner). sINV holders do not vote on-chain.
liquidate-or-replenishKeeper actions
If market.debts(u) > market.getCreditLimit(u): DOLA.approve(market) then market.liquidate(u, repaid). If DBR.deficitOf(u) > 0: market.forceReplenish(u, amount) (or forceReplenishAll(u)) to earn the replenishment incentive.

Contracts

ethereum · chain id 1

ContractAddressKey functionsTry
DOLA (stablecoin)
token
0x865377367054516e17014CcdED1e7d814EDC9ce4
source
readbalanceOf(address)
writeapprove(address,uint256)
writetransfer(address,uint256)
Full ABI
DBR (DOLA Borrowing Rights)
token
0xAD038Eb671c44b853887A7E32528FaB35dC5D710
source
readbalanceOf(address)
readdeficitOf(address)
readsignedBalanceOf(address)
readdebts(address)
readreplenishmentPriceBps()
writetransfer(address,uint256)
Full ABI
sDOLA (Staked DOLA, ERC-4626)
vault
0xb45ad160634c528Cc3D2926d9807104FA3157305
source
writedeposit(uint256,address)
writemint(uint256,address)
writeredeem(uint256,address,address)
writewithdraw(uint256,address,address)
readconvertToAssets(uint256)
readconvertToShares(uint256)
readpreviewRedeem(uint256)
readmaxWithdraw(address)
+2 more via get_protocol
Full ABI
sINV (Staked INV, ERC-4626)
vault
0x08d23468A467d2bb86FaE0e32F247A26C7E2e994
source
writedeposit(uint256,address)
writeredeem(uint256,address,address)
readconvertToAssets(uint256)
readtotalAssets()
Full ABI
jrDOLA v2 (Junior DOLA, first-loss ERC-4626 vault)
vault
0x6f80a22a57C7F0257094eA8D426AF3F747defbC7
source
readasset()
readconvertToAssets(uint256)
readtotalAssets()
readbalanceOf(address)
Full ABI
INV (governance token)
token
0x41D5D79431A913C4aE7d69a668ecdfE5fF9DFB68
source
readbalanceOf(address)
writedelegate(address)
readgetPriorVotes(address,uint256)
Full ABI
FiRM WETH Market
pool
0x63Df5e23Db45a2066508318f172bA45B9CD37035
source
writedeposit(uint256)
writedeposit(address,uint256)
writedepositAndBorrow(uint256,uint256)
writeborrow(uint256)
writerepay(address,uint256)
writerepayAndWithdraw(uint256,uint256)
writewithdraw(uint256)
writewithdrawMax()
+10 more via get_protocol
Full ABI
FiRM wstETH Market
pool
0x3FD3daBB9F9480621C8A111603D3Ba70F17550BC
source
Full ABI
FiRM WBTC Market
pool
0x48BA574Edf0bc4E2E40B529863aaA6a67c264E7C
source
Full ABI
FiRM cbBTC Market
pool
0x2A256306D8ba899E33B01e495982656884Ac77FF
source
Full ABI
FiRM sUSDe Market
pool
0x79eF6d28C41e47A588E2F2ffB4140Eb6d952AEc4
source
Full ABI
FiRM Convex DOLA-sUSDe LP Market
pool
0xb427fC22561f3963B04202F9bb5BCEbd76c14A99
source
Full ABI
FiRM Yearn DOLA-sUSDe LP Market
pool
0x4E264618dC015219CD83dbc53B31251D73c2db1a
source
Full ABI
FiRM Convex DOLA-sUSDS LP Market
pool
0xD68d3a44d46dd50BFeBa8Cca544717B76e7C4b29
source
Full ABI
FiRM Yearn DOLA-sUSDS LP Market
pool
0x4A33baFA8a31E4ec9649f65646022cAD1957808b
source
Full ABI
FiRM Stake DAO sDOLA-scrvUSD LP Market
pool
0xC45E9c231ab5D9Bd3F1131E7901B100D8D236C4d
source
Full ABI
FiRM Stake DAO reUSD-sDOLA LP Market
pool
0xf9287c29Cb888F4834B7D2757a833D509e7f9D9A
source
Full ABI
FiRM Yearn reUSD-sDOLA LP Market
pool
0x1fD4985cdd57bDb1eD646B10B7952fCD58946916
source
Full ABI
FiRM sinvUSD Market
pool
0x3542b39DCedC01f82c6e7af0EEC424726d019EaA
source
Full ABI
FiRM ysyBOLD Market
pool
0xa95605313EB4544f784e699dE93e9232DbFcf02d
source
Full ABI
FiRM INV (new borrows paused) Market
pool
0xb516247596Ca36bf32876199FBdCaD6B3322330B
source
Full ABI
FiRM CRV Market
pool
0x63fAd99705a255fE2D500e498dbb3A9aE5AA1Ee8
source
Full ABI
FiRM cvxCRV Market
pool
0x3474ad0e3a9775c9F68B415A7a9880B0CAB9397a
source
Full ABI
FiRM Staked CVX Market
pool
0xdc2265cBD15beD67b5F2c0B82e23FcE4a07ddF6b
source
Full ABI
FiRM st-yCRV Market
pool
0x27b6c301Fd441f3345d61B7a4245E1F823c3F9c4
source
Full ABI
FiRM BorrowController v4
other
0x01ECA33e20a4c379Bd8A5361f896A7dd2bAE4ce8
source
readdailyLimits(address)
readdailyBorrows(address,uint256)
readminDebts(address)
readcontractAllowlist(address)
Full ABI
FiRM Oracle (pessimistic price oracle)
other
0xaBe146CF570FD27ddD985895ce9B138a7110cce8
source
readviewPrice(address,uint256)
Full ABI
DBR Distributor (DBR rewards for INV deposited in FiRM)
staking
0xdcd2D918511Ba39F2872EB731BB88681AE184244
source
readclaimable(address)
Full ABI
FiRM Fed (mints DOLA supply into FiRM)
other
0x2b34548b865ad66A2B046cb82e59eE43F75B90fd
source
Full ABI
Governor Mills (DAO governor)
governance
0xBeCCB6bb0aa4ab551966A7E4B97cec74bb359Bf6
source
Full ABI
Inverse Treasury (timelock-controlled)
governance
0x926dF14a23BE491164dCF93f4c468A50ef659D5B
source
Full ABI
Governance Guardian (Policy Committee)
governance
0x941c2699eC7E55a50Bde030d8E1e70649839259D
source
Full ABI

Notes

All addresses are from the official docs Smart Contracts page (active markets as of October 2026) and were confirmed on-chain on 2026-11-25: each market's collateral(), oracle(), borrowController() and dbr() match the docs, sDOLA.asset() = DOLA, sINV.asset() = INV, jrDOLA.asset() = sDOLA. Market keyFunctions are listed once on the WETH market and come from InverseFinance/FiRM src/Market.sol; all 19 active markets share that interface (selectors checked in bytecode), except withdrawMax() which only exists on newer markets. sDOLA functions come from InverseFinance/dola-savings src/sDola.sol. Left out: the nine sunset FiRM markets (repay/withdraw only, listed on the docs page), historical L2 sDOLA/sINV deployments (CCIP lanes closed), the PSM and PSM Fed (docs list them on the PSM page, but I did not review the PSM source for its function signatures), the DBR auction, ALE/helper contracts and the legacy Frontier contracts, whose addresses are not on the official contracts page. jrDOLA's queued-withdrawal functions are not listed because I could not find its verified source in the official GitHub; use the inverse.finance app or check the verified source before redeeming. DefiLlama tracks FiRM separately as inverse-finance-firm.

Sources

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