You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ABI is a living document, and there is no specific reason why additional types can't be added to it, to help facilitate working with a specific contract. Two things in particular would be extremely helpful: defined constants, and structure definitions.
Specification
Since the ABI JSON format is an array of interface types, this makes it hard to work with. This approach will need specific handling by tools in order to function properly:
Simple Summary
Inject constants and structs into ABI output
Motivation
The ABI is a living document, and there is no specific reason why additional types can't be added to it, to help facilitate working with a specific contract. Two things in particular would be extremely helpful: defined constants, and structure definitions.
Specification
Since the ABI JSON format is an array of interface types, this makes it hard to work with. This approach will need specific handling by tools in order to function properly:
Backwards Compatibility
Not compatible with ABI v2
Dependencies
No dependencies
References
https://docs.soliditylang.org/en/latest/abi-spec.html
Copyright
Copyright and related rights waived via CC0
The text was updated successfully, but these errors were encountered: