Skip to content

Implement Safety Pool with Aave-style Umbrella Module Functionality#6

Open
obchain wants to merge 11 commits intozerolend:masterfrom
obchain:zerolend/safety-pool
Open

Implement Safety Pool with Aave-style Umbrella Module Functionality#6
obchain wants to merge 11 commits intozerolend:masterfrom
obchain:zerolend/safety-pool

Conversation

@obchain
Copy link
Copy Markdown

@obchain obchain commented Dec 11, 2024

This PR introduces a Safety Pool module for ZL inspired by Aave's Umbrella Module. The Safety Pool allows users to stake their tokens (e.g., aTokens equivalent) in return for rewards while providing coverage against protocol shortfalls. Key highlights include:

21-Day Lock Period:

  • Users' staked tokens are subject to a 21-day lock period, ensuring protocol stability and accountability.

Bad Debt Coverage:

  • Staked assets can be used to cover bad debt in the event of a protocol shortfall, safeguarding the system.

Compatibility with ZL Contracts:

  • The implementation uses the same contracts, standards, and pragma as ZL’s core repository (pragma solidity 0.8.21).

Derived from MAHA Safety Pool:

  • The Safety Pool is adapted from MAHA's Safety Pool implementation with necessary modifications to align with ZL’s architecture and governance model.

  • Facing compilation issues; working on resolving them.

@obchain obchain marked this pull request as ready for review April 29, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant