diff --git a/packages/protocol/test-sol/constants.sol b/packages/protocol/test-sol/constants.sol new file mode 100644 index 00000000000..2970526f8fd --- /dev/null +++ b/packages/protocol/test-sol/constants.sol @@ -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"; +}