arrow-left

All pages
gitbookPowered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

SetMetadata

Emitted from:

setMetadataOf Definition

event SetMetadata(uint256 indexed projectId, SnowconeProjectMetadata metadata, address caller);

projectId is the token ID of the NFT (ERC-721) that represents the project whose URI was set. metadata is the metadata that was associated with the project upon its creation. It can be found using the metadataContentOf property. caller is the address that issued the transaction within which the event was emitted.

Create

Emitted from:

createFor Definition

event Create(
  uint256 indexed projectId,
  address indexed owner,
  SnowconeProjectMetadata metadata,
  address caller
);

projectId is the token ID of the NFT (ERC-721) that was created to represent the project. owner is the address that owns the NFT (ERC-721) token representing the project. metadata is the metadata that was associated with the project upon its creation. It can be found using the metadataContentOf property. caller is the address that issued the transaction within which the event was emitted.

SetTokenUriResolver

Emitted from:

setTokenUriResolver Definition

event SetTokenUriResolver(ISnowconeTokenUriResolver indexed newResolver, address caller);

newResolver is the new URI resolver contract. caller is the address that issued the transaction within which the event was emitted.

Event