RoyaltyFeeManager
Last updated
Last updated
It handles the logic to check and transfer royalty fees (if any).
Returns
Name | Type | Description |
---|---|---|
Calculate royalty fee and get recipient
Parameters
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
Returns the address of the current owner.
Returns
Returns
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Parameters
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
INTERFACE_ID_ERC2981
bytes4
-
collection
address
address of the NFT contract
tokenId
uint256
tokenId
amount
uint256
amount (price of sale)
recipient
address
royalty recipient address
amount
uint256
amount of tokens to transfer to the recipient
owner
address
address of the current owner
royaltyFeeRegistry
contract IRoyaltyFeeRegistry
address of the RoyaltyFeeRegistry
newOwner
address
address of the new owner
previousOwner indexed
address
address of the previous owner
newOwner indexed
address
address of the new owner