struct RateData {
uint256 version;
struct Structs.RateDataV1Params rateDataV1;
struct Structs.RateDataV2Params rateDataV2;
}
struct OverallTokenData {
uint256 borrowRate;
uint256 supplyRate;
uint256 fee;
uint256 lastStoredUtilization;
uint256 storageUpdateThreshold;
uint256 lastUpdateTimestamp;
uint256 supplyExchangePrice;
uint256 borrowExchangePrice;
uint256 supplyRawInterest;
uint256 supplyInterestFree;
uint256 borrowRawInterest;
uint256 borrowInterestFree;
uint256 totalSupply;
uint256 totalBorrow;
uint256 revenue;
uint256 maxUtilization;
struct Structs.RateData rateData;
}
struct UserSupplyData {
bool modeWithInterest;
uint256 supply;
uint256 withdrawalLimit;
uint256 lastUpdateTimestamp;
uint256 expandPercent;
uint256 expandDuration;
uint256 baseWithdrawalLimit;
uint256 withdrawableUntilLimit;
uint256 withdrawable;
}
struct UserBorrowData {
bool modeWithInterest;
uint256 borrow;
uint256 borrowLimit;
uint256 lastUpdateTimestamp;
uint256 expandPercent;
uint256 expandDuration;
uint256 baseBorrowLimit;
uint256 maxBorrowLimit;
uint256 borrowableUntilLimit;
uint256 borrowable;
uint256 borrowLimitUtilization;
}