Skip to content

Commit 7d954ee

Browse files
authored
Merge pull request #13 from Uniswap/inheritance-graph
add inheritance graph
2 parents bbea6e4 + 2d80f4a commit 7d954ee

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,3 +713,9 @@ In addition to standard ERC6909 view functions, The Compact includes the followi
713713
- `check` determines if a given nonce has been consumed for a given allocator (note that nonces are scoped to allocators, not sponsors).
714714
- `DOMAIN_SEPARATOR` returns the hash of the EIP-712 domain data for the chain in question.
715715
- `name` returns the name of the contract.
716+
717+
718+
## Contract Layout
719+
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.
720+
721+
![TheCompact Inheritance Graph](images/TheCompact-Inheritance-Graph.png)
144 KB
Loading

0 commit comments

Comments
 (0)