The diamond sample is a code implementation and group technique. The diamond sample makes it potential to implement a number of contract performance that’s compartmented into separate areas of performance, however nonetheless utilizing the identical Ethereum deal with. The code is additional simplified and saves gasoline as a result of state variables are shared between contracts.
https://docs.aavegotchi.com/overview/diamond-standard