Package Requirements
ABI Source
Contract ABIs are published in the euler-interfaces repository. Import them directly or fetch from the verified contracts on HyperEVM Explorer.RPC Endpoint
Connect to HyperEVM Mainnet. Use any compatible JSON-RPC provider URL.Contract Addresses (HyperEVM Mainnet)
Core
- eVaultFactory:
0xcF5552580fD364cdBBFcB5Ae345f75674c59273A— factory for deploying new vaults - eVaultImplementation:
0x05de079A28386135E048369cdf0Bc4D326d5EBDF— vault implementation contract - EVC (Ethereum Vault Connector):
0xceAA7cdCD7dDBee8601127a9Abb17A974d613db4— batching, sub-accounts, operators, deferred checks - ProtocolConfig:
0x43144f09896F8759DE2ec6D777391B9F05A51128— global protocol parameters - BalanceTracker:
0x05d14f4eDFA7Cbfb90711C2EC5505bcbd49b9cD2— cross-vault balance tracking - SequenceRegistry:
0x47618E4CBDcFBf5f21D6594A7e3a4f4683719994— operation sequencing
Periphery
- EulerEarnFactory:
0x587DD8285c01526769aB4803e4F02433ddbBc00E— deploys ERC-4626 earn strategy vaults - Permit2:
0x000000000022D473030F116dDEE9F6B43aC78BA3— gasless approvals
Swap
- EulerSwapV2Factory:
0xFbF2a49CB0cc50F4ccd4eAc826eF1A76D99D29Eb - EulerSwapV2Implementation:
0xC00F0B7d7B4F7cA3d3f79f3892069f41C142dB84 - EulerSwapV2Periphery:
0x61aFC386b47a11F8721b67Eb1607cFBd9ccE48B1 - EulerSwapV2ProtocolFeeConfig:
0x434b1072d96ea24967CDe289D3d4d81d2BAD4F30 - EulerSwapV2Registry:
0x7E1Efb6A2009A1FDaDee1c5d6615260AD70c14Fb
Bridge
- eulOFTAdapter:
0x976666e0ae74A8A4059cF1acf706891aDE98C3d1— OFT adapter for EUL token bridging
eVaultFactory or use an indexer (TheGraph, Ponder) to enumerate vaults.
For the canonical address list, see: euler-interfaces/addresses/999
Protocol Overview
HypurrFi Markets (community name: Mewler) is a modular, permissionless lending protocol deployed on HyperEVM. It is a deployment of Euler V2 and maintains full compatibility with the Euler V2 architecture. HypurrFi Markets contains two categories of isolated lending markets:- HypurrFi Prime — one risk profile / asset range
- HypurrFi Yield — different risk profile / asset range
EulerEarnFactory.
Architecture
- Vaults: Isolated lending markets for individual ERC-20 tokens, each with independent parameters (IRM, oracle, collateral factors). Follows ERC-4626 for share accounting.
- EVC: Ethereum Vault Connector enabling atomic batching, sub-accounts (up to 256 per wallet), operator delegation, and deferred liquidity checks.
- Vault Factory: Deploys new vault instances using EIP-1167 minimal proxy pattern.
- Earn Factory: Deploys yield strategy vaults (ERC-4626).
- Lens Contracts: Read-only data aggregation.
- Swap Contracts: DEX integration for leveraged/multiply positions.
Vault Types
- Borrowable: accepts deposits, pays interest to lenders, allows borrowing of the underlying asset.
- Collateral-only: accepts deposits, pays interest, but underlying cannot be borrowed — used only as collateral in other vaults.
Developer Integration
Connecting to a Vault
Deposit
Borrow
Query Balances
Repay Debt
Withdraw
EVC Integration
Connect
Batch Operations (Atomic)
All calls in a batch either succeed together or revert together. Deferred liquidity checks allow intermediate states to temporarily violate health constraints as long as the final state is valid.Sub-Accounts
Each wallet supports up to 256 sub-accounts (IDs 0–255). Sub-account addresses share the first 19 bytes of the main address; only the final byte differs.- Account 0 = main / savings account
- Accounts 1–255 = isolated position sub-accounts
Operators
Grant an address permission to execute transactions on your behalf:Creating a Vault
Vaults are deployed viaeVaultFactory (0xcF5552580fD364cdBBFcB5Ae345f75674c59273A) using EIP-1167 minimal proxy pattern.
Configuration Struct
Deploy
Typical Collateral Factors
- Stablecoins: 80–90%
- Major assets (ETH, BTC): 75–85%
- Altcoins: 50–75%
- Volatile / long-tail: 30–50%
Oracle Adapters
Supported: Pyth Network, Chainlink, custom adapters. Each vault can use a different oracle.Interest Rate Models
Each vault has an IRM that computes rates from utilization:IRM Types
Linear:Borrow Rate = Base Rate + (Utilization × Slope)
Kinked (most common):
Liquidations
Health Score
> 1.0→ safe= 1.0→ at liquidation threshold< 1.0→ liquidatable
Liquidation Mechanics
Anyone can liquidate. Liquidator repays borrower debt and receives collateral at a discount (typically 5–15%). Partial liquidation is supported: liquidator can repay a portion of the debt and receive proportional collateral + discount.Factors Affecting Health Score
- Collateral price decrease → health drops
- Debt token price increase → health drops
- Interest accrual on debt → health drops over time
- Adding collateral / repaying debt → health improves
Share Accounting (ERC-4626)
Automation Patterns
Liquidation Bot
- Monitor positions via vault
balanceOfand debt queries - Identify positions with health score < 1.0
- Calculate profitability: liquidation discount minus gas cost
- Execute liquidation (partial or full)
Leveraged Position (via EVC batch)
- Deposit initial collateral
- Borrow asset
- Swap borrowed asset for more collateral
- Deposit additional collateral — all in a single atomic batch.
Position Rebalancing
Batch withdraw + repay + deposit across vaults atomically.Error Handling
Key External References
- ABI + addresses repo: github.com/euler-xyz/euler-interfaces
- Address directory: euler-interfaces/addresses/999
- Euler V2 docs: docs.euler.finance
- ERC-4626 spec: EIP-4626
- HyperEVM Explorer: hyperevmscan.io
Support
- Telegram: HypurrFi Community
- Discord: Support Ticket
- GitHub: euler-interfaces