text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.XDVNFT__factory = void 0;
  /* Autogenerated file. Do not edit manually. */
  /* tslint:disable */
  /* eslint-disable */
  const ethers_1 = require("ethers");
  const _abi = [
      {
          inputs: [
              {
                  internalType: "string",
                  name: "name",
                  type: "string",
              },
              {
                  internalType: "string",
                  name: "symbol",
                  type: "string",
              },
              {
                  internalType: "address",
                  name: "tokenERC20",
                  type: "address",
              },
          ],
          stateMutability: "nonpayable",
          type: "constructor",
      },
      {
          inputs: [
              {
                  internalType: "string",
                  name: "url",
                  type: "string",
              },
              {
                  internalType: "bytes",
                  name: "prefix",
                  type: "bytes",
              },
          ],
          name: "OffchainLookup",
          type: "error",
      },
      {
          anonymous: false,
          inputs: [
              {
                  indexed: true,
                  internalType: "address",
                  name: "owner",
                  type: "address",
              },
              {
                  indexed: true,
                  internalType: "address",
                  name: "approved",
                  type: "address",
              },
              {
                  indexed: true,
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "Approval",
          type: "event",
      },
      {
          anonymous: false,
          inputs: [
              {
                  indexed: true,
                  internalType: "address",
                  name: "owner",
                  type: "address",
              },
              {
                  indexed: true,
                  internalType: "address",
                  name: "operator",
                  type: "address",
              },
              {
                  indexed: false,
                  internalType: "bool",
                  name: "approved",
                  type: "bool",
              },
          ],
          name: "ApprovalForAll",
          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: false,
                  internalType: "address",
                  name: "account",
                  type: "address",
              },
          ],
          name: "Paused",
          type: "event",
      },
      {
          anonymous: false,
          inputs: [
              {
                  indexed: false,
                  internalType: "address",
                  name: "sender",
                  type: "address",
              },
              {
                  indexed: false,
                  internalType: "bytes32",
                  name: "signatureHash",
                  type: "bytes32",
              },
          ],
          name: "ProofAccepted",
          type: "event",
      },
      {
          anonymous: false,
          inputs: [
              {
                  indexed: true,
                  internalType: "address",
                  name: "from",
                  type: "address",
              },
              {
                  indexed: false,
                  internalType: "uint256",
                  name: "paidToContract",
                  type: "uint256",
              },
              {
                  indexed: false,
                  internalType: "uint256",
                  name: "paidToPaymentAddress",
                  type: "uint256",
              },
          ],
          name: "ServiceFeePaid",
          type: "event",
      },
      {
          anonymous: false,
          inputs: [
              {
                  indexed: true,
                  internalType: "address",
                  name: "from",
                  type: "address",
              },
              {
                  indexed: true,
                  internalType: "address",
                  name: "to",
                  type: "address",
              },
              {
                  indexed: true,
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "Transfer",
          type: "event",
      },
      {
          anonymous: false,
          inputs: [
              {
                  indexed: false,
                  internalType: "address",
                  name: "account",
                  type: "address",
              },
          ],
          name: "Unpaused",
          type: "event",
      },
      {
          anonymous: false,
          inputs: [
              {
                  indexed: true,
                  internalType: "address",
                  name: "paymentAddress",
                  type: "address",
              },
              {
                  indexed: false,
                  internalType: "uint256",
                  name: "amount",
                  type: "uint256",
              },
          ],
          name: "Withdrawn",
          type: "event",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "to",
                  type: "address",
              },
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "approve",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "owner",
                  type: "address",
              },
          ],
          name: "balanceOf",
          outputs: [
              {
                  internalType: "uint256",
                  name: "",
                  type: "uint256",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "burn",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [],
          name: "dagContractOperator",
          outputs: [
              {
                  internalType: "address",
                  name: "",
                  type: "address",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "getApproved",
          outputs: [
              {
                  internalType: "address",
                  name: "",
                  type: "address",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [],
          name: "getSigner",
          outputs: [
              {
                  internalType: "address",
                  name: "",
                  type: "address",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "owner",
                  type: "address",
              },
              {
                  internalType: "address",
                  name: "operator",
                  type: "address",
              },
          ],
          name: "isApprovedForAll",
          outputs: [
              {
                  internalType: "bool",
                  name: "",
                  type: "bool",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [],
          name: "name",
          outputs: [
              {
                  internalType: "string",
                  name: "",
                  type: "string",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [],
          name: "owner",
          outputs: [
              {
                  internalType: "address",
                  name: "",
                  type: "address",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "ownerOf",
          outputs: [
              {
                  internalType: "address",
                  name: "",
                  type: "address",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [],
          name: "paused",
          outputs: [
              {
                  internalType: "bool",
                  name: "",
                  type: "bool",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [],
          name: "renounceOwnership",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "from",
                  type: "address",
              },
              {
                  internalType: "address",
                  name: "to",
                  type: "address",
              },
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "safeTransferFrom",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "from",
                  type: "address",
              },
              {
                  internalType: "address",
                  name: "to",
                  type: "address",
              },
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
              {
                  internalType: "bytes",
                  name: "_data",
                  type: "bytes",
              },
          ],
          name: "safeTransferFrom",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [],
          name: "serviceFeeForContract",
          outputs: [
              {
                  internalType: "uint256",
                  name: "",
                  type: "uint256",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [],
          name: "serviceFeeForPaymentAddress",
          outputs: [
              {
                  internalType: "uint256",
                  name: "",
                  type: "uint256",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "operator",
                  type: "address",
              },
              {
                  internalType: "bool",
                  name: "approved",
                  type: "bool",
              },
          ],
          name: "setApprovalForAll",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "signer_",
                  type: "address",
              },
          ],
          name: "setSigner",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "string",
                  name: "url_",
                  type: "string",
              },
          ],
          name: "setUrl",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [],
          name: "stablecoin",
          outputs: [
              {
                  internalType: "contract IERC20",
                  name: "",
                  type: "address",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "bytes4",
                  name: "interfaceId",
                  type: "bytes4",
              },
          ],
          name: "supportsInterface",
          outputs: [
              {
                  internalType: "bool",
                  name: "",
                  type: "bool",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [],
          name: "symbol",
          outputs: [
              {
                  internalType: "string",
                  name: "",
                  type: "string",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "from",
                  type: "address",
              },
              {
                  internalType: "address",
                  name: "to",
                  type: "address",
              },
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "transferFrom",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "newOwner",
                  type: "address",
              },
          ],
          name: "transferOwnership",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [],
          name: "url",
          outputs: [
              {
                  internalType: "string",
                  name: "",
                  type: "string",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "uint256",
                  name: "_fee",
                  type: "uint256",
              },
          ],
          name: "setServiceFeeForPaymentAddress",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "uint256",
                  name: "_fee",
                  type: "uint256",
              },
          ],
          name: "setServiceFeeForContract",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "toAddress",
                  type: "address",
              },
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "transferURI",
          outputs: [
              {
                  internalType: "bytes32",
                  name: "",
                  type: "bytes32",
              },
          ],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "string",
                  name: "metadataUri",
                  type: "string",
              },
              {
                  internalType: "address",
                  name: "transferTo",
                  type: "address",
              },
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "transferMetadataOwnership",
          outputs: [
              {
                  internalType: "bytes32",
                  name: "",
                  type: "bytes32",
              },
          ],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "uint256[]",
                  name: "leafOpUint",
                  type: "uint256[]",
              },
              {
                  internalType: "bytes",
                  name: "prefix",
                  type: "bytes",
              },
              {
                  internalType: "bytes[][]",
                  name: "existenceProofInnerOp",
                  type: "bytes[][]",
              },
              {
                  internalType: "uint256",
                  name: "existenceProofInnerOpHash",
                  type: "uint256",
              },
              {
                  internalType: "bytes",
                  name: "key",
                  type: "bytes",
              },
              {
                  internalType: "bytes",
                  name: "value",
                  type: "bytes",
              },
              {
                  internalType: "bytes",
                  name: "packet",
                  type: "bytes",
              },
          ],
          name: "submitPacketWithProof",
          outputs: [
              {
                  internalType: "bool",
                  name: "",
                  type: "bool",
              },
          ],
          stateMutability: "pure",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "user",
                  type: "address",
              },
              {
                  internalType: "string",
                  name: "uri",
                  type: "string",
              },
          ],
          name: "mint",
          outputs: [
              {
                  internalType: "uint256",
                  name: "",
                  type: "uint256",
              },
          ],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "address",
                  name: "operator",
                  type: "address",
              },
              {
                  internalType: "address",
                  name: "from",
                  type: "address",
              },
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
              {
                  internalType: "bytes",
                  name: "data",
                  type: "bytes",
              },
          ],
          name: "onERC721Received",
          outputs: [
              {
                  internalType: "bytes4",
                  name: "",
                  type: "bytes4",
              },
          ],
          stateMutability: "nonpayable",
          type: "function",
      },
      {
          inputs: [
              {
                  internalType: "uint256",
                  name: "tokenId",
                  type: "uint256",
              },
          ],
          name: "tokenURI",
          outputs: [
              {
                  internalType: "string",
                  name: "",
                  type: "string",
              },
          ],
          stateMutability: "view",
          type: "function",
          constant: true,
      },
      {
          inputs: [
              {
                  internalType: "address payable",
                  name: "payee",
                  type: "address",
              },
          ],
          name: "withdrawBalance",
          outputs: [],
          stateMutability: "nonpayable",
          type: "function",
      },
  ];
  const _bytecode = "0x60806040526000600f5560006010553480156200001b57600080fd5b5060405162002fb838038062002fb88339810160408190526200003e9162000273565b8251839083906200005790600090602085019062000100565b5080516200006d90600190602084019062000100565b50506006805460ff19169055506200008533620000ae565b600d80546001600160a01b0319166001600160a01b0392909216919091179055506200033d9050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010e9062000300565b90600052602060002090601f0160209004810192826200013257600085556200017d565b82601f106200014d57805160ff19168380011785556200017d565b828001600101855582156200017d579182015b828111156200017d57825182559160200191906001019062000160565b506200018b9291506200018f565b5090565b5b808211156200018b576000815560010162000190565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001ce57600080fd5b81516001600160401b0380821115620001eb57620001eb620001a6565b604051601f8301601f19908116603f01168101908282118183101715620002165762000216620001a6565b816040528381526020925086838588010111156200023357600080fd5b600091505b8382101562000257578582018301518183018401529082019062000238565b83821115620002695760008385830101525b9695505050505050565b6000806000606084860312156200028957600080fd5b83516001600160401b0380821115620002a157600080fd5b620002af87838801620001bc565b94506020860151915080821115620002c657600080fd5b50620002d586828701620001bc565b604086015190935090506001600160a01b0381168114620002f557600080fd5b809150509250925092565b600181811c908216806200031557607f821691505b602082108114156200033757634e487b7160e01b600052602260045260246000fd5b50919050565b612c6b806200034d6000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a61161012a578063b86be2ca116100bd578063d0def5211161008c578063e985e9c511610071578063e985e9c51461049b578063e9cbd822146104d7578063f2fde38b146104ea57600080fd5b8063d0def5211461047f578063e53ae1021461049257600080fd5b8063b86be2ca1461043d578063b88d4fde14610450578063c014b9da14610463578063c87b56dd1461046c57600080fd5b80638da5cb5b116100f95780638da5cb5b146103fe57806395d89b411461040f578063a0d9c72114610417578063a22cb4651461042a57600080fd5b8063715018a6146103bf578063756af45f146103c75780637927b898146103da5780637ac3c02f146103ed57600080fd5b80632c078e8d116101bd5780635600f04f1161018c5780636352211e116101715780636352211e146103865780636c19e7831461039957806370a08231146103ac57600080fd5b80635600f04f146103735780635c975abb1461037b57600080fd5b80632c078e8d146103195780632d4da9371461032c57806342842e0e1461034d57806342966c681461036057600080fd5b80631492c519116101f95780631492c519146102a8578063150b7a02146102bb57806323b872dd146102f3578063252498a21461030657600080fd5b806301ffc9a71461022b57806306fdde0314610253578063081812fc14610268578063095ea7b314610293575b600080fd5b61023e6102393660046122e1565b6104fd565b60405190151581526020015b60405180910390f35b61025b61059a565b60405161024a9190612356565b61027b610276366004612369565b61062c565b6040516001600160a01b03909116815260200161024a565b6102a66102a1366004612397565b6106c6565b005b61023e6102b63660046125fc565b6107f8565b6102da6102c93660046126fc565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161024a565b6102a661030136600461279b565b61088c565b6102a66103143660046127dc565b610914565b6102a6610327366004612369565b610985565b61033f61033a366004612811565b6109e4565b60405190815260200161024a565b6102a661035b36600461279b565b610a77565b6102a661036e366004612369565b610a92565b61025b610b19565b60065460ff1661023e565b61027b610394366004612369565b610ba7565b6102a66103a736600461285a565b610c32565b61033f6103ba36600461285a565b610cae565b6102a6610d48565b6102a66103d536600461285a565b610dae565b600e5461027b906001600160a01b031681565b600a546001600160a01b031661027b565b6008546001600160a01b031661027b565b61025b610fb3565b61033f610425366004612397565b610fc2565b6102a6610438366004612885565b611055565b6102a661044b366004612369565b61111a565b6102a661045e3660046128be565b611179565b61033f600f5481565b61025b61047a366004612369565b611207565b61033f61048d36600461292a565b611212565b61033f60105481565b61023e6104a936600461297a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d5461027b906001600160a01b031681565b6102a66104f836600461285a565b61124a565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061056057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061059457507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600080546105a9906129a8565b80601f01602080910402602001604051908101604052809291908181526020018280546105d5906129a8565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106aa5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106d182610ba7565b9050806001600160a01b0316836001600160a01b0316141561075b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016106a1565b336001600160a01b0382161480610777575061077781336104a9565b6107e95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106a1565b6107f38383611329565b505050565b8051602082012060009061080b846129e3565b1461087e5760405162461bcd60e51b815260206004820152603560248201527f626164207061636b65743a207061636b6574206861736820697320646966666560448201527f72656e742066726f6d2069637332332076616c7565000000000000000000000060648201526084016106a1565b506001979650505050505050565b610897335b82611397565b6109095760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106a1565b6107f383838361148e565b6008546001600160a01b0316331461096e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a1565b80516109819060099060208401906121fc565b5050565b6008546001600160a01b031633146109df5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a1565b601055565b6040516001600160a01b03831660248201526044810182905260009060099060640160408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f85fa63ef000000000000000000000000000000000000000000000000000000001790525163138db8bf60e31b81526106a1929190600401612a07565b6107f383838360405180602001604052806000815250611179565b610a9b33610891565b610b0d5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f7665640000000000000000000000000000000060648201526084016106a1565b610b1681611666565b50565b60098054610b26906129a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b52906129a8565b8015610b9f5780601f10610b7457610100808354040283529160200191610b9f565b820191906000526020600020905b815481529060010190602001808311610b8257829003601f168201915b505050505081565b6000818152600260205260408120546001600160a01b0316806105945760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016106a1565b6008546001600160a01b03163314610c8c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a1565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610d2c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016106a1565b506001600160a01b031660009081526003602052604090205490565b6008546001600160a01b03163314610da25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a1565b610dac600061166f565b565b6008546001600160a01b03163314610e085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a1565b600d546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8e9190612ac3565b600d546040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af1158015610efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f209190612adc565b610f6c5760405162461bcd60e51b815260206004820152601460248201527f5844563a205472616e73666572206661696c656400000000000000000000000060448201526064016106a1565b816001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d582604051610fa791815260200190565b60405180910390a25050565b6060600180546105a9906129a8565b6040516001600160a01b03831660248201526044810182905260009060099060640160408051601f198184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f678c2428000000000000000000000000000000000000000000000000000000001790525163138db8bf60e31b81526106a1929190600401612a07565b6001600160a01b0382163314156110ae5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106a1565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146111745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a1565b600f55565b6111833383611397565b6111f55760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016106a1565b611201848484846116c1565b50505050565b60606105948261173f565b6000611222600c80546001019055565b600061122d600c5490565b905061123984826118ca565b61124381846118e4565b9392505050565b6008546001600160a01b031633146112a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106a1565b6001600160a01b0381166113205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106a1565b610b168161166f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061135e82610ba7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166114105760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106a1565b600061141b83610ba7565b9050806001600160a01b0316846001600160a01b031614806114565750836001600160a01b031661144b8461062c565b6001600160a01b0316145b8061148657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114a182610ba7565b6001600160a01b03161461151d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016106a1565b6001600160a01b0382166115985760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106a1565b6115a383838361198d565b6115ae600082611329565b6001600160a01b03831660009081526003602052604081208054600192906115d7908490612b0f565b90915550506001600160a01b0382166000908152600360205260408120805460019290611605908490612b26565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610b1681611a02565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6116cc84848461148e565b6116d884848484611a42565b6112015760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106a1565b6000818152600260205260409020546060906001600160a01b03166117cc5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f722060448201527f6e6f6e6578697374656e7420746f6b656e00000000000000000000000000000060648201526084016106a1565b600082815260076020526040812080546117e5906129a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611811906129a8565b801561185e5780601f106118335761010080835404028352916020019161185e565b820191906000526020600020905b81548152906001019060200180831161184157829003601f168201915b50505050509050600061187c60408051602081019091526000815290565b905080516000141561188f575092915050565b8151156118c15780826040516020016118a9929190612b3e565b60405160208183030381529060405292505050919050565b61148684611b8b565b610981828260405180602001604052806000815250611c80565b6000828152600260205260409020546001600160a01b031661196e5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201527f6578697374656e7420746f6b656e00000000000000000000000000000000000060648201526084016106a1565b600082815260076020908152604090912082516107f3928401906121fc565b60065460ff16156119e05760405162461bcd60e51b815260206004820152601e60248201527f5844563a20546f6b656e20657865637574696f6e20697320706175736564000060448201526064016106a1565b6001600160a01b0383166119f7576119f733611cfe565b6107f3838383611e5c565b611a0b81611ed5565b60008181526007602052604090208054611a24906129a8565b159050610b16576000818152600760205260408120610b1691612280565b60006001600160a01b0384163b15611b8057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a86903390899088908890600401612b6d565b6020604051808303816000875af1925050508015611ac1575060408051601f3d908101601f19168201909252611abe91810190612ba9565b60015b611b66573d808015611aef576040519150601f19603f3d011682016040523d82523d6000602084013e611af4565b606091505b508051611b5e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106a1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611486565b506001949350505050565b6000818152600260205260409020546060906001600160a01b0316611c185760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016106a1565b6000611c2f60408051602081019091526000815290565b90506000815111611c4f5760405180602001604052806000815250611243565b80611c5984611f7c565b604051602001611c6a929190612b3e565b6040516020818303038152906040529392505050565b611c8a83836120ae565b611c976000848484611a42565b6107f35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016106a1565b600d546010546040517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015230602483015260448201929092529116906323b872dd906064016020604051808303816000875af1158015611d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d979190612adc565b611e095760405162461bcd60e51b815260206004820152602260248201527f5844563a205472616e73666572206661696c656420666f72207265636970696560448201527f6e7400000000000000000000000000000000000000000000000000000000000060648201526084016106a1565b806001600160a01b03167fff781da90c6b849a72bafc99aedde3dff0b039f697f31c21e96d587accee2760601054600f54604051611e51929190918252602082015260400190565b60405180910390a250565b60065460ff16156107f35760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c652070617573656400000000000000000000000000000000000000000060648201526084016106a1565b6000611ee082610ba7565b9050611eee8160008461198d565b611ef9600083611329565b6001600160a01b0381166000908152600360205260408120805460019290611f22908490612b0f565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b606081611fbc57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611fe65780611fd081612bc6565b9150611fdf9050600a83612bf7565b9150611fc0565b60008167ffffffffffffffff811115612001576120016123c3565b6040519080825280601f01601f19166020018201604052801561202b576020820181803683370190505b5090505b841561148657612040600183612b0f565b915061204d600a86612c0b565b612058906030612b26565b60f81b81838151811061206d5761206d612c1f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506120a7600a86612bf7565b945061202f565b6001600160a01b0382166121045760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106a1565b6000818152600260205260409020546001600160a01b0316156121695760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106a1565b6121756000838361198d565b6001600160a01b038216600090815260036020526040812080546001929061219e908490612b26565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612208906129a8565b90600052602060002090601f01602090048101928261222a5760008555612270565b82601f1061224357805160ff1916838001178555612270565b82800160010185558215612270579182015b82811115612270578251825591602001919060010190612255565b5061227c9291506122b6565b5090565b50805461228c906129a8565b6000825580601f1061229c575050565b601f016020900490600052602060002090810190610b1691905b5b8082111561227c57600081556001016122b7565b6001600160e01b031981168114610b1657600080fd5b6000602082840312156122f357600080fd5b8135611243816122cb565b60005b83811015612319578181015183820152602001612301565b838111156112015750506000910152565b600081518084526123428160208601602086016122fe565b601f01601f19169290920160200192915050565b602081526000611243602083018461232a565b60006020828403121561237b57600080fd5b5035919050565b6001600160a01b0381168114610b1657600080fd5b600080604083850312156123aa57600080fd5b82356123b581612382565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612402576124026123c3565b604052919050565b600067ffffffffffffffff821115612424576124246123c3565b5060051b60200190565b600082601f83011261243f57600080fd5b8135602061245461244f8361240a565b6123d9565b82815260059290921b8401810191818101908684111561247357600080fd5b8286015b8481101561248e5780358352918301918301612477565b509695505050505050565b600082601f8301126124aa57600080fd5b813567ffffffffffffffff8111156124c4576124c46123c3565b6124d7601f8201601f19166020016123d9565b8181528460208386010111156124ec57600080fd5b816020850160208301376000918101602001919091529392505050565b600082601f83011261251a57600080fd5b8135602061252a61244f8361240a565b82815260059290921b8401810191818101908684111561254957600080fd5b8286015b8481101561248e57803567ffffffffffffffff8082111561256d57600080fd5b818901915089603f83011261258157600080fd5b8582013561259161244f8261240a565b81815260059190911b830160400190878101908c8311156125b157600080fd5b604085015b838110156125ea578035858111156125cd57600080fd5b6125dc8f6040838a0101612499565b8452509189019189016125b6565b5087525050509284019250830161254d565b600080600080600080600060e0888a03121561261757600080fd5b873567ffffffffffffffff8082111561262f57600080fd5b61263b8b838c0161242e565b985060208a013591508082111561265157600080fd5b61265d8b838c01612499565b975060408a013591508082111561267357600080fd5b61267f8b838c01612509565b965060608a0135955060808a013591508082111561269c57600080fd5b6126a88b838c01612499565b945060a08a01359150808211156126be57600080fd5b6126ca8b838c01612499565b935060c08a01359150808211156126e057600080fd5b506126ed8a828b01612499565b91505092959891949750929550565b60008060008060006080868803121561271457600080fd5b853561271f81612382565b9450602086013561272f81612382565b935060408601359250606086013567ffffffffffffffff8082111561275357600080fd5b818801915088601f83011261276757600080fd5b81358181111561277657600080fd5b89602082850101111561278857600080fd5b9699959850939650602001949392505050565b6000806000606084860312156127b057600080fd5b83356127bb81612382565b925060208401356127cb81612382565b929592945050506040919091013590565b6000602082840312156127ee57600080fd5b813567ffffffffffffffff81111561280557600080fd5b61148684828501612499565b60008060006060848603121561282657600080fd5b833567ffffffffffffffff81111561283d57600080fd5b61284986828701612499565b93505060208401356127cb81612382565b60006020828403121561286c57600080fd5b813561124381612382565b8015158114610b1657600080fd5b6000806040838503121561289857600080fd5b82356128a381612382565b915060208301356128b381612877565b809150509250929050565b600080600080608085870312156128d457600080fd5b84356128df81612382565b935060208501356128ef81612382565b925060408501359150606085013567ffffffffffffffff81111561291257600080fd5b61291e87828801612499565b91505092959194509250565b6000806040838503121561293d57600080fd5b823561294881612382565b9150602083013567ffffffffffffffff81111561296457600080fd5b61297085828601612499565b9150509250929050565b6000806040838503121561298d57600080fd5b823561299881612382565b915060208301356128b381612382565b600181811c908216806129bc57607f821691505b602082108114156129dd57634e487b7160e01b600052602260045260246000fd5b50919050565b805160208083015191908110156129dd5760001960209190910360031b1b16919050565b60408152600080845481600182811c915080831680612a2757607f831692505b6020808410821415612a4757634e487b7160e01b86526022600452602486fd5b6040880184905260608801828015612a665760018114612a7757612aa2565b60ff19871682528282019750612aa2565b60008c81526020902060005b87811015612a9c57815484820152908601908401612a83565b83019850505b5050878603818901525050505050612aba818561232a565b95945050505050565b600060208284031215612ad557600080fd5b5051919050565b600060208284031215612aee57600080fd5b815161124381612877565b634e487b7160e01b600052601160045260246000fd5b600082821015612b2157612b21612af9565b500390565b60008219821115612b3957612b39612af9565b500190565b60008351612b508184602088016122fe565b835190830190612b648183602088016122fe565b01949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b9f608083018461232a565b9695505050505050565b600060208284031215612bbb57600080fd5b8151611243816122cb565b6000600019821415612bda57612bda612af9565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082612c0657612c06612be1565b500490565b600082612c1a57612c1a612be1565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212204cacff9d7fc492c81a52dd2a7180b83b31f9999f282d4ca7a9e3910cca0c6abb64736f6c634300080b0033";
  const isSuperArgs = (xs) => xs.length > 1;
  class XDVNFT__factory extends ethers_1.ContractFactory {
      constructor(...args) {
          if (isSuperArgs(args)) {
              super(...args);
          }
          else {
              super(_abi, _bytecode, args[0]);
          }
      }
      deploy(name, symbol, tokenERC20, overrides) {
          return super.deploy(name, symbol, tokenERC20, overrides || {});
      }
      getDeployTransaction(name, symbol, tokenERC20, overrides) {
          return super.getDeployTransaction(name, symbol, tokenERC20, overrides || {});
      }
      attach(address) {
          return super.attach(address);
      }
      connect(signer) {
          return super.connect(signer);
      }
      static createInterface() {
          return new ethers_1.utils.Interface(_abi);
      }
      static connect(address, signerOrProvider) {
          return new ethers_1.Contract(address, _abi, signerOrProvider);
      }
  }
  exports.XDVNFT__factory = XDVNFT__factory;
  XDVNFT__factory.bytecode = _bytecode;
  XDVNFT__factory.abi = _abi;
  