MarketHubRegistrar
This contract provides the functionality to register and unregister to the MarketHub. Contracts that inherit from this contract can be registered and unregistered from the MarketHub.
marketHub
onlyMarketHub
Modifier to allow only the MarketHub contract to perform certain actions.
register
Registers the calling contract to the MarketHub. Reverts if the contract is already registered.
unregister
Unregisters the calling contract from the MarketHub. Reverts if the contract is not registered.
Last updated