NFMUniswap Contract

Here you can find all information about the NFM Liquidity contract.

NFMUniswap.sol

This contract is deployed on Polygon at the following address:

0xb1f9385755Fe700B95D677a207dC815376bA1239arrow-up-right

This contract is the heart of the Uniswap implementation of the NFM ecosystem. The NFMLiquidity and the NFMSwap contract depend on the information and functionality of this contract.

The main functionalities are:

  • Administration of all currencies that are made available to the Uniswap protocol, like WBTC, WETH, DAI, USDC, USDT,...

  • Safekeeping of the LP tokens of every Pool

  • Transaction management between the Liquidity and Swap protocol

  • Ensuring the timely redemption of the LP tokens in 11 years

The following UniswapV2 interfaces were integrated for the implementation:

  • IUniswapV2Router01

  • IUniswapV2Router02

  • IUniswapV2Pair

  • IUniswapV2Factory

For more information on the UniswapV2 interfaces read the interface documentation.

Unlike other projects, the contract is designed in such a way that the protocol can provide functionality to multiple currencies at the same time.

The LP tokens will be blocked for a period of 11 years.

After this period, a process is activated that automatically redeems the LP tokens on a monthly basis.

The resulting profits are divided as follows:

  • NFM holders get 20% of the profits. This amount is paid out via the bonus protocol.

  • The Governance (DAO) receives 30% of the profits.

  • The NFM Treasury receives 40% of the profits. This share is invested profitably and is intended to support the Bonus Protocol in the future. Investments are chosen through a voting system.

  • The developers of the entire project receive 10% of the profits as a commission.

The algorithm creates a redemption of LP tokens in 10 redemptions per pool. This is to prevent price fluctuations in the open market.

Since the project works on Polygon, the following Router address was used:

0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ffarrow-up-right

Last updated