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,4 +1,9 @@
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
@@ -186,12 +191,6 @@
"name": "vault",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "wusdPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
@@ -327,7 +326,7 @@
},
{
"internalType": "address",
"name": "_wusd",
"name": "_usdc",
"type": "address"
},
{
@@ -337,13 +336,13 @@
},
{
"internalType": "uint256",
"name": "_initialWusdPrice",
"name": "_initialYtPrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_initialYtPrice",
"type": "uint256"
"internalType": "address",
"name": "_usdcPriceFeed",
"type": "address"
}
],
"name": "createVault",
@@ -381,7 +380,7 @@
},
{
"internalType": "address",
"name": "_wusd",
"name": "_usdc",
"type": "address"
},
{
@@ -391,13 +390,13 @@
},
{
"internalType": "uint256[]",
"name": "_initialWusdPrices",
"name": "_initialYtPrices",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "_initialYtPrices",
"type": "uint256[]"
"internalType": "address",
"name": "_usdcPriceFeed",
"type": "address"
}
],
"name": "createVaultBatch",
@@ -492,7 +491,7 @@
},
{
"internalType": "uint256",
"name": "wusdPrice",
"name": "usdcPrice",
"type": "uint256"
},
{
@@ -791,11 +790,6 @@
"name": "_vault",
"type": "address"
},
{
"internalType": "uint256",
"name": "_wusdPrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_ytPrice",
@@ -814,11 +808,6 @@
"name": "_vaults",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "_wusdPrices",
"type": "uint256[]"
},
{
"internalType": "uint256[]",
"name": "_ytPrices",