Euler 백서

Euler

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 26쪽 중 6쪽

or a suitability assessment. ## Review and monitor supplied assets Use this page after [supplying to a vault](/use/supply-assets), including an Earn vault. Vault state can change after deposit, so check Portfolio and the vault page before adding, withdrawing, or using the deposit as collateral. ### Find and compare vaults The **Lend** page lists direct lending vaults. Compare the underlying asset and market, curator, current Supply APY, total supply, collateral exposure, utilization, and available liquidity. Open a vault to inspect its collateral relationships and live parameters rather than choosing from the headline rate alone. ### What to monitor * **Supply APY:** displayed annualized rate. Open its breakdown to distinguish base lending APY from any intrinsic APY or reward APR. Each component can change independently. * **Utilization:** how much supplied liquidity is currently borrowed. High utilization can increase rates and reduce available withdrawals. * **Available liquidity:** assets available for withdrawal or borrowing. * **Exposure:** collateral vaults connected to the supplied vault. * **Governor and parameters:** who can manage selected settings, plus caps, fees, oracle routes, and liquidation settings. * **Rewards:** active incentive APR estimates may be added to a headline rate and can change independently from the vault's base APY. * **Earn allocation:** for Earn vaults, review strategy exposure, allocator activity, management roles, fees, and withdrawable liquidity. ![Vault overview showing rates, limits, and price](/img/use/apyBreakdown.png) **Figure 1:** Supply APY breakdown ### Deposits as a collateral source Direct lending deposits are not automatically collateral for an existing Borrow or Multiply position. When opening a supported position, the app can use a deposited balance as the collateral source and prepare the actions that move or supply it into the separate position account. Review the source account, destination account, supplied amount, approvals, resulting LTV, health, and wallet prompt before signing. ### Withdrawing or changing exposure Withdrawals depend on available vault liquidity and require a blockchain transaction. You may not be able to withdraw the full amount immediately if most assets in the vault are borrowed. From Portfolio, direct lending deposits can support: * **Supply:** add more assets to the same vault. * **Withdraw:** remove assets when liquidity is available. * **Asset swap:** exchange one deposited asset for another through the app's swap route where supported. #### Earn withdrawals For an Earn vault, withdrawability depends on the vault's cash, the liquidity and withdrawal behavior of allocated strategies, the withdrawal queue, allocation state, and any realized loss. Check the current `maxWithdraw` or `maxRedeem` result for the account before assuming the displayed share balance can be withdrawn immediately. A withdrawal may traverse configured strategies in queue order and can return less underlying than an earlier valuation if a strategy has recognized losses. Read next: [Supply assets](/use/supply-assets), [Portfolio and liquidation](/use/portfolio), [Vaults](/learn/vaults), and [Markets](/learn/markets). ## Troubleshooting Record the network, page URL, vault and account addresses, intended action, and exact error before changing settings or retrying. Never share a seed phrase, private key, password, or signing secret. ### Common errors #### `E_AccountLiquidity` **Meaning:** The requested action would leave the account above the permitted borrow LTV or otherwise fail its account-status check. A position can remain below its liquidation LTV and still be unable to take a risk-increasing action. **Action:** Reduce the borrow or withdrawal, add eligible collateral, or repay debt. Review the controller vault, enabled collateral, current oracle values, borrow LTV, and liquidation LTV before retrying. #### `E_InsufficientCash` **Meaning:** The vault does not have enough available underlying liquidity for the requested withdrawal or borrow. This can also affect collateral-to-repay flows when the source vault lacks liquidity. **Action:** Reduce the amount or wait for liquidity to return. Check the target vault's available liquidity before resubmitting. #### `E_RepayTooMuch` **Meaning:** The requested repayment exceeds the current debt amount after interest and rounding. **Action:** Use **Max** when available or submit an amount below the displayed total debt. #### `E_SupplyCapExceeded` or `E_BorrowCapExceeded` **Meaning:** The requested action would exceed the relevant vault cap. **Action:** Reduce the amount or wait for capped supply or capped borrows, respectively, to fall. A curator may be able to change a cap only if the deployed roles authorize it. #### Multiple wallet extensions active Multiple extensions can compete for the wallet-provider connection and signing request. Disable extensions you are not using, refresh the page, reconnect the intended wallet, and retry. #### RPC issues An unavailable or stale RPC can prevent simulation, reads, or transaction submission. Switch to another RPC you trust, confirm the wallet is on the intended network, and check whether a transaction hash was produced before retrying. #### Gasless signatures unsupported Some wallets handle the typed-data signatures used for gasless (Permit2) approvals poorly. If signature prompts fail or approvals stall, open **Settings** using the gear button in the top-right corner and disable **Gasless signatures** to fall back to standard approval transactions, then retry the flow. ### Basic checks 1. Reconnect the wallet and confirm the account and network. 2. Refresh the page after disabling conflicting extensions or changing RPC. 3. Inspect the wallet error and browser console; remove secrets before sharing logs. 4. If a transaction hash exists, inspect its status and revert data on the relevant explorer. 5. Recheck vault liquidity, caps, oracle state, account health, and approvals because state may have changed. ### Reporting an issue Report issues and get user support in the [Euler community Discord](https://discord.euler.finance). If the issue is security related, report it through the [bug bounty](/security/bug-bounty) instead — never disclose a potential vulnerability publicly. Include: * action, page URL, and approximate time; * network, public account or sub-account, and vault address; * transaction hash, simulation result, and exact error; * wallet, browser, device, and versions; * redacted screenshots; and * relevant console or network errors with API keys, authorization headers, cookies, RPC credentials, and personal information removed. ### Read next * [Managing positions](/use/managing-positions) * [Portfolio and liquidation](/use/portfolio#liquidation-risk) * [Data querying](/build/data-querying) ## Managing positions Position management happens in **Portfolio**. Direct lending and Earn deposits appear under Deposits; Borrow and Multiply positions appear under Positions with their own detail pages. Leveraged positions require closer monitoring because rates, prices, liquidity, and swap execution have a larger effect on equity. ### How to manage a Borrow or Multiply position 1. Open **Portfolio > Positions** and select the position. 2. Choose the action you want to take. 3. Review the resulting balances, debt, LTV, health score, and token approvals. For swaps, also check expected amounts, route, price impact, and slippage tolerance. 4. Confirm the transaction in your wallet. ### Managing deposits For direct lending deposits, the available actions can include: * **Supply:** Add more assets to the vault. * **Withdraw:** Remove assets when liquidity is available. * **Asset swap:** Exchange one deposited asset for another through the app's swap route where supported. ### Deposits as a collateral source Direct lending deposits are not automatically collateral for an existing position. A supported Borrow or Multiply flow can use a deposit as its collateral source; see [Supply review](/use/supply-review#deposits-as-a-collateral-source). ### Managing Borrow/Multiply positions ![Figure 1: The Position page](/img/use/positionPage.png) **Figure 1:** The Position page of a USDC/USDT position For your Borrow or Multiply positions, you have access to these actions in the UI: #### Leverage and debt management * **Multiply:** Increase exposure by borrowing, swapping, and adding collateral through the Multiply flow. * **Repay:** Reduce debt by paying back borrowed assets from wallet assets, deposits, or collateral where supported. * **Borrow:** Borrow additional assets against existing collateral when LTV and liquidity allow it. #### Collateral management * **Supply:** Add more collateral to your position. * **Withdraw:** Remove collateral if the remaining position stays within LTV limits and liquidity is available. * **Collateral Swap:** Exchange current collateral for a different asset through the app's swap route. * **Transfer:** Transfer collateral shares to another account if the position remains valid. * **Disable Collateral:** Stop using a specific asset as collateral if the position remains valid. For liquidation mechanics, read [Portfolio and liquidation](/use/portfolio#liquidation-risk). For rate calculations, read [Interest rates](/learn/interest-rates) and [Strategy profitability](/use/strategy-profitability). ## Return on equity Return on Equity (ROE) combines supply income and borrowing cost into an annualized estimate relative to a position's equity. It is useful for Borrow and Multiply positions, where a supply or borrow rate alone shows only one side. Euler defines equity as supplied market value minus borrowed market value, also called Net Asset Value (NAV). ROE estimates rate exposure, not realized profit. Rates, rewards, prices, eligibility, execution costs, and liquidation risk can change. ### Base formula Let `S` be supplied value, `B` borrowed value, `r_s` supply APY, and `r_b` borrow APY: ```text equity = S − B ROE = ((S × r_s) − (B × r_b)) / (S − B) ``` Supply and debt must use the same quote currency and price timestamp. ROE is undefined or not economically meaningful when equity is zero or negative. A calculation divided by supplied value is net APY, not ROE: ```text net APY = ((S × r_s) − (B × r_b)) / S ``` ### Multiplier form For multiplier `M = S / (S − B)`: ```text ROE = (M × r_s) − ((M − 1) × r_b) ``` For a single collateral and debt pair where current `LTV = B / S`, `M = 1 / (1 − LTV)`. The position's current LTV is not its configured borrow limit. ### Example For $1,000 supplied at 7.5% APY and $800 borrowed at 4.5% APY: ```text equity = $1,000 − $800 = $200 multiplier = $1,000 / $200 = 5 ROE = (($1,000 × 7.5%) − ($800 × 4.5%)) / $200 = 19.5% ``` The same net rate amount is 3.9% when divided by the $1,000 supplied value. Leverage magnifies both positive and negative rate differences because equity is smaller than total supplied value. ### Rewards and intrinsic yield Euler's SDK can include several contributions before dividing by equity: ```text base lending = supplied value × base supply APY base borrowing = −borrowed value × base borrow APY supply rewards = supplied value × eligible LEND APR borrow rewards = borrowed value × eligible BORROW or BORROW_COLLATERAL APR loop rewards = equity × eligible LOOPING APR intrinsic = supplied intrinsic yield − borrowed intrinsic yield ROE = included contributions / equity ``` Campaign APR is an estimate, may depend on the connected account and campaign rules, and does not compound through the vault. See [Rewards](/use/rewards). ### Comparing ROE Confirm that figures use NAV as equity, the same price timestamp and annualization conventions, and comparable rate, reward, and intrinsic-yield components. Check whether reward eligibility is account-specific and whether gas, swaps, slippage, taxes, external fees, and liquidation losses are excluded. **Max ROE** applies rates to a modeled maximum multiplier. It is not a forecast or a promise that the position can be opened or maintained at that size. ### Sources * [Euler SDK account and portfolio computed properties](https://github.com/euler-xyz/euler-sdks/blob/main/packages/euler-v2-sdk/docs/account-computed-properties.md) * [Euler SDK reward attribution](https://github.com/euler-xyz/euler-sdks/blob/main/packages/euler-v2-sdk/docs/rewards-service.md) ### Read next * [Annual percentage yield](/use/annual-percentage-yield) * [Rewards](/use/rewards) * [Strategy profitability](/use/strategy-profitability) * [Liquidations](/learn/liquidations) ## Supply assets ![Figure 1: The Lend page of Euler](/img/use/general/lendGeneral.png) **Figure 1:** The Lend page of Euler Supplying assets on Euler means depositing tokens into a vault. Most supply flows deposit into lending vaults, where borrowers may use available liquidity and suppliers receive vault shares that track their claim on the vault's assets. EulerEarn is also a vault-based supply flow: users deposit one asset into an Earn vault and hold shares while the vault allocates across its configured strategies. Portfolio groups direct deposits under **Deposits**. They are separate from collateral supplied inside a Borrow or Multiply position, although deposited assets can be selected as a collateral source when opening a new position. ### What supplying does When you supply assets: * The vault mints shares to your account. * Borrowers may borrow from that vault if borrowing is enabled and liquidity is available. * Borrowers pay interest according to the vault's [Interest Rate Model](/learn/interest-rates#interest-rate-models). * The vault share price changes as interest, fees, losses, and other configured mechanics apply. The displayed **Supply APY** is an annualized rate based on current or recent conditions. It can change with utilization, rewards, intrinsic yield, vault parameters, and market conditions. ### Find a vault The **Lend** page ([app.euler.finance/lend](https://app.euler.finance/lend)) lists available lending vaults for supplying assets. The **Earn** page lists Earn vaults, which are single-position ERC-4626 vaults for curated strategy allocation. Each row shows the asset, market name where available, curator, Supply APY, total supply, collateral exposure, utilization, and available liquidity. Sort or filter the table, then open a vault to review its live details. :::warning Supplying is not principal-protected. A position can lose value through bad debt, oracle or market failure, smart-contract failure, governance or configuration changes, or an impaired underlying asset. Available liquidity may also limit or delay withdrawal. Review the vault, collateral configuration, oracle route, caps, governance, current liquidity, and APY breakdown before supplying. ::: ### Supply flow 1. Choose a vault from **Lend** or a vault details page. 2. Enter the amount to supply. 3. Approve token spending if your wallet asks. Euler uses gasless Permit2 signatures by default; to fall back to standard approval transactions, open **Settings** using the gear button in the top-right corner and disable **Gasless signatures**. 4. Review deposit amount, expected shares, APY, token approval, curator, exposure, utilization, liquidity, and caps. 5. Confirm the transaction in your wallet. After the transaction confirms, the supplied asset appears in **Portfolio** under Deposits. Read next: [EulerEarn](/use/euler-earn), [Review and monitor supplied assets](/use/supply-review), [Portfolio and liquidation](/use/portfolio), and [Managing positions](/use/managing-positions). ## Application Security ### Network Security #### HSTS `app.euler.finance` returns an HTTP Strict Transport Security (HSTS) header, which instructs supporting browsers to use HTTPS for the origin. #### DNSSEC `euler.finance` publishes a DNSSEC delegation record, enabling resolvers to validate signed DNS data for the zone. #### DDoS Protection `app.euler.finance` is served through Cloudflare's edge network. Cloudflare provides DDoS protection for applications proxied through its network. ### Application Layer Security #### Content Security Policy (CSP) `app.euler.finance` returns a Content Security Policy (CSP) that restricts permitted resource origins and script execution. CSP can reduce risk from some content-injection attacks, including cross-site scripting. #### Email Security `euler.finance` and `euler.xyz` publish SPF and DMARC records. These records help receiving mail systems evaluate authorized senders and specify how authentication failures should be handled. ### Further Security Resources * See [Euler Protocol audits](/security/audits) for component-specific security reviews. * See the [Bug Bounty Program](/security/bug-bounty) to report a vulnerability. ## Security review and verification record :::tip[Deployed Code Verification] Euler verifies security-relevant deployments at the **bytecode level**. Onchain bytecode is matched to a build from an exact source commit, then compared with the latest audited baseline. Browse the [per-chain reports](https://github.com/euler-xyz/euler-interfaces/tree/master/verify) or reproduce them with [euler-verifier](https://github.com/euler-xyz/euler-verifier) and public RPC endpoints. ::: Euler has commissioned audits and focused reviews across its core contracts, oracles, periphery, integrations, and applications. The record also includes formal verification, fuzzing, penetration tests, and security competitions. ### Security competitions and Capture the Flag contests * [**$1.25M Cantina Security Competition**](https://cantina.xyz/competitions/41306bb9-2bb8-4da6-95c3-66b85e11639f) — More than 600 participants reviewed the scoped contracts. No high- or medium-severity findings were identified; low-severity and informational findings were rewarded, with $200,000 allocated to researchers. * [**$3.5M Hats Finance CTF Challenge**](https://hatsfinance.medium.com/join-the-ultimate-3-5m-euler-ctf-challenge-powered-by-hats-finance-1a4e8396907b) — Approximately $3.5 million in live funds was placed in Euler markets. After 13 days, no funds were compromised. ### Review records | Date | Scope | Review type | Security firm | Report URL | | ----------------- | --------------------------------------------------- | --------------------------- | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 11 March 2026 | EVK Periphery (Oracle, Hook, SwapVerifier) | Security review | BailSec | [BailSec EVK Periphery Oracle Hook SwapVerifier Report](https://github.com/euler-xyz/evk-periphery/blob/master/audits/BailSec%20EVK%20Periphery%20Oracle%20Hook%20SwapVerifier.pdf) | | 10 March 2026 | CoW Protocol: Euler Integration | Security review | Cantina | Report pending publication | | 24 February 2026 | Euler Lite (Web2 Pentest) - AI | Penetration test | FailSafe | Private report | | 4 February 2026 | Layer Credit | Security review | yAudit | Private report | | 4 February 2026 | EVK Swap Verifier Update | Security review | yAudit | [yAudit SwapVerifier Update Report](https://github.com/euler-xyz/evk-periphery/blob/80306d40645e0d5be78ade613d35d29e551ff75f/audits/yAudit%20SwapVerifier%20update.pdf) | | 18 November 2025 | EVK Periphery - SWARM - AI | Security review | FailSafe | Private report | | 14 October 2025 | ERC20Synth & Auxiliary Contracts | Security review | Spearbit | [Spearbit ERC20Synth and Auxiliary Contracts Report](https://github.com/euler-xyz/evk-periphery/blob/master/audits/Spearbit%20ERC20Synth%20and%20auxiliary%20contracts.pdf) | | 14 October 2025 | ERC20Synth & Auxiliary Contracts | Security review | Electisec | [Electisec ERC20S
프로젝트로 돌아가기