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
  • InitialOwnerWeight
  • PoolUpdated
  • setInitialOwnerWeight
  • Parameters
  • trackNewOwner
  • Parameters
  • getInitialOwnerWeight
  • getInitialOwner
  • Parameters
  • getRecentOwners
  • Parameters
  • totalPoolShares
  • Parameters
  1. marketplace
  2. royalties

IRoyaltyPool

Interface for managing a pool of previous owners to pay royalties to. The pool includes an initial owner and recent owners.

InitialOwnerWeight

event InitialOwnerWeight(uint256 weight)

Emitted when the weight initial owners get in the pool is updated

PoolUpdated

event PoolUpdated(address _erc721, uint256 _tokenId, address initialOwner, address[4] recentOwners)

Emitted when the initial owner or recent owners updates for a token

setInitialOwnerWeight

function setInitialOwnerWeight(uint256 _weight) external

Set initial owner's weight

Parameters

Name
Type
Description

_weight

uint256

New weight to set for initial owner

trackNewOwner

function trackNewOwner(address _erc721, uint256 _tokenId, address _owner) external

Tracks a new owner of a token

Parameters

Name
Type
Description

_erc721

address

The address of the token

_tokenId

uint256

The ID of the token

_owner

address

The address of the new owner

getInitialOwnerWeight

function getInitialOwnerWeight() external view returns (uint256)

Returns the weight of the initial owner

getInitialOwner

function getInitialOwner(address _erc721, uint256 _tokenId) external view returns (address)

Returns the initial owner of a given token

Parameters

Name
Type
Description

_erc721

address

The address of the token

_tokenId

uint256

The ID of the token

getRecentOwners

function getRecentOwners(address _erc721, uint256 _tokenId) external view returns (address[4])

Returns the recent owners of a given token

Parameters

Name
Type
Description

_erc721

address

The address of the token

_tokenId

uint256

The ID of the token

totalPoolShares

function totalPoolShares(address _erc721, uint256 _tokenId) external view returns (uint256)

Returns the total pool shares for a given token

Parameters

Name
Type
Description

_erc721

address

The address of the token

_tokenId

uint256

The ID of the token

PreviousIRoyaltyNextIRoyaltyRegistry

Last updated 2 years ago