Structs

Git Source

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 {
    FluidLendingResolverStructs.FTokenDetails fTokenDetails;
    FluidLendingResolverStructs.UserPosition userPosition;
    FTokenStakingRewardsDetails fTokenRewardsDetails;
    UserRewardDetails userRewardsDetails;
}