-
Notifications
You must be signed in to change notification settings - Fork 3
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
24h time windows #27
Comments
We need to decide if we accept 0s windows (always closed) and 24h window (always open). This way we have the best of both and the calculus simplifies a lot. Opinions? |
I dont like 0s windows... but love an option for always open (turning off this security feature) |
Closing the transfers is a good way to hold the transfers temporally. For example if you go for vacations. |
Is this the right feature to implement closing the vault for a few days? if there is not a more straight forward feature that allows that functionality then 0s time does make sense! :-D |
We imagined not able to modify limits after the contract is deployed. But we'll leave that ability in the system for now. Regardless of open 24 hours/ closed 24 hours. some functionality like overflow, cancel vaults etc. should be able to work. |
Ok! We need to document it, then. |
The time window in
checkMainTransfer
creates a zero-second window ifclosingTime
andopeningTime
are the sameTo handle 24h windows, consider to change it to:
The same issue is also in
checkSpenderTransfer
The text was updated successfully, but these errors were encountered: