Metadata Facet

The Metadata Facet provides metadata for the ERC-1155 Silo Deposits. Deposit IDs are a uint256 that is the concatenation of the token address and the Stem.

Call Functions

None.

View Functions

function uri(uint256 depositId) external view returns (string memory);

Returns the URI for a given Deposit ID.

function name() external pure returns (string memory);

Returns the name of the collection for OpenSea compatibility.

function symbol() external pure returns (string memory);

Returns the ticker of the collection for OpenSea compatibility.

function imageURI(uint256 depositId) public view returns (string memory);

Returns the image URI for a given Deposit ID.

Events

event URI(string _uri, uint256 indexed _id);

Not currently emitted.

Last updated