RoyaltyFeeManager

It handles the logic to check and transfer royalty fees (if any).

View methods

INTERFACE_ID_ERC2981

function INTERFACE_ID_ERC2981() external view returns (bytes4)

Returns

calculateRoyaltyFeeAndGetRecipient

function calculateRoyaltyFeeAndGetRecipient(address collection, uint256 tokenId, uint256 amount) external view returns (address, uint256)

Calculate royalty fee and get recipient

Parameters

Returns

owner

function owner() external view returns (address)

Returns the address of the current owner.

Returns

royaltyFeeRegistry

function royaltyFeeRegistry() external view returns (contract IRoyaltyFeeRegistry)

Returns

Methods

renounceOwnership

function renounceOwnership() external nonpayable

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.

transferOwnership

function transferOwnership(address newOwner) external nonpayable

Transfers ownership of the contract to a new account (newOwner). Can only be called by the current owner.

Parameters

Events

OwnershipTransferred

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

Parameters

Last updated