Skip to content

Commit 8af215e

Browse files
authored
Merge pull request #6 from ZealynxSecurity/fix_setting_error
fix: revert during deployment
2 parents 2cdbf19 + e1e4e16 commit 8af215e

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

src/external/token/interfaces/IERC20Issuance_Blacklist_v1.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ interface IERC20Issuance_Blacklist_v1 is IERC20Issuance_v1 {
103103
/// The array size should not exceed the block gas limit. Consider
104104
/// using smaller batches (e.g., 100-200 addresses) to ensure
105105
/// transaction success.
106-
function addToBlacklistBatched(address[] calldata accounts_)
107-
external;
106+
function addToBlacklistBatched(address[] calldata accounts_) external;
108107

109108
/// @notice Removes multiple addresses from the blacklist.
110109
/// @param accounts_ Array of addresses to remove.

src/modules/fundingManager/oracle/FM_PC_ExternalPrice_Redeeming_v1.sol

+7-6
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,11 @@ contract FM_PC_ExternalPrice_Redeeming_v1 is
276276
}
277277

278278
/// @inheritdoc IFM_PC_ExternalPrice_Redeeming_v1
279-
function getIsDirectOperationsOnly() public view returns (bool isDirectOnly_) {
279+
function getIsDirectOperationsOnly()
280+
public
281+
view
282+
returns (bool isDirectOnly_)
283+
{
280284
return _isDirectOperationsOnly;
281285
}
282286

@@ -597,10 +601,7 @@ contract FM_PC_ExternalPrice_Redeeming_v1 is
597601

598602
// Create and emit the order.
599603
_createAndEmitOrder(
600-
_receiver,
601-
_depositAmount,
602-
collateralRedeemAmount,
603-
issuanceFeeAmount
604+
_receiver, _depositAmount, collateralRedeemAmount, issuanceFeeAmount
604605
);
605606

606607
return (totalCollateralTokenMovedOut, issuanceFeeAmount);
@@ -702,7 +703,7 @@ contract FM_PC_ExternalPrice_Redeeming_v1 is
702703
/// Module__FM_PC_ExternalPrice_Redeeming_InvalidProjectTreasury.
703704
/// @param projectTreasury_ The address of the project treasury.
704705
function _setProjectTreasury(address projectTreasury_) internal {
705-
if (_projectTreasury == address(0)) {
706+
if (projectTreasury_ == address(0)) {
706707
revert Module__FM_PC_ExternalPrice_Redeeming_InvalidProjectTreasury(
707708
);
708709
}

src/modules/fundingManager/oracle/interfaces/IFM_PC_ExternalPrice_Redeeming_v1.sol

+4-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ interface IFM_PC_ExternalPrice_Redeeming_v1 is
134134

135135
/// @notice Gets the direct operations only flag.
136136
/// @return isDirectOnly_ Whether only direct operations are allowed.
137-
function getIsDirectOperationsOnly() external view returns (bool isDirectOnly_);
137+
function getIsDirectOperationsOnly()
138+
external
139+
view
140+
returns (bool isDirectOnly_);
138141

139142
/// @notice Gets current buy fee.
140143
/// @return buyFee_ The current buy fee.

0 commit comments

Comments
 (0)