Difference between revisions of "Mirror Protocol (MIR)"
m (1 revision imported) |
|||
Line 3: | Line 3: | ||
== Basics == | == Basics == | ||
* Announced on: [https://www.coindesk.com/terra-mirror-synthetic-us-equities 3-12-2020] | * Announced on: [https://www.coindesk.com/terra-mirror-synthetic-us-equities 3-12-2020] | ||
* [[Mainnet]] release: | * [[Mainnet]] release: Mirror Finance Mainnet v1 was [https://www.defisafety.com/pqrs/80 launched] in December 20201 Mirror Finance Mainnet v2 was launched on June 25th 2021. | ||
* Based in: Korea | * Based in: Korea | ||
* [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | * [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | ||
"[https://mirror.finance/ ''Mirror'']'' will be "A way to mint crypto assets that mimic the value of shares in publicly traded companies like [[Apple]] or [[Tesla]]. Known as mAssets, these tokens will track the price of U.S.-based equities in the real stock market, using an [[oracle]] system that’s able to check prices every six seconds. Much like [[MakerDAO]], if a stock price were to go up against its underlying collateral, that could trigger a [[slashing]] event for a given crypto asset (unless the collateral depositor increases their stake). But U.S. equities also don’t tend to move as quickly as crypto."'' | "[https://mirror.finance/ ''Mirror'']'' will be "A way to mint crypto assets that mimic the value of shares in publicly traded companies like [[Apple]] or [[Tesla]]. Known as mAssets, these [[tokens]] will track the price of U.S.-based equities in the real stock market, using an [[oracle]] system that’s able to check prices every six seconds. Much like [[MakerDAO]], if a stock price were to go up against its underlying collateral, that could trigger a [[slashing]] event for a given crypto asset (unless the collateral depositor increases their stake). But U.S. equities also don’t tend to [[move]] as quickly as crypto."'' | ||
* [https://docs.mirror.finance/ From] their docs (1-2021): | * [https://docs.mirror.finance/ From] their docs (1-2021): | ||
''"Mirror is a [[DeFi]] protocol powered by [[smart contracts]] on the [[Terra (LUNA)|Terra]] network that enables the creation of synthetic assets called [https://docs.mirror.finance/protocol/mirrored-assets-massets Mirrored Assets] (mAssets). mAssets mimic the price behavior of real-world assets and give traders anywhere in the world open access to price exposure without the burdens of owning or transacting real assets."'' | ''"Mirror is a [[DeFi]] protocol powered by [[smart contracts]] on the [[Terra (LUNA)|Terra]] network that enables the creation of [[synthetic assets]] called [https://docs.mirror.finance/protocol/mirrored-assets-massets Mirrored Assets] (mAssets). mAssets mimic the price behavior of real-world assets and give traders anywhere in the world open access to price exposure without the burdens of owning or transacting real assets."'' | ||
== History == | == History == | ||
* [https://www.coindesk.com/terra-mirror-synthetic-us-equities Created by] the people behind [[Terra (LUNA)|Terra]] (8-12-2020). | * [https://www.coindesk.com/terra-mirror-synthetic-us-equities Created by] the people behind [[Terra (LUNA)|Terra]] (8-12-2020). | ||
Line 17: | Line 17: | ||
== Audits & Exploits == | == Audits & Exploits == | ||
*[[Bug bounty]] program can be found [https://docs.mirror.finance/security here] up to $150.000. | *[[Bug bounty]] program can be found [https://docs.mirror.finance/security here] up to $150.000 (19-1-2022). | ||
*Mirror [[Smart Contract]] [https://docsend.com/view/p4es2dgvwadamgqg Audit] by [[Cyber Unit]] | *Mirror [[Smart Contract]] [https://docsend.com/view/p4es2dgvwadamgqg Audit] by [[Cyber Unit]] | ||
*Scored [https://www.defisafety.com/pqrs/80 86%] on [[DeFi Safety]] (14-1-2022): | |||
''"Activity is over 10 [[transactions]] a day on [[contract]] Staking.rs. Full deployed code examples are in the Appendix. As per the SLOC, there is 9% commenting to code (CtC). Full test suite code examples are in the Appendix. As per the SLOC, there is 1009% testing to code (TtC). No Mirror Finance test report was found in their documentation or in their various [[GitHub]] repositories.'' | |||
''CyberUnit published a Mirror Finance [https://docsend.com/view/p4es2dgvwadamgqg audit] report in October 2020. Cryptonics published a Mirror Finance [https://www.mirror.finance/Mirror_v2_Audit_Report.pdf audit] report on June 22nd 2021. Mirror Finance Mainnet v1 was launched in December 20201 Mirror Finance Mainnet v2 was launched on June 25th 2021. Note: All results are public and most fix recommendations were successfully implemented by the [[Terra (LUNA)|Terra]] Team."'' | |||
=== Bugs/Exploits === | === Bugs/Exploits === | ||
== Governance == | == Governance == | ||
*[https:// | === Admin Keys === | ||
* [https://www.defisafety.com/pqrs/80 From] [[DeFi Safety]] (14-1-2022): | |||
''" | ''"a) The contracts are clearly labelled as upgradeable within Mirror Finance's voting process documentation. b) Governance Contract is OnlyOwner of itself and there are defined community roles when it comes to the communal voting process. c) Capabilities for change in contracts through proposal voting is described in "Proposal Types". There is no evidence of Pause Control or a similar function in the Mirror Finance documentation or GitHub repositories."'' | ||
* From their [https://docs.mirror.finance/protocol/governance docs] (1-2021): | * From their [https://docs.mirror.finance/protocol/governance docs] (1-2021): | ||
Line 33: | Line 39: | ||
* From their [https://docs.mirror.finance/protocol/governance/proposal-types docs] (3-2021): | * From their [https://docs.mirror.finance/protocol/governance/proposal-types docs] (3-2021): | ||
''"There are six different categories of proposals that can be made: Whitelist a New mAsset, Register Whitelist Parameters, Modify Mint Parameters, Modify Governance Parameters, Spend Community Pool, and Submit Text Proposal."'' | ''"There are six different categories of proposals that can be made: [[Whitelist]] a New mAsset, Register Whitelist Parameters, Modify Mint Parameters, Modify Governance Parameters, Spend Community Pool, and Submit Text Proposal."'' | ||
=== DAO === | === DAO === | ||
*[https://ournetwork.substack.com/p/our-network-issue-58?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozMjQ4MTQ2NSwiXyI6InFmb2Z2IiwiaWF0IjoxNjEzNjMwMjIxLCJleHAiOjE2MTM2MzM4MjEsImlzcyI6InB1Yi0yMTM2MiIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.NrsNDh_kk5NIHsnkaTg0DoLYqVZ From] [[Our Network]] (13-2-2021): | |||
''"Mirror’s community is heavily active in the governance of the protocol via the [https://forum.mirror.finance/ Mirror Forum], where proposals to change parameters of the protocol, whitelist new assets, and configure incentives are active. Active participation is reflected by more than 70 formal proposals undergoing voting in 2 months, [https://terra.mirror.finance/gov 34.94 %] of the total quantity of MIR [[staked]] for governance."'' | |||
=== Treasury === | === Treasury === | ||
*[https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | *[https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | ||
"''There will also be an ongoing staking reward to LUNA holders, as well as a set aside for a development fund for MIR governance to spend as it sees fit."'' | "''There will also be an ongoing staking reward to [[LUNA]] holders, as well as a set aside for a development fund for MIR governance to spend as it sees fit."'' | ||
* From their [https://forum.mirror.finance/t/community-pool-spending-framework/66 forum] (11-1-2021): | * From their [https://forum.mirror.finance/t/community-pool-spending-framework/66 forum] (11-1-2021): | ||
''"The Mirror Protocol holds a store of MIR token in the community pool as a reserve to be used for the enhancement and empowerment of the Mirror Protocol ecosystem and community."'' | ''"The Mirror Protocol holds a store of MIR [[token]] in the community pool as a reserve to be used for the enhancement and empowerment of the Mirror Protocol ecosystem and community."'' | ||
== Token == | == Token == | ||
Line 50: | Line 59: | ||
=== Token allocation === | === Token allocation === | ||
* [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | * [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | ||
"''MIR will be distributed at a constant rate over a four-year period to users who contribute [[liquidity]] to automated market makers ([[AMMs]]) trading mAssets or trading MIR itself on Terra’s [[Terraswap]] or on [[Ethereum]]’s [[Uniswap]]. Mirror has specific interfaces for providing liquidity to pools either on Ethereum or Terra’s own chain. Only pools that pair the assets with TerraUSD will be eligible for MIR. Of that 9.15 million will be distributed to [[UNI]] holders in an initial [[airdrop]], with the same amount to LUNA holders. There will also be an ongoing [[staking]] reward to LUNA holders, as well as a set aside for a development fund for MIR [[governance]] to spend as it sees fit."'' | "''MIR will be [[distributed]] at a constant rate over a four-year period to users who contribute [[liquidity]] to [[automated market makers]] ([[AMMs]]) trading mAssets or trading MIR itself on Terra’s [[Terraswap]] or on [[Ethereum]]’s [[Uniswap]]. Mirror has specific interfaces for providing liquidity to pools either on Ethereum or Terra’s own chain. Only pools that pair the assets with TerraUSD will be eligible for MIR. Of that 9.15 million will be distributed to [[UNI]] holders in an initial [[airdrop]], with the same amount to LUNA holders. There will also be an ongoing [[staking]] reward to LUNA holders, as well as a set aside for a development fund for MIR [[governance]] to spend as it sees fit."'' | ||
* [https://docs.mirror.finance/protocol/mirror-token-mir#:~:text=Total%20of%2054.9M%20tokens,be%20airdropped%20to%20LUNA%20stakers. From] their docs (1-2021): | * [https://docs.mirror.finance/protocol/mirror-token-mir#:~:text=Total%20of%2054.9M%20tokens,be%20airdropped%20to%20LUNA%20stakers. From] their docs (1-2021): | ||
Line 56: | Line 65: | ||
''"The distribution structure at the end of year 4 will look like the below:'' | ''"The distribution structure at the end of year 4 will look like the below:'' | ||
# ''Airdrop: The airdrop amount which was originally distributed to UNI holders and LUNA stakers will now account for 4.9% (18.3M) of the total token supply.'' | # ''Airdrop: The airdrop amount which was originally distributed to UNI holders and LUNA [[stakers]] will now account for 4.9% (18.3M) of the total token supply.'' | ||
# ''LUNA staking reward: 4.9% (18.3M) will be distributed to LUNA stakers throughout the first year since the launching of Mirror Protocol. MIR will be distributed every 100,000 blocks (approximately once every week) to Luna stakers only on the first year, starting from block height 920,000. Snapshot will be taken every 100,000 blocks to determine who is eligible for the staking reward distribution.'' | # ''LUNA staking reward: 4.9% (18.3M) will be distributed to LUNA stakers throughout the first year since the launching of Mirror Protocol. MIR will be distributed every 100,000 [[blocks]] (approximately once every week) to Luna stakers only on the first year, starting from [[block]] height 920,000. [[Snapshot]] will be taken every 100,000 blocks to determine who is eligible for the staking reward distribution.'' | ||
# ''mAsset LP Staking: 45.1% (167.27M) tokens are distributed to all mAsset and mAsset (mETH) staking pools by the end of year 4. Tokens are distributed daily to each staking pool (initially 13 pairs for each Mirror and mETH) based on their <code>weight</code> compared to other assets.'' | # ''mAsset LP Staking: 45.1% (167.27M) tokens are distributed to all mAsset and mAsset (mETH) [[staking pools]] by the end of year 4. Tokens are distributed daily to each staking pool (initially 13 pairs for each Mirror and mETH) based on their <code>weight</code> compared to other assets.'' | ||
# ''MIR LP Staking: 10.4% (38.6M) tokens are evenly distributed to MIR-UST and MIR-UST (mETH) staking pools by the end of year 4. MIR-UST pair has an initial <code>weight</code> of 300, which is greater than <code>weight</code> of mAssets (First batch of mAssets have 100, and whitelisted mAssets have 30 <code>weight</code>).'' | # ''MIR LP Staking: 10.4% (38.6M) tokens are evenly distributed to MIR-UST and MIR-UST (mETH) staking pools by the end of year 4. MIR-UST pair has an initial <code>weight</code> of 300, which is greater than <code>weight</code> of mAssets (First batch of mAssets have 100, and whitelisted mAssets have 30 <code>weight</code>).'' | ||
# ''Community Pool: 34.6% (128.1M) of total MIR supply will be distributed to Community Pool by the end of year 4."'' | # ''Community Pool: 34.6% (128.1M) of total MIR supply will be distributed to Community Pool by the end of year 4."'' | ||
Line 65: | Line 74: | ||
* MIR [https://www.coindesk.com/terra-mirror-synthetic-us-equities is] a [[governance]] token (8-12-2020). | * MIR [https://www.coindesk.com/terra-mirror-synthetic-us-equities is] a [[governance]] token (8-12-2020). | ||
* [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | * [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | ||
''"MIR holders will earn a fee when users retire mAssets to reclaim underlying collateral; 1% of the collateral will be redistributed to MIR. Holders of tokens with airdrop rights will need to visit the Mirror site to claim rewards. Institutional investors that want to farm MIR can do so through FalconX."'' | ''"MIR holders will [[earn]] a fee when users retire mAssets to reclaim underlying collateral; 1% of the collateral will be redistributed to MIR. Holders of tokens with airdrop rights will need to visit the Mirror site to claim rewards. Institutional investors that want to [[farm]] MIR can do so through [[FalconX]]."'' | ||
* [https://twitter.com/terra_money/status/1357871447197315072 From] Terra's Twitter (6-2-2021): | * [https://twitter.com/terra_money/status/1357871447197315072 From] Terra's [[Twitter]] (6-2-2021): | ||
''"On Mirror, the primary value accrual mechanism (besides demand for governance) is the 1.5 percent fee charged to minters when they close their CDP, concurrently burning the minted mAssets. The collected fees are converted to UST to buy MIR, then dispersed to MIR stakers."'' | ''"On Mirror, the primary value accrual mechanism (besides demand for governance) is the 1.5 percent fee charged to minters when they close their CDP, concurrently [[burning]] the minted mAssets. The collected [[fees]] are converted to UST to buy MIR, then dispersed to MIR stakers."'' | ||
* From their [https://docs.mirror.finance/faq docs] (1-2021): | * From their [https://docs.mirror.finance/faq docs] (1-2021): | ||
''"There is a fixed fee called the [[LP]] commission is 0.30% which serves as a reward for liquidity providers for Mirror-related pools on Terraswap."'' | ''"There is a fixed fee called the [[LP]] commission is 0.30% which serves as a reward for [[liquidity providers]] for Mirror-related pools on Terraswap."'' | ||
=== Token Details === | === Token Details === | ||
Line 81: | Line 90: | ||
* [[Whitepaper]] can be found [https://docsend.com/view/kcsm42mqiyu5t6ej here] (23-10-2020). And the v2 paper [https://mirror.finance/Mirror_Protocol_v2.pdf here]. | * [[Whitepaper]] can be found [https://docsend.com/view/kcsm42mqiyu5t6ej here] (23-10-2020). And the v2 paper [https://mirror.finance/Mirror_Protocol_v2.pdf here]. | ||
* Code can be viewed [https://docs.mirror.finance/contracts/architecture here]. | * Code can be viewed [https://docs.mirror.finance/contracts/architecture here]. [https://www.defisafety.com/pqrs/80 From] [[DeFi Safety]] (14-1-2022): | ||
''"With 317 commits and 5 branches, this is a very healthy repository."'' | |||
=== Implementations === | === Implementations === | ||
* Built on: [[Terra (LUNA)|Terra]] and Terraswap (by Terraform Labs) [https://docs.mirror.finance/networks and] [[Ethereum]] and [[BSC]]; ''"Mirror on Ethereum is available via a bridge called [https://github.com/terra-project/shuttle Shuttle], which facilitates [[cross-chain]] transfers of assets between Terra and Ethereum networks ([[mainnets]] and [[testnets]] supported)."'' | * Built on: [[Terra (LUNA)|Terra]] and Terraswap (by Terraform Labs) [https://docs.mirror.finance/networks and] [[Ethereum]] and [[BSC]]; ''"Mirror on Ethereum is available via a [[bridge]] called [https://github.com/terra-project/shuttle Shuttle], which facilitates [[cross-chain]] transfers of assets between Terra and Ethereum networks ([[mainnets]] and [[testnets]] supported)."'' | ||
=== How it works === | === How it works === | ||
Line 93: | Line 103: | ||
* [https://docs.mirror.finance/ From] their docs (1-2021): | * [https://docs.mirror.finance/ From] their docs (1-2021): | ||
''"The minting of mAssets is [[decentralized]] and is undertaken by users throughout the network by opening a position and depositing collateral. Mirror ensures that there is always sufficient collateral within the protocol to cover mAssets, and also manages markets for mAssets by listing them on [[/protocol/terraswap|Terraswap]] against [[Terra (LUNA)|UST]]."'' | ''"The minting of mAssets is [[decentralized]] and is undertaken by users throughout the network by opening a position and depositing collateral. Mirror ensures that there is always sufficient collateral within the protocol to [[cover]] mAssets, and also manages markets for mAssets by listing them on [[/protocol/terraswap|Terraswap]] against [[Terra (LUNA)|UST]]."'' | ||
''"mAssets are traded through interacting with [[liquidity pools]] on Terraswap."'' | ''"mAssets are traded through interacting with [[liquidity pools]] on Terraswap."'' | ||
Line 105: | Line 115: | ||
#''"[https://docs.mirror.finance/whats-new-for-mirror-v2#pre-ipo-assets Pre-IPO Assets]: Mirror now unlocks a decentralized method of minting, trading, and LP’ing mAssets before they are officially exchange-listed. See the step-by-step process [https://docs.mirror.finance/protocol/mirrored-assets-massets#pre-ipo here].'' | #''"[https://docs.mirror.finance/whats-new-for-mirror-v2#pre-ipo-assets Pre-IPO Assets]: Mirror now unlocks a decentralized method of minting, trading, and LP’ing mAssets before they are officially exchange-listed. See the step-by-step process [https://docs.mirror.finance/protocol/mirrored-assets-massets#pre-ipo here].'' | ||
#''[https://docs.mirror.finance/whats-new-for-mirror-v2#governance-participation-incentives Incentives for Governance Participation]: to reward governance participation, 50% of MIR rewards will be distributed to voters on active polls, while the remainder will be distributed to all stakers. Users who want to vote but do not have enough information to vote “Yes” or “No” can also vote to “Abstain”.'' | #''[https://docs.mirror.finance/whats-new-for-mirror-v2#governance-participation-incentives Incentives for Governance Participation]: to reward governance participation, 50% of MIR rewards will be distributed to voters on active polls, while the remainder will be distributed to all stakers. Users who want to vote but do not have enough information to vote “Yes” or “No” can also vote to “Abstain”.'' | ||
#''[https://forum.mirror.finance/t/mirror-v2-updates/1077 Governance Poll Quorum]: to alleviate the problem of proposals unexpectedly failing to pass after reaching quorum (10% → 9.99%) due to additional MIR being staked to governance, a snapshot will be taken of the total amount of staked MIR during the poll timeframe. This snapshot will be used to calculate quorum fulfillment.'' | #''[https://forum.mirror.finance/t/mirror-v2-updates/1077 Governance Poll Quorum]: to alleviate the problem of proposals unexpectedly failing to pass after reaching [[quorum]] (10% → 9.99%) due to additional MIR being staked to governance, a snapshot will be taken of the total amount of staked MIR during the poll timeframe. This snapshot will be used to calculate quorum fulfillment.'' | ||
#''[https://docs.mirror.finance/whats-new-for-mirror-v2#new-collaterals New Collateral Options]: MIR, LUNA, ANC, bLUNA (to be added soon), and aUST are now collateral options to mint new mAssets. Volatile collateral options will have an additional collateral premium whereby they will be multiplied by 133%, such that a borrow ratio of 150% → 200%.'' | #''[https://docs.mirror.finance/whats-new-for-mirror-v2#new-collaterals New Collateral Options]: MIR, LUNA, ANC, bLUNA (to be added soon), and aUST are now collateral [[options]] to mint new mAssets. Volatile collateral options will have an additional collateral premium whereby they will be multiplied by 133%, such that a borrow ratio of 150% → 200%.'' | ||
#''‘[https://docs.mirror.finance/protocol/staking-tokens-lp-and-slp Mint/Short’ LP Token]: to remedy the mAsset premium, Mirror V2 introduces “short minting” to lower premiums and reconfigure dynamics between <code>buying -> LP</code> and <code>mint -> LP</code> via the generation of short LP (sLP) tokens."'' | #''‘[https://docs.mirror.finance/protocol/staking-tokens-lp-and-slp Mint/Short’ LP Token]: to remedy the mAsset premium, Mirror V2 introduces “short minting” to lower premiums and reconfigure dynamics between <code>buying -> LP</code> and <code>mint -> LP</code> via the generation of short LP (sLP) tokens."'' | ||
Line 122: | Line 132: | ||
=== Interoperability === | === Interoperability === | ||
* [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | * [https://www.coindesk.com/terra-mirror-synthetic-us-equities From] [[CoinDesk]] (8-12-2020): | ||
"''Since Mirror runs on Terra’s [[blockchain]], users will need to bridge with [[Ethereum]] to earn rewards there. “Initially we are using a [[centralized]] bridge of our creation to bridge (called Shuttle) but we should be migrating to a more [[decentralized]] bridge called Wormhole early next year,” Kwon told CoinDesk in an email."'' | "''Since Mirror runs on Terra’s [[blockchain]], users will need to bridge with [[Ethereum]] to earn rewards there. “Initially we are using a [[centralized]] bridge of our creation to bridge (called Shuttle) but we should be migrating to a more [[decentralized]] bridge called [[Wormhole]] early next year,” Kwon told CoinDesk in an email."'' | ||
=== Other Details === | === Other Details === | ||
Line 135: | Line 145: | ||
* From their [https://docs.mirror.finance/faq docs] (1-2021): | * From their [https://docs.mirror.finance/faq docs] (1-2021): | ||
''"mAssets are soft pegged to the oracle price, which means that the Mirror protocol does not directly rely on price oracles to determine the trading prices of mAssets. Instead, Mirror relies on a combination of the minting liquidation process, arbitrageurs, and governance changes to keep mAsset prices close to oracle prices."'' | ''"mAssets are soft pegged to the oracle price, which means that the Mirror protocol does not directly rely on price oracles to determine the trading prices of mAssets. Instead, Mirror relies on a combination of the minting liquidation process, arbitrageurs, and governance changes to [[keep]] mAsset prices close to oracle prices."'' | ||
== Privacy Method == | == Privacy Method == | ||
* From their [https://docs.mirror.finance/faq docs] (1-2021): | * From their [https://docs.mirror.finance/faq docs] (1-2021): | ||
''"Mirror aims to be [[decentralized]] in all aspects including whitelisting, governance, minting, and trading. As a result, as long as you have UST balance, you are able to perform all functions available on both the Mirror protocol as well as Mirror protocol-owned Terraswap pools without any need to go through a [[KYC]] process."'' | ''"Mirror aims to be [[decentralized]] in all aspects including whitelisting, governance, minting, and trading. As a result, as long as you have UST [[balance]], you are able to perform all functions available on both the Mirror protocol as well as Mirror protocol-owned Terraswap pools without any need to go through a [[KYC]] process."'' | ||
== Compliance == | == Compliance == | ||
Line 154: | Line 164: | ||
*[https://ournetwork.substack.com/p/our-network-issue-58?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozMjQ4MTQ2NSwiXyI6InFmb2Z2IiwiaWF0IjoxNjEzNjMwMjIxLCJleHAiOjE2MTM2MzM4MjEsImlzcyI6InB1Yi0yMTM2MiIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.NrsNDh_kk5NIHsnkaTg0DoLYqVZ From] [[Our Network]] (13-2-2021): | *[https://ournetwork.substack.com/p/our-network-issue-58?token=eyJ1c2VyX2lkIjoxMzk3OTAwLCJwb3N0X2lkIjozMjQ4MTQ2NSwiXyI6InFmb2Z2IiwiaWF0IjoxNjEzNjMwMjIxLCJleHAiOjE2MTM2MzM4MjEsImlzcyI6InB1Yi0yMTM2MiIsInN1YiI6InBvc3QtcmVhY3Rpb24ifQ.NrsNDh_kk5NIHsnkaTg0DoLYqVZ From] [[Our Network]] (13-2-2021): | ||
''"Within 2 months, the total value of all UST and mAssets in liquidity pools (on the TerraSwap and [[Ethereum (ETH)|Ethereum]] [[Uniswap (UNI)|Uniswap]] pairs total) surpassed [https://terra.mirror.finance/ $213 million]. Daily trading volumes of mAssets have also been steadily increasing, peaking at $44.42 million on 02/07. Total value locked (TVL), the total value of collateral, liquidity, and staked MIR currently sits at $419.79 million, which would place Mirror among the top 17 DeFi protocols by TVL."'' | ''"Within 2 months, the total value of all UST and mAssets in liquidity pools (on the [[TerraSwap]] and [[Ethereum (ETH)|Ethereum]] [[Uniswap (UNI)|Uniswap]] pairs total) surpassed [https://terra.mirror.finance/ $213 million]. Daily trading volumes of mAssets have also been steadily increasing, peaking at $44.42 million on 02/07. [[Total value locked]] (TVL), the total value of collateral, liquidity, and staked MIR currently sits at $419.79 million, which would place Mirror among the top 17 [[Defi|DeFi]] protocols by TVL."'' | ||
* Has locked in over [https://medium.com/terra-money/february-2021-community-update-3cb63ee13240 800M UST] in [[liquidity]], collateral, and staked MIR (3-3-2021). | * Has locked in over [https://medium.com/terra-money/february-2021-community-update-3cb63ee13240 800M UST] in [[liquidity]], collateral, and staked MIR (3-3-2021). | ||
Line 168: | Line 178: | ||
* mAssets are [https://medium.com/mirror-protocol/mirror-v2-mainnet-launch-9813b1e452d6 being used] by [[Set|Set Protocol]], [[Injective Protocol (INJ)|Injective Protocol]], and [[Nebula]] (25-6-2021). | * mAssets are [https://medium.com/mirror-protocol/mirror-v2-mainnet-launch-9813b1e452d6 being used] by [[Set|Set Protocol]], [[Injective Protocol (INJ)|Injective Protocol]], and [[Nebula]] (25-6-2021). | ||
*[[Nexus Protocol]]; risk-minimized vaults for [[Anchor (ANC)|Anchor]] borrowers and Mirror delta-neutral strategies to maximize yield ([https://medium.com/terra-money/terra-project-spotlight-nexus-protocol-6d44a078c0d4 28-8-2021]). | *[[Nexus Protocol]]; risk-minimized vaults for [[Anchor (ANC)|Anchor]] borrowers and Mirror delta-[[neutral]] strategies to maximize yield ([https://medium.com/terra-money/terra-project-spotlight-nexus-protocol-6d44a078c0d4 28-8-2021]). | ||
== Competition == | == Competition == | ||
Line 190: | Line 200: | ||
=== Partners === | === Partners === | ||
* [https://medium.com/bandprotocol/injective-protocol-launches-world-first-decentralized-stock-futures-trading-in-partnership-with-da7b8ed7679a Partnered] with [[Injective Protocol]], [[Terra (LUNA)|Terra]], and [[Band Protocol]] to access the $90 trillion stock market in a permissionless manner. | * [https://medium.com/bandprotocol/injective-protocol-launches-world-first-decentralized-stock-futures-trading-in-partnership-with-da7b8ed7679a Partnered] with [[Injective Protocol]], [[Terra (LUNA)|Terra]], and [[Band Protocol]] to access the $90 trillion stock market in a [[permissionless]] manner. | ||
* From the [[EasyFi (EASY)|EasyFi]] [https://medium.com/easify-network/mirror-protocol-joins-easyfi-ecosystem-to-bring-tokenized-stocks-commodities-money-markets-on-365da6a79ec9 blog] (6-4-2021): | * From the [[EasyFi (EASY)|EasyFi]] [https://medium.com/easify-network/mirror-protocol-joins-easyfi-ecosystem-to-bring-tokenized-stocks-commodities-money-markets-on-365da6a79ec9 blog] (6-4-2021): | ||
''"Mirror Protocol & EasyFi are entering into a partnership to bring tokenized stocks and other real world assets such as commodities (oil) as collateral markets on EasyFi lending protocol This will mark the launch of the Tokenized Stocks and Commodities Money Markets on EasyFi."'' | ''"Mirror Protocol & EasyFi are entering into a partnership to bring [[tokenized]] stocks and other real world assets such as commodities (oil) as collateral markets on EasyFi lending protocol This will mark the launch of the Tokenized Stocks and Commodities Money Markets on EasyFi."'' | ||
* From their [https://medium.com/mirror-protocol/mirror-v2-mainnet-launch-9813b1e452d6 blog] (25-6-2021): | * From their [https://medium.com/mirror-protocol/mirror-v2-mainnet-launch-9813b1e452d6 blog] (25-6-2021): |
Revision as of 08:45, 14 March 2022
Type | Synthetics |
---|---|
Total supply | 370,575,000 MIR |
Website | https://mirror.finance/ |
Basics
- Announced on: 3-12-2020
- Mainnet release: Mirror Finance Mainnet v1 was launched in December 20201 Mirror Finance Mainnet v2 was launched on June 25th 2021.
- Based in: Korea
"Mirror will be "A way to mint crypto assets that mimic the value of shares in publicly traded companies like Apple or Tesla. Known as mAssets, these tokens will track the price of U.S.-based equities in the real stock market, using an oracle system that’s able to check prices every six seconds. Much like MakerDAO, if a stock price were to go up against its underlying collateral, that could trigger a slashing event for a given crypto asset (unless the collateral depositor increases their stake). But U.S. equities also don’t tend to move as quickly as crypto."
- From their docs (1-2021):
"Mirror is a DeFi protocol powered by smart contracts on the Terra network that enables the creation of synthetic assets called Mirrored Assets (mAssets). mAssets mimic the price behavior of real-world assets and give traders anywhere in the world open access to price exposure without the burdens of owning or transacting real assets."
History
- Created by the people behind Terra (8-12-2020).
Audits & Exploits
- Bug bounty program can be found here up to $150.000 (19-1-2022).
- Mirror Smart Contract Audit by Cyber Unit
- Scored 86% on DeFi Safety (14-1-2022):
"Activity is over 10 transactions a day on contract Staking.rs. Full deployed code examples are in the Appendix. As per the SLOC, there is 9% commenting to code (CtC). Full test suite code examples are in the Appendix. As per the SLOC, there is 1009% testing to code (TtC). No Mirror Finance test report was found in their documentation or in their various GitHub repositories.
CyberUnit published a Mirror Finance audit report in October 2020. Cryptonics published a Mirror Finance audit report on June 22nd 2021. Mirror Finance Mainnet v1 was launched in December 20201 Mirror Finance Mainnet v2 was launched on June 25th 2021. Note: All results are public and most fix recommendations were successfully implemented by the Terra Team."
Bugs/Exploits
Governance
Admin Keys
- From DeFi Safety (14-1-2022):
"a) The contracts are clearly labelled as upgradeable within Mirror Finance's voting process documentation. b) Governance Contract is OnlyOwner of itself and there are defined community roles when it comes to the communal voting process. c) Capabilities for change in contracts through proposal voting is described in "Proposal Types". There is no evidence of Pause Control or a similar function in the Mirror Finance documentation or GitHub repositories."
- From their docs (1-2021):
"There are no admin keys with privileged access. After the initial bootstrapping of contracts, the Gov contract is set to be the owner of the Mirror Protocol contracts and all changes must be made through the governance with the procedure defined in this section."
- From their docs (3-2021):
"There are six different categories of proposals that can be made: Whitelist a New mAsset, Register Whitelist Parameters, Modify Mint Parameters, Modify Governance Parameters, Spend Community Pool, and Submit Text Proposal."
DAO
- From Our Network (13-2-2021):
"Mirror’s community is heavily active in the governance of the protocol via the Mirror Forum, where proposals to change parameters of the protocol, whitelist new assets, and configure incentives are active. Active participation is reflected by more than 70 formal proposals undergoing voting in 2 months, 34.94 % of the total quantity of MIR staked for governance."
Treasury
"There will also be an ongoing staking reward to LUNA holders, as well as a set aside for a development fund for MIR governance to spend as it sees fit."
- From their forum (11-1-2021):
"The Mirror Protocol holds a store of MIR token in the community pool as a reserve to be used for the enhancement and empowerment of the Mirror Protocol ecosystem and community."
Token
Launch
Token allocation
"MIR will be distributed at a constant rate over a four-year period to users who contribute liquidity to automated market makers (AMMs) trading mAssets or trading MIR itself on Terra’s Terraswap or on Ethereum’s Uniswap. Mirror has specific interfaces for providing liquidity to pools either on Ethereum or Terra’s own chain. Only pools that pair the assets with TerraUSD will be eligible for MIR. Of that 9.15 million will be distributed to UNI holders in an initial airdrop, with the same amount to LUNA holders. There will also be an ongoing staking reward to LUNA holders, as well as a set aside for a development fund for MIR governance to spend as it sees fit."
- From their docs (1-2021):
"The distribution structure at the end of year 4 will look like the below:
- Airdrop: The airdrop amount which was originally distributed to UNI holders and LUNA stakers will now account for 4.9% (18.3M) of the total token supply.
- LUNA staking reward: 4.9% (18.3M) will be distributed to LUNA stakers throughout the first year since the launching of Mirror Protocol. MIR will be distributed every 100,000 blocks (approximately once every week) to Luna stakers only on the first year, starting from block height 920,000. Snapshot will be taken every 100,000 blocks to determine who is eligible for the staking reward distribution.
- mAsset LP Staking: 45.1% (167.27M) tokens are distributed to all mAsset and mAsset (mETH) staking pools by the end of year 4. Tokens are distributed daily to each staking pool (initially 13 pairs for each Mirror and mETH) based on their
weight
compared to other assets. - MIR LP Staking: 10.4% (38.6M) tokens are evenly distributed to MIR-UST and MIR-UST (mETH) staking pools by the end of year 4. MIR-UST pair has an initial
weight
of 300, which is greater thanweight
of mAssets (First batch of mAssets have 100, and whitelisted mAssets have 30weight
). - Community Pool: 34.6% (128.1M) of total MIR supply will be distributed to Community Pool by the end of year 4."
Utility
- MIR is a governance token (8-12-2020).
- From CoinDesk (8-12-2020):
"MIR holders will earn a fee when users retire mAssets to reclaim underlying collateral; 1% of the collateral will be redistributed to MIR. Holders of tokens with airdrop rights will need to visit the Mirror site to claim rewards. Institutional investors that want to farm MIR can do so through FalconX."
"On Mirror, the primary value accrual mechanism (besides demand for governance) is the 1.5 percent fee charged to minters when they close their CDP, concurrently burning the minted mAssets. The collected fees are converted to UST to buy MIR, then dispersed to MIR stakers."
- From their docs (1-2021):
"There is a fixed fee called the LP commission is 0.30% which serves as a reward for liquidity providers for Mirror-related pools on Terraswap."
Token Details
Stablecoin
Coin Distribution
Technology
- Whitepaper can be found here (23-10-2020). And the v2 paper here.
- Code can be viewed here. From DeFi Safety (14-1-2022):
"With 317 commits and 5 branches, this is a very healthy repository."
Implementations
- Built on: Terra and Terraswap (by Terraform Labs) and Ethereum and BSC; "Mirror on Ethereum is available via a bridge called Shuttle, which facilitates cross-chain transfers of assets between Terra and Ethereum networks (mainnets and testnets supported)."
How it works
"Minting a synthetic equity on Mirror, only requires users staking 150% [compared with 750% on Synthetix] of its value in one of Terra’s various stablecoins, thanks to the low-volatility of these assets. (These assets can also be minted using other mAssets as a stake, but they then require a 200% stake.)"
- From their docs (1-2021):
"The minting of mAssets is decentralized and is undertaken by users throughout the network by opening a position and depositing collateral. Mirror ensures that there is always sufficient collateral within the protocol to cover mAssets, and also manages markets for mAssets by listing them on Terraswap against UST."
"mAssets are traded through interacting with liquidity pools on Terraswap."
Fees
Upgrades
- From their blog (25-6-2021):
- "Pre-IPO Assets: Mirror now unlocks a decentralized method of minting, trading, and LP’ing mAssets before they are officially exchange-listed. See the step-by-step process here.
- Incentives for Governance Participation: to reward governance participation, 50% of MIR rewards will be distributed to voters on active polls, while the remainder will be distributed to all stakers. Users who want to vote but do not have enough information to vote “Yes” or “No” can also vote to “Abstain”.
- Governance Poll Quorum: to alleviate the problem of proposals unexpectedly failing to pass after reaching quorum (10% → 9.99%) due to additional MIR being staked to governance, a snapshot will be taken of the total amount of staked MIR during the poll timeframe. This snapshot will be used to calculate quorum fulfillment.
- New Collateral Options: MIR, LUNA, ANC, bLUNA (to be added soon), and aUST are now collateral options to mint new mAssets. Volatile collateral options will have an additional collateral premium whereby they will be multiplied by 133%, such that a borrow ratio of 150% → 200%.
- ‘Mint/Short’ LP Token: to remedy the mAsset premium, Mirror V2 introduces “short minting” to lower premiums and reconfigure dynamics between
buying -> LP
andmint -> LP
via the generation of short LP (sLP) tokens."
Staking
- From their docs (1-2021):
"MIR is valuable as it is can be staked to receive voting privileges and to earn a share of the protocol's CDP withdrawal fees."
Liquidity Mining
"MIR will be distributed at a constant rate over a four-year period to users who contribute liquidity to automated market makers (AMMs) trading mAssets or trading MIR itself on Terra’s Terraswap or on Ethereum’s Uniswap. Mirror has specific interfaces for providing liquidity to pools either on Ethereum or Terra’s own chain. Only pools that pair the assets with TerraUSD will be eligible for MIR. Over the next four years, interested users can farm MIR by contributing to liquidity pools for MIR and mAssets on Uniswap and Terraswap."
Scaling
Interoperability
"Since Mirror runs on Terra’s blockchain, users will need to bridge with Ethereum to earn rewards there. “Initially we are using a centralized bridge of our creation to bridge (called Shuttle) but we should be migrating to a more decentralized bridge called Wormhole early next year,” Kwon told CoinDesk in an email."
Other Details
Oracle Method
- "Integrates Band Protocol Oracles to Secure Over $50M in Synthetic Stocks and ETFs" (16-12-2020).
- From their docs (12-2020):
"An oracle feeder is a designated Terra account responsible for providing an accurate and up-to-date price feed for a specific mAsset and is the sole party that is permitted to update the registered reported price of the reflected asset. Because of its crucial role in the operational stability of mAssets, the oracle feeder is elected through governance and will be swiftly replaced by the community if ever it underperforms in its duties."
- From their docs (1-2021):
"mAssets are soft pegged to the oracle price, which means that the Mirror protocol does not directly rely on price oracles to determine the trading prices of mAssets. Instead, Mirror relies on a combination of the minting liquidation process, arbitrageurs, and governance changes to keep mAsset prices close to oracle prices."
Privacy Method
- From their docs (1-2021):
"Mirror aims to be decentralized in all aspects including whitelisting, governance, minting, and trading. As a result, as long as you have UST balance, you are able to perform all functions available on both the Mirror protocol as well as Mirror protocol-owned Terraswap pools without any need to go through a KYC process."
Compliance
Their Other Projects
Roadmap
"New Features on Mirror V2: - Improved incentives for gov participation - New collateral options: LUNA, MIR, ANC, aUST - Shorting incentives (generating sLP tokens) - Pre-IPO assets"
Usage
- MIR, >340M in TVL (1-2021).
- From Our Network (13-2-2021):
"Within 2 months, the total value of all UST and mAssets in liquidity pools (on the TerraSwap and Ethereum Uniswap pairs total) surpassed $213 million. Daily trading volumes of mAssets have also been steadily increasing, peaking at $44.42 million on 02/07. Total value locked (TVL), the total value of collateral, liquidity, and staked MIR currently sits at $419.79 million, which would place Mirror among the top 17 DeFi protocols by TVL."
- Has locked in over 800M UST in liquidity, collateral, and staked MIR (3-3-2021).
- From Our Network #67 (17-4-2021):
"Mirror Protocol's TVL recently surpassed $2.0 billion (currently ~$2.1 billion) and $1 billion in total liquidity, representing the total value of all mAssets and UST in liquidity pools. Including Terra, Ethereum, and Binance Smart Chain TVL (plus Pool2 MIR pairs), Mirror has become a top 15 cross-chain DeFi protocol (by TVL) within 5 months of launch."
- From Our Network (31-7-2021):
"Mirror began to see large spikes in new accounts created in Q1 as new users rushed into the crypto space. Registration numbers returned to lower levels following these initial peaks in mid-March, but the number of new accounts has risen quickly following the recent launch of Mirror v2 on June 24."
Projects that use or built on it
- mAssets are being used by Set Protocol, Injective Protocol, and Nebula (25-6-2021).
- Nexus Protocol; risk-minimized vaults for Anchor borrowers and Mirror delta-neutral strategies to maximize yield (28-8-2021).
Competition
- Synthetic protocols
Pros and Cons
Pros
Cons
Team, Funding, Partners
Team
- Full team can be found [here].
- Created by the team of Terra.
Funding
"Arrington XRP Capital has invested in Terra and all its related projects. The firm shared an advance draft of a report on the opportunity Terra has entered with Mirror called “The Standard For Synthetic Assets: Mirror, DeFi’s 1-To-N Opportunity.”"
Partners
- Partnered with Injective Protocol, Terra, and Band Protocol to access the $90 trillion stock market in a permissionless manner.
"Mirror Protocol & EasyFi are entering into a partnership to bring tokenized stocks and other real world assets such as commodities (oil) as collateral markets on EasyFi lending protocol This will mark the launch of the Tokenized Stocks and Commodities Money Markets on EasyFi."
- From their blog (25-6-2021):
"Mirror has partnered with PancakeSwap, UniLend, Mask Network, Band Protocol, Beefy, Wing, Pickle, MathWallet, Set Protocol, ApeBoard, Kash, Ramp DeFi, and Nerve Finance, amongst others, to widen the usage of mAssets."
(:
Knowledge empowers all and will help us get closer to the decentralised world we all want to live in!
Making these free wiki pages is fun but takes a lot of effort and time.
If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.
LUNA tip address: terra1usk0sedwmq5rlyegtnv4lvzmyq6t5vgda8s9ex
Also check out CoinTr.ee for more content.