Skip to content

Commit

Permalink
Merge pull request #7 from VenusProtocol/feat/constants-time
Browse files Browse the repository at this point in the history
Add Seconds Per Year in Constants
  • Loading branch information
web3rover authored Dec 7, 2023
2 parents 60a1e41 + 212e959 commit 8396988
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ uint256 constant EXP_SCALE = 1e18;

/// @dev A unit (literal one) in EXP_SCALE, usually used in additions/subtractions
uint256 constant MANTISSA_ONE = EXP_SCALE;

/// @dev The approximate number of seconds per year
uint256 constant SECONDS_PER_YEAR = 31_536_000;

0 comments on commit 8396988

Please sign in to comment.