CreatorFeeManagerWithRebates
This contract returns the creator fee address and the creator rebate amount.
STANDARD_ROYALTY_FEE_BP
uint256 STANDARD_ROYALTY_FEE_BP
Standard royalty fee (in basis point).
royaltyFeeRegistry
contract IRoyaltyFeeRegistry royaltyFeeRegistry
Royalty fee registry interface.
constructor
constructor(address _royaltyFeeRegistry) public
Constructor
Parameters
| Name | Type | Description |
|---|---|---|
| _royaltyFeeRegistry | address | Royalty fee registry address. |
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
| Name | Type | Description |
|---|---|---|
| collection | address | Collection address |
| price | uint256 | Transaction price |
| itemIds | uint256[] | Array of item ids |
Return Values
| Name | Type | Description |
|---|---|---|
| creator | address | Creator address |
| creatorFeeAmount | uint256 | Creator fee amount |