euler-vaults
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEuler Finance Agent Skill
Euler Finance Agent Skill
Core guide for interacting with Euler Finance V2 protocol. Contains rules across 5 categories covering vault operations, EVC orchestration, risk management, architecture concepts, and security.
这是与Euler Finance V2协议交互的核心指南,包含5大类规则,涵盖金库操作、EVC编排、风险管理、架构概念和安全相关内容。
Companion Skills
配套Skill
For specialized topics, use these companion skills:
- euler-irm-oracles - Oracle adapters, EulerRouter, price resolution, Interest Rate Models
- euler-earn - EulerEarn yield aggregation, strategies
- euler-advanced - Hooks, flash loans, fee flow, rewards
- euler-data - Lens contracts, subgraphs, contract interfaces, developer tools
如需了解特定主题,请使用以下配套Skill:
- euler-irm-oracles - 预言机适配器、EulerRouter、价格解析、利率模型
- euler-earn - EulerEarn收益聚合、策略
- euler-advanced - 钩子、闪电贷、费用流、奖励
- euler-data - Lens合约、子图、合约接口、开发者工具
When to Apply
适用场景
Reference these guidelines when:
- Depositing, borrowing, or managing positions on Euler vaults (EVK)
- Batching operations via the Ethereum Vault Connector (EVC)
- Monitoring health factors and liquidation risk
- Understanding Euler architecture (vault types, market design)
- Security practices and audit information
在以下场景中可参考本指南:
- 在Euler金库(EVK)中存入、借入或管理头寸
- 通过Ethereum Vault Connector(EVC)批量执行操作
- 监控健康因子和清算风险
- 理解Euler架构(金库类型、市场设计)
- 安全实践与审计信息
Rule Categories by Priority
按优先级划分的规则类别
| # | Category | Impact | Prefix | Key Questions |
|---|---|---|---|---|
| 1 | Vault Operations | CRITICAL | | Get APY, deposit, borrow, create market |
| 2 | EVC Operations | CRITICAL | | Batch calls, sub-accounts, operators |
| 3 | Risk Management | HIGH | | Check health, liquidation, risk managers, curators |
| 4 | Architecture | HIGH | | Market design, vault types |
| 5 | Security | CRITICAL | | Audits, best practices |
| # | 类别 | 影响程度 | 前缀 | 关键问题 |
|---|---|---|---|---|
| 1 | 金库操作 | 关键 | | 获取APY、存入、借入、创建市场 |
| 2 | EVC操作 | 关键 | | 批量调用、子账户、操作方 |
| 3 | 风险管理 | 高 | | 检查健康状况、清算、风险管理者、管理者 |
| 4 | 架构 | 高 | | 市场设计、金库类型 |
| 5 | 安全 | 关键 | | 审计、最佳实践 |
Quick Reference
快速参考
1. Vault Operations (CRITICAL)
1. 金库操作(关键)
- - How to get vault APY and interest rates
vault-get-apy - - How to deposit assets into a vault
vault-deposit - - How to borrow assets from a vault
vault-borrow - - How to repay borrowed debt
vault-repay - - How to create a new vault/market
vault-create-market
- - 如何获取金库APY和利率
vault-get-apy - - 如何将资产存入金库
vault-deposit - - 如何从金库借入资产
vault-borrow - - 如何偿还借入的债务
vault-repay - - 如何创建新的金库/市场
vault-create-market
2. EVC Operations (CRITICAL)
2. EVC操作(关键)
- - How to batch multiple operations atomically
evc-batch - - How to use sub-accounts for isolated positions
evc-sub-accounts - - How to delegate control via operators
evc-operators - - How to enable vault as collateral
evc-enable-collateral
- - 如何原子化执行多个操作
evc-batch - - 如何使用子账户实现隔离头寸
evc-sub-accounts - - 如何通过操作方委托控制权
evc-operators - - 如何将金库设为抵押品
evc-enable-collateral
3. Risk Management (HIGH)
3. 风险管理(高)
- - How to check account health factor
risk-check-health - - How liquidations work on Euler
risk-liquidation - - Understanding risk manager roles
risk-managers
- - 如何检查账户健康因子
risk-check-health - - Euler的清算机制运作方式
risk-liquidation - - 理解风险管理者的角色
risk-managers
4. Architecture (HIGH)
4. 架构(高)
- - Understanding Euler market design
arch-market-design - - Core, Edge, and Escrow vault types
arch-vault-types
- - 理解Euler的市场设计
arch-market-design - - 核心、边缘和托管金库类型
arch-vault-types
5. Security (CRITICAL)
5. 安全(关键)
- - Security practices and audit information
sec-audits
- - 安全实践与审计信息
sec-audits
Core Protocol Components
核心协议组件
Ethereum Vault Connector (EVC)
Ethereum Vault Connector(EVC)
The EVC is the foundational layer mediating between vaults. It provides:
- Batching: Execute multiple operations atomically
- Sub-accounts: 256 isolated positions per address
- Operators: Delegate control over your accounts to other addresses
- Deferred checks: Temporarily violate constraints within a batch
EVC是连接金库的基础层,提供以下功能:
- 批量处理:原子化执行多个操作
- 子账户:每个地址可拥有256个隔离头寸
- 操作方:将账户控制权委托给其他地址
- 延迟检查:在批量操作中临时违反约束条件
Euler Vault Kit (EVK)
Euler Vault Kit(EVK)
Credit vaults extending ERC-4626 with borrowing:
- Standard ERC-4626 deposit/withdraw/mint/redeem
- Borrow and repay functionality
- Collateral and controller management
- LTV ratios (borrow LTV vs liquidation LTV)
扩展ERC-4626标准并支持借贷的信用金库:
- 标准ERC-4626的存入/提取/铸造/赎回功能
- 借入和偿还功能
- 抵押品和控制器管理
- LTV比率(借贷LTV vs 清算LTV)
How to Use
使用方法
Read individual rule files for detailed explanations and code examples:
rules/vault-get-apy.md
rules/evc-batch.md
rules/risk-check-health.mdEach rule file contains:
- Brief explanation of why it matters
- Incorrect code example with explanation
- Correct code example with explanation
- Additional context and references
阅读单个规则文件以获取详细说明和代码示例:
rules/vault-get-apy.md
rules/evc-batch.md
rules/risk-check-health.md每个规则文件包含:
- 简要说明其重要性
- 错误代码示例及解释
- 正确代码示例及解释
- 额外背景信息和参考资料
Full Compiled Document
完整编译文档
For the complete guide with all rules expanded:
AGENTS.md如需查看包含所有扩展规则的完整指南,请查阅:
AGENTS.md