Morpho 백서

Morpho

원문

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

ations. Morpho Blue opted for a static liquidation incentive factor (LIF) per market because borrowers can reduce their exposure to the liquidation penalty — for example, by setting up an additional liquidation systems on top of Morpho Blue 8 that are more favorable to them — while lenders can’t do anything to improve on their guarantees. Its value depends on the LLTV of the market, according to the following formula: LIF = min(maxLIF, 11 − cursor × (1 − LLT V) ) Where maxLIF = 1 .15 and cursor = 0 .3. This formula strikes a balance between providing enough incentive to the liquidator and ensuring there is a sufficient margin to liquidate the borrower without accruing any bad debt. With the same rationale, Morpho Blue favors lenders by having no close factor: when an account is liquidatable, its position can be fully repaid. 3.4 Minimal Codebase Morpho Blue is an actual protocol. Hence, its contract is not upgradable, and the code is immutable. It allows anyone to anticipate and understand all of the smart contract’s behaviors in advance. In addition, it makes the protocol truly trustless as you do not have to worry that the Morpho Governance can become malicious. It is crucial to notice that Governance cannot manage any funds, alter any market beyond setting a protocol fee, or create new types of markets by enabling new LLTVs or IRMs (see section 1.2). The code is intentionally minimalist, designed for auditability while staying flexible enough to allow expanding features on top of Morpho Blue. The imple- mentation is of around 650 source lines of code. Additionally, Morpho Blue’s simplicity implies that it has less logic and a smaller storage footprint. This results in lower gas fees for interacting with Morpho Blue. 4 Enhanced Expressiveness Morpho Blue implements several convenient smart contract patterns and at- tributes, aiming to enhance the capabilities of developers and power users. 4.1 Singleton Morpho Blue’s contract is a singleton, meaning all markets of a given chain live in one smart contract. This pattern simplifies interactions and reduces the gas consumption of platforms interacting with multiple markets of Morpho Blue, such as abstraction and delegation layers. It also concentrates liquidity for Flash Loans, described in section 4.3. 4.2 Callbacks In the ‘supply‘, ‘supplyCollateral‘, ‘repay‘, and ‘liquidate‘ functions, which all perform a token transfer from the user to Morpho Blue, a callback to the user can be performed before the tokens are sent in the execution. In the callback 9 function, one can do whatever they need to, including re-entering Morpho Blue. This notably removes the dependency on external Flash Loans and significantly reduces gas costs to perform advanced operations. 4.3 Free Flash Loans Morpho Blue’s singleton has a free flash loan function. Flash loans are loans that can be taken without any collateral if they are repaid in the same transaction. Thanks to its singleton architecture (see section 4.1), flash loans have access to the liquidity and collateral of all markets simultaneously. This is typically useful in DeFi for liquidations, for opening and closing leveraged positions, and for arbitrages. 4.4 Account Management Morpho Blue has an authorization system that enables users to grant permis- sions on their position to any address. An authorized address can borrow on behalf, withdraw on behalf, and withdraw collateral on behalf of the authorizer. Authorization can be managed in two manners: via a classic function call or via a message signature following the EIP-712 standard, similar to permit EIP- 2612 for ERC20s. This feature allows notably for externally owned accounts to batch their interactions with Morpho Blue by authorizing a bundler contract. If needed, a more granular account management system can be implemented on top. Acknowledgments This whitepaper results from extensive collaboration among various companies, universities, and individual contributors. The authors would like to thank Paul- Adrien Nicole, Merlin Egalite, Romain Milon, Jean Grimal, Julien Thomas, and Simon Crotty from Morpho Labs, Morpho investors and advisors. Disclaimer This paper is for general information purposes only. It does not constitute investment advice or a recommendation or solicitation to buy or sell any in- vestment and should not be used in the evaluation of the merits of making any investment decision. It should not be relied upon for accounting legal or tax ad- vice or investment recommendations. The opinions reflected herein are subject to change without being updated. 10 References [1] Hayden Adams, Moody Salem, Noah Zinsmeister, Sara Reynolds, Austin Adams, Will Pote, Mark Toda, Alice Henshaw, Emily Williams, and Dan Robinson. Uniswap v4 core [draft], 2023. [2] Hayden Adams, Noah Zinsmeister, and Dan Robinson. Uniswap v2 core, 2020. [3] Hayden Adams, Noah Zinsmeister, Moody Salem, River Keefer, and Dan Robinson. Uniswap v3 core, 2021. [4] Hayden Adams, Noah Zinsmeister, Mark Toda, Emily Williams, Xin Wan, Matteo Leibowitz, Will Pote, Allen Lin, Eric Zhong, Zhiyuan Yang, Riley Campbell, Alex Karys, and Dan Robinson. Uniswapx, 2023. [5] Samuel N. Cohen, Marc Sabate-Vidales, Lukasz Szpruch, and Mathis Gon- tier Delaunay. The paradox of adversarial liquidation in decentralised lend- ing, August 2023. [6] Steve Ellis, Ari Juels, and Sergey Nazarov. Chainlink, a decentralized oracle network, September 2017. [7] Paul Frambot. It’s time to talk about defi’s risk management problems, 2023. [8] Paul Frambot. The two paths ahead for defi: Decentralized brokers vs. protocol, 2023. [9] Paul Frambot. What good can defi truly unlock?, 2023. [10] Paul Frambot, Mathis Gontier Delaunay, Vincent Danos, Adrien Husson, and Katia Babbar. Morpho optimizer whitepaper, 2023. [11] Emilio Frangela and Lasse Herskind. Aave v3 technical paper, January 2022. [12] Chaos Labs. On aave’s e-mode classes and their risk parameters, March 2023. [13] Robert Leshner. Compound iii is live, August 2022. [14] Robert Leshner and Geoffrey Hayes. Compound: The money market pro- tocol, February 2019. [15] J. Milionis, C. C. Moallemi, and T. Roughgarden. Complexity-approxi- mation trade-offs in exchange mechanisms: Amms vs. lobs. arXiv preprint arXiv:2302.11652, 2023. [16] Akash Patel, Ed Noepel, Gregory Di Prisco, George Niculae, Howard Malzberg, Ian Harvey, Joseph Quintilian, Matthew Cushman, and Michael Hathaway. Ajna whitepaper, March 2023. 11 [17] K. Qin, L. Zhou, P. Gamito, P. Jovanovic, and A. Gervais. An empirical study of defi liquidations: Incentives, risks, and instabilities. In Proceed- ings of the 21st ACM Internet Measurement Conference, pages 336–350, November 2021. [18] Aave Team. Aave protocol whitepaper, January 2020. [19] Aave Team. Aave safety module, 2023. [20] Angle Labs Core Team. Angle whitepaper, July 2021. [21] Euler Team. Euler white paper, 2021. 12
프로젝트로 돌아가기