/
IRewardFacet.sol
35 lines (23 loc) · 1.06 KB
/
IRewardFacet.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
35
pragma solidity 0.5.16;
import "../../../Oracle/PriceOracle.sol";
import "../../../Tokens/VTokens/VToken.sol";
import "../../ComptrollerStorage.sol";
interface IRewardFacet {
function claimVenus(address holder) external;
function claimVenus(address holder, VToken[] calldata vTokens) external;
function claimVenus(address[] calldata holders, VToken[] calldata vTokens, bool borrowers, bool suppliers) external;
function claimVenusAsCollateral(address holder) external;
function _grantXVS(address recipient, uint amount) external;
function getBlockNumber() external view returns (uint);
function getXVSAddress() external pure returns (address);
function getXVSVTokenAddress() external pure returns (address);
function actionPaused(address market, ComptrollerV12Storage.Action action) external view returns (bool);
function releaseToVault() external;
function claimVenus(
address[] calldata holders,
VToken[] calldata vTokens,
bool borrowers,
bool suppliers,
bool collateral
) external;
}