2025-12-18 13:07:35 +08:00
|
|
|
[
|
|
|
|
|
{
|
|
|
|
|
"inputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"name": "assetConfigs",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "asset",
|
|
|
|
|
"type": "address"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint8",
|
|
|
|
|
"name": "decimals",
|
|
|
|
|
"type": "uint8"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "borrowCollateralFactor",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "liquidateCollateralFactor",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "liquidationFactor",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint128",
|
|
|
|
|
"name": "supplyCap",
|
|
|
|
|
"type": "uint128"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint256",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint256"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"name": "assetList",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "baseBorrowMin",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint104",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint104"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "baseToken",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "borrowIndex",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint256",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint256"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "borrowKink",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "borrowPerSecondInterestRateBase",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "borrowPerSecondInterestRateSlopeHigh",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "borrowPerSecondInterestRateSlopeLow",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"name": "collateralReserves",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint256",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint256"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "lastAccrualTime",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint256",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint256"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
2025-12-24 16:41:26 +08:00
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "lendingPriceSource",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
2025-12-18 13:07:35 +08:00
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "storeFrontPriceFactor",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "supplyIndex",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint256",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint256"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "supplyKink",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "supplyPerSecondInterestRateBase",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "supplyPerSecondInterestRateSlopeHigh",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "supplyPerSecondInterestRateSlopeLow",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "targetReserves",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint104",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint104"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "totalBorrowBase",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint104",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint104"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "totalSupplyBase",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint104",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint104"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [],
|
|
|
|
|
"name": "trackingIndexScale",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint64",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint64"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"name": "userBasic",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "int104",
|
|
|
|
|
"name": "principal",
|
|
|
|
|
"type": "int104"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"inputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"internalType": "address",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "address"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"name": "userCollateral",
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"internalType": "uint256",
|
|
|
|
|
"name": "",
|
|
|
|
|
"type": "uint256"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"stateMutability": "view",
|
|
|
|
|
"type": "function"
|
|
|
|
|
}
|
|
|
|
|
]
|