Structs ​
Structs ​
FTokenStakingRewardsDetails ​
solidity
struct FTokenStakingRewardsDetails {
uint256 rewardPerToken;
uint256 getRewardForDuration;
uint256 totalSupply;
uint256 periodFinish;
uint256 rewardRate;
uint256 rewardsDuration;
address rewardsToken;
address fToken;
}
UserRewardDetails ​
solidity
struct UserRewardDetails {
uint256 earned;
uint256 fTokenShares;
uint256 underlyingAssets;
uint256 ftokenAllowance;
}
UserFTokenRewardsEntireData ​
solidity
struct UserFTokenRewardsEntireData {
FluidLendingResolverStructs.FTokenDetails fTokenDetails;
FluidLendingResolverStructs.UserPosition userPosition;
FTokenStakingRewardsDetails fTokenRewardsDetails;
UserRewardDetails userRewardsDetails;
}