NFMOracle Contract

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

NFMOracle.sol

This contract is deployed on Polygon at the following address:

0x080ED3D44991be25206BE2867d18212ab12bE33Earrow-up-right

This contract is responsible for the price queries (Price Oracle).

It implements Chainlink's AggregatorV3Interface. (For more information see: https://docs.chain.link/docs/matic-addresses/arrow-up-right)

The contract has been designed to include all permitted currencies allowed in the NFM ecosystem.

The list of currencies can be expanded indefinitely. It only needs the coin address and the AggregatorV3 address from the Chainlink interface.

Since we use the dollar exchange rate for the calculation rate and the returned prices have 8-digit decimal numbers, the price is converted to 6 decimal places in the contract within the function.

The following currencies on the Polygon network are permitted within the NFM ecosystem:

Currency
Polygon Address

Last updated