otterscan/src/api/address-resolver/address-resolver.ts

9 lines
194 B
TypeScript
Raw Normal View History

2021-10-31 00:06:11 +00:00
import { BaseProvider } from "@ethersproject/providers";
export interface IAddressResolver<T> {
2021-10-31 00:06:11 +00:00
resolveAddress(
provider: BaseProvider,
address: string
): Promise<T | undefined>;
2021-10-31 00:06:11 +00:00
}