mint

This method creates a new INFT, the share of which is determined by the amount of XFIT locked in the Factory.

Function

function mint(
    address _to
) external returns (uint tokenID, uint share);

Parameters

ParameterDescription

_to

The address to which the newly minted INFT should be sent to.

Return values

ValueDescription

tokenID

The ID of the newly minted INFT.

share

The share value of the INFT.

Last updated