BTB Finance for agents

Protocols / Liquidity Manager

Gamma Strategies

Actively managed Uniswap V3 liquidity. Each hypervisor is a single-pool ERC-20 share token that holds a base and a limit position. Deposit two tokens through the UniProxy, and withdraw shares for both tokens directly from the hypervisor.

On-chain + APIEVM10 contractsWebsite · Docs

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

Risks an agent should know

What an agent can do

find-hypervisorPick a hypervisor by chain and TVL or APR
GET https://api.gamma.xyz/frontend/hypervisors/allDataSummary?chain=<chain>&protocol=uniswapv3 and sort by tvlUSD or feeApr.
depositDeposit two tokens into a hypervisor (Ethereum, Base, Optimism)
approve the hypervisor for token0 and token1, use getDepositAmount on the UniProxy to size the second token, then UniProxy.deposit(deposit0, deposit1, you, hypervisor, [0,0,0,0] or minimums). Shares arrive at 'to'.
withdrawWithdraw shares for both tokens
hypervisor.withdraw(shares, you, you, [minBase0, minBase1, minLimit0, minLimit1]). No approval needed. Shares = balanceOf(you).
check-positionValue a position in both tokens
amount0, amount1 = getTotalAmounts(); your amounts = balanceOf(you) / totalSupply() * (amount0, amount1).

Contracts

ethereum · chain id 1

ContractAddressKey functionsTry
Hypervisor xLQTY-WETH3 (ethereum, Uniswap V3)
vault
0xD5F4877263b736625ba363385983C2D02B41F35b
source
writewithdraw(uint256,address,address,uint256[4])
readgetTotalAmounts()
readgetBasePosition()
readgetLimitPosition()
readcurrentTick()
readbalanceOf(address)
readtotalSupply()
readtoken0()
+4 more via get_protocol
Full ABI
UniProxy, whitelisted for xLQTY-WETH3 (ethereum)
router
0x911BfbAca43f117E52197AE62D439d6A645C8886
source
writedeposit(uint256,uint256,address,address,uint256[4])
readgetDepositAmount(address,address,uint256)
readclearance()
readowner()
Full ABI

base · chain id 8453

ContractAddressKey functionsTry
Hypervisor xWETH-UP3 (base, Uniswap V3)
vault
0x2060cB6359f03a0864064561D86911bB6f1cA103
source
writewithdraw(uint256,address,address,uint256[4])
readgetTotalAmounts()
readgetBasePosition()
readgetLimitPosition()
readcurrentTick()
readbalanceOf(address)
readtotalSupply()
readtoken0()
+4 more via get_protocol
Full ABI
UniProxy, whitelisted for xWETH-UP3 (base)
router
0xbd8fD52BE2EC689dac9155FAd51774F63a965D99
source
writedeposit(uint256,uint256,address,address,uint256[4])
readgetDepositAmount(address,address,uint256)
readclearance()
readowner()
Full ABI

optimism · chain id 10

ContractAddressKey functionsTry
Hypervisor xUSDC-DAI01 (optimism, Uniswap V3)
vault
0xaED05fdd471a4EecEe48B34d38c59CC76681A6C8
source
writewithdraw(uint256,address,address,uint256[4])
readgetTotalAmounts()
readgetBasePosition()
readgetLimitPosition()
readcurrentTick()
readbalanceOf(address)
readtotalSupply()
readtoken0()
+4 more via get_protocol
Full ABI
UniProxy, whitelisted for xUSDC-DAI01 (optimism)
router
0x40a3E5778f66835265602f92D507AeC708c2C0AD
source
writedeposit(uint256,uint256,address,address,uint256[4])
readgetDepositAmount(address,address,uint256)
readowner()
Full ABI

arbitrum · chain id 42161

ContractAddressKey functionsTry
Hypervisor xXY-USDT5 (arbitrum, Uniswap V3)
vault
0x4949d359F24Ba4882cfc1fc750F99A51863c9ccb
source
writewithdraw(uint256,address,address,uint256[4])
readgetTotalAmounts()
readgetBasePosition()
readgetLimitPosition()
readcurrentTick()
readbalanceOf(address)
readtotalSupply()
readtoken0()
+4 more via get_protocol
Full ABI
UniProxy, whitelisted for xXY-USDT5 (arbitrum)
other
0xDC4a311f0D852934d9b51C0eAc7c7e13EA1DF11b
source
writedeposit(uint256)
Full ABI

polygon · chain id 137

ContractAddressKey functionsTry
Hypervisor xUSDC-NCT10 (polygon, Uniswap V3)
vault
0x1A246D546f52D8145A55DdA01908Fc413111305e
source
writewithdraw(uint256,address,address,uint256[4])
readgetTotalAmounts()
readgetBasePosition()
readgetLimitPosition()
readcurrentTick()
readbalanceOf(address)
readtotalSupply()
readtoken0()
+4 more via get_protocol
Full ABI
UniProxy, whitelisted for xUSDC-NCT10 (polygon)
other
0x48975Ea6aA25914927241C3A9F493BfEEb8CA591
source
Full ABI

APIs

Gamma hypervisors summary
auth: none
https://api.gamma.xyz/frontend/hypervisors/allDataSummary?chain=arbitrum&protocol=uniswapv3
All hypervisors on a chain with address, chainId, tvlUSD, feeApr, rewardApr, lastUpdated, token TVL and totalSupply. Change chain to mainnet, base, arbitrum, polygon or optimism. Use it to rank by TVL and APR.
Gamma API wrapper base URL
auth: none
https://wire3.gamma.xyz
Gamma's own API wrapper points at this host, which redirects to api.gamma.xyz. Use api.gamma.xyz directly.

Notes

Gamma's hypervisors are one contract per Uniswap V3 pool and fee, deployed by the HypervisorFactory (createHypervisor, owner-only; getHypervisor mapping) and listed in the API. The factory address for each chain was not found in the official sources used here, so it is not listed. The factory is documented in the GammaStrategies/hypervisor repo (contracts/HypervisorFactory.sol). Each hypervisor was checked on chain (code present, token0, token1, pool, totalSupply and whitelistedAddress readable). For Ethereum, Base and Optimism the whitelisted UniProxy has the UniProxy deposit signature in Sourcify. On Polygon the whitelisted proxy has no verified ABI on Sourcify, so no deposit function is listed for it. Largest hypervisors on each chain from the Gamma API (tvlUSD at research time): Ethereum 0xd5f4877263b736625ba363385983c2d02b41f35b (about $281k), Arbitrum 0x4949d359f24ba4882cfc1fc750f99a51863c9ccb (about $146k), Optimism 0xaed05fdd471a4eecee48b34d38c59cc76681a6c8 (about $36k), Polygon 0x1a246d546f52d8145a55dda01908fc413111305e (about $19k), Base 0x2060cb6359f03a0864064561d86911bb6f1ca103 (about $3.8k). The UniProxy on Ethereum and Base has clearance(); the Optimism proxy has the same deposit signature but no clearance() function. Proxy addresses come from whitelistedAddress() on each hypervisor (read on chain), and the proxy links point to explorer pages. Gamma's API covers 38 chains in DefiLlama's listing. This entry covers five; the summary endpoint works for each chain name in the API's enum. Gamma's docs site (docs.gamma.xyz) was reachable but its contract address pages were not read, so the source for each hypervisor is the API response plus the on-chain checks.

Sources

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