From c5f06838879cfa326441b340ccc1283b889dc622 Mon Sep 17 00:00:00 2001 From: johnnyonline Date: Mon, 21 Oct 2024 13:34:58 +0900 Subject: [PATCH] fix: zokyo l17 --- src/ynEIGEN/AssetRegistry.sol | 2 -- src/ynEIGEN/RedemptionAssetsVault.sol | 1 - src/ynEIGEN/TokenStakingNodesManager.sol | 3 --- 3 files changed, 6 deletions(-) diff --git a/src/ynEIGEN/AssetRegistry.sol b/src/ynEIGEN/AssetRegistry.sol index f77e58cda..a3c10c8fc 100644 --- a/src/ynEIGEN/AssetRegistry.sol +++ b/src/ynEIGEN/AssetRegistry.sol @@ -29,7 +29,6 @@ interface IAssetRegistryEvents { //---------------------------------- ERRORS ------------------------------------------ //-------------------------------------------------------------------------------------- - error UnsupportedAsset(IERC20 asset); error Paused(); error AssetNotActive(address inactiveAsset); error AssetAlreadyActive(address asset); @@ -37,7 +36,6 @@ interface IAssetRegistryEvents { error AssetBalanceNonZeroInPool(uint256 balanceInPool); error AssetBalanceNonZeroInStrategyManager(uint256 balanceInStrategyManager); error AssetNotFound(address absentAsset); - error ZeroAmount(); error ZeroAddress(); error LengthMismatch(uint256 length1, uint256 length2); error AssetAlreadyAvailable(address asset); diff --git a/src/ynEIGEN/RedemptionAssetsVault.sol b/src/ynEIGEN/RedemptionAssetsVault.sol index 314aa444a..edacd6827 100644 --- a/src/ynEIGEN/RedemptionAssetsVault.sol +++ b/src/ynEIGEN/RedemptionAssetsVault.sol @@ -19,7 +19,6 @@ contract RedemptionAssetsVault is IRedemptionAssetsVault, Initializable, AccessC //---------------------------------- ERRORS ------------------------------------------ //-------------------------------------------------------------------------------------- - error TransferFailed(uint256 amount, address destination); error ZeroAddress(); error InsufficientAssetBalance(address asset, uint256 requestedAmount, uint256 balance); error ContractPaused(); diff --git a/src/ynEIGEN/TokenStakingNodesManager.sol b/src/ynEIGEN/TokenStakingNodesManager.sol index 05bfd79d4..8afb76833 100644 --- a/src/ynEIGEN/TokenStakingNodesManager.sol +++ b/src/ynEIGEN/TokenStakingNodesManager.sol @@ -30,11 +30,8 @@ contract TokenStakingNodesManager is AccessControlUpgradeable, ITokenStakingNode //---------------------------------- ERRORS ------------------------------------------ //-------------------------------------------------------------------------------------- - error UnsupportedAsset(IERC20 asset); error Unauthorized(); error InsufficientFunds(); - error Paused(); - error ZeroAmount(); error ZeroAddress(); error BeaconImplementationAlreadyExists(); error NoBeaconImplementationExists();