Smart contracts

Base chain update chains below!!

Description of the main smart contracts

VAULT

- the main smart contract where liquidity is located and trading operations are performed

VAULTERROR CONTROLLER

- auxiliary smart contract for Vault, contains text for error codes.

VAULTUTILS

- auxiliary smart contract for Vault, contains additional functions

VAULTREADER

- auxiliary smart contract for reading data from Vault

ROUTER

- smart contract for easier and safer interaction with Vault

ORDERBOOK

- stores a list of orders to be executed

SHORTSTRACKER

- helps to track data about short positions

REFERRALSTORAGE

- stores data about referrals

REFERRALREADER

- additional smart contract for reading data from ReferralStorage

POSITIONROUTER

- smart contract for easier work with position opening. Connects to the router.

POSITIONMANAGER

- additional smart contract for processing liquidations and orders.

POSITIONUTILS

- library for additional functions to PositionManager and PositionManager

TOKENMANAGER

- additional smart contract for team assets management

VAULTPRICEFEED

- price oracle

FASTPRICEFEED

- additional price oracle

FASTPRICEEVENTS

- event spavener for FastPriceFeed

READER

- additional smart contract to read data from other contracts

USDZ

- technical dollar token used within the contract system

ZLPMANAGER

- entry point for liquidity provisioning

ZLP

- liquidity token

Last updated