// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.16; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; /** * Thirdweb's `Royalty` is a contract extension to be used with any base contract. It exposes functions for setting and reading * the recipient of royalty fee and the royalty fee basis points, and lets the inheriting contract perform conditional logic * that uses information about royalty fees, if desired. * * The `Royalty` contract is ERC2981 compliant. */ interface IRoyaltySplitter is IERC2981 { struct RoyaltyRecipient { address recipient; uint256 shares; } error NoRecipientsError(); error NoSharesError(address account); error NoPaymentError(address account); error AccountCantBeZeroAddressError(); error SharesCantBeZeroError(); error AccountAlreadyHasSharesError(address account); }