Structs

FTokenStakingRewardsDetails

struct FTokenStakingRewardsDetails {
  uint256 rewardPerToken;
  uint256 getRewardForDuration;
  uint256 totalSupply;
  uint256 periodFinish;
  uint256 rewardRate;
  uint256 rewardsDuration;
  address rewardsToken;
  address fToken;
}

UserRewardDetails

struct UserRewardDetails {
  uint256 earned;
  uint256 fTokenShares;
  uint256 underlyingAssets;
  uint256 ftokenAllowance;
}

UserFTokenRewardsEntireData

struct UserFTokenRewardsEntireData {
  struct Structs.FTokenDetails fTokenDetails;
  struct Structs.UserPosition userPosition;
  struct Structs.FTokenStakingRewardsDetails fTokenRewardsDetails;
  struct Structs.UserRewardDetails userRewardsDetails;
}