Mean Finance
Search…
Interacting with Mean Finance

Our Contracts

Mean Finance has a few different contracts that you can interact with.

Global Parameters

This contract contains configuration parameters for the whole Mean Finance ecosystem, like:
  • Swap fee: fee charged to positions during swaps
  • Loan fee: fee charged on flash loans
  • Swap intervals: all supported swap intervals

Factory

The factory facilitates the creation of new Mean Finance pools, while also keeping track of all created pairs.

Pairs

Pairs manage positions, swapping between two ERC20 assets, and flash loans.

Oracle

The oracle is in charge of calculating the exact price between two ERC20 assets at a certain point in time.

Swapper

The swapper contract will take a pair's swap, execute the opposite trade in a DEX in order to return the expected funds and complete the swap.

Smart Contract Registry

The following contracts have been deployed to mainnet and all major testnets (Ropsten, Rinkeby, Goerli and Kovan)
Contract
Address
Global Parameters
0x0dBCcA406b622ed1f455abC9560d51Aa0C81560F
Factory
0xaC4a40a995f236E081424D966F1dFE014Fe0e98A
Oracle
0xF79ad166c7EC3a8d49c0FB3903b8c26f46FF0EE0
Swapper
0x5985B9a914bCd6A46d72690Df78c1640064c499e
Token Descriptor
0x51B2f9a89cB8033262CE0F7BA8618cafE11cA679
Keep3r Job
0xEcbA21E26466727d705d48cb0a8DE42B11767Bf7

Interfaces

If you'd like to interact with any of our contracts, we highly recommend that you install our npm package and import our interfaces. To do so, just run:
npm i @mean-finance/dca-v1
Last modified 3mo ago