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
URI
function uri(uint256 depositId) external view returns (string memory);Returns the URI for a given Deposit ID.
Parameter
Type
Description
depositId
uint256
Deposit ID to get the URI for.
Return Type
Description
string
URI of Deposit with depositId.
Name
function name() external pure returns (string memory);Returns the name of the collection for OpenSea compatibility.
Return Type
Description
string
Name of the OpenSea collection.
Symbol
Returns the ticker of the collection for OpenSea compatibility.
Return Type
Description
string
Ticker of the OpenSea collection.
Image URI
Returns the image URI for a given Deposit ID.
Parameter
Type
Description
depositId
uint256
Deposit ID to get the image URI for.
Return Type
Description
string
Image URI of Deposit with depositId.
Events
URI
Not currently emitted.
Parameter
Type
Description
_uri
string
URI.
_id
uint256
Deposit ID.
Last updated