This contract contains the base storage variables for farms.
uint8 public constant COMMON_FUND_ID = 0;
uint8 public constant LOCKUP_FUND_ID = 1;
uint256 public constant PRECISION = 1e18;
uint256 public constant MAX_COOLDOWN_PERIOD = 30;
uint256 public constant MAX_NUM_REWARDS = 4;
uint256 public cooldownPeriod;
uint256 public lastFundUpdateTime;
uint256 public farmStartTime;
uint256 public totalDeposits;
RewardFund[] internal rewardFunds;
address[] internal rewardTokens;
mapping(address => RewardData) internal rewardData;
mapping(uint256 => Deposit) internal deposits;
mapping(uint256 => Subscription[]) internal subscriptions;