-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ contract Frontend { | |
controller = IController(controller_); | ||
} | ||
|
||
function getLiquidBoxSharePrice(address alm, address priceToken) public view returns(uint price) { | ||
function getLiquidBoxSharePrice(address alm, address priceToken) public view returns (uint price) { | ||
ITetuLiquidator liquidator = ITetuLiquidator(controller.liquidator()); | ||
ILiquidBox lb = ILiquidBox(alm); | ||
address token0 = lb.token0(); | ||
|
@@ -51,7 +51,10 @@ contract Frontend { | |
} | ||
} | ||
Check warning Code scanning / Slither Unused return Medium
Frontend.getLiquidBoxSharePrice(address,address) ignores return value by (total0,total1,None) = lb.getTotalAmounts()
Check notice Code scanning / Slither Calls inside a loop Low Check notice Code scanning / Slither Calls inside a loop Low Check notice Code scanning / Slither Calls inside a loop Low
Frontend.getLiquidBoxSharePrice(address,address) has external calls inside a loop: token0 = lb.token0()
Check notice Code scanning / Slither Calls inside a loop Low
Frontend.getLiquidBoxSharePrice(address,address) has external calls inside a loop: decimals = IERC20Metadata(token0).decimals()
Check notice Code scanning / Slither Calls inside a loop Low
Frontend.getLiquidBoxSharePrice(address,address) has external calls inside a loop: totalSupply = lb.totalSupply()
Check notice Code scanning / Slither Calls inside a loop Low
Frontend.getLiquidBoxSharePrice(address,address) has external calls inside a loop: token1 = lb.token1()
Check notice Code scanning / Slither Calls inside a loop Low
Frontend.getLiquidBoxSharePrice(address,address) has external calls inside a loop: decimals_scope_0 = IERC20Metadata(token1).decimals()
Check notice Code scanning / Slither Calls inside a loop Low
Frontend.getLiquidBoxSharePrice(address,address) has external calls inside a loop: liquidator = ITetuLiquidator(controller.liquidator())
Check notice Code scanning / Slither Calls inside a loop Low
Frontend.getLiquidBoxSharePrice(address,address) has external calls inside a loop: (total0,total1,None) = lb.getTotalAmounts()
|
||
|
||
function allVaults(address user, address priceToken) | ||
function allVaults( | ||
address user, | ||
address priceToken | ||
) | ||
external | ||
view | ||
returns ( | ||
|