bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 26쪽 중 12쪽
ction>
</div>
### Price sources are not all the same
Markets can use different pricing approaches based on their assets and risk model.
| Pricing approach | Plain-English meaning | User-facing trade-off |
| ------------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| Market-based prices | Prices are informed by active markets and liquidity. | They can track current markets closely, but may move quickly during volatile periods. |
| Reference or fixed prices | A configured reference is used, such as treating a stable asset as close to one dollar. | This can reduce noise, but may lag reality if the asset moves away from the reference. |
| Exchange-rate prices | A token is valued through its relationship to another asset, such as a share token and its underlying asset. | This is useful for yield-bearing or wrapped assets, but users should understand what drives the exchange rate. |
| Derived routes | A price is calculated through one or more intermediate assets. | This can make more markets possible, but each step adds a dependency. |
### Unit of account
A unit of account is the common reference used to compare collateral and debt. It may be USDC, ETH, WBTC, or another asset. The oracle route converts both sides of a position into that unit before borrow capacity and liquidation checks are evaluated.
### ERC-4626 share pricing
`EulerRouter` can price an ERC-4626 share by calling `convertToAssets`, then routing from the underlying asset to the requested quote asset.
Only vaults with suitable exchange-rate accounting should use this path. ERC-4626 does not require `convertToAssets` to resist manipulation, and its result does not account for liquidity, fees, slippage, or withdrawal restrictions.
### CrossAdapter
`CrossAdapter` chains two providers through a shared asset. For example, it can quote `wstETH/USD` through `wstETH/stETH` and `stETH/USD`. Both providers must support both directions. `CrossAdapter` uses `getQuote` and does not provide separate bid and ask amounts.
### What users should check
* Which asset is used as collateral and which asset is borrowed?
* What oracle route or price source is shown for that pair?
* Does the price source follow fast-moving market prices, a configured reference, or an exchange rate?
* How much room does the position have before liquidation?
* Is the market curated, and who can update parameters such as oracle routes or risk settings?
### When prices can feel different
Vault oracle prices can differ from exchange or aggregator prices because of update schedules, reference prices, exchange-rate routes, or conservative risk settings. Check the vault's configured route when evaluating collateral values and borrow limits.
### For builders and curators
Inspect configured routes onchain with the [Lens contracts](/build/data-querying/lens-contracts), use the [Oracle adapters and routes](/curate/oracle-routes) guide to configure them, and see the [Euler Price Oracle repository](https://github.com/euler-xyz/euler-price-oracle) for implementation details.
## DAO proposals
Euler governance can use several systems, each with a different role:
1. **Forum:** public discussion and review.
2. **Snapshot:** offchain signed voting under the Euler space's current strategies and rules.
3. **Safe, timelock, or governor execution:** the transaction that changes contract state or moves assets.
A Snapshot result normally records an offchain governance signal. Onchain execution is a separate step unless the proposal uses a specifically configured execution module.
### Create a proposal
* Open a [forum](https://forum.euler.finance/) thread describing the motivation, requested actions, risks, and executable calldata where applicable.
* Check the live [Euler Snapshot space](https://snapshot.org/#/s\:eulerdao.eth) for the current proposal threshold, voting strategies, quorum, voting period, and delegation behavior.
* Identify the Safe, governor, timelock, module, or other executor that would carry out the decision.
* Before signing, read the executable calldata with [Batch Viz](/build/batch-viz): it unwraps a Safe transaction or a timelock schedule into the calls it contains.
* Create the proposal in the system appropriate to that decision.
* After voting, link the execution transaction. If no transaction follows, label the result as a signaling vote.
### Read next
* [DAO treasury](/euler-dao/treasury)
* [EUL overview](/EUL/overview)
## Treasury
The DAO holds EUL tokens in the Treasury. EUL token holders can participate in governance, while transactions from the Treasury require approval under its multisig signing policy.
The address for the Treasury is: [0xC7C5aFDB61e08BE3e2FB09098412b5706EB5c550](https://etherscan.io/address/0xC7C5aFDB61e08BE3e2FB09098412b5706EB5c550).
### New issuance
The [Ethereum EUL token contract](https://etherscan.io/address/0xd9fcd98c322942075a5c3860693e9f4f03aae07b#code) allows its `ADMIN_ROLE` holder to mint 2.718% of total supply no more than once every 365 days. Minted tokens are sent to the address returned by the contract's `treasury()` function.
That address is the Legacy Treasury: [0x25Aa4a183800EcaB962d84ccC7ada58d4e126992](https://etherscan.io/address/0x25Aa4a183800EcaB962d84ccC7ada58d4e126992).
### Read next
* [EUL overview](/EUL/overview)
* [DAO proposals](/euler-dao/proposals)
* [Fee Flow](/EUL/fee-flow)
## Attack vectors
This page is a non-exhaustive threat-review framework, not a security certification or complete launch checklist. For each dependency, document the failure mode, tests, monitoring, mitigations, and incident response for the exact deployment.
### Oracle manipulation and stale prices
A manipulated, stale, unavailable, incorrectly scaled, or misrouted oracle can distort borrowing power and liquidation. Test route precedence, decimals, update cadence, stale-data behavior, bounds, fallbacks, and governance changes. Monitor every dependency in the configured quote path.
### ERC-4626 conversion and donation attacks
Share-price conversion can be manipulated or economically unrealizable. `convertToAssets` can omit redemption liquidity, fees, slippage, gates, and user restrictions. Test donation/inflation scenarios, rounding at small supply, nested-vault recursion, and stressed redemption before using share conversion in solvency pricing.
See [Donation attacks](/curate/vaults/evk/donation-attacks) and [Oracle adapters and routes](/curate/oracle-routes).
### Malicious assets, hooks, and callbacks
Tokens can have transfer fees, rebases, callbacks, nonstandard return values, blacklists, freezes, or upgradeable behavior. Hooks can revert operations, call external systems, or introduce new state and availability dependencies. Test deposits, withdrawals, borrows, repayments, transfers, liquidations, and EVC batches against each relevant behavior.
### Governance and role compromise
A compromised or misconfigured governor, guardian, operator, allocator, or oracle-router role can change only its authorized settings, but those settings may materially affect users. Inventory permissions, timelocks, emergency bypasses, ownership, upgrade paths, and signer security. Monitor role and parameter changes from deployed state.
### Caps, LTVs, IRMs, and liquidation settings
Incorrect units or assumptions can create excessive borrowing power, extreme rates, unavailable liquidity, or ineffective liquidation. Simulate boundary utilization, oracle moves, cap exhaustion, LTV ramps, rate extremes, cool-off periods, and maximum liquidation discounts. Verify raw contract units rather than copying UI display values.
### Liquidity and liquidation failure
A position can be liquidatable while collateral cannot be sold, transferred, or redeemed, or while the liability vault lacks necessary liquidity. Test liquidator eligibility, swap depth, slippage, oracle-update requirements, restricted tokens, and stressed withdrawals. Monitor account health, usable liquidity, liquidation participation, and failed transactions separately.
### Correlation, recursion, and bad debt
Correlated collateral and liability assets can fail together. Nested vaults and cross-collateral relationships add recursive dependencies, while shared liability or collateral vaults can transmit stress beyond an apparently isolated pair. Model common-dependency failures and document the vault's configured bad-debt handling.
### Review output
Record the exact contracts, versions, chain, parameters, role addresses, assumptions, tests, monitors, alerts, and response owner. Re-run the review when any dependency or configuration changes.
### Read next
* [Launch toolkit](/launch)
* [Vault types](/learn/vault-types)
* [Liquidations](/learn/liquidations)
* [Governance contracts](/curate/governance-contracts)
## Governance Contracts
Governance contracts are essential for secure, flexible, and upgradeable management of Euler Vault Kit (EVK) vaults and oracle routers. They enable fine-grained control over vault operations, risk parameters, and emergency responses, balancing the need for rapid intervention with robust user protection.
### Key Principles
Governance contracts in Euler are designed for security and flexibility, but their deployment and management require careful attention. Governance contracts are deployed from existing, audited factories, as described below. The [Toolbox](/curate/toolbox) manages the vaults and routers that sit under them: Market Ops reads which contract governs each component, offers the ways in that a governor contract exposes (the admin timelock, the wildcard timelock, the cap risk steward) and lets the operator choose, hands transactions to a Safe, and schedules them on a timelock. **Tools → Governance** deploys a governor suite (the governor contract with its admin and wildcard timelocks) from Euler's factory, an optional cap risk steward, and later role changes through the admin timelock. See [Governance: governors, timelocks, Safes](/curate/toolbox/governance). Teams that manage large clusters from code can use [euler-vault-scripts](https://github.com/euler-xyz/euler-vault-scripts).
To ensure consistent and secure governance across all protocol components, governor contracts should be installed not only on vaults but also on the oracle router. This approach provides fine-grained control and robust protection for both lending markets and their associated price feeds.
### Recommended Architecture
The recommended governance suite is illustrated below. It features dual timelocks (admin and wildcard), a risk steward, guardian, and emergency roles, all allowing for the operations to be (optionally) batched via the EVC. This architecture enables:
* Time-delayed governance for transparency and user protection
* Emergency response capabilities for rapid risk mitigation
* Role separation for operational and administrative security

### Components
* **`GovernorAccessControlEmergency`:** Selector-based access control contracts for fine-grained permissioning and emergency actions.
* **`CapRiskSteward`:** Specialized risk management contract that allows authorized users to adjust supply and borrow caps within predefined safety limits and cooldowns, and to update interest rate models (IRMs) only to those deployed by a recognized factory.
* **`GovernorAccessControlEmergencyFactory`:** Factory for deploying the full governance suite, including timelocks and emergency roles.
* **`CapRiskStewardFactory`:** Factory for deploying CapRiskSteward contracts that work alongside selector-based governors for delegated, but limited, risk management that can bypass timelock controllers.
### Deployment & Management
#### Deployment Process
1. Prepare timelock parameters:
* Set `minDelay` (minimum 1 day) for both admin and wildcard timelocks
* Define proposers, cancellers, and executors for each timelock
* Identify emergency guardians for rapid response capabilities
2. Deploy through `GovernorAccessControlEmergencyFactory`:
* Call `deploy` with the prepared parameters
* Record the addresses of deployed contracts
3. Install governance:
* Set the `GovernorAccessControlEmergency` as governor for your vault(s)
* Install the same governor on your oracle router
* If using `CapRiskSteward` for delegated risk management:
* Deploy `CapRiskSteward` via `CapRiskStewardFactory`, providing the governor access control contract, IRM factory addresses and the admin address
* Grant `setInterestRateModel.selector` and `setCaps.selector` roles to the `CapRiskSteward` on the governor contract
* Assign the wildcard role on the `CapRiskSteward` to a multisig or other trusted address
## Interest-rate models
An interest-rate model (IRM) calculates an EVK vault's borrow rate as utilization changes. The supply rate follows from borrowing, utilization, fees, and vault accounting. Model choice affects borrower costs, supplier returns, utilization, and available liquidity.
Contract parameters use per-second rate units, while interfaces commonly display annualized values. Verify the required units and conversion before using a displayed percentage in a deployment transaction.
### IRM types
The models below are examples rather than an exhaustive list. Check the model address, source, factory, network, deployment inputs, and current interface support before assigning one to a vault.
#### Linear Kink IRM
A two-slope utilization curve increases linearly to a kink and then more steeply above it. `EulerKinkIRMFactory.deploy` takes `baseRate`, `slope1`, `slope2`, and `kink`.
The curve does not adapt automatically. A governed vault can replace its IRM if market conditions or its mandate change; a finalized (ungoverned) vault cannot.
#### Linear Kinky IRM
This model uses a nonlinear post-kink shape. Factory inputs include `baseRate`, `slope`, `shape`, `kink`, and `cutoff`. Test how the shape and cutoff affect rates across the full utilization range.
#### Adaptive Curve IRM
An adaptive model changes its rate over time in response to utilization relative to a target. This can reduce the need for manual updates, while making the current rate dependent on past utilization. Verify the exact preset or deployment and its configured bounds.
#### Fixed Cyclical Binary IRM
This model alternates between `primaryRate` and `secondaryRate` according to `primaryDuration`, `secondaryDuration`, and `startTimestamp`. Borrow costs change with time even when utilization is unchanged.
### Deploy and assign in the Toolbox
Market → **Configuration → Interest-rate model** lists the models this browser deployed and each vault's current model. **Add IRM**:
| Family | You set | Preview |
| ------------------ | ------------------------------------------------------------------------------------ | ------------------- |
| **Kink** | Base APY, kink APY, max APY, kink utilization | Rate curve |
| **Kinky** | Base APY, kink APY, cutoff APY, kink utilization, shape | Rate curve |
| **Adaptive** | Target utilization, starting APR, min and max APR, curve steepness, adjustment speed | Rate curve at start |
| **Fixed cyclical** | Fixed rate and period, repayment rate and window | Schedule over time |
Enter yearly percentages. The Toolbox converts them to the contract's per-second units and previews them before deploying. Pick the vaults under **Apply to**. Deployment goes through Euler's factory (wallet or Safe). The model is read back and checked, then the assignment is staged as an ordinary change ([Change settings](/curate/toolbox/market-ops-changes)).
**Tools → Interest-rate models** deploys a model before a market exists. Assign it from a market's Configuration later.
### Review before assignment
Before assigning or replacing an IRM:
* verify its address, source version, network, and factory;
* inspect the raw parameters and derive representative displayed rates;
* simulate zero, target or kink, stressed, and near-full utilization;
* assess the effect on borrowing, withdrawals, refinancing, and liquidations;
* identify who can replace the vault's IRM and whether changes are delayed; and
* monitor unexpected rates and utilization after deployment.
A recognized factory helps identify how a model was deployed. The chosen parameters and resulting rate curve still need to be evaluated for the vault.
### Read next
* [Interest rates](/learn/interest-rates)
* [Launch toolkit](/launch)
* [Governance contracts](/curate/governance-contracts)
* [Attack vectors](/curate/attack-vectors)
## Oracle adapters and routes
A vault needs a price for every collateral and liability asset in its unit of account. Two contracts provide it:
* an **oracle adapter** wraps one price source (Chainlink, Pyth, …) and quotes one pair;
* the **router** (`EulerRouter`) is the vault's oracle: for each pair, it picks an adapter, prices a tokenised vault's shares through the asset it holds, or uses a fallback.
A vault's router and unit of account are fixed at creation. The routes on the router can be changed by the router's governor.
### Where
Market → **Configuration → Price routes**: each vault's current route, adapter, unit and live quote. The market's **Overview** shows the routes grouped by router. A vault whose oracle is an adapter set directly, with no router, is shown as such; there is no route to set.
### Deploy an adapter
From a market, **Configuration → Price routes → Deploy adapter**. Before a market exists, **Tools → Oracle adapters**:
1. **Vault**: whose asset needs a price.
2. **Adapter**: from the catalogue. The options are Chainlink, Chainlink for infrequent feeds, Chronicle, Pyth, Pendle (PT and LP tokens), fixed rate, rate provider, and cross adapter (two adapters chained). Known feeds for the asset and chain are under **Start from a known configuration**.
3. **Check**: Euler's adapter assessment runs on your configuration before deployment.
4. **Deploy**: from an ordinary wallet (adapters have no factory, so a Safe cannot). The Toolbox predicts the address, deploys, waits for the receipt, reads the contract back and compares it with the review, quote included.
| Source | Extra step |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Chronicle** | Ask Chronicle to add the adapter to the feed's reader list. Until then, the deployment shows **Waiting for authorization**. **Read the chain again** checks once Chronicle has done it. |
| **Pyth** | A Pyth price is fresh only after an update is pushed on chain. If the feed is stale, the Toolbox checks the quote with a simulated update and says so: push a price update before the route is used. |
| **Pendle** | The Pendle market must keep enough price observations for the adapter's TWAP window. The Toolbox offers to raise the observation buffer, in steps, and previews the price the adapter will report. |
### Set the route
**Price routes**: asset, unit of account, adapter. A collateral that is itself a tokenised vault goes under **Resolved vaults**. Review, simulate and sign like any other change ([Change settings](/curate/toolbox/market-ops-changes)). The router's governor signs.
An adapter deployed under **Tools → Oracle adapters** is kept in this browser's deployments and offered when you set a route.
### Review a route
Check decimals, staleness limits, bounds, failure behaviour, and, for a resolved vault, whether its shares redeem at the reported value. `convertToAssets` is an accounting value, not a redeemable one. Recheck after every governance change.
### Read next
* [Price oracles](/learn/price-oracles)
* [Interest-rate models](/curate프로젝트로 돌아가기