#
ABI generation
The build command will auto-generate an ABI for the Diamond. The ABI will be stored in abi.json
, next to the generated Diamond proxy code.
This ABI contains all of the functions exported in the Diamond proxy interface as well as any and all custom errors and events found in all the compiled artifacts (including imported libraries).
This allows front-end libraries such as such as Wagmi to recognize and decode errors and events emitted by your Diamond.