-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Context
Cadence has limited support for contract upgrades. We will need to upgrade FlowALP in the future. The goal of this issue is to identify changes we can make to the current contract to improve our ability to upgrade and maintain the contract in the future.
Merged
In Review
- Split FlowALPv0 further: extract health math and position resources #183
- Add documentation to FlowALPHealth and make interest index params optional #185
Ideas
- Replace the map of position locks with a resource representing mutation rights that can be retrieved from an
InternalPositionreference. The reference would only give away one such resource at a time. Need to work out the details, but I'd like to replace the "provides safety if all callsites use the lock map properly" property with a guarantee provided by theInternalPositiontype that is easier to reason about.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels