RoyaltyFeeRegistry

A royalty fee registry for the LooksRare exchange. Any marketplace can use this to implement royalty fees for collections that do not implement ERC-2981.

View Methods

owner

function owner() external view returns (address)

Returns the address of the current owner.

Returns

royaltyFeeInfoCollection

function royaltyFeeInfoCollection(address collection) external view returns (address, address, uint256)

View royalty info for a collection address

Parameters

Returns

royaltyFeeLimit

function royaltyFeeLimit() external view returns (uint256)

Returns

royaltyInfo

function royaltyInfo(address collection, uint256 amount) external view returns (address, uint256)

Calculate royalty info for a collection address and a sale gross amount

Parameters

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

updateRoyaltyFeeLimit

function updateRoyaltyFeeLimit(uint256 _royaltyFeeLimit) external nonpayable

Update royalty info for collection

Parameters

updateRoyaltyInfoForCollection

function updateRoyaltyInfoForCollection(address collection, address setter, address receiver, uint256 fee) external nonpayable

Update royalty info for collection

Parameters

NewRoyaltyFeeLimit

event NewRoyaltyFeeLimit(uint256 royaltyFeeLimit)

Parameters

OwnershipTransferred

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

Parameters

RoyaltyFeeUpdate

event RoyaltyFeeUpdate(address indexed collection, address indexed setter, address indexed receiver, uint256 fee)

Parameters

Last updated