/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { Common, CommonInterface } from "../Common"; const _abi = [ { anonymous: false, inputs: [ { indexed: false, internalType: "bytes32", name: "oldRoot", type: "bytes32", }, { indexed: false, internalType: "bytes32[2]", name: "newRoot", type: "bytes32[2]", }, { indexed: false, internalType: "bytes", name: "signature", type: "bytes", }, { indexed: false, internalType: "bytes", name: "signature2", type: "bytes", }, ], name: "DoubleUpdate", type: "event", }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "updater", type: "address", }, ], name: "NewUpdater", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "uint32", name: "homeDomain", type: "uint32", }, { indexed: true, internalType: "bytes32", name: "oldRoot", type: "bytes32", }, { indexed: true, internalType: "bytes32", name: "newRoot", type: "bytes32", }, { indexed: false, internalType: "bytes", name: "signature", type: "bytes", }, ], name: "Update", type: "event", }, { inputs: [], name: "committedRoot", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "bytes32", name: "_oldRoot", type: "bytes32", }, { internalType: "bytes32[2]", name: "_newRoot", type: "bytes32[2]", }, { internalType: "bytes", name: "_signature", type: "bytes", }, { internalType: "bytes", name: "_signature2", type: "bytes", }, ], name: "doubleUpdate", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "homeDomainHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "localDomain", outputs: [ { internalType: "uint32", name: "", type: "uint32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "state", outputs: [ { internalType: "enum Common.States", name: "", type: "uint8", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "updater", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ]; export class Common__factory { static readonly abi = _abi; static createInterface(): CommonInterface { return new utils.Interface(_abi) as CommonInterface; } static connect(address: string, signerOrProvider: Signer | Provider): Common { return new Contract(address, _abi, signerOrProvider) as Common; } }