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 · 2 comments

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?

@EVMOS02
Copy link

EVMOS02 commented Jan 9, 2025

Hello 👋

New answer on this?

Thank you for reaching to Our Github. Customer service may take some time to respond due to a large number of requests. We believe your case will be resolved as soon as possible. Kindly visit HERE TO CONTACT OUR LIVE SUPPORT DEV for instant support response
Note: Click on the live chat icon at the bottom corner of the page

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

2 participants