/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import type { Provider, TransactionRequest } from "@ethersproject/providers";
import type {
  SuperGalaticInfo,
  SuperGalaticInfoInterface,
} from "../../SupergalaticInfo.s.sol/SuperGalaticInfo";

const _abi = [
  {
    type: "function",
    name: "IS_SCRIPT",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "bool",
        internalType: "bool",
      },
    ],
    stateMutability: "view",
  },
  {
    type: "function",
    name: "run",
    inputs: [],
    outputs: [],
    stateMutability: "view",
  },
] as const;

const _bytecode =
  "0x6080604052600c805462ff00ff19166201000117905534801561002157600080fd5b50610244806100316000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063c04062261461003b578063f8ccbf4714610045575b600080fd5b61004361006c565b005b600c546100589062010000900460ff1681565b604051901515815260200160405180910390f35b610074610076565b565b604051631403cf6560e31b81526009600482015260066024820152735350335bc7fed3e79f8fc81b547526c3a70b633a90600090829063a01e7b2890604401604080518083038186803b1580156100cc57600080fd5b505afa1580156100e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010491906101a6565b5090506101356040518060400160405280600c81526020016b1b195d995b081bd9881b999d60a21b81525082610139565b5050565b610135828260405160240161014f9291906101da565b60408051601f198184030181529190526020810180516001600160e01b0316632d839cb360e21b17905261018281610185565b50565b60006a636f6e736f6c652e6c6f679050600080835160208501845afa505050565b600080604083850312156101b957600080fd5b825191506020830151600481106101cf57600080fd5b809150509250929050565b604081526000835180604084015260005b8181101561020857602081870181015160608684010152016101eb565b8181111561021a576000606083860101525b50602083019390935250601f91909101601f19160160600191905056fea164736f6c6343000807000a";

type SuperGalaticInfoConstructorParams =
  | [signer?: Signer]
  | ConstructorParameters<typeof ContractFactory>;

const isSuperArgs = (
  xs: SuperGalaticInfoConstructorParams
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;

export class SuperGalaticInfo__factory extends ContractFactory {
  constructor(...args: SuperGalaticInfoConstructorParams) {
    if (isSuperArgs(args)) {
      super(...args);
    } else {
      super(_abi, _bytecode, args[0]);
    }
  }

  override deploy(
    overrides?: Overrides & { from?: string }
  ): Promise<SuperGalaticInfo> {
    return super.deploy(overrides || {}) as Promise<SuperGalaticInfo>;
  }
  override getDeployTransaction(
    overrides?: Overrides & { from?: string }
  ): TransactionRequest {
    return super.getDeployTransaction(overrides || {});
  }
  override attach(address: string): SuperGalaticInfo {
    return super.attach(address) as SuperGalaticInfo;
  }
  override connect(signer: Signer): SuperGalaticInfo__factory {
    return super.connect(signer) as SuperGalaticInfo__factory;
  }

  static readonly bytecode = _bytecode;
  static readonly abi = _abi;
  static createInterface(): SuperGalaticInfoInterface {
    return new utils.Interface(_abi) as SuperGalaticInfoInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): SuperGalaticInfo {
    return new Contract(address, _abi, signerOrProvider) as SuperGalaticInfo;
  }
}
