AutoloadResult: {
    abi: ABI;
    address: string;
    followProxies?: ((selector?: string) => Promise<AutoloadResult>);
    isVerified: boolean;
    proxies: ProxyResolver[];
}

AutoloadResult is the return type for the autoload function.

Type declaration

  • abi: ABI
  • address: string
  • OptionalfollowProxies?: ((selector?: string) => Promise<AutoloadResult>)

    Follow proxies to next result. If multiple proxies were detected, some reasonable ordering of attempts will be made. Note: Some proxies operate relative to a specific selector (such as DiamondProxy facets), in this case we'll need to specify a selector that we care about.

  • isVerified: boolean

    Whether the abi is loaded from a verified source

  • proxies: ProxyResolver[]

    List of resolveable proxies detected in the contract