The Flat Money Protocol
  • 📖Introduction to Flat Money
    • 🎓Key Definitions
  • ⚙️The Flat Money Protocol
    • 🪙The Flat Money (UNIT) Market
    • 📈The Perpetual Futures Market
    • ⚖️How Flat Money Maintains a Delta-Neutral Marketplace
  • 🪙Acting as a UNIT LP
  • 📈Acting as a Leverage Trader
  • 🔐Protocol Security
  • 🌐Pyth Network Price Oracle
  • *️Protocol Risks
  • 👀Flat Money Points (FMP)
  • 💻Developer Resources
  • 🎨Flat Money Brand Kit
Powered by GitBook
On this page

Developer Resources

PreviousFlat Money Points (FMP)NextFlat Money Brand Kit

Last updated 1 year ago

Flat Money's Smart Contracts

Contract
Address
Description (if applicable)

FlatcoinVault

This contract holds the rETH deposited into the Flat Money (UNIT) Market to mint UNIT and the rETH Perpetual Futures Market as margin collateral.

LeverageModule

This is the leverage position NFT address. You can see holders and transfers. Note: the 0x00 holding is the closed positions.

StableModule

The UNIT token contract.

DelayedOrder

The contract users interact with to open orders.

OracleModule

Used to fetch the Pyth and Chainlink rETH pricing information.

LiquidationModule

Handles leverage position liquidations.

PointsModule

The Flat Money Points (FMP) contract.

LimitOrder

Handles leverage position limit close orders.

KeeperFee

Calculations for keeper fee estimates.

Viewer

Functions to support the frontend. Also includes the UNIT price.

More information will be added in the near future!

💻
0x95Fa1ddc9a78273f795e67AbE8f1Cd2Cd39831fF
0xdB0Cd65dcc7fE07003cE1201f91E1F966fA95768
0xb95fB324b8A2fAF8ec4f76e3dF46C718402736e2
0x6D857e9D24a7566bB72a3FB0847A3E0e4E1c2879
0xAba633927BD8622FBBDd35D291A914c2fDAaE1Ff
0x981a29dC987136d23dF5a0f67d86f428Fb40E8Aa
0x59525b9b23ADc475EF91d98dAe06B568BA574Ce5
0x3FC737910B83381FD8288fD6c6d33Dacdf05307B
0xe68D0FE1dA19D07a9265BD3cE0EFc4BfFB5EC715
0x509b85EEF0df77992b29aeDdD22C7119Db87ce16