Skip to content

Commit

Permalink
Remove method to mint on MaticX contract
Browse files Browse the repository at this point in the history
  • Loading branch information
evercoinx committed Sep 19, 2024
1 parent 47b983b commit 4e6bc4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions contracts/MaticX.sol
Original file line number Diff line number Diff line change
Expand Up @@ -549,14 +549,6 @@ contract MaticX is
return (balanceInMaticX, totalShares, totalPooledStakeTokens);
}

// TODO: Add logic and enable it in V2
function mint(
address _user,
uint256 _amount
) external override whenNotPaused onlyRole(PREDICATE_ROLE) {
emit MintFromPolygon(_user, _amount);
}

/// ------------------------------ Setters ---------------------------------

/// @notice Sets a fee percent.
Expand Down
4 changes: 0 additions & 4 deletions contracts/interfaces/IMaticX.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ interface IMaticX is IERC20Upgradeable {
uint256 _amount
);

event MintFromPolygon(address indexed _user, uint256 _amount);

/// @notice Emitted when the fee percent is set.
/// @param _feePercent - Fee percent
event SetFeePercent(uint8 _feePercent);
Expand Down Expand Up @@ -188,8 +186,6 @@ interface IMaticX is IERC20Upgradeable {
uint256 _balance
) external view returns (uint256, uint256, uint256);

function mint(address _user, uint256 _amount) external;

/// @notice Sets a fee percent.
/// @param _feePercent - Fee percent (10 = 10%)
function setFeePercent(uint8 _feePercent) external;
Expand Down

0 comments on commit 4e6bc4b

Please sign in to comment.