userAvgPrices

Developers > Best Yield > userAvgPrices

This method gives the average price paid for $IDLE tokens of one specific user.

Function

function userAvgPrices(
    address _user
) external view returns (uint256 avgPrice);

Parameters

ParameterDescription

_user

The address of the user

Return values

ValueDescription

avgPrice

The average price paid for $IDLE tokens

Last updated