Skip to content

IListingConfiguratorRegistry

IListingConfiguratorRegistry

InvalidZeroAddress

error InvalidZeroAddress()

CannotGrantRoleForUnregisteredController

error CannotGrantRoleForUnregisteredController(address delegate)

InvalidListingConfiguratorController

error InvalidListingConfiguratorController(address controller)

ListingConfiguratorNotRegistered

error ListingConfiguratorNotRegistered(address listingConfigurator)

Thrown when lister specifies listing configurator which is not registered in {IListingConfiguratorRegistry}

ListingConfiguratorControllerChanged

event ListingConfiguratorControllerChanged(address previousController, address newController)

registerListingConfigurator

function registerListingConfigurator(address listingConfigurator, address admin) external

IListingConfiguratorRegistryConfigurator. The listing configurator must be deployed and configured prior to registration, since it becomes available for renting immediately.

Name Type Description
listingConfigurator address Listing configurator address.
admin address

setController

function setController(address controller) external

getController

function getController(address listingConfigurator) external view returns (contract IListingConfiguratorController)