Skip to content

Add Diamond Structure

Description

    Add Diamond Structure : The Diamond Standard (EIP-2535) is a finalized Ethereum Improvement Proposal that aims to make it easier for developers to modularize and upgrade their smart contracts. The core idea of the Diamond standard is similar to upgradeable smart contracts, such as the proxy pattern but with the benefit that you can control many implementation contracts (i.e., logic contracts) from your single Diamond contract (i.e., proxy contract).

  • A single gateway to make proxy calls to n number of implementation contracts.
  • Upgrade a single or multiple smart contract atomically.
  • No storage limit to how many implementation contracts you can add to your Diamond.
  • A log history of all the upgrades made on the Diamond.
  • Can reduce gas costs (i.e., by reducing the number of external function calls).


Youtube demo link - https://www.youtube.com/watch?v=Tf3YHPFrLKk&ab_channel=YogendraJhala



Fixes # (issue)

Type of change

Please mark the options that are relevant.

  • Updated UI/UX
  • Improved the business logic of code
  • Added new feature
  • Other

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
Edited by Yogendra Jhala

Merge request reports