Smart contracts

Base chain update chains below!!

  • Vault: 0xbc2DC9feB0a8202eE4e3B908f55549684bf1C4e8

  • Router: 0xfd61c684c6025dd30Db53462E2BF89186e125819

  • OrderBook: 0x510aEe84DDD7a0ee8980AD4F4D9cb1df9b487595

  • ShortsTracker: 0xb52748154b6732858aB4924C20723fAB851c1a21

  • ReferralReader: 0xd5d7B6D8c56e13dE6F7Cdfa2FfCA3a9a72fb2f22

  • PositionRouter: 0xf9f3881090f263f48cc306549B5E50AE22b5e01A

  • PositionManager: 0xACB602d1F3D94FB3cb337455d5000c3cd0c30945

  • TokenManager: 0x08E05C80D793c7fDCefD71D969257f7b34f31D6a

  • VaultPriceFeed: 0xC63912FA9973F686F47a9666F8ACAe02f0B991F5

  • FastPriceEvents: 0x4C69Ae56882d5d584e63651E751724bF18b73120

  • FastPriceFeed: 0x65f9FfB905983a57E9468003e1925a7FFAc5bFbC

  • Reader: 0x6c85e04183dC05fA80EA33b0BFe603bC7605d9D6

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