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
It's often a little difficult working with ABIType instances of arrays. It would be nice to have some better tools.
Specification
classABIType(...):
...
defis_array(self) ->bool:
# check if `self.type` is something like `...[]` or `...[...]`defarray_type(self) ->Optional["ABIType"]:
ifself.is_array():
# fetch the "inner type" of the array, if it is an array type
The text was updated successfully, but these errors were encountered:
NotPeopling2day
changed the title
Add ability to determine the inner type of an array ABIType
Add ability to determine the inner type of an array ABIType [APE-678]
Feb 27, 2023
Overview
It's often a little difficult working with
ABIType
instances of arrays. It would be nice to have some better tools.Specification
Dependencies
Would be helpful for ApeWorX/ape#1319
The text was updated successfully, but these errors were encountered: