IRoyaltyRegistry
This interface describes the functions exposed by the royalty registry.
RegisteredRoyalty
Emitted when a royalty is registered.
UnregisteredRoyalty
Emitted when a royalty is unregistered.
RegisteredRoyaltyPool
Emitted when a royalty pool is registered.
UpdatedColleComissions
Emitted when the comission payout address has been updated.
registerRoyalty
Register a new royalty.
Parameters
_accountTier
bytes32
The tier of the account for which to register the royalty.
_royalty
address
The address of the royalty contract.
unregisterRoyalty
Unregister an existing royalty.
Parameters
_accountTier
bytes32
The tier of the account for which to unregister the royalty.
registerRoyaltyPool
Register a new royalty pool.
Parameters
_royaltyPool
address
The address of the royalty pool contract.
registerColleCommissions
Register a new colleCommissions.
Parameters
_colleCommissions
address
The address of the colleCommissions contract.
getRoyalty
Get the royalty of a specific account tier.
Parameters
_accountTier
bytes32
The tier of the account for which to get the royalty.
Return Values
[0]
contract BaseRoyalty
The royalty contract of the specified account tier.
getRoyaltyPool
Get the royalty pool.
Return Values
[0]
contract IRoyaltyPool
The royalty pool contract.
getColleComissions
Get the colleComissions.
Return Values
[0]
address
The address of the colleComissions contract.
isRoyaltyRegistered
Check if a royalty is registered for a specific account tier.
Parameters
_accountTier
bytes32
The tier of the account for which to check the royalty.
Return Values
[0]
bool
True if a royalty is registered for the specified account tier, false otherwise.
Last updated