Colle Marketplace
Colle.ioWebApp (Live)WebApp (Test)
  • Contracts Overview
  • Functional Requirements
  • Contract Descriptions
  • Technical Project & Audit Details
  • Test Coverage Report
  • Static Analysis
  • Royalty Pool Explained
  • Sale State Explained
  • Sales Tax Explained
  • marketplace
    • IMarketHub
    • IMarketHubRegistrar
    • MarketHub
    • MarketHubRegistrar
    • MarketHubRegistrarUpgradeable
    • collections
      • ColleCollection
      • ColleCollectionUpgradeable
      • CollectionRegistry
      • IColleCollection
      • IColleCollectionUpgradeable
      • ICollectionRegistry
    • currencies
      • BaseCurrency
      • CurrencyRegistry
      • ICurrency
      • ICurrencyRegistry
      • USDCCurrency
    • escrow
      • EscrowUpgradeable
      • IEscrow
      • IEscrowRegistry
    • kycs
      • Account
      • IKYCRegistry
      • KYCRegistry
    • markets
      • BaseMarketUpgradeable
      • IListingMarket
      • IMarket
      • IMarketRegistry
      • IOfferMarket
      • ListingMarketUpgradeable
      • MarketRegistry
      • OfferMarketUpgradeable
    • royalties
      • BaseRoyalty
      • BlackTierRoyalty
      • GoldTierRoyalty
      • GreenTierRoyalty
      • IRoyalty
      • IRoyaltyPool
      • IRoyaltyRegistry
      • PlatinumTierRoyalty
      • RoyaltyPool
      • RoyaltyRegistry
      • v1
        • BlackTierRoyaltyV1
        • GoldTierRoyaltyV1
        • GreenTierRoyaltyV1
        • PlatinumTierRoyaltyV1
    • taxes
      • ITaxPolicyRegistry
      • Tax
      • TaxPolicyRegistry
    • upgrade-gatekeeper
      • IUpgradeGatekeeper
      • UpgradeGatekeeper
    • vaults
      • IVault
      • IVaultRegistry
      • VaultUpgradeable
  • team-smart-wallet
    • ITeamSmartWallet
    • ITeamSmartWalletHelper
    • TeamSmartWallet
    • TeamSmartWalletFactory
    • TeamSmartWalletPermitHelper
  • utils
    • MarketAccess
    • MarketAccessUpgradeable
    • Signature
    • SignatureValidator
Powered by GitBook
On this page
  • Listed
  • Delisted
  • list
  • Parameters
  • permitList
  • Parameters
  • delist
  • Parameters
  • permitDelist
  • Parameters
  • buy
  • Parameters
  • permitBuy
  • Parameters
  • permitOffChainPaymentBuy
  • Parameters
  • getListedPrice
  • Parameters
  • Return Values
  1. marketplace
  2. markets

IListingMarket

Interface for a marketplace where NFTs can be listed for sale, bought, and delisted

Listed

event Listed(address seller, address collection, uint256 tokenId, address erc20, uint256 price)

Emitted when a token is listed for sale.

Delisted

event Delisted(address seller, address collection, uint256 tokenId, address erc20)

Emitted when a token is delisted from sale.

list

function list(address _collection, uint256 _tokenId, address _erc20, uint256 _price) external

Lists an NFT for sale

Parameters

Name
Type
Description

_collection

address

The address of the NFT contract

_tokenId

uint256

The ID of the NFT to list

_erc20

address

The token contract address to be used for payment

_price

uint256

The listing price

permitList

function permitList(address _collection, uint256 _tokenId, address _erc20, uint256 _price, struct Signature _signature) external

Lists an NFT for sale with permitted signature

Parameters

Name
Type
Description

_collection

address

The address of the collection contract to which the token belongs.

_tokenId

uint256

The ID of the token to be listed for sale.

_erc20

address

The address of the ERC20 token to be used as the payment currency.

_price

uint256

The price for which the token is listed.

_signature

struct Signature

The seller's signature, deadline and address

delist

function delist(address _collection, uint256 _tokenId, address _erc20) external

Delists an NFT from sale

Parameters

Name
Type
Description

_collection

address

The address of the NFT contract

_tokenId

uint256

The ID of the NFT to delist

_erc20

address

The token contract address used for payment

permitDelist

function permitDelist(address _collection, uint256 _tokenId, address _erc20, struct Signature _signature) external

Delists an NFT from sale with permitted signature

Parameters

Name
Type
Description

_collection

address

The address of the collection contract from which the token is to be delisted.

_tokenId

uint256

The ID of the token to be delisted.

_erc20

address

The address of the ERC20 token that was to be used as the payment currency.

_signature

struct Signature

The seller's signature, deadline and address

buy

function buy(address _collection, uint256 _tokenId, address _erc20) external

Buys an NFT listed for sale

Parameters

Name
Type
Description

_collection

address

The address of the collection contract to which the token belongs.

_tokenId

uint256

The ID of the token to be bought.

_erc20

address

The address of the ERC20 token to be used as the payment currency.

permitBuy

function permitBuy(address _collection, uint256 _tokenId, address _erc20, struct Signature _signature) external

Buys an NFT listed for sale with permitted signature

Parameters

Name
Type
Description

_collection

address

The address of the collection contract from which the token is to be bought.

_tokenId

uint256

The ID of the token to be bought.

_erc20

address

The address of the ERC20 token to be used as the payment currency.

_signature

struct Signature

The buyer's signature, deadline and address

permitOffChainPaymentBuy

function permitOffChainPaymentBuy(address _collection, uint256 _tokenId, address _erc20, struct Signature _signature) external

Buys an NFT listed for sale with off-chain payment and permitted signature

Parameters

Name
Type
Description

_collection

address

The address of the collection contract from which the token is to be bought.

_tokenId

uint256

The ID of the token to be bought.

_erc20

address

The address of the ERC20 token to be used as the payment currency.

_signature

struct Signature

The buyer's signature, deadline and address

getListedPrice

function getListedPrice(address _collection, uint256 _tokenId, address _erc20) external view returns (uint256)

Gets the listed price of an NFT

Parameters

Name
Type
Description

_collection

address

The address of the NFT contract

_tokenId

uint256

The ID of the NFT

_erc20

address

The token contract address used for payment

Return Values

Name
Type
Description

[0]

uint256

The listing price of the NFT

PreviousBaseMarketUpgradeableNextIMarket

Last updated 1 year ago