matter-labs / v2-testnet-contracts

62 stars 32 forks source link

Add ERC165 interface ID for IAccount #6

Closed delaaxe closed 2 years ago

delaaxe commented 2 years ago

Adds the ERC165 magic value for supportsInferface introspection, in order to determine if a given address is an account.

Having this constant tightly colocated to the interface definition makes it more likely to keep it updated when IAccount invariably changes in the future.