-
Notifications
You must be signed in to change notification settings - Fork 120
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
Does not expose view
#313
Comments
What information about override do you think should be exposed? Just that a function is an override? |
if a function is marked as i think |
I agree that |
an example: In Uniswap V3 - users may call a variety of external contracts which are tailored for different objectives. In one case, one will call the Router contract to execute a swap, but another may call a Quoter contract to simulate the execution of a swap and return some kind of data. Both of these contracts, the router and the quote, use this same callback function, which is called by the core contract towards the end of the original function.
It seems odd to hide this functionality - we are exposing an external function that is callable by the core contracts - but hiding that the function is marked override, which seems misleading and may confuse integrators by leading them to believe the two instances of |
Can you show the pieces of documentation that are affected by this? I remain of the opinion that |
im seeing your point now - i think just doing |
would be nice to return both
view
andoverride
- for the moment they still require manual addition afterward.The text was updated successfully, but these errors were encountered: