// This file was autogenerated by hardhat-viem, do not edit it.
// prettier-ignore
// tslint:disable
// eslint-disable

import type { Address } from "viem";
import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types";
import "@nomicfoundation/hardhat-viem/types";

export interface IBetManager$Type {
  "_format": "hh-sol-artifact-1",
  "contractName": "IBetManager",
  "sourceName": "contracts/interface/IBetManager.sol",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "betChipManager",
          "type": "address"
        }
      ],
      "name": "BetChipManagerSet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "betConfigurator",
          "type": "address"
        }
      ],
      "name": "BetConfiguratorSet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "bet",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "chip",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "creator",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "timestamp",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "version",
          "type": "string"
        }
      ],
      "name": "BetCreated",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "betFactory",
          "type": "address"
        }
      ],
      "name": "BetFactorySet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "betOptionFactory",
          "type": "address"
        }
      ],
      "name": "BetOptionFactorySet",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "fee",
          "type": "uint256"
        }
      ],
      "name": "CreationFeeSet",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "betChipManager",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "betConfigurator",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "betFactory",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "betOptionFactory",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "betOptionVersion",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "betVersion",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "string",
              "name": "title",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "description",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "iconURL",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "forumURL",
              "type": "string"
            },
            {
              "internalType": "string[]",
              "name": "options",
              "type": "string[]"
            }
          ],
          "internalType": "struct IBet.BetDetails",
          "name": "details",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "wageringPeriodDuration",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "verifyingPeriodDuration",
          "type": "uint256"
        }
      ],
      "name": "createBet",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "string",
              "name": "title",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "description",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "iconURL",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "forumURL",
              "type": "string"
            },
            {
              "internalType": "string[]",
              "name": "options",
              "type": "string[]"
            }
          ],
          "internalType": "struct IBet.BetDetails",
          "name": "details",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "wageringPeriodDuration",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "verifyingPeriodDuration",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "chip",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "nonce",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "deadline",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "signature",
          "type": "bytes"
        }
      ],
      "name": "createBet",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "string",
              "name": "title",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "description",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "iconURL",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "forumURL",
              "type": "string"
            },
            {
              "internalType": "string[]",
              "name": "options",
              "type": "string[]"
            }
          ],
          "internalType": "struct IBet.BetDetails",
          "name": "details",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "wageringPeriodDuration",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "verifyingPeriodDuration",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "chip",
          "type": "address"
        }
      ],
      "name": "createBet",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "string",
              "name": "title",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "description",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "iconURL",
              "type": "string"
            },
            {
              "internalType": "string",
              "name": "forumURL",
              "type": "string"
            },
            {
              "internalType": "string[]",
              "name": "options",
              "type": "string[]"
            }
          ],
          "internalType": "struct IBet.BetDetails",
          "name": "details",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "wageringPeriodDuration",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "verifyingPeriodDuration",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "nonce",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "deadline",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "signature",
          "type": "bytes"
        }
      ],
      "name": "createBet",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "creationFee",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "bet",
          "type": "address"
        }
      ],
      "name": "isBet",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newBetChipManager",
          "type": "address"
        }
      ],
      "name": "setBetChipManager",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newBetConfigurator",
          "type": "address"
        }
      ],
      "name": "setBetConfigurator",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newBetFactory",
          "type": "address"
        }
      ],
      "name": "setBetFactory",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newBetOptionFactory",
          "type": "address"
        }
      ],
      "name": "setBetOptionFactory",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "fee",
          "type": "uint256"
        }
      ],
      "name": "setCreationFee",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}

declare module "@nomicfoundation/hardhat-viem/types" {
  export function deployContract(
    contractName: "IBetManager",
    constructorArgs?: [],
    config?: DeployContractConfig
  ): Promise<GetContractReturnType<IBetManager$Type["abi"]>>;
  export function deployContract(
    contractName: "contracts/interface/IBetManager.sol:IBetManager",
    constructorArgs?: [],
    config?: DeployContractConfig
  ): Promise<GetContractReturnType<IBetManager$Type["abi"]>>;

  export function sendDeploymentTransaction(
    contractName: "IBetManager",
    constructorArgs?: [],
    config?: SendDeploymentTransactionConfig
  ): Promise<{
    contract: GetContractReturnType<IBetManager$Type["abi"]>;
    deploymentTransaction: GetTransactionReturnType;
  }>;
  export function sendDeploymentTransaction(
    contractName: "contracts/interface/IBetManager.sol:IBetManager",
    constructorArgs?: [],
    config?: SendDeploymentTransactionConfig
  ): Promise<{
    contract: GetContractReturnType<IBetManager$Type["abi"]>;
    deploymentTransaction: GetTransactionReturnType;
  }>;

  export function getContractAt(
    contractName: "IBetManager",
    address: Address,
    config?: GetContractAtConfig
  ): Promise<GetContractReturnType<IBetManager$Type["abi"]>>;
  export function getContractAt(
    contractName: "contracts/interface/IBetManager.sol:IBetManager",
    address: Address,
    config?: GetContractAtConfig
  ): Promise<GetContractReturnType<IBetManager$Type["abi"]>>;
}
