Skip to content
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

Stability fee should be zero then kick in automatically after ~18months #1597

Closed
timmoreton opened this issue Nov 6, 2019 · 2 comments
Closed
Labels
audit Priority: P2 Major protocol All issues relating to protocol packages stake-off-bubble Issues under the Stake Off Engineering Bubble

Comments

@timmoreton
Copy link
Contributor

timmoreton commented Nov 6, 2019

In StableToken.sol, a stability fee is implemented via the InflationFactor. This inflation factor should remain 1.0 until 18 months after launch, after which it should update every inflationState.updatePeriod seconds

@timmoreton timmoreton added audit protocol All issues relating to protocol packages labels Nov 6, 2019
@BatiGencho BatiGencho self-assigned this Dec 4, 2019
@mcortesi
Copy link
Contributor

We should use block.time to compute time; not block.number

@nategraf nategraf added the stake-off-bubble Issues under the Stake Off Engineering Bubble label Feb 6, 2020
@nategraf nategraf added the Priority: P2 Major label Feb 6, 2020
@mrsmkl mrsmkl self-assigned this Feb 20, 2020
@mrsmkl
Copy link
Contributor

mrsmkl commented Feb 20, 2020

Looks like the update period is currently 18 months, so the current code should have the required behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit Priority: P2 Major protocol All issues relating to protocol packages stake-off-bubble Issues under the Stake Off Engineering Bubble
Projects
None yet
Development

No branches or pull requests

6 participants