You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Mars, we need to add a "ForceUnlock" message for LP's where they can break locks they own immediately. However permission for their address to use this needs to be given by governance, based upon contract audits.
Suggested Design
Design of force unlock:
There is a chain parameter for the addresses that are allowed to have force unlock for their own locks
(Governance can update this list through either param change proposal, or custom proposal type. I'd prefer param change)
We add a message called "ForceUnlock" which takes in a lock ID and amount, and asserts that:
lock owner = msg sender
lock is not superfluided
{partial unlocks that amount immediately}
Acceptance Criteria
Force unlock message exists
Above constraints are met
The text was updated successfully, but these errors were encountered:
Background
For Mars, we need to add a "ForceUnlock" message for LP's where they can break locks they own immediately. However permission for their address to use this needs to be given by governance, based upon contract audits.
Suggested Design
Design of force unlock:
Acceptance Criteria
The text was updated successfully, but these errors were encountered: