RoyaltyFeeSetter
Last updated
Last updated
It is used to allow creators to set royalty parameters in the RoyaltyFeeRegistry
.
Returns
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
Returns
Name | Type | Description |
---|---|---|
Check royalty info for collection
Parameters
Returns
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
Update owner of royalty fee registry
Can be used for migration of this royalty fee setter contract
Parameters
Update royalty info for collection
Parameters
Update royalty info for collection
Can only be called by contract owner (of this)
Parameters
Update royalty info for collection if admin
Only to be called if there is no setter address
Parameters
Update royalty info for collection if owner
Only to be called if there is no setter address
Parameters
Update royalty info for collection
Only to be called if there msg.sender is the setter
Parameters
Parameters
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
INTERFACE_ID_ERC1155
bytes4
-
INTERFACE_ID_ERC2981
bytes4
-
INTERFACE_ID_ERC721
bytes4
-
collection
address
collection address
-
address
whether there is a setter (address(0) if not)
-
uint8
0: Royalty setter is set in the registry 1: ERC2981 and no setter 2: setter can be set using owner() 3: setter can be set using admin() 4: setter cannot be set, nor support for ERC2981
owner
address
address of the current owner
royaltyFeeRegistry
address
address of the RoyaltyFeeRegistry contract
newOwner
address
address of the new owner
_owner
address
address of the new owner
_royaltyFeeLimit
uint256
new royalty fee limit (500 = 5%, 1,000 = 10%)
collection
address
address of the NFT contract
setter
address
address that sets the receiver
receiver
address
receiver for the royalty fee
fee
uint256
fee (500 = 5%, 1,000 = 10%)
collection
address
address of the NFT contract
setter
address
address that sets the receiver
receiver
address
receiver for the royalty fee
fee
uint256
fee (500 = 5%, 1,000 = 10%)
collection
address
address of the NFT contract
setter
address
address that sets the receiver
receiver
address
receiver for the royalty fee
fee
uint256
fee (500 = 5%, 1,000 = 10%)
collection
address
address of the NFT contract
setter
address
address that sets the receiver
receiver
address
receiver for the royalty fee
fee
uint256
fee (500 = 5%, 1,000 = 10%)
previousOwner indexed
address
address of the previous owner
newOwner indexed
address
address of the new owner