Protocols / Dexs
HyperSwap
The first native AMM DEX on HyperEVM (chainId 999): Uniswap-V2-style constant-product pools (Camelot-style router with a referrer argument) and Uniswap-V3-style concentrated liquidity. An agent can quote and swap (V2 Router, SwapRouter02, QuoterV2), add/remove V2 liquidity, manage V3 position NFTs, and zap single-asset liquidity.
On-chainEVM12 contractsWebsite · Docs
get_protocol({ "protocol": "hyperswap" })Risks an agent should know
- The V2 router is NOT the stock Uniswap V2 router: only the ...SupportingFeeOnTransferTokens swap functions exist and they take an extra referrer address; there is no getAmountsIn or exact-output V2 swap. Calls built for Uniswap V2 router ABIs will revert.
- V2 pairs use per-token fee fields (token0FeePercent/token1FeePercent; read 300 = 0.3% on WHYPE/SWAP on 2026-11-25, Camelot-style denominator 100000) that the factory owner can configure; fees can differ by pair.
- SwapRouter02 exactInput/exactOutput structs have no deadline; always wrap them in multicall(deadline, ...) and set amountOutMinimum, or the swap can be sandwiched.
- QuoterV2 functions are not view: call them only via eth_call, never as a transaction.
- V3 positions earn fees only in range and suffer impermanent loss. The Zap's V3 path always mints a full-range position.
- Admin keys: on 2026-11-25 the V3 factory owner() was an externally owned account (0xBC7e493fd3ed834eD563f9597AAAED94e446bBc7) and the V2 factory owner was the ProxyAdmin contract listed in the docs (0x56dEE154EA6CD473Ed76353f4045e92A5D44Bb15). Owners can set protocol fee shares and enable fee tiers.
- Audited by PeckShield (V2, V3 and the DelegatedPositionVault "Burn & Earn"); reports linked from the docs audits page. Audits do not cover every deployment detail.
- Single-chain: HyperEVM only. Tokens bridged from HyperCore or other chains carry their own bridge/issuer risk.
What an agent can do
| quote (V2) | Expected output of a V2 swap eth_call V2Router.getAmountsOut(amountIn, [tokenIn, ..., tokenOut]); last element is the output. |
| quote (V3) | Expected output of a V3 swap eth_call QuoterV2.quoteExactInputSingle((tokenIn, tokenOut, amountIn, fee, 0)); try fee tiers 100/500/3000/10000 (check V3Factory.getPool != 0). |
| swap (V2) | Swap through a V2 pool ERC-20 approve(V2Router, amountIn); V2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn, amountOutMin, path, to, 0x0000000000000000000000000000000000000000, deadline). For native HYPE use the ...ETH... variants with WHYPE at the path end/start. |
| swap (V3) | Swap through a V3 pool approve(SwapRouter02, amountIn); SwapRouter02.multicall(deadline, [exactInputSingle((tokenIn, tokenOut, fee, recipient, amountIn, amountOutMinimum, 0))]). To receive native HYPE set recipient = router and append unwrapWETH9(amountOutMinimum, user). |
| add / remove liquidity (V2) | Classic LP approve both tokens to V2Router, addLiquidity(...) or addLiquidityETH(...); to exit approve the pair LP token to V2Router and removeLiquidity(...). |
| add / remove liquidity (V3) | Concentrated liquidity position approve tokens to NonfungiblePositionManager; mint((token0, token1, fee, tickLower, tickUpper, a0, a1, a0Min, a1Min, recipient, deadline)). Exit: multicall([decreaseLiquidity((tokenId, liquidity, min0, min1, deadline)), collect((tokenId, recipient, 2^128-1, 2^128-1))]). |
| single-asset zap | LP with one token approve tokenA to Zap; Zap.provideLiquidityV2((tokenA, tokenB, amountA, slippageBps)) or provideLiquidityV3((tokenA, tokenB, amountA, fee, slippageBps)) (V3 = full range). |
Contracts
hyperevm · chain id 999
| Contract | Address | Key functions | Try |
|---|---|---|---|
| HyperSwap V2 Router router | 0xb4a9C4e6Ea8E2191d2FA5B380452a634Fb21240A source | readgetAmountsOut(uint256,address[]) writeswapExactTokensForTokensSupportingFeeOnTransferTokens(uint256,uint256,address[],address,address,uint256) writeswapExactETHForTokensSupportingFeeOnTransferTokens(uint256,address[],address,address,uint256) writeswapExactTokensForETHSupportingFeeOnTransferTokens(uint256,uint256,address[],address,address,uint256) writeaddLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256) writeaddLiquidityETH(address,uint256,uint256,uint256,address,uint256) writeremoveLiquidity(address,address,uint256,uint256,uint256,address,uint256) writeremoveLiquidityETH(address,uint256,uint256,uint256,address,uint256) +4 more via get_protocol | Full ABI |
| HyperSwap V2 Factory factory | 0x724412C00059bf7d6ee7d4a1d0D5cd4de3ea1C48 source | readgetPair(address,address) readallPairsLength() readallPairs(uint256) writecreatePair(address,address) readfeeInfo() readINIT_CODE_PAIR_HASH() | Full ABI |
| HyperSwap V3 Factory factory | 0xB1c0fa0B789320044A6F623cFe5eBda9562602E3 source | readgetPool(address,address,uint24) readfeeAmountTickSpacing(uint24) writecreatePool(address,address,uint24) | Full ABI |
| HyperSwap SwapRouter02 (V3 + V2) router | 0x6D99e7f6747AF2cDbB5164b6DD50e40D4fDe1e77 source | writeexactInputSingle((address,address,uint24,address,uint256,uint256,uint160)) writeexactInput((bytes,address,uint256,uint256)) writeexactOutputSingle((address,address,uint24,address,uint256,uint256,uint160)) writeexactOutput((bytes,address,uint256,uint256)) writeswapExactTokensForTokens(uint256,uint256,address[],address) writemulticall(uint256,bytes[]) writeunwrapWETH9(uint256,address) writerefundETH() +2 more via get_protocol | Full ABI |
| HyperSwap QuoterV2 other | 0x03A918028f22D9E1473B7959C927AD7425A45C7C source | readquoteExactInputSingle((address,address,uint256,uint24,uint160)) readquoteExactInput(bytes,uint256) readquoteExactOutputSingle((address,address,uint256,uint24,uint160)) readquoteExactOutput(bytes,uint256) | Full ABI |
| HyperSwap NonfungiblePositionManager (V3) other | 0x6eDA206207c09e5428F281761DdC0D300851fBC8 source | writemint((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256,address,uint256)) writeincreaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256)) writedecreaseLiquidity((uint256,uint128,uint256,uint256,uint256)) writecollect((uint256,address,uint128,uint128)) readpositions(uint256) writeburn(uint256) writecreateAndInitializePoolIfNecessary(address,address,uint24,uint160) writemulticall(bytes[]) +2 more via get_protocol | Full ABI |
| HyperSwap Single Asset Zap other | 0x093dE46C90bEA4A730b1914748cC43d909b53661 source | writeprovideLiquidityV2((address,address,uint256,uint256)) writeprovideLiquidityV3((address,address,uint256,uint24,uint256)) | Full ABI |
| HyperSwap Universal Router router | 0xefAbEB7A19bB848b359e5dd5a63b1a634AAfD229 source | writeexecute(bytes,bytes[],uint256) writeexecute(bytes,bytes[]) | Full ABI |
| Permit2 other | 0x000000000022D473030F116dDEE9F6B43aC78BA3 source | writeapprove(address,address,uint160,uint48) readallowance(address,address,address) | Full ABI |
| WHYPE (wrapped HYPE) token | 0x5555555555555555555555555555555555555555 source | writedeposit() writewithdraw(uint256) writeapprove(address,uint256) readbalanceOf(address) | Full ABI |
| SWAP token token | 0x03832767BDf9A8EF007449942125Ad605aCfADb8 source | readbalanceOf(address) writeapprove(address,uint256) writetransfer(address,uint256) | Full ABI |
| xSWAP (escrowed SWAP) token | 0xF535D7406BaF7322171142BB165643821cAb01Fe source | readbalanceOf(address) | Full ABI |
APIs
| HyperSwap V3 subgraph auth: none | https://api.subgraph.ormilabs.com/api/public/33c67399-d625-4929-b239-5709cd66e422/subgraphs/hyperswap-v3/v0.1.2/gn GraphQL: V3 pools, ticks, positions, swaps, TVL/volume history. |
| HyperSwap V2 subgraph auth: none | https://api.subgraph.ormilabs.com/api/public/33c67399-d625-4929-b239-5709cd66e422/subgraphs/hyperswap-v2/v1.0.0/gn GraphQL: V2 pairs, reserves, swaps and liquidity events. |
Notes
All addresses come from the HyperSwap docs Contracts pages (docs.hyperswap.exchange/docs/amm/contracts/hyper-evm/*) and were confirmed as deployed contracts on HyperEVM (chainId 999) with eth_getCode; function selectors were checked against bytecode and against the official ABIs in github.com/HyperSwapX/abis. Also listed in the docs but omitted here: SwapRouter01 0x4E2960a8cd19B467b82d26D83fAcb0fAE26b094D (legacy router whose exactInputSingle has a deadline field), QuoterV1, Mixed Route QuoterV1, TickLens, V3 Migrator, Position Modifier (edit CL position), Multicall contracts, Launcher, HyperCore precompile, LMBooster Staking and the Burn & Delegate Fees vault (DelegatedPositionVault 0x744C89B7b7F8Cb1E955B1Dcd842A5378d75c96Dc). HyperSwap X (gasless intent swaps), limit orders and DCA (OpenOcean) are app features with no public documented API; the docs say API access is granted on request via Discord. The testnet deployment (chainId 998) has different addresses. Init code hashes: V2 0xc83d9df19c8c8a0a1229bd3122cbb86fd8ff56f79cc6781c15999d39425466e9, V3 0xe3572921be1688dba92df30c6781b8770499ff274d20ae9b325f4242634774fb. DefiLlama lists the chain as "Hyperliquid L1"; the contracts are on HyperEVM.
Sources
- https://defillama.com/protocol/hyperswap
- https://api.llama.fi/protocol/hyperswap
- https://docs.hyperswap.exchange/llms.txt
- https://docs.hyperswap.exchange/llms-full.txt
- https://docs.hyperswap.exchange/docs/amm/contracts/hyper-evm
- https://docs.hyperswap.exchange/docs/amm/contracts/hyper-evm/v2
- https://docs.hyperswap.exchange/docs/amm/contracts/hyper-evm/v3
- https://docs.hyperswap.exchange/docs/amm/contracts/hyper-evm/tools
- https://docs.hyperswap.exchange/docs/amm/tokens/usdswap
- https://docs.hyperswap.exchange/docs/amm/tokens/usdxswap
- https://docs.hyperswap.exchange/docs/amm/for-developers/integrations/quick-start/v2/functions
- https://docs.hyperswap.exchange/docs/amm/for-developers/integrations/quick-start/single-asset-zap/functions
- https://docs.hyperswap.exchange/docs/amm/for-developers/subgraphs
- https://docs.hyperswap.exchange/docs/amm/for-developers/api
- https://docs.hyperswap.exchange/docs/amm/references/audits
- https://docs.hyperswap.exchange/docs/amm/token-design/protocol-earnings
- https://docs.hyperswap.exchange/docs/amm/token-design/revenues-sharing-model
- https://docs.hyperswap.exchange/docs/amm/protocol-concepts/hyperswap-x
- https://docs.hyperswap.exchange/docs/amm/official-links
- https://github.com/HyperSwapX/abis/blob/main/AMM/hyperswap_router_V2.json
- https://github.com/HyperSwapX/abis/blob/main/AMM/hyperswap_factory_V2.json
- https://github.com/HyperSwapX/abis/blob/main/CL/HyperswapV3Factory.json
- https://github.com/HyperSwapX/abis/blob/main/CL/QuoterV2.json
- https://github.com/HyperSwapX/abis/blob/main/CL/SwapRouter02.json
- https://github.com/HyperSwapX/abis/blob/main/CL/NonfungiblePositionManager.json
- https://github.com/HyperSwapX/abis/blob/main/Tools/UniversalRouter.json
- https://github.com/HyperSwapX/abis/blob/main/Tools/SingleAssetZap.json
- https://rpc.hyperliquid.xyz/evm
Researched 2026-11-24. Addresses are copied from the official sources above; check them before moving large amounts.