-
Notifications
You must be signed in to change notification settings - Fork 553
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
BEP24: Improvements to Freeze Function #24
Conversation
looks some duplication with BEP9 |
Hi @darren-liu this is different, but certainly can be built on BEP9. BEP9 refers to timelocking of tokens that can be reclaimed after a certain date. BEP24 refers to bonding of tokens, that are locked indefinitely, after which the user can try to claim. At this point an unbonding period begins, such as 30 days. This is more similar to the process of staking. BEP24 can be built on the fundamentals of BEP9. Without BEP24, users will have to keep coming online to re-lock their tokens. |
Clarified the difference between BEP9 and BEP24
but the feature required in your motivation can be done via BEP9 fully: in the example of "a dApp with a certain premium feature set may require token holders to freeze a certain quantity of tokens on their address for a minimum of 30 days (bond period). ", this sounds a timer lock of 30 days is good enough. |
Hi @darren-liu - this will not work. The user must come online every 30 days and a re-lock transaction for another 30 days. If they miss this, then the dApp will kick them out of their ecosystem. BEP9 is a TimeStamp (such as vesting tokens), BEP24 is for staking and entering dApp ecosystems because the bonding time creates an opportunity cost. |
Clarification
Hi @darren-liu I have made some changes to simplify how this is explained. |
@jpthor Would it be wiser to adopt a different analogy that is easier to communicate?
Or maybe this should have a separate nomenclature, i.e. "staking" based. I see your point, that BEP-9 time locks are not able to support an indefinite "freezing" that is not time based I do wonder whether this is part of a larger functionality, i.e. indefinite "freezing" or "collateralizing" where the release can be programmatically controlled. e.g. MakerDAO-style collateralization, where the rights of who can unlock and claim are programmatic. |
outdated, archive it. |
Abstract
Some dApps require token holders to lock up tokens that can only be released after a certain time delay, before granting premium features. This is also known as "staking" but the tokens will stay on the user's address.
For example, a dApp with a certain premium feature set may require token holders to freeze a certain quantity of tokens on their address for a rolling period of 30 days (bond period).
Note: BEP9 sets restrictions on when tokens can be unlocked (after a certain date), whilst BEP24 sets restrictions on how long the unlocking takes.
BEP-24 Proposal describes the functionality to improve BEP9: