diff --git a/src/FactoryTokenContractV2.sol b/src/FactoryTokenContractV2.sol index 53975e1..2ada1ed 100644 --- a/src/FactoryTokenContractV2.sol +++ b/src/FactoryTokenContractV2.sol @@ -417,4 +417,18 @@ contract FactoryTokenContractV2 is Ownable, ReentrancyGuard, Pausable { function getUserContribution(address _tokenAddress, address _user) external view returns (uint256) { return tokenLiquidity[_tokenAddress].contributions[_user]; } + + //////////////////// + // Admin Functions // + //////////////////// + + /** + * @notice Update creation fee + * @param _newFee New creation fee + */ + function updateCreationFee(uint256 _newFee) external onlyOwner { + uint256 oldFee = creationFee; + creationFee = _newFee; + emit CreationFeeUpdated(oldFee, _newFee); + } }