/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Contract, Signer, utils } from "ethers"; import { Provider } from "@ethersproject/providers"; import type { TokenRegistry, TokenRegistryInterface } from "../TokenRegistry"; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "uint32", name: "domain", type: "uint32", }, { indexed: true, internalType: "bytes32", name: "id", type: "bytes32", }, { indexed: true, internalType: "address", name: "representation", type: "address", }, ], name: "TokenDeployed", type: "event", }, { inputs: [ { internalType: "bytes32", name: "", type: "bytes32", }, ], name: "canonicalToRepresentation", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_local", type: "address", }, ], name: "getCanonicalAddress", outputs: [ { internalType: "uint32", name: "_domain", type: "uint32", }, { internalType: "bytes32", name: "_id", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint32", name: "_domain", type: "uint32", }, { internalType: "bytes32", name: "_id", type: "bytes32", }, ], name: "getLocalAddress", outputs: [ { internalType: "address", name: "_token", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint32", name: "_domain", type: "uint32", }, { internalType: "address", name: "_id", type: "address", }, ], name: "getLocalAddress", outputs: [ { internalType: "address", name: "_token", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "representationToCanonical", outputs: [ { internalType: "uint32", name: "domain", type: "uint32", }, { internalType: "bytes32", name: "id", type: "bytes32", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "tokenBeacon", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, ]; export class TokenRegistry__factory { static readonly abi = _abi; static createInterface(): TokenRegistryInterface { return new utils.Interface(_abi) as TokenRegistryInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): TokenRegistry { return new Contract(address, _abi, signerOrProvider) as TokenRegistry; } }