redeploy
This commit is contained in:
@@ -27,7 +27,6 @@ contract FilterAdmin is InitializableInternalMintableERC20 {
|
||||
// ============ Event ============
|
||||
event ChangeFeeRate(uint256 fee);
|
||||
event AddFilter(address filter);
|
||||
event FilterAdminInit(address owner, uint256 feeRate);
|
||||
|
||||
function init(
|
||||
address owner,
|
||||
@@ -48,8 +47,6 @@ contract FilterAdmin is InitializableInternalMintableERC20 {
|
||||
for (uint256 i = 0; i < filters.length; i++) {
|
||||
_FILTER_REGISTRY_[filters[i]] = true;
|
||||
}
|
||||
|
||||
emit FilterAdminInit(owner, feeRate);
|
||||
}
|
||||
|
||||
function mintFragTo(address to, uint256 rawAmount) external returns (uint256) {
|
||||
|
||||
@@ -158,6 +158,8 @@ contract DODONFTPoolProxy is ReentrancyGuard, InitializableOwnable {
|
||||
string[] memory infos, // 0 => fragName, 1 => fragSymbol
|
||||
uint256[] memory numParams //0 - initSupply, 1 - fee
|
||||
) external returns(address newFilterAdmin) {
|
||||
newFilterAdmin = ICloneFactory(_CLONE_FACTORY_).clone(_FILTER_ADMIN_TEMPLATE_);
|
||||
|
||||
address[] memory filters = new address[](0);
|
||||
|
||||
IFilterAdmin(newFilterAdmin).init(
|
||||
|
||||
Reference in New Issue
Block a user