Skip to content

Commit

Permalink
add inheritance graph
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Oct 31, 2024
1 parent bbea6e4 commit 2d80f4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,3 +713,9 @@ In addition to standard ERC6909 view functions, The Compact includes the followi
- `check` determines if a given nonce has been consumed for a given allocator (note that nonces are scoped to allocators, not sponsors).
- `DOMAIN_SEPARATOR` returns the hash of the EIP-712 domain data for the chain in question.
- `name` returns the name of the contract.


## Contract Layout
The Compact is primarily represented by a single deployed contract, with the exception of a metadata renderer that it calls to retrieve information on ERC6909 tokenURI metadata for resource locks. That said, the underlying code is spread across multiple inherited logic contracts.

![TheCompact Inheritance Graph](images/TheCompact-Inheritance-Graph.png)
Binary file added images/TheCompact-Inheritance-Graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2d80f4a

Please sign in to comment.