Skip to content

Commit

Permalink
Merge branch 'feat/hub-viewer' of github.com:lidofinance/core into fe…
Browse files Browse the repository at this point in the history
…at/hub-viewer
  • Loading branch information
Jeday committed Dec 25, 2024
2 parents e9b6c01 + 744cc38 commit 97e484e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/0.8.25/vaults/VaultHubViewerV1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ contract VaultHubViewerV1 {
vaultHub = IVaultHub(_vaultHubAddress);
}

/// @notice Checks if a given address is a contract
/// @param account The address to check
/// @return True if the address is a contract, false otherwise
function isContract(address account) public view returns (bool) {
uint256 size;
assembly {
Expand Down

0 comments on commit 97e484e

Please sign in to comment.