Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/FactoryTokenContractV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Loading