PlatinumTierRoyalty
This contract represents a specific implementation of BaseRoyalty. It uses a tiered system for calculating royalty and commission basis points for platinum tier.
getRoyaltyPoolBasisPoints
Overrides getRoyaltyPoolBasisPoints function in the BaseRoyalty contract. Calculates the royalty basis points for the Platinum Tier.
Parameters
_erc20
address
The address of the ERC20 token
_totalAmount
uint256
The total amount of tokens
Return Values
royaltyPoolBasisPoints
uint256
The calculated basis points for the royalty pool
getCommissionBasisPoints
Overrides getCommissionBasisPoints function in the BaseRoyalty contract. Calculates the commission basis points for the Platinum Tier.
Parameters
_erc20
address
The address of the ERC20 token
_totalAmount
uint256
The total amount of tokens
Return Values
commissionBasisPoints
uint256
The calculated commission basis points
requiresManualAuthentication
Determines whether a product sold through this royalty tier requires manual authentication or not
Return Values
[0]
bool
True if the product requires manual authentication, false otherwise
Last updated