Add __hash__
to BaseAddress
#2476
Labels
category: feature
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
size: 1 piece
Easy, well-defined, quick to accomplish
Describe
Adding
__hash__
implementation toBaseAddress
allows all derivatives (e.g.ContractInstance
,AddressAPI
, etc.) to be used as keys indict
s and also added toset
s, simplifying downstream logicSpecification
see: https://github.com/ApeWorX/ape/blob/main/src/ape/api/address.py#L19
Dependencies
n/a
The text was updated successfully, but these errors were encountered: