Comment on page
Stake WELL or MFAM tokens and be rewarded!
The Safety Module is a fundamental component of the Moonwell protocol, specifically designed to enhance the security and stability of the protocol. Implemented as a smart contract, it allows users to stake their WELL (Moonbeam) or MFAM (Moonriver) tokens in exchange for tokenized positions within the protocol.
The primary function of the Safety Module is to help mitigate the risks associated with "Shortfall Events".
A Shortfall Event refers to an incident that unexpectedly results in a loss of capital. Despite Moonwell's robust security measures and software development practices, there is still a non-zero risk of events or exploits leading to fund losses. The Safety Module acts as a final defence line to mitigate the impact of such occurrences.
Here are three examples of potential shortfall events:
- 1.Smart contract exploit: This involves a smart contract bug or hack that leads to capital loss.
Halborn Security conducts thorough audits on all Moonwell smart contracts. In addition, Moonwell maintains an ongoing service agreement with Halborn Security who provides continuous monitoring and vulnerability scanning services to maintain security over time.
- 2.Liquidation failure: This can occur when an asset used as collateral lacks liquidity or when there are inefficiencies in the liquidation process.
According to this framework, assets can only be used as collateral once there is enough liquidity throughout the deployment chain. Markets are carefully assessed for the security of asset contracts and their economic viability. As a general requirement, a market must have a Total Value Locked (TVL) that is capable of liquidating the largest position held on the protocol.
- 3.Oracle failure: This occurs when the oracle network fails to update prices accurately during extreme market conditions or network congestion, resulting in improper liquidations based on inaccurate price data.
In order to protect the protocol from this threat, Moonwell employs Chainlink Price Oracles. These oracles are highly regarded in the blockchain industry for their resilience and security.
In order to participate in the Safety Module, users are required to stake their WELL or MFAM tokens. As a reward, they receive additional WELL or MFAM tokens, along with an equivalent amount of stkWELL or stkMFAM tokens. These stkWELL and stkMFAM tokens represent a 1:1 ratio of the staked tokens and serve as proof of ownership. These tokenized positions can be utilized for purposes such as participating in governance.
While participating in the Safety Module offers users incentives and tokenized positions, it is important to acknowledge the inherent risk involved in staking the original WELL or MFAM assets. In the event of a Shortfall Event, the value of the staked assets may be impacted, possibly leading to a loss for the user. Up to 30% of the staked assets in the Safety Module may be sold to cover the resulting deficit. Although Shortfall Events are not a daily occurrence, it remains crucial to comprehend and consider the potential risks before engaging in staking.