DiamondOrProxyFacet
DiamondOrProxyFacet
Used to distinguish between the diamond and the proxy.
isDiamondContract
Determines if we are operating against the proxy or the diamond.
Return Values
Name
Type
Description
[0]
bool
bool True if this is the diamond contract, false if it's a proxy. Note - this must be public when implemented in the proxy or the diamond facet.
DiamondOrProxyFacet
Used to distinguish between the diamond and the proxy.
isDiamondContract
Determines if we are operating against the proxy or the diamond.
Return Values
Name
Type
Description
[0]
bool
bool True if this is the diamond contract, false if it's a proxy. Note - this must be public when implemented in the proxy or the diamond facet.
Was this helpful?