shareToTokenAmount
This method returns the amount of _token
fees collected for a given _tokenID,
as well the share of an INFT and the amount of shares harvested for a given pool.
Function
Parameters
Parameter
Description
_tokenID
The token ID of an INFT.
_token
the address of an ERC20 token.
Return values
Value
Description
share2amount
The total amount of _token
that a given _tokenID
can harvest.
inftShare
The share of an INFT.
harvestedShares
The amount of shares harvested for a given pool.
Last updated