What you can do
| quote | Get a swap quote | eth_call QuoterV2.quoteExactInputSingle((tokenIn, tokenOut, 0x0 deployer, amountIn, 0)) and read amountOut. |
| swap | Swap ERC-20 tokens | tokenIn.approve(SwapRouter, amountIn); SwapRouter.exactInputSingle((tokenIn, tokenOut, 0x0000000000000000000000000000000000000000, recipient, deadline, amountIn, minOut, 0)). Set minOut from the quote minus slippage. |
| swap-native | Swap HYPE (HyperEVM) or ETH (Robinhood) | exactInputSingle with tokenIn = WNativeToken() and msg.value = amountIn. To receive native: multicall([exactInputSingle(... recipient = router ...), unwrapWNativeToken(minOut, me)]). |
| add-liquidity | Open a concentrated-liquidity position | Find the pool with AlgebraFactory.poolByPair(a,b); approve both tokens to NonfungiblePositionManager; NPM.mint((token0, token1, 0x0, tickLower, tickUpper, amt0, amt1, min0, min1, me, deadline)). |
| remove-liquidity | Close or reduce a position | NPM.multicall([decreaseLiquidity((tokenId, liquidity, min0, min1, deadline)), collect((tokenId, me, 2^128-1, 2^128-1))]). |
| farm | Farm an LP position (HyperEVM) | NPM.approveForFarming(tokenId, true, FarmingCenter); FarmingCenter.enterFarming(incentiveKey, tokenId); later collectRewards + claimReward. Incentive keys are easiest to get from the app. |
| lock | Lock KITTEN for veKITTEN (HyperEVM) | KITTEN.approve(veKITTEN, amt); veKITTEN.create_lock(amt, durationSeconds) with 1 week <= duration <= 2 years; vote in the app. |
Concentrated liquidity: positions out of range earn no fees and suffer impermanent loss; the pool fee is dynamic (Algebra plugin), not a fixed tier.
Upgradeable contracts: KITTEN, veKITTEN, Voter, RebaseReward and Minter are EIP-1967 proxies. Docs say proxy ownership moves to the TimelockController and the delay will rise from 1 minute to 24 hours; at research time getMinDelay() on the timelock still returned 60 seconds.
veKITTEN locks are illiquid until expiry (up to 2 years); voting power decays linearly.
Robinhood Chain has swaps and LP only; farming contracts exist there but incentives are not enabled, and veKITTEN/voting is HyperEVM-only. Positions and balances do not bridge between chains.
Contracts
Read any function, or build a write and sign it. Amounts are in base units (1 USDC = 1000000).SwapRouter (Algebra Integral)router on hyperevm0x4e73E421480a7E0C24fB3c11019254edE194f736
write exactInputSingle((address,address,address,address,uint256,uint256,uint256,uint160))
Single-pool exact-input swap. Tuple: (tokenIn, tokenOut, deployer, recipient, deadline, amountIn, amountOutMinimum, limitSqrtPrice). deployer = 0x000...0 for standard pools (non-zero only for custom-deployer pools); limitSqrtPrice = 0 for no limit. Approve tokenIn to the router first. Payable: to swap native gas token, send it as msg.value with tokenIn = WHYPE 0x5555555555555555555555555555555555555555. Returns amountOut.
write exactInput((bytes,address,uint256,uint256,uint256))
Multi-hop exact-input swap. Tuple: (path, recipient, deadline, amountIn, amountOutMinimum). Algebra Integral path encoding: tokenIn(20 bytes) + deployer(20 bytes) + token(20 bytes) [+ deployer + token ...]; no fee field. Returns amountOut.
write exactOutputSingle((address,address,address,address,uint256,uint256,uint256,uint160))
Single-pool exact-output swap. Tuple: (tokenIn, tokenOut, deployer, recipient, deadline, amountOut, amountInMaximum, limitSqrtPrice). Returns amountIn. When paying with native token, add refundNativeToken() in a multicall.
write exactOutput((bytes,address,uint256,uint256,uint256))
Multi-hop exact-output swap: (path in REVERSE order, recipient, deadline, amountOut, amountInMaximum). Returns amountIn.
write exactInputSingleSupportingFeeOnTransferTokens((address,address,address,address,uint256,uint256,uint256,uint160))
Same tuple as exactInputSingle, for fee-on-transfer tokens.
write multicall(bytes[])
Batch router calls, e.g. swap to the router (recipient = router address) then unwrapWNativeToken to receive the native token.
write unwrapWNativeToken(uint256,address)
Unwrap the router's WHYPE 0x5555555555555555555555555555555555555555 balance to native and send to recipient. Args (amountMinimum, recipient). Use inside multicall.
write refundNativeToken()
Return any leftover native token held by the router to msg.sender (use after exact-output swaps paid in native).
read WNativeToken()
Wrapped native token address (WHYPE 0x5555555555555555555555555555555555555555).
QuoterV2other on hyperevm0xc58874216AFe47779ADED27B8AAd77E8Bd6eBEBb
read quoteExactInputSingle((address,address,address,uint256,uint160))
Quote (call with eth_call, it is not a view function). Tuple: (tokenIn, tokenOut, deployer, amountIn, limitSqrtPrice). Returns (amountOut, amountIn, sqrtPriceX96After, initializedTicksCrossed, gasEstimate, fee).
read quoteExactInput(bytes,uint256)
Multi-hop quote via eth_call: (path, amountIn). Returns (amountOutList[], amountInList[], sqrtPriceX96AfterList[], initializedTicksCrossedList[], gasEstimate, feeList[]).
read quoteExactOutputSingle((address,address,address,uint256,uint160))
Exact-output quote via eth_call. Tuple: (tokenIn, tokenOut, deployer, amount, limitSqrtPrice).
read quoteExactOutput(bytes,uint256)
Multi-hop exact-output quote via eth_call; path in reverse order.
NonfungiblePositionManagerother on hyperevm0x9ea4459c8DefBF561495d95414b9CF1E2242a3E2
write mint((address,address,address,int24,int24,uint256,uint256,uint256,uint256,address,uint256))
Open a concentrated-liquidity position NFT. Tuple: (token0, token1, deployer, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline). token0 < token1 by address; ticks must be multiples of the pool tickSpacing. Approve both tokens 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.
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, deployer, tickLower, tickUpper, liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128, tokensOwed0, tokensOwed1).
write createAndInitializePoolIfNecessary(address,address,address,uint160,bytes)
Create and initialize a pool: (token0, token1, deployer, sqrtPriceX96, data). Returns pool address.
write multicall(bytes[])
Batch calls (e.g. decreaseLiquidity + collect, or mint with native token + refundNativeToken).
read balanceOf(address)
Number of position NFTs owned.
read tokenOfOwnerByIndex(address,uint256)
Enumerate an owner's position tokenIds.
write approveForFarming(uint256,bool,address)
Approve a position for farming: (tokenId, approve, farmingAddress = FarmingCenter). Required before FarmingCenter.enterFarming.
AlgebraFactoryfactory on hyperevm0x5f95E92c338e6453111Fc55ee66D4AafccE661A7
read poolByPair(address,address)
Standard pool address for a token pair (either order); zero address if none. One pool per pair (dynamic fee).
read customPoolByPair(address,address,address)
Pool created by a custom deployer: (customDeployer, tokenA, tokenB).
read computePoolAddress(address,address)
Deterministic standard pool address for (token0, token1).
read poolDeployer()
AlgebraPoolDeployer address.
FarmingCenterstaking on hyperevm0x211BD8917d433B7cC1F4497AbA906554Ab6ee479
write enterFarming((address,address,address,uint256),uint256)
Stake a position NFT in an eternal-farming incentive. Args: IncentiveKey (rewardToken, bonusRewardToken, pool, nonce) and tokenId. Call NonfungiblePositionManager.approveForFarming(tokenId, true, FarmingCenter) first.
write exitFarming((address,address,address,uint256),uint256)
Leave the incentive (IncentiveKey, tokenId).
write collectRewards((address,address,address,uint256),uint256)
Accrue rewards for a farmed position; returns (reward, bonusReward). Then claimReward to receive them.
write claimReward(address,address,uint256)
Send accrued rewards: (rewardToken, to, amountRequested); 0 = all. Returns amount.
read deposits(uint256)
Active eternal incentiveId (bytes32) for a tokenId; zero if not farmed.
AlgebraEternalFarmingstaking on hyperevm0xf3b57fE4d5D0927C3A5e549CB6aF1866687e2D62
read getRewardInfo((address,address,address,uint256),uint256)
Pending (reward, bonusReward) for (IncentiveKey, tokenId).
read rewards(address,address)
Claimable reward balance for (owner, rewardToken).
KITTENtoken on hyperevm0x618275F8EFE54c2afa87bfB9F210A52F0fF89364
read balanceOf(address)
KITTEN balance (18 decimals).
write approve(address,uint256)
Approve KITTEN (e.g. to veKITTEN before create_lock, or to the router).
write transfer(address,uint256)
ERC-20 transfer.
veKITTEN (vote-escrow NFT)governance on hyperevm0x29d3A21fF35a519E00cF6d272f2aD897b109BD84
write create_lock(uint256,uint256)
Lock KITTEN for a veKITTEN NFT: (amount, lockDurationSeconds). Docs: min 1 week, max 2 years, weekly increments, linear decay. Approve KITTEN first. Locked KITTEN cannot be withdrawn until expiry.
write create_lock_for(uint256,uint256,address)
Same as create_lock but mints the NFT to another address.
write increase_amount(uint256,uint256)
Add KITTEN to an existing lock: (tokenId, amount).
write increase_unlock_time(uint256,uint256)
Extend a lock: (tokenId, newLockDurationSeconds).
write withdraw(uint256)
Withdraw KITTEN from an expired lock (tokenId).
write merge(uint256,uint256)
Merge lock (from, to).
read locked(uint256)
Lock amount and end time for a tokenId.
read balanceOfNFT(uint256)
Current voting power of a veKITTEN NFT.
read voted(uint256)
Whether the NFT has active votes (may block withdraw/transfer until reset).
read tokenOfOwnerByIndex(address,uint256)
Enumerate an owner's veKITTEN tokenIds.
Votergovernance on hyperevm0xb7F7053F7e6c210e6777D5BA758E4b3ECa6C88A0
write vote(uint256,address[],uint256[])
Vote emissions with a veKITTEN NFT: (tokenId, addresses[], weights[]). Signature confirmed in bytecode; whether the address list is pools or gauges is not confirmed from source, so prefer the app (app.kittenswap.finance/vote).
TimelockControllergovernance on hyperevm0xFa31F79e4306dcA84cc2C14A9ba68f9298959fF7
read getMinDelay()
Minimum delay (seconds) for queued admin operations; 60 at time of research.
SwapRouter (Algebra Integral)router on robinhood0x7064C7Bb85979f008212877c4CE41285ddf5374C
write exactInputSingle((address,address,address,address,uint256,uint256,uint256,uint160))
Single-pool exact-input swap. Tuple: (tokenIn, tokenOut, deployer, recipient, deadline, amountIn, amountOutMinimum, limitSqrtPrice). deployer = 0x000...0 for standard pools (non-zero only for custom-deployer pools); limitSqrtPrice = 0 for no limit. Approve tokenIn to the router first. Payable: to swap native gas token, send it as 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). Algebra Integral path encoding: tokenIn(20 bytes) + deployer(20 bytes) + token(20 bytes) [+ deployer + token ...]; no fee field. Returns amountOut.
write exactOutputSingle((address,address,address,address,uint256,uint256,uint256,uint160))
Single-pool exact-output swap. Tuple: (tokenIn, tokenOut, deployer, recipient, deadline, amountOut, amountInMaximum, limitSqrtPrice). Returns amountIn. When paying with native token, add refundNativeToken() in a multicall.
write exactOutput((bytes,address,uint256,uint256,uint256))
Multi-hop exact-output swap: (path in REVERSE order, recipient, deadline, amountOut, amountInMaximum). Returns amountIn.
write exactInputSingleSupportingFeeOnTransferTokens((address,address,address,address,uint256,uint256,uint256,uint160))
Same tuple as exactInputSingle, for fee-on-transfer tokens.
write multicall(bytes[])
Batch router calls, e.g. swap to the router (recipient = router address) then unwrapWNativeToken to receive the native token.
write unwrapWNativeToken(uint256,address)
Unwrap the router's WETH 0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73 balance to native and send to recipient. Args (amountMinimum, recipient). Use inside multicall.
write refundNativeToken()
Return any leftover native token held by the router to msg.sender (use after exact-output swaps paid in native).
read WNativeToken()
Wrapped native token address (WETH 0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73).
QuoterV2other on robinhood0xC45E0e18A82670A6Dd1D19b5D6CC7a4314B3E07d
read quoteExactInputSingle((address,address,address,uint256,uint160))
Quote (call with eth_call, it is not a view function). Tuple: (tokenIn, tokenOut, deployer, amountIn, limitSqrtPrice). Returns (amountOut, amountIn, sqrtPriceX96After, initializedTicksCrossed, gasEstimate, fee).
read quoteExactInput(bytes,uint256)
Multi-hop quote via eth_call: (path, amountIn). Returns (amountOutList[], amountInList[], sqrtPriceX96AfterList[], initializedTicksCrossedList[], gasEstimate, feeList[]).
read quoteExactOutputSingle((address,address,address,uint256,uint160))
Exact-output quote via eth_call. Tuple: (tokenIn, tokenOut, deployer, amount, limitSqrtPrice).
read quoteExactOutput(bytes,uint256)
Multi-hop exact-output quote via eth_call; path in reverse order.
NonfungiblePositionManagerother on robinhood0xf2c72D4EA4b3d54652Df182edA49b082678d02e3
write mint((address,address,address,int24,int24,uint256,uint256,uint256,uint256,address,uint256))
Open a concentrated-liquidity position NFT. Tuple: (token0, token1, deployer, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, amount1Min, recipient, deadline). token0 < token1 by address; ticks must be multiples of the pool tickSpacing. Approve both tokens 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.
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, deployer, tickLower, tickUpper, liquidity, feeGrowthInside0LastX128, feeGrowthInside1LastX128, tokensOwed0, tokensOwed1).
write createAndInitializePoolIfNecessary(address,address,address,uint160,bytes)
Create and initialize a pool: (token0, token1, deployer, sqrtPriceX96, data). Returns pool address.
write multicall(bytes[])
Batch calls (e.g. decreaseLiquidity + collect, or mint with native token + refundNativeToken).
read balanceOf(address)
Number of position NFTs owned.
read tokenOfOwnerByIndex(address,uint256)
Enumerate an owner's position tokenIds.
AlgebraFactoryfactory on robinhood0xf03875b5Ec5eAc83cab83A6c2ab17844304AA7a0
read poolByPair(address,address)
Standard pool address for a token pair (either order); zero address if none. One pool per pair (dynamic fee).
read customPoolByPair(address,address,address)
Pool created by a custom deployer: (customDeployer, tokenA, tokenB).
read computePoolAddress(address,address)
Deterministic standard pool address for (token0, token1).
read poolDeployer()
AlgebraPoolDeployer address.
WETH (Robinhood Chain wrapped native)token on robinhood0x0Bd7D308f8E1639FAb988df18A8011f41EAcAD73
read balanceOf(address)
WETH balance (18 decimals).
write approve(address,uint256)
Approve WETH to the SwapRouter / NonfungiblePositionManager.