all files / plugins/assets/compoundv3/vendor/ ICometRewards.sol

100% Statements 0/0
100% Branches 0/0
100% Functions 0/0
100% Lines 0/0
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                                                                 
// SPDX-License-Identifier: BlueOak-1.0.0
pragma solidity 0.8.17;
 
interface ICometRewards {
    struct RewardConfig {
        address token;
        uint64 rescaleFactor;
        bool shouldUpscale;
    }
 
    struct RewardOwed {
        address token;
        uint256 owed;
    }
 
    function rewardConfig(address) external view returns (RewardConfig memory);
 
    function claim(
        address comet,
        address src,
        bool shouldAccrue
    ) external;
 
    function getRewardOwed(address comet, address account) external returns (RewardOwed memory);
 
    function claimTo(
        address comet,
        address src,
        address to,
        bool shouldAccrue
    ) external;
}