πŸ› οΈAMM Contracts

Handles Market Maker and Price feeds

Amm Viewer
  • Keeps track of VAmm contracts and their events

  • Gateway for Theseus to change individual amm functionality

  • Gateway to payload contract for index prices

Git Hub

VAmm
  • Representation for all VAmms

  • Keeps track of all positions on exchange for asset

  • Automatic market maker for the asset

  • Keeps track of quote asset / base asset and K

  • Able to freeze and unfreeze when no positions present to match index price

  • Calculates future funding rate

  • Sets snapshots for funding rates and price data

Git Hub

Payload
  • Redstone implementation for price feeds

  • Gathers price feeds for assets with payload input

Git Hub

Last updated