RoyaltyFeeSetter
It is used to allow creators to set royalty parameters in the RoyaltyFeeRegistry
.
View methods
INTERFACE_ID_ERC1155
Returns
INTERFACE_ID_ERC2981
Returns
INTERFACE_ID_ERC721
Returns
checkForCollectionSetter
Check royalty info for collection
Parameters
Returns
owner
Returns the address of the current owner.
Returns
royaltyFeeRegistry
Returns
Methods
renounceOwnership
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
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
updateOwnerOfRoyaltyFeeRegistry
Update owner of royalty fee registry
Can be used for migration of this royalty fee setter contract
Parameters
updateRoyaltyFeeLimit
Update royalty info for collection
Parameters
updateRoyaltyInfoForCollection
Update royalty info for collection
Can only be called by contract owner (of this)
Parameters
updateRoyaltyInfoForCollectionIfAdmin
Update royalty info for collection if admin
Only to be called if there is no setter address
Parameters
updateRoyaltyInfoForCollectionIfOwner
Update royalty info for collection if owner
Only to be called if there is no setter address
Parameters
updateRoyaltyInfoForCollectionIfSetter
Update royalty info for collection
Only to be called if there msg.sender is the setter
Parameters
Events
OwnershipTransferred
Parameters
Last updated