-
Notifications
You must be signed in to change notification settings - Fork 22
Feat: LIP-32 - GateSeal v2.0 #85
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
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
### Overview | ||
|
||
GateSeal V2 will retain the one-time activation logic but allow: | ||
- An initial expiry up to 3 years (set at deployment), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- An initial expiry up to 3 years (set at deployment), | |
- An initial expiry up to 1 year (set at deployment), | |
- An overall expiry up to 5 years (set at deployment), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have N prolongations, so why do we need a cap in the contract? It seems like an extra precaution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
want to limit the overall duration of the same instance still to avoid some possibly forgotten stuff
- Public method `prolong()` will be gated by internal checks: | ||
- `not activated` | ||
- `not expired` | ||
- `prolongations_remaining > 0` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `prolongations_remaining > 0` | |
- `prolongations_remaining > 0` | |
- can't be called more than once for the current period | |
- can't be called earlier than 1 mo before the currently assigned expiration |
Co-authored-by: Eugene Mamin <[email protected]>
Co-authored-by: Eugene Mamin <[email protected]>
|
||
GateSeal V2 will retain the one-time activation logic but allow: | ||
- An initial expiry up to 3 years (set at deployment), | ||
- Up to N prolongations (e.g., 5), each increasing validity by up to 6 months, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Up to N prolongations (e.g., 5), each increasing validity by up to 6 months, | |
- Up to N prolongations (e.g., 5), each increasing validity by up to 6 months (set at deployment), |
### Overview | ||
|
||
GateSeal V2 will retain the one-time activation logic but allow: | ||
- An initial expiry up to 3 years (set at deployment), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have N prolongations, so why do we need a cap in the contract? It seems like an extra precaution.
Please do not use LIP-32. It's booked for GateSeal v2.0