curve-dao-contracts
curve-dao-contracts copied to clipboard
Wrong integer assigned to year
WEEK: constant(uint256) = 7 * 86400 # all future times are rounded by week
MAXTIME: constant(uint256) = 4 * **365** * 86400 # 4 years
MULTIPLIER: constant(uint256) = 10 ** 18
year = 365.25 days
https://en.wikipedia.org/wiki/Year
Can you provide any additional sources? I don't trust Wikipedia, anyone can modify an article.
I have done extensive research into the matter and concluded that it is hard to determine how many days are in a year. Is it 365 days? Is it 365.25? Is there a wider conspiracy to hide the truth? We will unfortunately likely never know.
At Curve, we define year as 365 days. It's a so-called "Curve Year"
Integers... how do they work?