harvestToken

This method harvests the fees (in terms of a given ERC20 token) for a given INFT.

Function

function harvestToken(
    address _token, 
    uint _tokenID, 
    uint _amount
) external returns (uint);

Parameters

ParameterDescription

_token

An ERC20 token address.

_tokenID

The token ID of an INFT.

_amount

The amount of _token to harvest.

Return values

ValueDescription

uint _val

The amount of harvested tokens

Last updated