Links

Diamond Proxy Pattern

With the previous proxy pattern, we can only have one logic or implementation smart contract. However, there are cases when we want to have one proxy with more than one logic smart contract. In this case, we need the diamond proxy pattern which is also known as the multi-facet proxy pattern
After verifying your proxy smart contract and its logic (implementation) smart contract, you can execute the functions via Ftm scan. However, like the other EVM scan such as Ether scan and BSC scan, the Ftm scan can’t support a verified diamond proxy and its logic smart contracts, also known as facets. Fortunately, now we have a diamond inspector called Louper which also supports Opera and Fantom Testnet!
Louper - The Ethereum Diamond Inspector
Here are two samples of a diamond proxy and its facets which can be inspected using Louper
© 2024 Fantom Foundation