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

Grammar needs to support calltype and callopts #6

Open
dmfxyz opened this issue May 13, 2022 · 0 comments
Open

Grammar needs to support calltype and callopts #6

dmfxyz opened this issue May 13, 2022 · 0 comments

Comments

@dmfxyz
Copy link
Contributor

dmfxyz commented May 13, 2022

The grammer currently only lets you do stuff like
int x = shitcoin.balanceOf(address 0xbeef)
which likely implies an implicit view and not a signed called or a delegated call. Whatever it implies, the other two types are missing.

The grammar should be extended to support what's described in the readme
int x = shitcoin.BalanceOf.view{gas: 10000}(address 0xbeef)

imo the calltype should be optional and default to one of view or call.

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