Skip to content
Docs
App

Protocol

Contracts and addresses

The chain, the Uniswap V2 and V3 contracts the vaults trade through, and where each protocol contract lives.

Everything on fractions.fi runs on Robinhood Chain, and every action you take is a transaction you can look up on the chain's explorer.

The chain

Add the network to a wallet with the chain id and RPC above; the app also offers to add it the first time you connect. Vaults buy and sell through the Uniswap routers listed: the V2 router for tokens in a V2 pool, and the V3 swap router for tokens in a V3 pool, with the V3 factory and quoter used to find the pool and price a trade before it is sent. Wrapped ETH is the form of ETH the exchange understands, and USDG is the dollar-pegged token used to price things in dollars.

The protocol's contracts

The list below is filled in from the deployment record in this codebase. Where a contract has not been deployed yet, it says so.

ContractAddressWhat it does
Index factoryNot deployed yetCreates a new vault for every index.
Index vaultNot deployed yetThe code every vault runs: holds the basket, mints and burns index tokens.
Fee splitterNot deployed yetSplits every fee between the creator, stakers and the buyback.
Buyback and burnNot deployed yetBuys $FRACTIONS with its share of fees and destroys it.
StakingNot deployed yetHolds staked $FRACTIONS and pays out ETH.
$FRACTIONSNot deployed yetThe protocol token, launched on PONS.
Swap libraryNot deployed yetThe routine vaults use to trade on the exchange.
GovernanceNot deployed yetThe address that can set the influencer allowlist and protocol settings.

Each index also has its own vault, created by the index factory at the moment the index is made. A vault's address is on its index page, /i/<id>, with a link to the explorer.

Checking for yourself

  • Open any address above on the explorer to see its code, its balance and every transaction it has been part of.
  • An index vault's page on the explorer shows the exact tokens it holds. Those holdings, divided by the index tokens in circulation, are the price. See How the price works.
  • The fee splitter's page shows every fee ever paid and where it went. See Fees.
  • The contracts have not been audited yet. What has been tested, and what they can and cannot do, is on Security and audits.