FluidStakingRewardsResolver ​
Fluid Lending protocol Staking Rewards (for fTokens) resolver Implements various view-only methods to give easy access to Lending protocol staked fToken rewards data.
LENDING_RESOLVER ​
solidity
contract IFluidLendingResolver LENDING_RESOLVER
FluidStakingRewardsResolver__AddressZero ​
solidity
error FluidStakingRewardsResolver__AddressZero()
thrown if an input param address is zero
constructor ​
solidity
constructor(address lendingResolver_) public
getFTokenStakingRewardsEntireData ​
solidity
function getFTokenStakingRewardsEntireData(address reward_) public view returns (struct Structs.FTokenStakingRewardsDetails r_)
getFTokensStakingRewardsEntireData ​
solidity
function getFTokensStakingRewardsEntireData(address[] rewards_) public view returns (struct Structs.FTokenStakingRewardsDetails[] r_)
getUserRewardsData ​
solidity
function getUserRewardsData(address user_, address reward_, struct Structs.FTokenDetails fTokenDetails_) public view returns (struct Structs.UserRewardDetails u_)
getUserAllRewardsData ​
solidity
function getUserAllRewardsData(address user_, address[] rewards_, struct Structs.FTokenDetails[] fTokensDetails_) public view returns (struct Structs.UserRewardDetails[] u_)
underlyingTokenToRewardsMap ​
solidity
struct underlyingTokenToRewardsMap {
address underlyingToken;
address rewardContract;
}
getUserPositions ​
solidity
function getUserPositions(address user_, struct FluidStakingRewardsResolver.underlyingTokenToRewardsMap[] rewardsMap_) public view returns (struct Structs.UserFTokenRewardsEntireData[] u_)