πŸ› οΈVault Contracts

The vault contracts handle all USDC transactions. This is the only contract to actually hold USDC sub Theseus which has the ability.

Balances

Mappings

  • trade balances

  • trade collateral

  • available balance

  • pool total USDC supply

  • pool available USDC supply

  • pool outstanding loan supply

  • is amm

Functionality

  • handles user's deposits and withdraws

Git Hub

Vault Main

Mappings

  • is active

  • positions

  • trade ids

Functionality

  • add / remove collateral

  • pay

    • interest

    • ffr

  • add amm

Git Hub

Exchange

Functionality

  • open positions

  • close positions

  • add / remove liquidity

  • liquidate position

  • freeze / unfreeze staking

Git Hub

Last updated