[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "factory_",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "referralRegistry_",
        "type": "address",
        "internalType": "contract IFociReferralRegistry"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "deployLaunch",
    "inputs": [
      {
        "name": "params",
        "type": "tuple",
        "internalType": "struct LaunchDeployment",
        "components": [
          {
            "name": "pairToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "creatorFeeRecipient",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "originalDeployer",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "feePolicy",
            "type": "address",
            "internalType": "contract IFociFeePolicy"
          },
          {
            "name": "policy",
            "type": "tuple",
            "internalType": "struct FeePolicySnapshot",
            "components": [
              {
                "name": "protocolFeeRecipient",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "protocolFeeShareBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "hookFeeBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "maxInternalPriceImpactBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "referralDiscountBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "referralShareBps",
                "type": "uint16",
                "internalType": "uint16"
              }
            ]
          },
          {
            "name": "feeEscrow",
            "type": "address",
            "internalType": "contract IFociFeeEscrow"
          },
          {
            "name": "phantomQuote",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "curveFeeBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "creatorTaxBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "graduationThreshold",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "supply",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "salt",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "name",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "symbol",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "logo",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "description",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "socials",
            "type": "tuple",
            "internalType": "struct FociLauncherToken.Socials",
            "components": [
              {
                "name": "twitter",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "telegram",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "discord",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "website",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "farcaster",
                "type": "string",
                "internalType": "string"
              }
            ]
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "curve",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "factory",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "predictLaunchAddresses",
    "inputs": [
      {
        "name": "params",
        "type": "tuple",
        "internalType": "struct LaunchDeployment",
        "components": [
          {
            "name": "pairToken",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "creatorFeeRecipient",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "originalDeployer",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "feePolicy",
            "type": "address",
            "internalType": "contract IFociFeePolicy"
          },
          {
            "name": "policy",
            "type": "tuple",
            "internalType": "struct FeePolicySnapshot",
            "components": [
              {
                "name": "protocolFeeRecipient",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "protocolFeeShareBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "hookFeeBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "maxInternalPriceImpactBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "referralDiscountBps",
                "type": "uint16",
                "internalType": "uint16"
              },
              {
                "name": "referralShareBps",
                "type": "uint16",
                "internalType": "uint16"
              }
            ]
          },
          {
            "name": "feeEscrow",
            "type": "address",
            "internalType": "contract IFociFeeEscrow"
          },
          {
            "name": "phantomQuote",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "curveFeeBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "creatorTaxBps",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "graduationThreshold",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "supply",
            "type": "uint256",
            "internalType": "uint256"
          },
          {
            "name": "salt",
            "type": "bytes32",
            "internalType": "bytes32"
          },
          {
            "name": "name",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "symbol",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "logo",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "description",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "socials",
            "type": "tuple",
            "internalType": "struct FociLauncherToken.Socials",
            "components": [
              {
                "name": "twitter",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "telegram",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "discord",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "website",
                "type": "string",
                "internalType": "string"
              },
              {
                "name": "farcaster",
                "type": "string",
                "internalType": "string"
              }
            ]
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "token",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "curve",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "referralRegistry",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IFociReferralRegistry"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "error",
    "name": "Create2EmptyBytecode",
    "inputs": []
  },
  {
    "type": "error",
    "name": "FailedDeployment",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InsufficientBalance",
    "inputs": [
      {
        "name": "balance",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "needed",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  },
  {
    "type": "error",
    "name": "MetadataTooLong",
    "inputs": []
  },
  {
    "type": "error",
    "name": "NotFactory",
    "inputs": []
  },
  {
    "type": "error",
    "name": "ZeroAddress",
    "inputs": []
  }
]
