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

Support ABI overload for fe contract. #789

Open
vuvoth opened this issue Sep 7, 2022 · 1 comment
Open

Support ABI overload for fe contract. #789

vuvoth opened this issue Sep 7, 2022 · 1 comment

Comments

@vuvoth
Copy link
Contributor

vuvoth commented Sep 7, 2022

What is wrong?

There's no method overloading in Fe. However for some standard EIP we need overloading method. E.g safeTransferFrom for ERC721 token. We should support it as well.

How can it be fixed

🤔

@rafael-abuawad
Copy link

I think that Fe doesn't support overloading because is an anti-pattern in Rust, and Fe is trying to stay close to Rust-like syntax like Vyper is to Python. Abstraction without overhead: traits in Rust

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