mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-23 12:18:16 +00:00
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:
parent
b839584451
commit
c8743f7e24
@ -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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user