permanentBoosting

This method permanently stakes liquidity within the Xfai DEX. Boosts an INFT.

Function

function permanentBoosting(
    uint _amountIn,
    uint _shareMin,
    uint _id,
    uint _deadline
  ) external returns (uint share);

Parameters

Parameter
Description

_amountIn

The amount of XFIT to be permanently staked.

_shareMin

The minimal amount of INFT shares that the user will accept for a given _amount0In.

_id

The token ID of the INFT.

_deadline

The UTC timestamp that if reached, causes the swap transaction to fail automatically.

Return values

Value
Description

share

The new share of the INFT.

Last updated