change WUSD payment to USDC
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.0;
|
||||
|
||||
/**
|
||||
* @title IPriceFeed
|
||||
* @notice 价格预言机接口
|
||||
*/
|
||||
interface IPriceFeed {
|
||||
function getPrice() external view returns (uint256 price);
|
||||
function decimals() external view returns (uint8);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.0;
|
||||
|
||||
interface IYTToken {
|
||||
interface IYTAssetVault {
|
||||
function ytPrice() external view returns (uint256);
|
||||
function wusdPrice() external view returns (uint256);
|
||||
}
|
||||
}
|
||||
6
contracts/interfaces/IYTLendingPriceFeed.sol
Normal file
6
contracts/interfaces/IYTLendingPriceFeed.sol
Normal file
@@ -0,0 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.0;
|
||||
|
||||
interface IYTLendingPriceFeed {
|
||||
function getPrice(address _token) external view returns (uint256);
|
||||
}
|
||||
@@ -11,5 +11,7 @@ interface IYTVault {
|
||||
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);
|
||||
function ytPrice() external view returns (uint256);
|
||||
function wusdPrice() external view returns (uint256);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user