commit
This commit is contained in:
15
contracts/interfaces/IYTVault.sol
Normal file
15
contracts/interfaces/IYTVault.sol
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.0;
|
||||
|
||||
interface IYTVault {
|
||||
function buyUSDY(address _token, address _receiver) external returns (uint256);
|
||||
function sellUSDY(address _token, address _receiver) external returns (uint256);
|
||||
function swap(address _tokenIn, address _tokenOut, address _receiver) external returns (uint256);
|
||||
function getPoolValue(bool _maximise) external view returns (uint256);
|
||||
function getPrice(address _token, bool _maximise) external view returns (uint256);
|
||||
function getMaxPrice(address _token) external view returns (uint256);
|
||||
function getMinPrice(address _token) external view returns (uint256);
|
||||
function getSwapFeeBasisPoints(address _tokenIn, address _tokenOut, uint256 _usdyAmount) external view returns (uint256);
|
||||
function getRedemptionFeeBasisPoints(address _token, uint256 _usdyAmount) external view returns (uint256);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user