💎Diamonds

Diamonds follow the EIP-2535 spec. A lot of the Diamond code is taken from Mudgen's diamond-3-hardhat repo, though some code style and clarity modifications have been made. We appreciate Mudgen providing a base to build our diamonds on. Even though the Phase source code is licensed under BSL-1.1, we are giving full access to reproduce, copy and fork the diamond code inside the folder linked below. All of the facets created for diamonds can be found here:

  • Access Control

  • Clock

  • Clone

  • ERC20

  • Loupe (required for the spec)

  • Multicall

  • Ownable

Last updated