Files
assetxContracts/abis/LendingPriceFeed.json

288 lines
5.1 KiB
JSON
Raw Normal View History

2025-12-24 16:41:26 +08:00
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
2025-12-24 16:41:26 +08:00
{
"inputs": [
{
"internalType": "address",
"name": "target",
2025-12-24 16:41:26 +08:00
"type": "address"
}
],
"name": "AddressEmptyCode",
"type": "error"
},
{
"inputs": [
2025-12-24 16:41:26 +08:00
{
"internalType": "address",
"name": "implementation",
2025-12-24 16:41:26 +08:00
"type": "address"
}
],
"name": "ERC1967InvalidImplementation",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967NonPayable",
"type": "error"
},
{
"inputs": [],
"name": "FailedCall",
"type": "error"
},
{
"inputs": [],
"name": "InvalidChainlinkPrice",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "InvalidUsdcAddress",
"type": "error"
2025-12-24 16:41:26 +08:00
},
{
"inputs": [],
"name": "InvalidUsdcPriceFeedAddress",
2025-12-24 16:41:26 +08:00
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
2025-12-24 16:41:26 +08:00
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "OwnableInvalidOwner",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "OwnableUnauthorizedAccount",
"type": "error"
},
{
"inputs": [],
"name": "UUPSUnauthorizedCallContext",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "slot",
"type": "bytes32"
}
],
"name": "UUPSUnsupportedProxiableUUID",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
2025-12-24 16:41:26 +08:00
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "UPGRADE_INTERFACE_VERSION",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
2025-12-24 16:41:26 +08:00
{
"inputs": [
{
"internalType": "address",
"name": "_token",
"type": "address"
}
],
"name": "getPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_usdcAddress",
"type": "address"
},
{
"internalType": "address",
"name": "_usdcPriceFeed",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
2025-12-24 16:41:26 +08:00
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
2025-12-24 16:41:26 +08:00
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
2025-12-24 16:41:26 +08:00
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceOwnership",
2025-12-24 16:41:26 +08:00
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_usdcAddress",
2025-12-24 16:41:26 +08:00
"type": "address"
}
],
"name": "setUsdcAddress",
2025-12-24 16:41:26 +08:00
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
2025-12-24 16:41:26 +08:00
{
"internalType": "address",
"name": "newImplementation",
2025-12-24 16:41:26 +08:00
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
2025-12-24 16:41:26 +08:00
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
2025-12-24 16:41:26 +08:00
"type": "function"
},
{
"inputs": [],
"name": "usdcAddress",
2025-12-24 16:41:26 +08:00
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]