mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
minor change
This commit is contained in:
parent
5f7b4913de
commit
de4663563d
|
@ -186,11 +186,11 @@ contract Resolver is Helpers {
|
||||||
* @param pool - address of Gelato Pool.
|
* @param pool - address of Gelato Pool.
|
||||||
* @param burnPercent - in 18 decimal where 100% = 1e18.
|
* @param burnPercent - in 18 decimal where 100% = 1e18.
|
||||||
* @param slippage in 18 decimal where 100% = 1e18.
|
* @param slippage in 18 decimal where 100% = 1e18.
|
||||||
* @return burnAmount - Amount of pool tokens to burn.
|
* @return burnAmt - Amount of pool tokens to burn.
|
||||||
* @return amount0 - Amount of token0 user will get.
|
* @return amount0 - Amount of token0 user will get.
|
||||||
* @return amount1 - Amount of token1 user will get.
|
* @return amount1 - Amount of token1 user will get.
|
||||||
* @return amount0Min - Min amount of token0 user should get.
|
* @return amount0Min - Min amount of token0 user should get.
|
||||||
* @return amount0Min - Min amount of token1 user should get.
|
* @return amount1Min - Min amount of token1 user should get.
|
||||||
*/
|
*/
|
||||||
function getWithdrawParams(address user, address pool, uint burnPercent, uint slippage) public view returns (uint burnAmt, uint amount0, uint amount1, uint amount0Min, uint amount1Min) {
|
function getWithdrawParams(address user, address pool, uint burnPercent, uint slippage) public view returns (uint burnAmt, uint amount0, uint amount1, uint amount0Min, uint amount1Min) {
|
||||||
UserData memory _data = getSinglePosition(user, pool);
|
UserData memory _data = getSinglePosition(user, pool);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user