interface IEaselyRegistry {

    /**
     * @dev Emitted when `CREATOR_ROLE` has registered a new creatorAddress with a BPS fee
     */
    event CreatorRegistered(address creatorAddress);

    /**
     * @dev Emitted when `CREATOR_ROLE` or owner needs to pause all sales on our Marketplaces
     */
    event CreatorPaused(address creatorAddress);

    /**
     * @dev Emitted when `CREATOR_ROLE` or owner wants to resume all sales on our Marketplaces
     */
    event CreatorUnpaused(address creatorAddress);

    /**
     * @dev Calculates for a certain creator and payin amount, how much the creator receives.
     * This value is always greater than 95% since the BPS fee cap is 500.
     *
     * Requirements:
     * - Creator cannot be paused
     */
    function calculateCreatorPayout(address creatorAddress, uint256 payin) external view returns (uint256);

    /**
     * @dev Returns if a creator is registered or has the default BPS fee.
     */
    function isCreatorRegistered(address creatorAddress) external view returns (bool);

    /**
     * @dev Returns if a creator is paused on our marketplaces or not.
     */
    function isCreatorPaused(address creatorAddress) external view returns (bool);
}
function calculateCreatorPayout(address creatorAddress, uint256 payin) external view returns (uint256);

/**
 * @dev Calculates for a certain creator and payin amount, how much the creator receives.
 * This value is always greater than 95% since the BPS fee cap is 500.
 *
 * Requirements:
 * - Creator cannot be paused
 */