Automatically merged updates to draft EIP(s) 2535 (#2900)

Hi, I'm a bot! This change was automatically merged because:

 - It only modifies existing Draft or Last Call EIP(s)
 - The PR was approved or written by at least one author of each modified EIP
 - The build is passing
This commit is contained in:
Nick Mudge 2020-08-24 12:47:27 -04:00 committed by GitHub
parent b839584451
commit c8743f7e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,16 +15,20 @@ created: 2020-02-22
A new smart contract paradigm that works today.
A diamond is a contract that implements the Specification in this standard.
A diamond is a contract with the functionality of multiple contracts that can can share internal functions, libraries and state variables.
Diamonds are powerful, organized, modular, optionally upgradeable, flexible, unlimited in size, and transparent.
A diamond is a contract that implements the Specification in this standard.
Terminology from the diamond industry.
## What is a Diamond?
A diamond is a contract with external functions that are supplied by contracts called **facets**.
Facets are separate, independent contracts that can share internal functions, libraries and state variables.
## How a Diamond Works
A diamond stores within it a mapping of function selector to facet address, for example `selectorToFacet`.