-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathILens.sol
34 lines (31 loc) · 899 Bytes
/
ILens.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
interface ILens {
function getUserUnclaimedRewards(
address[] calldata _poolTokenAddresses,
address _user
) external view returns (uint256 unclaimedRewards);
function getCurrentSupplyBalanceInOf(
address _poolTokenAddress,
address _user
)
external
view
returns (
uint256 balanceOnPool,
uint256 balanceInP2P,
uint256 totalBalance
);
function getMainMarketData(address _poolTokenAddress)
external
view
returns (
uint256 avgSupplyRatePerBlock,
uint256 avgBorrowRatePerBlock,
uint256 p2pSupplyAmount,
uint256 p2pBorrowAmount,
uint256 poolSupplyAmount,
uint256 poolBorrowAmount
);
}