BTB
/

up.

Dexswebsite
Native ve(3,3) exchange on Robinhood Chain (chainId 4663): Velodrome-v2-style stable/volatile v2 pools plus Slipstream (Uniswap-v3-style, tickSpacing-keyed) concentrated-liquidity pools, with UP emissions, veUP locks and weekly gauge voting. Agents can quote and swap through the v2 Router or the v3 SwapRouter/QuoterV2, add/remove v2 liquidity, open and manage v3 position NFTs, lock UP into veUP and vote.

What you can do

quote a v3 swapPrice a swap through a concentrated-liquidity pool.eth_call QuoterV2.quoteExactInputSingle((tokenIn, tokenOut, amountIn, tickSpacing, 0)). Find which tickSpacing has a pool with CLFactory.getPool(tokenA, tokenB, tickSpacing) for each value in CLFactory.tickSpacings().
swap (v3)Swap through a CL pool.approve tokenIn to SwapRouter 0xC062b870E813fcA720f1e002c234369Ab3aB9415, then SwapRouter.exactInputSingle((tokenIn, tokenOut, tickSpacing, recipient, deadline, amountIn, amountOutMinimum, 0)). Set amountOutMinimum from the quote minus slippage; Robinhood Chain pools can be thin.
swap (v2)Swap through stable/volatile v2 pools.Router.getAmountsOut(amountIn, [(from, to, stable, 0xFA5429AEBa338BEa2BFcc1b9a889862Ee395bc28)]) to quote, approve tokenIn to Router 0xf5198743240fAC98db71868F34c70139b1eb0474, then Router.swapExactTokensForTokens(amountIn, amountOutMin, routes, to, deadline).
add v2 liquidityProvide liquidity to a v2 pool.Router.quoteAddLiquidity(...) to size, approve both tokens to the Router, then Router.addLiquidity(tokenA, tokenB, stable, amountADesired, amountBDesired, amountAMin, amountBMin, to, deadline). Optionally stake the LP token in Voter.gauges(pool) via gauge.deposit(amount) to earn UP instead of fees.
open a v3 positionProvide concentrated liquidity.approve token0 and token1 to NonfungiblePositionManager 0x07F44c47743A2f36414A82b9F558ECFCf0EEdCEf, then mint((token0, token1, tickSpacing, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline, 0)). To farm UP: NonfungiblePositionManager.approve(gauge, tokenId) then gauge.deposit(tokenId) where gauge = Voter.gauges(pool); claim with gauge.getReward(tokenId), exit with gauge.withdraw(tokenId).
remove a v3 positionWithdraw liquidity and fees.If staked, gauge.withdraw(tokenId) first. Then NonfungiblePositionManager.multicall([decreaseLiquidity((tokenId, liquidity, amount0Min, amount1Min, deadline)), collect((tokenId, recipient, 2^128-1, 2^128-1))]).
lock and voteLock UP for veUP and direct emissions.approve UP to VotingEscrow 0x5d321dE36F0bf98D92b291280514F3878582B7B6, createLock(amount, duration<=126144000), then Voter.vote(tokenId, pools[], weights[]) once per epoch; after the epoch flips claim with Voter.claimFees / claimBribes.
Forked code: the ve(3,3) core descends from Velodrome v2 and the CL engine from Slipstream (Uniswap v3 design), per the official security page. The public GitHub repos are described by the team as a sanitized source snapshot that is not guaranteed to match deployed bytecode byte-for-byte.
One audit listed by the team: Shieldify, July 2026 (up-contracts and up-slipstream), 0 critical, 0 high, 3 medium, 3 low, 4 informational findings; per the team's table all mediums and lows were acknowledged rather than fixed (e.g. permissionless poke() can zero a decayed lock's current-epoch rewards; gauge-cap enforcement can be bypassed via updateFor; fail-open uncapped emission release).
Governance-controlled modules: the CL factory owner is the protocol governance address 0x0eEA30aBa3f07abFA20E4b544F55e0f917d9DFd8 (read on-chain); fee modules (dynamic fees) and gauge emission caps are replaceable modules beside the core, so swap fees can change per pool.
veUP locks cannot be exited early (up to 4 years); the UP token is inflationary via weekly emissions.

Contracts

Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).
v3 SwapRouter (Slipstream)router on robinhood0xC062b870E813fcA720f1e002c234369Ab3aB9415
write exactInputSingle((address,address,int24,address,uint256,uint256,uint256,uint160))
Single-pool exact-input swap on a v3 (CL) pool. Tuple: (tokenIn, tokenOut, tickSpacing, recipient, deadline, amountIn, amountOutMinimum, sqrtPriceLimitX96). Pools are keyed by tickSpacing, not fee: enabled spacings are 1, 10, 50, 60, 100, 200, 2000 (read clFactory.tickSpacings()). sqrtPriceLimitX96 = 0 for no limit. Approve tokenIn to this router first. To pay in native ETH send msg.value with tokenIn = WETH 0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73. Returns amountOut.
write exactInput((bytes,address,uint256,uint256,uint256))
Multi-hop exact-input swap. Tuple: (path, recipient, deadline, amountIn, amountOutMinimum). Path = tokenIn (20 bytes) + tickSpacing (int24, 3 bytes) + token (20 bytes) [+ tickSpacing + token ...]. Returns amountOut.
write exactOutputSingle((address,address,int24,address,uint256,uint256,uint256,uint160))
Single-pool exact-output swap. Tuple: (tokenIn, tokenOut, tickSpacing, recipient, deadline, amountOut, amountInMaximum, sqrtPriceLimitX96). Returns amountIn. When paying with native ETH, add refundETH() in the same multicall.
write exactOutput((bytes,address,uint256,uint256,uint256))
Multi-hop exact-output swap: (path in REVERSE order, recipient, deadline, amountOut, amountInMaximum). Returns amountIn.
write multicall(bytes[])
Batch router calls, e.g. swap with recipient = router, then unwrapWETH9 to receive native ETH.
write unwrapWETH9(uint256,address)
Unwrap the router's WETH balance to native ETH and send it to recipient. Args (amountMinimum, recipient). Use inside multicall after a swap whose recipient was the router.
write refundETH()
Return leftover native ETH held by the router to msg.sender (use after exact-output swaps paid in ETH).
read factory()
CL factory this router uses (0x1ac9dB4a2608ba45D6127B1737949b51Bb54B7F3).
v3 QuoterV2 (Slipstream)other on robinhood0x03983AB2C057a2eac211ff01738a1e49ff325B49
read quoteExactInputSingle((address,address,uint256,int24,uint160))
Quote via eth_call (not a view function; it simulates and reverts internally). Tuple: (tokenIn, tokenOut, amountIn, tickSpacing, sqrtPriceLimitX96) - note amountIn comes before tickSpacing here. Returns (amountOut, sqrtPriceX96After, initializedTicksCrossed, gasEstimate).
read quoteExactInput(bytes,uint256)
Multi-hop quote via eth_call: (path, amountIn), same path encoding as SwapRouter.exactInput. Returns (amountOut, sqrtPriceX96AfterList[], initializedTicksCrossedList[], gasEstimate).
read quoteExactOutputSingle((address,address,uint256,int24,uint160))
Exact-output quote via eth_call. Tuple: (tokenIn, tokenOut, amount, tickSpacing, sqrtPriceLimitX96). Returns (amountIn, sqrtPriceX96After, initializedTicksCrossed, gasEstimate).
read quoteExactOutput(bytes,uint256)
Multi-hop exact-output quote via eth_call; path in reverse order.
v3 NonfungiblePositionManager (Slipstream)other on robinhood0x07F44c47743A2f36414A82b9F558ECFCf0EEdCEf
write mint((address,address,int24,int24,int24,uint256,uint256,uint256,uint256,address,uint256,uint160))
Open a concentrated-liquidity position NFT. Tuple: (token0, token1, tickSpacing, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline, sqrtPriceX96). token0 < token1 by address; ticks must be multiples of tickSpacing. sqrtPriceX96 = 0 for an existing pool (non-zero creates and initializes the pool if it does not exist). Approve both tokens to this contract first. Returns (tokenId, liquidity, amount0, amount1).
write increaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256))
Add to a position: (tokenId, amount0Desired, amount1Desired, amount0Min, amount1Min, deadline). Returns (liquidity, amount0, amount1).
write decreaseLiquidity((uint256,uint128,uint256,uint256,uint256))
Remove liquidity: (tokenId, liquidity, amount0Min, amount1Min, deadline). Tokens are only credited to the position; call collect() to receive them. A position staked in a gauge must be withdrawn from the gauge first.
write collect((uint256,address,uint128,uint128))
Withdraw owed tokens and fees: (tokenId, recipient, amount0Max, amount1Max); use 2^128-1 for all. Returns (amount0, amount1).
write burn(uint256)
Burn an empty position NFT (liquidity and owed tokens must be 0).
read positions(uint256)
Position data: (nonce, operator, token0, token1, tickSpacing, tickLower, tickUpper, liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128, tokensOwed0, tokensOwed1).
read balanceOf(address)
Number of position NFTs held (staked positions are held by the gauge, not the wallet).
read tokenOfOwnerByIndex(address,uint256)
Enumerate an owner's position tokenIds.
write approve(address,uint256)
Approve a position NFT to a gauge before gauge.deposit(tokenId). Find the pool's gauge with Voter.gauges(pool).
write multicall(bytes[])
Batch calls (e.g. decreaseLiquidity + collect, or mint with native ETH + refundETH).
v3 CLFactory (Slipstream)factory on robinhood0x1ac9dB4a2608ba45D6127B1737949b51Bb54B7F3
read getPool(address,address,int24)
CL pool for (tokenA, tokenB, tickSpacing), either token order; zero address if none.
read tickSpacings()
Enabled tick spacings. At research time: 1, 10, 50, 60, 100, 200, 2000.
read tickSpacingToFee(int24)
Default fee in pips for a tick spacing (1e6 = 100%). At research time: 1->100 (0.01%), 10/50/100->500 (0.05%), 60/200->3000 (0.3%), 2000->10000 (1%).
read getSwapFee(address)
Current swap fee (pips) for a pool; may differ from the default because a dynamic-fee module can set it.
read getUnstakedFee(address)
Extra fee taken from unstaked liquidity's fees for a pool (pips).
read allPoolsLength()
Number of CL pools.
read isPool(address)
Whether an address is a pool from this factory.
write createPool(address,address,int24,uint160)
Create a CL pool: (tokenA, tokenB, tickSpacing, sqrtPriceX96). tickSpacing must be enabled. Usually done via NonfungiblePositionManager.mint with non-zero sqrtPriceX96 instead.
v2 Routerrouter on robinhood0xf5198743240fAC98db71868F34c70139b1eb0474
read getAmountsOut(uint256,(address,address,bool,address)[])
Quote a v2 route. Args (amountIn, routes); each Route = (from, to, stable, factory), factory = v2 PoolFactory 0xFA5429AEBa338BEa2BFcc1b9a889862Ee395bc28. Returns amounts[] (last = output).
write swapExactTokensForTokens(uint256,uint256,(address,address,bool,address)[],address,uint256)
Swap on v2 pools: (amountIn, amountOutMin, routes, to, deadline). Approve the first token to the router first. Returns amounts[].
write swapExactETHForTokens(uint256,(address,address,bool,address)[],address,uint256)
Swap native ETH (msg.value) for tokens: (amountOutMin, routes, to, deadline). routes[0].from must be WETH 0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73.
write swapExactTokensForETH(uint256,uint256,(address,address,bool,address)[],address,uint256)
Swap tokens for native ETH: (amountIn, amountOutMin, routes, to, deadline). Last route's `to` must be WETH.
write swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256,uint256,(address,address,bool,address)[],address,uint256)
Same as swapExactTokensForTokens for fee-on-transfer tokens; returns nothing.
read quoteAddLiquidity(address,address,bool,address,uint256,uint256)
Preview addLiquidity: (tokenA, tokenB, stable, factory, amountADesired, amountBDesired) -> (amountA, amountB, liquidity).
write addLiquidity(address,address,bool,uint256,uint256,uint256,uint256,address,uint256)
Add v2 liquidity: (tokenA, tokenB, stable, amountADesired, amountBDesired, amountAMin, amountBMin, to, deadline). Creates the pool if it does not exist. Approve both tokens first. Returns (amountA, amountB, liquidity). LP tokens can then be staked in the pool's gauge (Voter.gauges(pool)).
write addLiquidityETH(address,bool,uint256,uint256,uint256,address,uint256)
Add token + native ETH liquidity: (token, stable, amountTokenDesired, amountTokenMin, amountETHMin, to, deadline) with ETH as msg.value.
read quoteRemoveLiquidity(address,address,bool,address,uint256)
Preview removeLiquidity: (tokenA, tokenB, stable, factory, liquidity) -> (amountA, amountB).
write removeLiquidity(address,address,bool,uint256,uint256,uint256,address,uint256)
Remove v2 liquidity: (tokenA, tokenB, stable, liquidity, amountAMin, amountBMin, to, deadline). Approve the pool's LP token to the router first.
write removeLiquidityETH(address,bool,uint256,uint256,uint256,address,uint256)
Remove token/WETH liquidity and receive native ETH: (token, stable, liquidity, amountTokenMin, amountETHMin, to, deadline).
read poolFor(address,address,bool,address)
Deterministic v2 pool address for (tokenA, tokenB, stable, factory); the pool may not be deployed yet (check PoolFactory.getPool).
v2 PoolFactoryfactory on robinhood0xFA5429AEBa338BEa2BFcc1b9a889862Ee395bc28
read getPool(address,address,bool)
v2 pool for (tokenA, tokenB, stable); zero address if none. stable = true is the correlated-asset curve (x3y+y3x), false is constant product.
read getFee(address,bool)
Fee for a pool in basis points: (pool, stable). Defaults at research time: stable 5 (0.05%), volatile 30 (0.3%); custom per-pool fees possible.
read allPoolsLength()
Number of v2 pools.
read allPools(uint256)
Pool address by index.
read isPool(address)
Whether an address is a v2 pool from this factory.
UP tokentoken on robinhood0x57C0E45cB534413D1C20A4240955d6bB250BB4F1
read balanceOf(address)
UP balance (18 decimals).
write approve(address,uint256)
Approve UP, e.g. to the VotingEscrow before createLock, or to a router before swapping.
write transfer(address,uint256)
ERC-20 transfer.
read totalSupply()
Total UP supply; grows weekly through Minter emissions.
VotingEscrow (veUP)governance on robinhood0x5d321dE36F0bf98D92b291280514F3878582B7B6
write createLock(uint256,uint256)
Lock UP for a veUP NFT: (amount in wei, lockDuration in seconds; max 4 years = 126144000, rounded down to whole weeks). Approve UP to this contract first. Returns tokenId. Locked UP cannot be withdrawn before expiry.
write createLockFor(uint256,uint256,address)
Same as createLock but mints the veUP NFT to another address: (amount, lockDuration, to).
write increaseAmount(uint256,uint256)
Add UP to an existing lock: (tokenId, amount).
write increaseUnlockTime(uint256,uint256)
Extend a lock: (tokenId, newLockDuration in seconds from now, max 4 years).
write withdraw(uint256)
Withdraw UP from an expired, non-permanent lock. Reset votes first (Voter.reset) if the NFT has voted.
write merge(uint256,uint256)
Merge lock `from` into lock `to`: (from, to).
write lockPermanent(uint256)
Make a lock permanent (max voting power, no decay, cannot withdraw until unlockPermanent).
write unlockPermanent(uint256)
Turn a permanent lock back into a 4-year decaying lock.
read balanceOfNFT(uint256)
Current voting power of a veUP NFT (18 decimals).
read locked(uint256)
Lock info: (amount int128, end timestamp, isPermanent).
read voted(uint256)
Whether the NFT currently has votes cast.
Votergovernance on robinhood0x7F749fDD351C1Ceed82d76d7699CB631Eb8332a7
write vote(uint256,address[],uint256[])
Vote a veUP NFT's weight across pools: (tokenId, pools[], relative weights[]). Once per 7-day epoch (reverts if already voted this epoch, or in the first hour after the epoch flip). Votes persist across epochs.
write reset(uint256)
Clear a veUP NFT's votes (needed before withdrawing or merging a voted lock). Same epoch restriction as vote.
write poke(uint256)
Re-apply existing votes with the NFT's current (decayed) voting power. Permissionless.
write claimBribes(address[],address[][],uint256)
Claim voting incentives: (bribe reward contracts[], tokens[][] per contract, tokenId). Bribe contract per gauge = gaugeToBribe(gauge).
write claimFees(address[],address[][],uint256)
Claim trading-fee rewards for voters: (fee reward contracts[], tokens[][], tokenId). Fee contract per gauge = gaugeToFees(gauge).
write claimRewards(address[])
Claim UP emissions from several gauges at once for msg.sender (v2 gauges; for CL gauges it claims every position msg.sender has staked in that gauge). A single CL position can also be claimed with gauge.getReward(tokenId).
read gauges(address)
Gauge address for a pool (zero if none). v2 gauges take LP tokens via deposit(uint256); CL gauges take position NFTs via deposit(tokenId) after NonfungiblePositionManager.approve(gauge, tokenId).
read isAlive(address)
Whether a gauge is active (killed gauges stop receiving emissions).
read gaugeToFees(address)
Fee reward contract for a gauge.
read gaugeToBribe(address)
Incentive (bribe) reward contract for a gauge.
read weights(address)
Current vote weight on a pool; divide by totalWeight() for its share of emissions.
read length()
Number of pools with gauges (enumerate with pools(uint256)).
Minterother on robinhood0x912EC7A90e8C9829eE0e0f6a4Db5270776Fc3Da5
write updatePeriod()
Permissionless: mint the new epoch's UP emissions once a week has passed. Returns the active period.
read activePeriod()
Start timestamp of the current emission epoch.
read weekly()
Current weekly emission amount (UP, 18 decimals).
read epochCount()
Number of epochs minted so far.