// SPDX-License-Identifier: MIT pragma solidity 0.8.19; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "../dependencies/BlastWrapperUpgradeable.sol"; contract FeeReceiver is BlastWrapperUpgradeable { function initialize(IPropelCore _PropelCore) external initializer { __Init_Blast(_PropelCore); } function withdraw(address to, IERC20 coin, uint256 value) external onlyOwner { if (address(coin) == address(0)) { (bool success, ) = to.call{ value: value }(""); require(success, "FeeReceiver: withdraw eth failed"); } else { coin.transfer(to, value); } } }