argentlabs / web3.swift

Ethereum Swift API with support for smart contracts, ENS & ERC20
MIT License
668 stars 168 forks source link

EthereumNameService resolve(address:mode:) fails because resolver contract address is NOT ERC165 compliant #297

Closed realimaginaryverse closed 1 year ago

realimaginaryverse commented 1 year ago

Calling EthereumNameService resolve(address:mode:) throw an exception because supportsWildcard() is failing since the resolver does not implement supportsInterface method.

EthereumNameService resolve(name:supportingWildcard:) works because its resolver is different which is ERC165 compliant

DarthMike commented 1 year ago

Hi @realimaginaryverse not sure I understand correctly. Are you using your own resolver contract?