change WUSD payment to USDC

This commit is contained in:
2025-12-24 16:41:26 +08:00
parent d2e9377f78
commit e21ee7a5df
160 changed files with 6038 additions and 4050 deletions

View File

@@ -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);
}

View File

@@ -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);
}
}

View File

@@ -0,0 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IYTLendingPriceFeed {
function getPrice(address _token) external view returns (uint256);
}

View File

@@ -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);
}