Skip to content

Commit f100dcc

Browse files
author
hectiik
authored
Merge pull request #19 from CraftMeme/mlghectiik-dev
Feat: Add All State Vars In FactoryTokenV2 Contract
2 parents c912267 + 10eaed9 commit f100dcc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/FactoryTokenContractV2.sol

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,15 @@ contract FactoryTokenContractV2 is Ownable, ReentrancyGuard, Pausable {
3636
error FactoryTokenContract__TotalSupplyTooHigh();
3737
error FactoryTokenContract__InsufficientLiquidity();
3838

39+
////////////////////
40+
// State Variables //
41+
///////////////////
42+
43+
/// @notice Maximum values for validation
44+
uint256 public constant MAX_SIGNERS = 10;
45+
uint256 public constant MIN_SIGNERS = 2;
46+
uint256 public constant MAX_NAME_LENGTH = 50;
47+
uint256 public constant MAX_SYMBOL_LENGTH = 10;
48+
uint256 public constant MAX_TOTAL_SUPPLY = 1e15 * 1e18; // 1 quadrillion tokens max
49+
uint256 public constant MIN_LIQUIDITY_THRESHOLD = 20 * 1e6; // 20 USDC (assuming 6 decimals)
3950
}

0 commit comments

Comments
 (0)