Skip to content

Commit

Permalink
fix: hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Feb 6, 2024
1 parent a8fbced commit e720457
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Bases/Hooks/BaseHooks.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity 0.8.18;

import {BaseHealthCheck, ERC20} from "../HealthCheck/BaseHealthCheck.sol";

abstract contract DepositHooks {
contract DepositHooks {
function _preDepositHook(
uint256 assets,
uint256 shares,
Expand All @@ -17,7 +17,7 @@ abstract contract DepositHooks {
) internal virtual {}

Check warning on line 17 in src/Bases/Hooks/BaseHooks.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks
}

abstract contract WithdrawHooks {
contract WithdrawHooks {
function _preWithdrawHook(
uint256 assets,
uint256 shares,
Expand All @@ -35,7 +35,7 @@ abstract contract WithdrawHooks {
) internal virtual {}

Check warning on line 35 in src/Bases/Hooks/BaseHooks.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks
}

abstract contract TransferHooks {
contract TransferHooks {
function _preTransferHook(
address from,
address to,
Expand All @@ -50,7 +50,7 @@ abstract contract TransferHooks {
) internal virtual {}

Check warning on line 50 in src/Bases/Hooks/BaseHooks.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks
}

abstract contract Hooks is DepositHooks, WithdrawHooks, TransferHooks {}
contract Hooks is DepositHooks, WithdrawHooks, TransferHooks {}

Check warning on line 53 in src/Bases/Hooks/BaseHooks.sol

View workflow job for this annotation

GitHub Actions / solidity

Code contains empty blocks

/**
* @title Base Hooks
Expand Down

0 comments on commit e720457

Please sign in to comment.