Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safe asset disabling #6

Open
mootz12 opened this issue Dec 3, 2024 · 0 comments
Open

Safe asset disabling #6

mootz12 opened this issue Dec 3, 2024 · 0 comments
Labels
enhancement New feature or request pool This issue impacts the pool

Comments

@mootz12
Copy link
Contributor

mootz12 commented Dec 3, 2024

Disabling assets is currently a difficult task for pool managers. If an asset has a liability factor, disabling it completely can be almost impossible (setting the liability factor to 0 results in positions that cannot be calculated. If these already exist these users will not be able to have their health factor calculated), and they rather need to be set with an extremely high liability factor and 0 collateral factor.

Technical Notes

This is likely best implemented with an enabled flag on the ReserveConfig, where it being disabled only allows the destruction of positions (withdraw / repay).

@mootz12 mootz12 added enhancement New feature or request pool This issue impacts the pool labels Dec 3, 2024
@markuspluna markuspluna self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pool This issue impacts the pool
Projects
None yet
Development

No branches or pull requests

2 participants