/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { ISuperGalatic, ISuperGalaticInterface } from "../ISuperGalatic";

const _abi = [
  {
    type: "function",
    name: "createGenesis",
    inputs: [
      {
        name: "minter",
        type: "address",
        internalType: "address",
      },
      {
        name: "priceUnit",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "createRandomGenesis",
    inputs: [
      {
        name: "minter",
        type: "address",
        internalType: "address",
      },
      {
        name: "priceUnit",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "price",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "getBodyInfo",
    inputs: [
      {
        name: "tokenId",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "bodyType",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [
      {
        name: "level",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "rarity",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "initialize",
    inputs: [
      {
        name: "_admin",
        type: "address",
        internalType: "address",
      },
      {
        name: "_factory",
        type: "address",
        internalType: "address",
      },
      {
        name: "_categoryId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
  {
    type: "function",
    name: "updateBody",
    inputs: [
      {
        name: "bodyType",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "tokenId",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

export class ISuperGalatic__factory {
  static readonly abi = _abi;
  static createInterface(): ISuperGalaticInterface {
    return new utils.Interface(_abi) as ISuperGalaticInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): ISuperGalatic {
    return new Contract(address, _abi, signerOrProvider) as ISuperGalatic;
  }
}
