We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bs.token.length
BacketFacet.sol
0x0x0x
In calcTokensForAmountExit and calcTokensForAmount, bs.token.length is used thrice. It would be more gas efficient to simply cache it.
calcTokensForAmountExit
calcTokensForAmount
The text was updated successfully, but these errors were encountered:
0x0x0x issue #246
98b894e
Duplicate of #249 from same warden.
Sorry, something went wrong.
No branches or pull requests
Handle
0x0x0x
Vulnerability details
In
calcTokensForAmountExit
andcalcTokensForAmount
,bs.token.length
is used thrice. It would be more gas efficient to simply cache it.The text was updated successfully, but these errors were encountered: