Contract utilities
The SDK comes packed with a few utilities that are useful beyond developing web3 applications.
Contract Verification
Verify a contract on a given block explorer via the sdk.verifier
object.
Get the ABI of a contract
The SDK ABI resolution is useful in many situations, you can access the resolved ABI from any contract like so:
Getting all functions and events definitions from a contract
Get parsed function and event definitions from a contract:
Getting the sources of a contract
Get the solidity sources of a contract:
Getting the implementation address of a Proxy
Resolve the implementation address and bytecode of a given proxy contract. Supports a wide variety of proxy standards.