Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Member "isContract" not found or not visible after argument-dependent lookup in address. #383

Open
x5engine opened this issue Aug 27, 2024 · 1 comment

Comments

@x5engine
Copy link

Using isContract causes an issue compiling the wrapper!

TypeError: Member "isContract" not found or not visible after argument-dependent lookup in address.
--> .deps/npm/@ensdomains/ens-contracts/contracts/wrapper/ERC1155Fuse.sol:344:13:
|
344 | if (to.isContract()) {
| ^^^^^^^^^^^^^

if (to.isContract()) {

Also it is not advisable to use it at all but use tx.origin

https://despac1to.medium.com/carefully-use-openzeppelins-address-iscontract-msg-sender-4136cc6ff66d

@x5engine
Copy link
Author

x5engine commented Sep 7, 2024

Hello 👋

New answer on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant