-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only a set of possible time-deltas should be allowed (e.g.) 0 (for unlocked with withdrawal period), 1 month, 3 months, and so on... The locking method should revert if the user tries to lock for a different amount of time. This PR replaces the concept of Dates when creating a lockup, since the user will be inputting a TimeDelta, and internally we should calculate the Date, to keep the same infra as it was.
- Loading branch information
1 parent
f387724
commit ed2f662
Showing
3 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters