IDiamondBaseFacet

IDiamondBaseFacet

Defines the facet that stores the diamondBaseTokenURI. This is the base URI for all tokens, and is stored in the diamond itself. It is used by the tokenURI function to construct the final URI for a token. When implemented in a proxy scenario this interface needs also be implemented in the proxy, and must be delegated to the diamond implementation. This way it always accesses the diamonds storage, not the proxies storage.

diamondBase

function diamondBase() external view returns (address)

Returns the diamondBase which is the diamond the proxy is derived from Make sure this is public when implemented and not external.

Return Values

Name
Type
Description

[0]

address

string The diamondBase.

Was this helpful?