Skip to content

FluidStakingMerkleResolver ​

Git Source

Fluid Lending protocol Merkle Staking Rewards resolver

State Variables ​

FUSDC ​

solidity
IFToken public constant FUSDC = IFToken(0x9Fb7b4477576Fe5B32be4C1843aFB1e55F251B33);

FUSDT ​

solidity
IFToken public constant FUSDT = IFToken(0x5C20B550819128074FD538Edf79791733ccEdd18);

FUSDC_STAKING ​

solidity
IFluidLendingStakingRewards public constant FUSDC_STAKING =
    IFluidLendingStakingRewards(0x2fA6c95B69c10f9F52b8990b6C03171F13C46225);

FUSDT_STAKING ​

solidity
IFluidLendingStakingRewards public constant FUSDT_STAKING =
    IFluidLendingStakingRewards(0x490681095ed277B45377d28cA15Ac41d64583048);

Functions ​

getUsersPosition ​

solidity
function getUsersPosition(address[] calldata users_, IFToken fToken_, IFluidLendingStakingRewards stakingContract_)
    public
    view
    returns (UserPosition[] memory positions_);

getUsersPositionFUSDC ​

solidity
function getUsersPositionFUSDC(address[] calldata users_) public view returns (UserPosition[] memory positions_);

getUsersPositionFUSDT ​

solidity
function getUsersPositionFUSDT(address[] calldata users_) public view returns (UserPosition[] memory positions_);

Structs ​

UserPosition ​

solidity
struct UserPosition {
    address user;
    uint256 shares;
    uint256 normalShares;
    uint256 stakeShares;
}