Protocols / Liquidity Manager
BTB Smart Account
BTB's own non-custodial wallet for automated liquidity. Each user gets one smart wallet (same address on Base and Robinhood Chain) that an automation agent can manage without ever being able to take money out: the agent can open, rebalance, compound, collect, stake and swap within the owner's limits, only through BTB-listed adapters and contracts; withdrawals go only to the owner. Powers auto-rebalance on btb.finance for Aero, Uniswap V3, UP, Giga and Alandale.
On-chainEVM16 contractsWebsite · Docs
get_protocol({ "protocol": "btb-smart-account" })Risks an agent should know
- Not audited (the repo's SECURITY.md and SOLIDITY_RELEASE_REVIEW.md describe the internal review).
- BTBRegistry and the factory are admin controlled by the BTB Safe (2-of-3 on both chains); new wallet releases wait 48 hours before applyLatest.
- An agent can lose money to bad timing within the owner's limits (rebalances, swaps at the time-weighted price less the owner's slippage) but cannot move funds out of the wallet.
What an agent can do
| Create a wallet | Create a wallet: factory.createAccount(setup), or the Auto LP flow on btb.finance |
| Hand a position to automation | Hand a position to automation: move the position NFT into the wallet and set an agent |
| Withdraw | Withdraw: owner calls withdraw, withdrawNft or withdrawAll; the agent can only sweepToOwner |
Contracts
base · chain id 8453
| Contract | Address | Key functions | Try |
|---|---|---|---|
| Wallet factory (current) factory | 0xc922eb8dCF5D61CEeFaeCe86265F5f0D6dC0EC77 source | writecreateAccount((address,uint64,uint16,address[],bytes[])) readaccountOf(address) readpredictAccount(address) writeapplyLatest() | Full ABI |
| Wallet implementation, release 4 (each wallet is a UUPS proxy to this) implementation | 0x46e8403b51c7e2FaB5e35Aa2F942abAc678bf889 source | writerun(address,bytes) writesetAgent(address,uint64) writesetAdapter(address,bool,bytes) writesetPaused(bool) writesetMaxActionsPerDay(uint16) writewithdraw(address,uint256) writewithdrawNative(uint256) writewithdrawAll(address[]) +5 more via get_protocol | Full ABI |
| BTBRegistry (adapters, targets, pools, oracles; admin is the BTB Safe) registry | 0xF14D03C30Ae072e1E7c531Ce8e8A2Ed6a7417Eb5 source | readisAdapter(address) readisTarget(address) readisListedPool(address) readoracleFor(address,address) | Full ABI |
| AerodromeCLAdapter adapter | 0x9275baf6E1ea3033AD132956e4347D4d25e96BB6 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| UniswapV3Adapter adapter | 0x3801B52d9011901A7fAEf1FDb34C9E2ebdECa715 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| RouterSwapAdapter adapter | 0x5A72E43960F4dA336a6459391CDEeD680D4084c8 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| AeroGaugeAdapter adapter | 0x8e5a57b34B6fC7ebED179930d2202912f8b39399 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
robinhood · chain id 4663
| Contract | Address | Key functions | Try |
|---|---|---|---|
| Wallet factory (current) factory | 0xc922eb8dCF5D61CEeFaeCe86265F5f0D6dC0EC77 source | writecreateAccount((address,uint64,uint16,address[],bytes[])) readaccountOf(address) readpredictAccount(address) writeapplyLatest() | Full ABI |
| Wallet implementation, release 4 (each wallet is a UUPS proxy to this) implementation | 0x46e8403b51c7e2FaB5e35Aa2F942abAc678bf889 source | writerun(address,bytes) writesetAgent(address,uint64) writesetAdapter(address,bool,bytes) writesetPaused(bool) writesetMaxActionsPerDay(uint16) writewithdraw(address,uint256) writewithdrawNative(uint256) writewithdrawAll(address[]) +5 more via get_protocol | Full ABI |
| BTBRegistry (adapters, targets, pools, oracles; admin is the BTB Safe) registry | 0xF14D03C30Ae072e1E7c531Ce8e8A2Ed6a7417Eb5 source | readisAdapter(address) readisTarget(address) readisListedPool(address) readoracleFor(address,address) | Full ABI |
| AerodromeCLAdapter adapter | 0x9275baf6E1ea3033AD132956e4347D4d25e96BB6 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| UniswapV3Adapter adapter | 0x3801B52d9011901A7fAEf1FDb34C9E2ebdECa715 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| RouterSwapAdapter adapter | 0x5A72E43960F4dA336a6459391CDEeD680D4084c8 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| AeroGaugeAdapter adapter | 0x8e5a57b34B6fC7ebED179930d2202912f8b39399 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| MasterChefV3Adapter adapter | 0x0993a62835e7c1534C2f3525828Ec9f3e60781AB source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
| AlgebraAdapter adapter | 0x5116F68d95b6d8584A47CDAA66A5ec2441b9E458 source | readplan(address,bytes,uint256,bytes,bool) | Full ABI |
Notes
Addresses are identical on Base (8453) and Robinhood Chain (4663) via CREATE2 (salt keccak256("BTB Smart Account V6")). The first V6 factory 0xE10280d01F95bC88DA149a224e68debc0721f8E6 still serves accountOf for older wallets. Release 4 (sweepToOwner) applied on both chains on 2026-10-04. The agent address uses BTBAgentBatch 0xC1962EfeC30e3Bd876dc3bB81f1Bd42FcD746CEC as EIP-7702 code to batch unstake, rebalance and restake.
Sources
- https://github.com/btb-finance/BTBSmartAccountV2
- https://github.com/btb-finance/BTBSmartAccountV2/blob/main/deployments/v6.json
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.