-
Notifications
You must be signed in to change notification settings - Fork 7
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
Bancorv3 adapter #26
base: main
Are you sure you want to change the base?
Bancorv3 adapter #26
Conversation
…, sell function, and buy function
…iceAt, and optimizations
…tions and minor fixes
/// @notice Calculates pair prices for specified amounts | ||
/// @param _amountIn The amount of the token being sold | ||
/// @param _sellToken the token to sell | ||
/// @param _buyToken The token ro buy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// @param _buyToken The token ro buy | |
/// @param _buyToken The token to buy |
/// @param _buyToken The token ro buy | ||
/// @return (fraction) price as a fraction corresponding to the provided | ||
/// amount | ||
function getPriceAt( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would appreciate more comments of what's going on with the price caches. This is really hard to understand as is
|
||
/// @notice Get the liquidity of _buyToken and _sellToken in a specific pool | ||
/// @param _sellToken the token to sell | ||
/// @param _buyToken The token ro buy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// @param _buyToken The token ro buy | |
/// @param _buyToken The token to buy |
…adapter-fixes Feature/sc 1989/sfraxeth adapter fixes
No description provided.