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
  • getRoyaltyPoolBasisPoints
  • Return Values
  • getCommissionBasisPoints
  • Parameters
  • Return Values
  • requiresManualAuthentication
  • Return Values
  1. marketplace
  2. royalties
  3. v1

PlatinumTierRoyaltyV1

This contract represents a specific implementation of BaseRoyalty. It uses a tiered system for calculating royalty and commission basis points. These are the royalties as of 2023-09-20

getRoyaltyPoolBasisPoints

function getRoyaltyPoolBasisPoints(address, uint256) external pure returns (uint256 royaltyPoolBasisPoints)

Overrides getRoyaltyPoolBasisPoints function in the BaseRoyalty contract. Calculates the royalty basis points for the Platinum Tier.

Return Values

Name
Type
Description

royaltyPoolBasisPoints

uint256

The calculated basis points for the royalty pool

getCommissionBasisPoints

function getCommissionBasisPoints(address _erc20, uint256 _totalAmount) external view returns (uint256 commissionBasisPoints)

Overrides getCommissionBasisPoints function in the BaseRoyalty contract. Calculates the commission basis points for the Platinum Tier.

Parameters

Name
Type
Description

_erc20

address

The address of the ERC20 token

_totalAmount

uint256

The total amount of tokens

Return Values

Name
Type
Description

commissionBasisPoints

uint256

The calculated commission basis points

requiresManualAuthentication

function requiresManualAuthentication() public pure returns (bool)

Determines whether a product sold through this royalty tier requires manual authentication or not

Return Values

Name
Type
Description

[0]

bool

True if the product requires manual authentication, false otherwise

PreviousGreenTierRoyaltyV1Nexttaxes

Last updated 1 year ago