[
  {
    "inputs": [
      {
        "internalType": "address[]",
        "name": "_admins",
        "type": "address[]"
      },
      {
        "internalType": "address",
        "name": "_organizerAddress",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_ticketFactoryAddress",
        "type": "address"
      },
      {
        "components": [
          {
            "internalType": "string",
            "name": "id",
            "type": "string"
          },
          {
            "internalType": "enum TixSellContentLibrary.ContentType",
            "name": "typeContent",
            "type": "uint8"
          },
          {
            "internalType": "string",
            "name": "name",
            "type": "string"
          },
          {
            "internalType": "bool",
            "name": "canceled",
            "type": "bool"
          },
          {
            "internalType": "uint96",
            "name": "royalty",
            "type": "uint96"
          },
          {
            "internalType": "uint96",
            "name": "sellTixRoyaltieValue",
            "type": "uint96"
          },
          {
            "components": [
              {
                "internalType": "uint256",
                "name": "ticketPrice",
                "type": "uint256"
              },
              {
                "internalType": "bool",
                "name": "sellable",
                "type": "bool"
              },
              {
                "internalType": "bool",
                "name": "nbTicketsLimited",
                "type": "bool"
              },
              {
                "internalType": "uint256",
                "name": "nbTickets",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "maxSellablePrice",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "royaltySellable",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "fixAmount",
                "type": "uint256"
              },
              {
                "internalType": "bool",
                "name": "unlimitedAccess",
                "type": "bool"
              },
              {
                "internalType": "string",
                "name": "name",
                "type": "string"
              },
              {
                "internalType": "string",
                "name": "image",
                "type": "string"
              },
              {
                "internalType": "string",
                "name": "uri",
                "type": "string"
              }
            ],
            "internalType": "struct TixSellContentLibrary.ContentTicketType[]",
            "name": "ticketTypes",
            "type": "tuple[]"
          }
        ],
        "internalType": "struct TixSellContentLibrary.Content",
        "name": "_cDta",
        "type": "tuple"
      },
      {
        "internalType": "address",
        "name": "_tixSellpaymentSplitter",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_organizerPaymentSplitter",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_resellPaiementSplitter",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_dataFeedEURUSD",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [],
    "name": "AccessControlBadConfirmation",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "bytes32",
        "name": "neededRole",
        "type": "bytes32"
      }
    ],
    "name": "AccessControlUnauthorizedAccount",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "OwnableInvalidOwner",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "OwnableUnauthorizedAccount",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "ReentrancyGuardReentrantCall",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "string",
        "name": "name",
        "type": "string"
      }
    ],
    "name": "ContentCreated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "string",
        "name": "contentId",
        "type": "string"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "ticketTypeName",
        "type": "string"
      }
    ],
    "name": "ContentTicketTypeAdded",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "string",
        "name": "contentId",
        "type": "string"
      },
      {
        "indexed": false,
        "internalType": "string",
        "name": "ticketTypeName",
        "type": "string"
      }
    ],
    "name": "ContentTicketTypeUpdated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "string",
        "name": "id",
        "type": "string"
      }
    ],
    "name": "ContentUpdated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "previousAdminRole",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "newAdminRole",
        "type": "bytes32"
      }
    ],
    "name": "RoleAdminChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "RoleGranted",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "RoleRevoked",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "ADMIN_ROLE",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "DEFAULT_ADMIN_ROLE",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "ticketPrice",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "sellable",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "nbTicketsLimited",
            "type": "bool"
          },
          {
            "internalType": "uint256",
            "name": "nbTickets",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "maxSellablePrice",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "royaltySellable",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "fixAmount",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "unlimitedAccess",
            "type": "bool"
          },
          {
            "internalType": "string",
            "name": "name",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "image",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "uri",
            "type": "string"
          }
        ],
        "internalType": "struct TixSellContentLibrary.ContentTicketType",
        "name": "_newTicketType",
        "type": "tuple"
      }
    ],
    "name": "addContentTicketType",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getContent",
    "outputs": [
      {
        "components": [
          {
            "internalType": "string",
            "name": "id",
            "type": "string"
          },
          {
            "internalType": "enum TixSellContentLibrary.ContentType",
            "name": "typeContent",
            "type": "uint8"
          },
          {
            "internalType": "string",
            "name": "name",
            "type": "string"
          },
          {
            "internalType": "bool",
            "name": "canceled",
            "type": "bool"
          },
          {
            "internalType": "uint96",
            "name": "royalty",
            "type": "uint96"
          },
          {
            "internalType": "uint96",
            "name": "sellTixRoyaltieValue",
            "type": "uint96"
          },
          {
            "components": [
              {
                "internalType": "uint256",
                "name": "ticketPrice",
                "type": "uint256"
              },
              {
                "internalType": "bool",
                "name": "sellable",
                "type": "bool"
              },
              {
                "internalType": "bool",
                "name": "nbTicketsLimited",
                "type": "bool"
              },
              {
                "internalType": "uint256",
                "name": "nbTickets",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "maxSellablePrice",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "royaltySellable",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "fixAmount",
                "type": "uint256"
              },
              {
                "internalType": "bool",
                "name": "unlimitedAccess",
                "type": "bool"
              },
              {
                "internalType": "string",
                "name": "name",
                "type": "string"
              },
              {
                "internalType": "string",
                "name": "image",
                "type": "string"
              },
              {
                "internalType": "string",
                "name": "uri",
                "type": "string"
              }
            ],
            "internalType": "struct TixSellContentLibrary.ContentTicketType[]",
            "name": "ticketTypes",
            "type": "tuple[]"
          }
        ],
        "internalType": "struct TixSellContentLibrary.Content",
        "name": "",
        "type": "tuple"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      }
    ],
    "name": "getRoleAdmin",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "grantRole",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "hasRole",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "callerConfirmation",
        "type": "address"
      }
    ],
    "name": "renounceRole",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "role",
        "type": "bytes32"
      },
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "revokeRole",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes4",
        "name": "interfaceId",
        "type": "bytes4"
      }
    ],
    "name": "supportsInterface",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "theContent",
    "outputs": [
      {
        "internalType": "string",
        "name": "id",
        "type": "string"
      },
      {
        "internalType": "enum TixSellContentLibrary.ContentType",
        "name": "typeContent",
        "type": "uint8"
      },
      {
        "internalType": "string",
        "name": "name",
        "type": "string"
      },
      {
        "internalType": "bool",
        "name": "canceled",
        "type": "bool"
      },
      {
        "internalType": "uint96",
        "name": "royalty",
        "type": "uint96"
      },
      {
        "internalType": "uint96",
        "name": "sellTixRoyaltieValue",
        "type": "uint96"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "ticketContract",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "string",
            "name": "id",
            "type": "string"
          },
          {
            "internalType": "enum TixSellContentLibrary.ContentType",
            "name": "typeContent",
            "type": "uint8"
          },
          {
            "internalType": "string",
            "name": "name",
            "type": "string"
          },
          {
            "internalType": "bool",
            "name": "canceled",
            "type": "bool"
          },
          {
            "internalType": "uint96",
            "name": "royalty",
            "type": "uint96"
          },
          {
            "internalType": "uint96",
            "name": "sellTixRoyaltieValue",
            "type": "uint96"
          },
          {
            "components": [
              {
                "internalType": "uint256",
                "name": "ticketPrice",
                "type": "uint256"
              },
              {
                "internalType": "bool",
                "name": "sellable",
                "type": "bool"
              },
              {
                "internalType": "bool",
                "name": "nbTicketsLimited",
                "type": "bool"
              },
              {
                "internalType": "uint256",
                "name": "nbTickets",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "maxSellablePrice",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "royaltySellable",
                "type": "uint256"
              },
              {
                "internalType": "uint256",
                "name": "fixAmount",
                "type": "uint256"
              },
              {
                "internalType": "bool",
                "name": "unlimitedAccess",
                "type": "bool"
              },
              {
                "internalType": "string",
                "name": "name",
                "type": "string"
              },
              {
                "internalType": "string",
                "name": "image",
                "type": "string"
              },
              {
                "internalType": "string",
                "name": "uri",
                "type": "string"
              }
            ],
            "internalType": "struct TixSellContentLibrary.ContentTicketType[]",
            "name": "ticketTypes",
            "type": "tuple[]"
          }
        ],
        "internalType": "struct TixSellContentLibrary.Content",
        "name": "_cDta",
        "type": "tuple"
      }
    ],
    "name": "updateContent",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_ticketTypeIndex",
        "type": "uint256"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "ticketPrice",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "sellable",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "nbTicketsLimited",
            "type": "bool"
          },
          {
            "internalType": "uint256",
            "name": "nbTickets",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "maxSellablePrice",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "royaltySellable",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "fixAmount",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "unlimitedAccess",
            "type": "bool"
          },
          {
            "internalType": "string",
            "name": "name",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "image",
            "type": "string"
          },
          {
            "internalType": "string",
            "name": "uri",
            "type": "string"
          }
        ],
        "internalType": "struct TixSellContentLibrary.ContentTicketType",
        "name": "_updatedTicketType",
        "type": "tuple"
      }
    ],
    "name": "updateContentTicketType",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]