change WUSD payment to USDC
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
[
|
||||
{
|
||||
"inputs": [],
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "constructor"
|
||||
},
|
||||
{
|
||||
"inputs": [
|
||||
{
|
||||
@@ -41,6 +46,11 @@
|
||||
"name": "InvalidAddress",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidChainlinkPrice",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidInitialization",
|
||||
@@ -365,7 +375,12 @@
|
||||
"inputs": [
|
||||
{
|
||||
"internalType": "address",
|
||||
"name": "_wusdAddress",
|
||||
"name": "_usdcAddress",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"internalType": "address",
|
||||
"name": "_usdcPriceFeed",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
@@ -509,11 +524,24 @@
|
||||
"inputs": [
|
||||
{
|
||||
"internalType": "address",
|
||||
"name": "_wusdPriceSource",
|
||||
"name": "_usdcAddress",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"name": "setWusdPriceSource",
|
||||
"name": "setUSDCAddress",
|
||||
"outputs": [],
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function"
|
||||
},
|
||||
{
|
||||
"inputs": [
|
||||
{
|
||||
"internalType": "address",
|
||||
"name": "_usdcPriceFeed",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"name": "setUSDCPriceFeed",
|
||||
"outputs": [],
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function"
|
||||
@@ -576,20 +604,7 @@
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "wusdAddress",
|
||||
"outputs": [
|
||||
{
|
||||
"internalType": "address",
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"stateMutability": "view",
|
||||
"type": "function"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "wusdPriceSource",
|
||||
"name": "usdcAddress",
|
||||
"outputs": [
|
||||
{
|
||||
"internalType": "address",
|
||||
|
||||
Reference in New Issue
Block a user