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

Request: contract functions check #2753

Closed
rstormsf opened this issue Aug 15, 2017 · 2 comments
Closed

Request: contract functions check #2753

rstormsf opened this issue Aug 15, 2017 · 2 comments

Comments

@rstormsf
Copy link

It would be great if I could write something like this:

require(address.implements(METHOD_NAME))

to check if the address has some method_name

@axic
Copy link
Member

axic commented Aug 15, 2017

I'd suggest having a look at ethereum/EIPs#165 which accomplishes this.

@axic
Copy link
Member

axic commented Dec 2, 2017

Closing this now as it seems to be outside the scope of the language at the moment.

@axic axic closed this as completed Dec 2, 2017
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