Skip to content

Commit

Permalink
feat: rename IContracts to IContext
Browse files Browse the repository at this point in the history
  • Loading branch information
bowd committed Aug 17, 2024
1 parent 99a3bba commit da71947
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
17 changes: 17 additions & 0 deletions src/interfaces/IContext.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8;

/**
* @title IContext
* @notice Interface that combines methods used to interact with the context of the script
* can be used when passing the script into library functions.
*/
interface IContext {
function lookup(string memory contractName) external view returns (address);

function isCelo() external view returns (bool);

function isBaklava() external view returns (bool);

function isAlfajores() external view returns (bool);
}
6 changes: 0 additions & 6 deletions src/interfaces/IContracts.sol

This file was deleted.

0 comments on commit da71947

Please sign in to comment.