Developers > Best Yield strategy > getGovTokensAmounts
This method gets a lower bound estimate of the fair share of governance tokens a user is entitled to. The actual amount is calculated during redeem only.
Function
1
functiongetGovTokensAmounts(
2
address _user
3
)externalviewreturns(uint256[]calldata _amounts);
Copied!
Parameters
Parameter
Description
_user
The address of the user
Return value
Value
Description
_amounts
An array of gov tokens amounts ordered following the govTokens order of the storage variable of the contract containing all the governance token addresses supported