Skip to content

Commit

Permalink
feat: erc165 support interface (#281)
Browse files Browse the repository at this point in the history
Adds erc165 standard altogether with a proc macro, that lets to compute
interface id in a simple way.

<!-- Fill in with issue number -->
Resolves #33

#### PR Checklist

- [x] Tests
- [x] Documentation

---------

Co-authored-by: Daniel Bigos <[email protected]>
(cherry picked from commit 9b04143)
  • Loading branch information
qalisander committed Oct 9, 2024
1 parent 85062b8 commit 15a789d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/erc20/tests/abi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ sol!(

function supportsInterface(bytes4 interface_id) external view returns (bool supportsInterface);

function supportsInterface(bytes4 interface_id) external view returns (bool supportsInterface);

error EnforcedPause();
error ExpectedPause();

Expand Down

0 comments on commit 15a789d

Please sign in to comment.