add view function
This commit is contained in:
@@ -21,6 +21,7 @@ interface IYTPoolManager {
|
||||
|
||||
function getPrice(bool _maximise) external view returns (uint256);
|
||||
function getAumInUsdy(bool _maximise) external view returns (uint256);
|
||||
function getAddLiquidityOutput(address _token, uint256 _amount) external view returns (uint256 usdyAmount, uint256 ytLPMintAmount);
|
||||
function getRemoveLiquidityOutput(address _tokenOut, uint256 _ytLPAmount) external view returns (uint256 usdyAmount, uint256 amountOut);
|
||||
function onLPTransfer(address _from, address _to) external;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user