Skip to content

Commit

Permalink
fix: make helpers public
Browse files Browse the repository at this point in the history
  • Loading branch information
bowd committed Aug 18, 2024
1 parent 7a6c79e commit 1ebf355
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CeloChains.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ abstract contract CeloChains is StdChains {

/// @notice Determine if the current chain is Celo.
/// @return true if the current chain is Celo.
function isCelo() internal view returns (bool) {
function isCelo() public view returns (bool) {
return block.chainid == CELO_ID;
}

/// @notice Determine if the current chain is Baklava.
/// @return true if the current chain is Baklava.
function isBaklava() internal view returns (bool) {
function isBaklava() public view returns (bool) {
return block.chainid == BAKLAVA_ID;
}

/// @notice Determine if the current chain is Alfajores.
/// @return true if the current chain is Alfajores.
function isAlfajores() internal view returns (bool) {
function isAlfajores() public view returns (bool) {
return block.chainid == ALFAJORES_ID;
}

Expand Down

0 comments on commit 1ebf355

Please sign in to comment.