ICollectionRegistry

Interface for the CollectionRegistry contract.

This interface lists all the external functions implemented in the CollectionRegistry contract.

RegisteredCollection

event RegisteredCollection(address collection)

Emitted when a collection is registered.

UnregisteredCollection

event UnregisteredCollection(address collection)

Emitted when a collection is unregistered.

registerCollection

function registerCollection(address _collection) external

Registers a new collection.

Parameters

Name
Type
Description

_collection

address

The address of the collection to register.

unregisterCollection

Unregisters an existing collection.

Parameters

Name
Type
Description

_collection

address

The address of the collection to unregister.

isERC721Registered

Checks if a collection is registered.

Parameters

Name
Type
Description

_collection

address

The address of the collection to check.

Return Values

Name
Type
Description

[0]

bool

A boolean indicating whether the collection is registered or not.

getCollection

Returns the collection interface for a registered collection.

Parameters

Name
Type
Description

_collection

address

The address of the collection.

Return Values

Name
Type
Description

[0]

contract IColleCollection

The interface of the registered collection.

Last updated