EIP-2535 Diamonds
Subscribe
Sign in
Home
Archive
About
More
return
;
New
Top
Discussion
Introduction to the Diamond Standard, EIP-2535 Diamonds
Build large, modular smart contract systems that can be extended after deployment.
Nick Mudge 💎
Jul 15, 2021
17
Comment
Share
Share this post
Introduction to EIP-2535 Diamonds
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
Understanding delegatecall And How to Use It Safely
Some developers are afraid of ‘delegatecall’ because they have been told it is “dangerous”. Fear and danger come from not understanding how something…
Nick Mudge 💎
Jul 24, 2021
13
Comment
1
Share
Share this post
Understanding delegatecall And How to Use It Safely
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
Basics of Smart Contract Gas Optimization with Solidity
Gas optimization is a matter of doing what is cheap and avoiding what is expensive in terms of gas costs on EVM blockchains
Nick Mudge 💎
Jan 25
3
Comment
Share
Share this post
Basics of Smart Contract Gas Optimization with Solidity
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
How EIP2535 Diamonds Reduces Gas Costs for Smart Contract Systems
A diamond has a fixed gas cost for any amount of cross contract interaction under its control.
Nick Mudge 💎
Jan 22
4
Comment
Share
Share this post
How EIP2535 Diamonds Reduces Gas Costs for Smart Contract Systems
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
List of Projects Using EIP-2535 Diamonds
This is a list of projects using EIP-2535 Diamonds. This list is a work in progress. Send me a tweet on Twitter (@mudgen) if you know of a project not…
Nick Mudge 💎
Jul 16, 2021
4
Comment
Share
Share this post
List of Projects Using EIP-2535 Diamonds
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
ERC1155 and EIP2535 Diamonds
ERC1155 is a powerful and flexible token standard. Its functionality includes the following: Batch transfer functions are part of the ERC1155 standard…
Nick Mudge 💎
Feb 17
5
Comment
Share
Share this post
ERC1155 and EIP2535 Diamonds
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
Smart Contract Security Audits for EIP-2535 Diamonds Implementations
Each of the security audits applies to one of these diamond implementations: diamond-1-hardhat (Simple implementation) diamond-2-hardhat (Gas-optimized…
Nick Mudge 💎
Jul 11, 2021
2
Comment
Share
Share this post
Smart Contract Security Audits for EIP-2535 Diamonds Implementations
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
Example of Adding New State Variables in Diamond Upgrade
The purpose of this article is to show how to add new state variables to an already deployed diamond and use them.
Nick Mudge 💎
Jan 31
4
Comment
Share
Share this post
Example of Adding New State Variables in Diamond Upgrade
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
Diamond Upgrades
EIP-2535 Diamonds specifies the ‘diamondCut’ function which is used to add/replace/remove any number of facets and functions to a diamond in a single…
Nick Mudge 💎
Jul 26, 2021
3
Comment
Share
Share this post
Diamond Upgrades
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
Constructor Functions Don't Work in Facets
Constructor functions are used to set state variables in the contract storage of a contract that is being deploy. But realize that a facet doesn’t read…
Nick Mudge 💎
Jan 30
3
Comment
Share
Share this post
Constructor Functions Don't Work in Facets
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
How to Share Functions Between Facets of a Diamond
There are a number of ways to share or reuse functions between facets of an Ethereum diamond. The best way I have found is to write internal functions…
Nick Mudge 💎
Sep 24, 2021
2
Comment
Share
Share this post
How to Share Functions Between Facets of a Diamond
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
Facets Hold No State Variable Data. All State Variable Data is Stored in a Diamond Proxy Contract
A diamond proxy contract is the smart contract with the fallback function that delegates function calls to facets. Here’s a link to a diamond proxy…
Nick Mudge 💎
Mar 19
3
Comment
Share
Share this post
Facets Hold No State Variable Data. All State Variable Data is Stored in a Diamond Proxy Contract
eip2535diamonds.substack.com
Copy link
Twitter
Facebook
Email
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts