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

Extend Chess schedule to 160 weeks #331

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion contracts/governance/ChessSchedule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ contract ChessSchedule is IChessSchedule, OwnableUpgradeable, ChessRoles, CoreUt
/// 81495773 81844791 82193810 82542829 82891847 83240866 83589884 83938903 84287922 84636940
/// 84636940 85334978 85683996 86033015 86382034 86731052 87080071 87429090 87778108 88127127
/// 88476146 88825164 89174183 89523202 89872220 90221239 90570258 90919276 91268295 91617314
/// 91966332 92315351 92664369 93013388 93362407 93711425 94060444 94409463 94758481 95107500
/// 95456519 95805537 96154556 96503575 96852593 97201612 97550631 97899649 98248668 98597687
/// ```
bytes private constant CUMULATIVE_SUPPLY_SCHEDULE =
hex"000000000000000000000000000000000000000000003f870857a3e0e3800000"
Expand Down Expand Up @@ -179,7 +181,27 @@ contract ChessSchedule is IChessSchedule, OwnableUpgradeable, ChessRoles, CoreUt
hex"0000000000000000000000000000000000000000004aeaff8639172afd080000"
hex"0000000000000000000000000000000000000000004b34e7d3f7d68d42300000"
hex"0000000000000000000000000000000000000000004b7ed02f974ca32ebc0000"
hex"0000000000000000000000000000000000000000004bc8b88b36c2b91b480000";
hex"0000000000000000000000000000000000000000004bc8b88b36c2b91b480000"
hex"0000000000000000000000000000000000000000004c12a0d8f5821b60700000"
hex"0000000000000000000000000000000000000000004c5c893494f8314cfc0000"
hex"0000000000000000000000000000000000000000004ca6718253b79392240000"
hex"0000000000000000000000000000000000000000004cf059ddf32da97eb00000"
hex"0000000000000000000000000000000000000000004d3a423992a3bf6b3c0000"
hex"0000000000000000000000000000000000000000004d842a87516321b0640000"
hex"0000000000000000000000000000000000000000004dce12e2f0d9379cf00000"
hex"0000000000000000000000000000000000000000004e17fb3e904f4d897c0000"
hex"0000000000000000000000000000000000000000004e61e38c4f0eafcea40000"
hex"0000000000000000000000000000000000000000004eabcbe7ee84c5bb300000"
hex"0000000000000000000000000000000000000000004ef5b4438dfadba7bc0000"
hex"0000000000000000000000000000000000000000004f3f9c914cba3dece40000"
hex"0000000000000000000000000000000000000000004f8984ecec3053d9700000"
hex"0000000000000000000000000000000000000000004fd36d488ba669c5fc0000"
hex"000000000000000000000000000000000000000000501d55964a65cc0b240000"
hex"00000000000000000000000000000000000000000050673df1e9dbe1f7b00000"
hex"00000000000000000000000000000000000000000050b1264d8951f7e43c0000"
hex"00000000000000000000000000000000000000000050fb0e9b48115a29640000"
hex"0000000000000000000000000000000000000000005144f6f6e7877015f00000"
hex"000000000000000000000000000000000000000000518edf5286fd86027c0000";

IERC20 public immutable chess;
uint256 public immutable startTimestamp;
Expand Down
20 changes: 20 additions & 0 deletions test/chessSchedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,26 @@ const CUMULATIVE_SUPPLY_SCHEDULE: BigNumber[] = [
parseEther("90919276"),
parseEther("91268295"),
parseEther("91617314"),
parseEther("91966332"),
parseEther("92315351"),
parseEther("92664369"),
parseEther("93013388"),
parseEther("93362407"),
parseEther("93711425"),
parseEther("94060444"),
parseEther("94409463"),
parseEther("94758481"),
parseEther("95107500"),
parseEther("95456519"),
parseEther("95805537"),
parseEther("96154556"),
parseEther("96503575"),
parseEther("96852593"),
parseEther("97201612"),
parseEther("97550631"),
parseEther("97899649"),
parseEther("98248668"),
parseEther("98597687"),
];

const WEEKLY_SUPPLY_SCHEDULE: BigNumber[] = [];
Expand Down
Loading