Optional
abiOptional
addressCalled to resolve invalid addresses, uses provider's built-in resolver otherwise
Optional
Experimental
enableEnable pulling additional metadata from WhatsABI's static analysis which may be unreliable. For now, this is primarily for event topics.
Optional
followEnable following proxies automagically, if possible. Return the final result. Note that some proxies are relative to a specific selector (such as DiamondProxies), so they will not be followed
Optional
loadLoad full contract metadata result, include it in AutoloadResult.ContractResult if successful.
This changes the behaviour of autoload to use ABILoader.getContract instead of ABILoader.loadABI, which returns a larger superset result including all of the available verified contract metadata.
Optional
onCalled during any encountered errors during a given phase
Optional
onCalled during various phases: resolveName, getCode, abiLoader, signatureLookup, followProxies
Rest
...args: any[]Optional
signature
AutoloadConfig specifies the configuration inputs for the autoload function.