/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Contract, Interface, type ContractRunner } from 'ethers'
import type {
  GraphUpgradeable,
  GraphUpgradeableInterface,
} from '../../../../../@graphprotocol/contracts/contracts/upgrades/GraphUpgradeable'

const _abi = [
  {
    inputs: [
      {
        internalType: 'contract IGraphProxy',
        name: '_proxy',
        type: 'address',
      },
    ],
    name: 'acceptProxy',
    outputs: [],
    stateMutability: 'nonpayable',
    type: 'function',
  },
  {
    inputs: [
      {
        internalType: 'contract IGraphProxy',
        name: '_proxy',
        type: 'address',
      },
      {
        internalType: 'bytes',
        name: '_data',
        type: 'bytes',
      },
    ],
    name: 'acceptProxyAndCall',
    outputs: [],
    stateMutability: 'nonpayable',
    type: 'function',
  },
] as const

export class GraphUpgradeable__factory {
  static readonly abi = _abi
  static createInterface(): GraphUpgradeableInterface {
    return new Interface(_abi) as GraphUpgradeableInterface
  }
  static connect(address: string, runner?: ContractRunner | null): GraphUpgradeable {
    return new Contract(address, _abi, runner) as unknown as GraphUpgradeable
  }
}
