Skip to main content

CreatorFeeManagerWithRebates

LooksRare protocol team (👀,💎)

CreatorFeeManagerWithRebates

This contract returns the creator fee address and the creator rebate amount.

Methods​

STANDARD_ROYALTY_FEE_BP​

function STANDARD_ROYALTY_FEE_BP() external view returns (uint256)

Standard royalty fee (in basis point).

Returns​

NameTypeDescription
_0uint256undefined

royaltyFeeRegistry​

function royaltyFeeRegistry() external view returns (contract IRoyaltyFeeRegistry)

Royalty fee registry interface.

Returns​

NameTypeDescription
_0contract IRoyaltyFeeRegistryundefined

viewCreatorFeeInfo​

function viewCreatorFeeInfo(address collection, uint256 price, uint256[] itemIds) external view returns (address creator, uint256 creatorFeeAmount)

This function returns the creator address and calculates the creator fee amount.

Parameters​

NameTypeDescription
collectionaddressCollection address
priceuint256Transaction price
itemIdsuint256[]Array of item ids

Returns​

NameTypeDescription
creatoraddressCreator address
creatorFeeAmountuint256Creator fee amount

Errors​

BundleEIP2981NotAllowed​

error BundleEIP2981NotAllowed(address collection)

It is returned if the bundle contains multiple itemIds with different creator fee structure.

Parameters​

NameTypeDescription
collectionaddressundefined