Skip to content

Commit

Permalink
Update eip-2535.md, add diagram (ethereum#2897)
Browse files Browse the repository at this point in the history
* Update eip-2535.md

* eip-2535.md
  • Loading branch information
mudgen authored and Arachnid committed Mar 6, 2021
1 parent d2cc222 commit bbba3e2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions EIPS/eip-2535.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,19 @@ In this diagram

<img src="../assets/eip-2535/diamondstorage1.png">

### Reusable Facets

A deployed facet can be used by any number of diamonds.

The diagram below shows two different diamonds using the same two facets.

* FacetA is used by Diamond1
* FacetA is used by Diamond2
* FacetB is used by Diamond1
* FacetB is used by Diamond2

<img src="../assets/eip-2535/facetreuse.png">

## Some Diamond Benefits

1. A stable contract address that provides needed functionality.
Expand Down
Binary file added assets/eip-2535/facetreuse.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 bbba3e2

Please sign in to comment.