-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from blend-capital/misc-todos
Misc todos
- Loading branch information
Showing
21 changed files
with
170 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
/// Fixed-point scalar for 7 decimal numbers | ||
pub const SCALAR_7: i128 = 1_0000000; | ||
|
||
// The approximate deployment date of the backstop module TODO: pick one | ||
pub const BACKSTOP_EPOCH: u64 = 1441065600; | ||
/// The approximate deployment time in seconds since epoch of the backstop module. This is NOT the | ||
/// actual deployment time and should not be considered accruate. It is only used to determine reward | ||
/// zone size on ~90 day intervals, starting at 10 on or before April 15th, 2024 00:00:00 UTC. | ||
pub const BACKSTOP_EPOCH: u64 = 1713139200; | ||
|
||
/// The maximum amount of active Q4W entries that a user can have against a single backstop. | ||
/// Set such that a user can create a maximum of 1 entry per day over the 21 day lock period. | ||
pub const MAX_Q4W_SIZE: u32 = 21; | ||
|
||
/// The time in seconds that a Q4W entry is locked for (21 days). | ||
pub const Q4W_LOCK_TIME: u64 = 21 * 24 * 60 * 60; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.