Skip to content

Commit

Permalink
constants added
Browse files Browse the repository at this point in the history
  • Loading branch information
pahor167 committed Jan 17, 2024
1 parent 44761d1 commit 92b4d9a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/protocol/test-sol/constants.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
pragma solidity ^0.5.13;

// This contract is only required for Solidity 0.5
contract Constants {
uint256 public constant FIXED1 = 1e24;
uint256 constant DAY = 24 * 60 * 60;
uint256 constant YEAR = 365 * DAY;
uint256 constant EPOCH_SIZE = DAY / 5;

// contract names
string constant ElectionContract = "Election";
string constant SortedOraclesContract = "SortedOracles";
string constant StableTokenContract = "StableToken";
string constant GoldTokenContract = "GoldToken";
string constant FreezerContract = "Freezer";
}

0 comments on commit 92b4d9a

Please sign in to comment.