Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

URI

Emitted when the URI for token type id changes to value, if it is a non-programmatic URI.

If an URI event was emitted for id, the standard guarantees that value will equal the value returned by IERC1155MetadataURI::uri. https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions

Fully qualified path: openzeppelin_token::erc1155::erc1155::ERC1155Component::URI

[derive(Drop, Debug, PartialEq, starknet::Event)]
pub struct URI {
    pub value: ByteArray,
    pub id: u256,
}

Members

value

Fully qualified path: openzeppelin_token::erc1155::erc1155::ERC1155Component::URI::value

pub value: ByteArray

id

Fully qualified path: openzeppelin_token::erc1155::erc1155::ERC1155Component::URI::id

pub id: u256