// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; library TixSellEventLibrary { enum EventType{ ONLINE, VENUE } //0 ou 1 struct Event { string id; uint256 eventDate; uint256 duration; EventType typeEvent; string name; string description; bool canceled; uint96 royalty; //must be 100,200,300,..., 10 000 (for 100%) uint96 sellTixRoyaltieValue; bool openBookings; // If open we can purchase tickets event when event has started. } }