/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { Router, RouterInterface } from "../Router"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { inputs: [ { internalType: "uint32", name: "_domain", type: "uint32", }, { internalType: "bytes32", name: "_router", type: "bytes32", }, ], name: "enrollRemoteRouter", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint32", name: "_origin", type: "uint32", }, { internalType: "bytes32", name: "_sender", type: "bytes32", }, { internalType: "bytes", name: "_message", type: "bytes", }, ], name: "handle", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint32", name: "", type: "uint32", }, ], name: "remotes", outputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_xAppConnectionManager", type: "address", }, ], name: "setXAppConnectionManager", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "xAppConnectionManager", outputs: [ { internalType: "contract XAppConnectionManager", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ]; export class Router__factory { static readonly abi = _abi; static createInterface(): RouterInterface { return new utils.Interface(_abi) as RouterInterface; } static connect(address: string, signerOrProvider: Signer | Provider): Router { return new Contract(address, _abi, signerOrProvider) as Router; } }