Breaking: Changed whatsabi.autoload(...) API, changes return value from an abi Array to a AutoloadResult object with an abi array inside.
AutoloadResult has proxies and a followProxies(...) helper
AutoloadConfig has followProxies? boolean setting
bin/autoload.ts now follows proxies
New proxies export with specific implementations for various kinds of resolvers: EIP-1967, ZeppelinOS, PROXIABLE, GnosisSafe, DiamondProxy, and various MinimalProxies detected via program.delegateAddresses and shoved into FixedProxyResolver
disasm will detect known proxy slots during static analysis, and map them from proxies.slotResolvers to program.proxies.
whatsabi.autoload(...)
API, changes return value from an abi Array to aAutoloadResult
object with anabi
array inside.AutoloadResult
hasproxies
and afollowProxies(...)
helperAutoloadConfig
hasfollowProxies?
boolean settingbin/autoload.ts
now follows proxiesproxies
export with specific implementations for various kinds of resolvers: EIP-1967, ZeppelinOS, PROXIABLE, GnosisSafe, DiamondProxy, and various MinimalProxies detected viaprogram.delegateAddresses
and shoved intoFixedProxyResolver
disasm
will detect known proxy slots during static analysis, and map them fromproxies.slotResolvers
toprogram.proxies
.Fixes #11