IMarketHub

The IMarketHub contract provides an interface that encompasses various other registries like Market, Currency, Royalty, KYC, Vault, Escrow, Collection and some additional functionalities specifically for managing the MarketHub.

RegisteredUpgradeGatekeeper

event RegisteredUpgradeGatekeeper(address upgradeGatekeeper)

Emitted when a upgradeGatekeeper is registered.

MinimumPriceChanged

event MinimumPriceChanged(uint256 _minUSDCPrice)

Emitted when the minimum price is changed.

notifySaleClosed

function notifySaleClosed(uint256 _saleId) external

Notifies that a particular sale for a ERC721 has closed (i.e. successfully sold, fault/not as described, or lost/damaged in shipment)

Parameters

Name
Type
Description

_saleId

uint256

The id of the sale that has closed.

setMinUSDCPrice

Sets the minimum price in USDC for an asset.

Parameters

Name
Type
Description

_minUSDCPrice

uint256

Minimum price in USDC.

getMinUSDCPrice

Returns the current minimum price in USDC for an asset.

Return Values

Name
Type
Description

[0]

uint256

Minimum price in USDC.

getUpgradeGatekeeper

Returns the address of the Upgrade Gatekeeper contract.

Return Values

Name
Type
Description

[0]

contract IUpgradeGatekeeper

Address of the Upgrade Gatekeeper.

allowNewSales

Checks if new sales are allowed in the market.

Return Values

Name
Type
Description

[0]

bool

Boolean value representing if new sales are allowed.

Last updated