{
  "_format": "hh-sol-artifact-1",
  "contractName": "ITokenQuote",
  "sourceName": "contracts/accounting/token-quote/ITokenQuote.sol",
  "abi": [
    {
      "inputs": [],
      "name": "CallerIsNotMetahub",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidContractEntityInterface",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "InvalidTokenQuoteSigner",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "TokenQuoteExpired",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "TokenQuoteListingIdMismatch",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "TokenQuoteRenterMismatch",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "TokenQuoteWarperMismatch",
      "type": "error"
    },
    {
      "inputs": [],
      "name": "DOMAIN_SEPARATOR",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "contractKey",
      "outputs": [
        {
          "internalType": "bytes4",
          "name": "",
          "type": "bytes4"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getChainId",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "renter",
          "type": "address"
        }
      ],
      "name": "getTokenQuoteNonces",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes4",
          "name": "interfaceId",
          "type": "bytes4"
        }
      ],
      "name": "supportsInterface",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "listingId",
              "type": "uint256"
            },
            {
              "internalType": "address",
              "name": "warper",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "renter",
              "type": "address"
            },
            {
              "internalType": "uint32",
              "name": "rentalPeriod",
              "type": "uint32"
            },
            {
              "internalType": "address",
              "name": "paymentToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "listingTermsId",
              "type": "uint256"
            },
            {
              "components": [
                {
                  "internalType": "bytes4",
                  "name": "strategyId",
                  "type": "bytes4"
                },
                {
                  "internalType": "bytes",
                  "name": "strategyData",
                  "type": "bytes"
                }
              ],
              "internalType": "struct IListingTermsRegistry.ListingTerms",
              "name": "selectedConfiguratorListingTerms",
              "type": "tuple"
            }
          ],
          "internalType": "struct Rentings.Params",
          "name": "rentingParams",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "total",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "protocolFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "listerBaseFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "listerPremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "universeBaseFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "universePremium",
              "type": "uint256"
            },
            {
              "components": [
                {
                  "internalType": "bytes4",
                  "name": "strategyId",
                  "type": "bytes4"
                },
                {
                  "internalType": "bytes",
                  "name": "strategyData",
                  "type": "bytes"
                }
              ],
              "internalType": "struct IListingTermsRegistry.ListingTerms",
              "name": "listingTerms",
              "type": "tuple"
            },
            {
              "components": [
                {
                  "internalType": "bytes4",
                  "name": "strategyId",
                  "type": "bytes4"
                },
                {
                  "internalType": "bytes",
                  "name": "strategyData",
                  "type": "bytes"
                }
              ],
              "internalType": "struct ITaxTermsRegistry.TaxTerms",
              "name": "universeTaxTerms",
              "type": "tuple"
            },
            {
              "components": [
                {
                  "internalType": "bytes4",
                  "name": "strategyId",
                  "type": "bytes4"
                },
                {
                  "internalType": "bytes",
                  "name": "strategyData",
                  "type": "bytes"
                }
              ],
              "internalType": "struct ITaxTermsRegistry.TaxTerms",
              "name": "protocolTaxTerms",
              "type": "tuple"
            }
          ],
          "internalType": "struct Rentings.RentalFees",
          "name": "baseTokenFees",
          "type": "tuple"
        },
        {
          "internalType": "bytes",
          "name": "tokenQuote",
          "type": "bytes"
        },
        {
          "internalType": "bytes",
          "name": "tokenQuoteSignature",
          "type": "bytes"
        }
      ],
      "name": "useTokenQuote",
      "outputs": [
        {
          "components": [
            {
              "internalType": "uint256",
              "name": "total",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "protocolFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "listerBaseFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "listerPremium",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "universeBaseFee",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "universePremium",
              "type": "uint256"
            },
            {
              "components": [
                {
                  "internalType": "bytes4",
                  "name": "strategyId",
                  "type": "bytes4"
                },
                {
                  "internalType": "bytes",
                  "name": "strategyData",
                  "type": "bytes"
                }
              ],
              "internalType": "struct IListingTermsRegistry.ListingTerms",
              "name": "listingTerms",
              "type": "tuple"
            },
            {
              "components": [
                {
                  "internalType": "bytes4",
                  "name": "strategyId",
                  "type": "bytes4"
                },
                {
                  "internalType": "bytes",
                  "name": "strategyData",
                  "type": "bytes"
                }
              ],
              "internalType": "struct ITaxTermsRegistry.TaxTerms",
              "name": "universeTaxTerms",
              "type": "tuple"
            },
            {
              "components": [
                {
                  "internalType": "bytes4",
                  "name": "strategyId",
                  "type": "bytes4"
                },
                {
                  "internalType": "bytes",
                  "name": "strategyData",
                  "type": "bytes"
                }
              ],
              "internalType": "struct ITaxTermsRegistry.TaxTerms",
              "name": "protocolTaxTerms",
              "type": "tuple"
            }
          ],
          "internalType": "struct Rentings.RentalFees",
          "name": "paymentTokenFees",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "paymentToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "paymentTokenQuote",
              "type": "uint256"
            }
          ],
          "internalType": "struct ITokenQuote.PaymentTokenData",
          "name": "paymentTokenData",
          "type": "tuple"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
