generated from peersky/bootstrap_solidity
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added aux code indexer interface, fixed more typos (#28)
- Loading branch information
Showing
4 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@peeramid-labs/eds": patch | ||
--- | ||
|
||
added aux file for codeIndex interface in more loose pragma to be more reusable as library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: CC0-1.0 | ||
pragma solidity >=0.8.0 <0.9.0; | ||
|
||
// This file is exactly same as ./ICodeIndexer.sol\ | ||
// With exception for more loose pragma version | ||
// Updating the CodeIndex pragma directly would cause changing the deployed bytecode for ERC7744 | ||
interface ICodeIndex { | ||
event Indexed(address indexed container, bytes32 indexed codeHash); | ||
error alreadyExists(bytes32 id, address source); | ||
|
||
function register(address container) external; | ||
|
||
function get(bytes32 id) external view returns (address); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters