Uniswap v3 on Base Sepolia (84532) — swap, add and remove liquidity straight from the contracts, no backend
not connected
Balances—
Test tokens…
Pools
Pair
Fee
Pool
Price
Pool holds
Liquidity
…
Click a pool to add liquidity to it. Liquidity is what is active at the current price: a pool showing 0 cannot quote a swap. USDC and USDT here are the platform's mock tokens, not Circle's test USDC.
Swap, attributed to Huma (ERC-8021)
Pay
Receive—
Router call—
The swap goes to SwapRouter02 through the direct pool with the best quote; slippage uses the value in the Add
liquidity form. Huma Points count a swap only when its calldata ends with this suffix:
68756d61 is huma, 04 its length, 00 the schema, then the
16-byte marker 8021…8021. Swapping out to ETH is one multicall: the suffix goes on that
outer call, never on the calls inside it. In the app, viem and wagmi take the same suffix as
dataSuffix: Attribution.toDataSuffix({ codes: ['huma'] }) from ox/erc8021, on each
writeContract or once on the wallet client.
Add liquidity
Pool
Current price—
This pool holds no liquidity yet. Your deposit is made at the price above, and anyone can move the price of an empty pool at no cost — check it before you deposit.
Range
MinMax
Range in use—
—
—
Slippage %
The position manager gives you an NFT for each position. Typing one amount fills in the other at the current price; a range that sits entirely above or below the price takes only one token.
Your positions
NFT
Pool
Range
Holds now
Fees to collect
connect a wallet to see your positions
Removing takes the tokens and the fees out in one transaction. Slippage uses the value in the form above.