🤖Microservices

UWU Protocol incorporates microservices, also known as keepers, to support the functionality of both the core protocol and its various optional services. These microservices play a vital role in broadcasting transactions, storing data, and performing other essential operations. For detailed information on all the microservices utilized, refer to the complete registry provided below.

Oracle Keeper

The Oracle Keeper is a microservice designed to ensure the accuracy of UWU Protocol's price data. It operates by broadcasting a transaction that relays price information from the protocol's oracle contract to its oracle proxy contract. Before broadcasting, the Oracle Keeper performs multiple efficiency checks. Anyone can run an instance of the Oracle Keeper.

You can view the source code for the Oracle Keeper by clicking here. Additionally, you can view one of the primary Stacks account running an instance of the Oracle Keeper by clicking here.

Data Fetcher

The Data Fetcher is a microservice that collects and stores data relevant to UWU Protocol into a MongoDB database. It's primarily used for creating historical analytics by gathering a variety of information, including protocol statistics and market data. Anyone can run an instance of the Data Fetcher.

You can view the source code for the Data Fetcher by clicking here. Additionally, you can access an analytics dashboard, which utilizes data from the Data Fetcher, by clicking here.

Liquidation Keeper

The Liquidation Keeper is a microservice designed to monitor all Vaults within UWU Protocol and, if enabled, participates in liquidations. If enabled, it attempts to purchase liquidated Vaults and initiates the liquidation process for those eligible. Additionally, it stores liquidation data and insights into a MongoDB database if configured to do so.

Currently, the Liquidation Keeper is still in development, and its source code is not yet available.

Arbitrage Bot

The Arbitrage Bot is a microservice designed to monitor the price of UWU on the open market and execute swaps if a profitable arbitrage opportunity arises. It tracks multiple liquidity sources and can interact with UWU Swap's smart contracts, enabling the microservice to route its swaps through multiple liquidity sources in a single transaction.

Currently, the Arbitrage Bot is still in development, and its source code is not yet available.

Last updated