Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert during deployment #6

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ interface IERC20Issuance_Blacklist_v1 is IERC20Issuance_v1 {
/// The array size should not exceed the block gas limit. Consider
/// using smaller batches (e.g., 100-200 addresses) to ensure
/// transaction success.
function addToBlacklistBatched(address[] calldata accounts_)
external;
function addToBlacklistBatched(address[] calldata accounts_) external;

/// @notice Removes multiple addresses from the blacklist.
/// @param accounts_ Array of addresses to remove.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,11 @@ contract FM_PC_ExternalPrice_Redeeming_v1 is
}

/// @inheritdoc IFM_PC_ExternalPrice_Redeeming_v1
function getIsDirectOperationsOnly() public view returns (bool isDirectOnly_) {
function getIsDirectOperationsOnly()
public
view
returns (bool isDirectOnly_)
{
return _isDirectOperationsOnly;
}

Expand Down Expand Up @@ -597,10 +601,7 @@ contract FM_PC_ExternalPrice_Redeeming_v1 is

// Create and emit the order.
_createAndEmitOrder(
_receiver,
_depositAmount,
collateralRedeemAmount,
issuanceFeeAmount
_receiver, _depositAmount, collateralRedeemAmount, issuanceFeeAmount
);

return (totalCollateralTokenMovedOut, issuanceFeeAmount);
Expand Down Expand Up @@ -702,7 +703,7 @@ contract FM_PC_ExternalPrice_Redeeming_v1 is
/// Module__FM_PC_ExternalPrice_Redeeming_InvalidProjectTreasury.
/// @param projectTreasury_ The address of the project treasury.
function _setProjectTreasury(address projectTreasury_) internal {
if (_projectTreasury == address(0)) {
if (projectTreasury_ == address(0)) {
revert Module__FM_PC_ExternalPrice_Redeeming_InvalidProjectTreasury(
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ interface IFM_PC_ExternalPrice_Redeeming_v1 is

/// @notice Gets the direct operations only flag.
/// @return isDirectOnly_ Whether only direct operations are allowed.
function getIsDirectOperationsOnly() external view returns (bool isDirectOnly_);
function getIsDirectOperationsOnly()
external
view
returns (bool isDirectOnly_);

/// @notice Gets current buy fee.
/// @return buyFee_ The current buy fee.
Expand Down
Loading