import React from "react"; import { BaseProvider } from "@ethersproject/providers"; export interface IAddressResolver { resolveAddress( provider: BaseProvider, address: string ): Promise; } export type ResolvedAddressRenderer = ( chainId: number, address: string, resolvedAddress: T, linkable: boolean, dontOverrideColors: boolean ) => React.ReactElement;