@shazow/whatsabi
    Preparing search index...

    Type Alias AutoloadResult

    AutoloadResult is the return type for the autoload function.

    type AutoloadResult = {
        abi: ABI;
        abiLoadedFrom?: ABILoader;
        address: string;
        contractResult?: ContractResult;
        followProxies?: (selector?: string) => Promise<AutoloadResult>;
        hasCode: boolean;
        isFactory?: boolean;
        proxies: ProxyResolver[];
    }
    Index
    abi: ABI
    abiLoadedFrom?: ABILoader

    Whether the abi is loaded from a verified source

    address: string
    contractResult?: ContractResult

    Full contract metadata result, only included if AutoloadConfig.loadContractResult is true.

    followProxies?: (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.

    hasCode: boolean

    Set to true if the address has deployed code

    isFactory?: boolean

    Set to true when a CREATE or CREATE2 opcode is present in the bytecode. This means that some of the results could have been mistaken from the embedded contract that gets created by the factory. For example, we can have a non-proxy contract which creates a proxy contract on call. WhatsABI may not yet be able to distinguish them reliably.

    proxies: ProxyResolver[]

    List of resolveable proxies detected in the contract