@@ -26,7 +26,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
2626 address feeReceiver ,
2727 address irStrategy ,
2828 bytes calldata irData
29- ) external override onlyOwner returns (uint256 ) {
29+ ) external onlyOwner returns (uint256 ) {
3030 return
3131 IHub (hub).addAsset (
3232 underlying,
@@ -45,7 +45,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
4545 address feeReceiver ,
4646 address irStrategy ,
4747 bytes calldata irData
48- ) external override onlyOwner returns (uint256 ) {
48+ ) external onlyOwner returns (uint256 ) {
4949 return IHub (hub).addAsset (underlying, decimals, feeReceiver, irStrategy, irData);
5050 }
5151
@@ -54,19 +54,15 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
5454 address hub ,
5555 uint256 assetId ,
5656 uint256 liquidityFee
57- ) external override onlyOwner {
57+ ) external onlyOwner {
5858 IHub targetHub = IHub (hub);
5959 IHub.AssetConfig memory config = targetHub.getAssetConfig (assetId);
6060 config.liquidityFee = liquidityFee.toUint16 ();
6161 targetHub.updateAssetConfig (assetId, config, new bytes (0 ));
6262 }
6363
6464 /// @inheritdoc IHubConfigurator
65- function updateFeeReceiver (
66- address hub ,
67- uint256 assetId ,
68- address feeReceiver
69- ) external override onlyOwner {
65+ function updateFeeReceiver (address hub , uint256 assetId , address feeReceiver ) external onlyOwner {
7066 IHub targetHub = IHub (hub);
7167 IHub.AssetConfig memory config = targetHub.getAssetConfig (assetId);
7268 config.feeReceiver = feeReceiver;
@@ -79,7 +75,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
7975 uint256 assetId ,
8076 uint256 liquidityFee ,
8177 address feeReceiver
82- ) external override onlyOwner {
78+ ) external onlyOwner {
8379 IHub targetHub = IHub (hub);
8480 IHub.AssetConfig memory config = targetHub.getAssetConfig (assetId);
8581 config.liquidityFee = liquidityFee.toUint16 ();
@@ -93,7 +89,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
9389 uint256 assetId ,
9490 address irStrategy ,
9591 bytes calldata irData
96- ) external override onlyOwner {
92+ ) external onlyOwner {
9793 IHub targetHub = IHub (hub);
9894 IHub.AssetConfig memory config = targetHub.getAssetConfig (assetId);
9995 config.irStrategy = irStrategy;
@@ -105,15 +101,15 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
105101 address hub ,
106102 uint256 assetId ,
107103 address reinvestmentController
108- ) external override onlyOwner {
104+ ) external onlyOwner {
109105 IHub targetHub = IHub (hub);
110106 IHub.AssetConfig memory config = targetHub.getAssetConfig (assetId);
111107 config.reinvestmentController = reinvestmentController;
112108 targetHub.updateAssetConfig (assetId, config, new bytes (0 ));
113109 }
114110
115111 /// @inheritdoc IHubConfigurator
116- function freezeAsset (address hub , uint256 assetId ) external override onlyOwner {
112+ function freezeAsset (address hub , uint256 assetId ) external onlyOwner {
117113 IHub targetHub = IHub (hub);
118114 uint256 spokesCount = targetHub.getSpokeCount (assetId);
119115 for (uint256 i = 0 ; i < spokesCount; ++ i) {
@@ -123,7 +119,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
123119 }
124120
125121 /// @inheritdoc IHubConfigurator
126- function pauseAsset (address hub , uint256 assetId ) external override onlyOwner {
122+ function pauseAsset (address hub , uint256 assetId ) external onlyOwner {
127123 IHub targetHub = IHub (hub);
128124 uint256 spokesCount = targetHub.getSpokeCount (assetId);
129125 for (uint256 i = 0 ; i < spokesCount; ++ i) {
@@ -163,7 +159,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
163159 uint256 assetId ,
164160 address spoke ,
165161 bool active
166- ) external override onlyOwner {
162+ ) external onlyOwner {
167163 IHub targetHub = IHub (hub);
168164 IHub.SpokeConfig memory config = targetHub.getSpokeConfig (assetId, spoke);
169165 config.active = active;
@@ -176,7 +172,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
176172 uint256 assetId ,
177173 address spoke ,
178174 uint256 addCap
179- ) external override onlyOwner {
175+ ) external onlyOwner {
180176 IHub targetHub = IHub (hub);
181177 IHub.SpokeConfig memory config = targetHub.getSpokeConfig (assetId, spoke);
182178 config.addCap = addCap.toUint56 ();
@@ -189,7 +185,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
189185 uint256 assetId ,
190186 address spoke ,
191187 uint256 drawCap
192- ) external override onlyOwner {
188+ ) external onlyOwner {
193189 IHub targetHub = IHub (hub);
194190 IHub.SpokeConfig memory config = targetHub.getSpokeConfig (assetId, spoke);
195191 config.drawCap = drawCap.toUint56 ();
@@ -203,12 +199,12 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
203199 address spoke ,
204200 uint256 addCap ,
205201 uint256 drawCap
206- ) external override onlyOwner {
202+ ) external onlyOwner {
207203 _updateSpokeCaps (IHub (hub), assetId, spoke, addCap, drawCap);
208204 }
209205
210206 /// @inheritdoc IHubConfigurator
211- function pauseSpoke (address hub , address spoke ) external override onlyOwner {
207+ function pauseSpoke (address hub , address spoke ) external onlyOwner {
212208 IHub targetHub = IHub (hub);
213209 uint256 assetCount = targetHub.getAssetCount ();
214210 for (uint256 assetId = 0 ; assetId < assetCount; ++ assetId) {
@@ -221,7 +217,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
221217 }
222218
223219 /// @inheritdoc IHubConfigurator
224- function freezeSpoke (address hub , address spoke ) external override onlyOwner {
220+ function freezeSpoke (address hub , address spoke ) external onlyOwner {
225221 IHub targetHub = IHub (hub);
226222 uint256 assetCount = targetHub.getAssetCount ();
227223 for (uint256 assetId = 0 ; assetId < assetCount; ++ assetId) {
@@ -236,7 +232,7 @@ contract HubConfigurator is Ownable2Step, IHubConfigurator {
236232 address hub ,
237233 uint256 assetId ,
238234 bytes calldata irData
239- ) external override onlyOwner {
235+ ) external onlyOwner {
240236 IHub (hub).setInterestRateData (assetId, irData);
241237 }
242238
0 commit comments