Astro
  • Overview
    • Welcome to Astro
    • Official Links
    • FAQ
    • Brand Kit
      • Q Arweave (qAR) Support
  • Astro Protocol
    • What is USDA?
    • Litepaper
      • Introduction
      • The Astro Protocol
      • Protocol Architecture
      • Risk factors and Mitigation
      • Governance of the Protocol
      • Conclusion
      • Acknowledgements
      • Legal Disclaimer
    • Protocol Docs (Coming Soon)
  • Quantum
    • What is Quantum?
      • Q-Arweave (qAR)
      • Quantum Architecture
      • MPC
      • Custody Infrastructure Support
      • Reserve Management Overview
      • Stats - Proof Of Reserves (PoR)
  • Security
    • Audits
Powered by GitBook
On this page
  • Basic Concepts
  • Formal Definitions
  • Astro Protocol Flow
  1. Astro Protocol
  2. Litepaper

The Astro Protocol

PreviousIntroductionNextProtocol Architecture

Last updated 9 months ago

Astro Protocol is a blockchain-based framework that enables the minting of stablecoins and synthetic assets, backed by on-chain collateral, stored and managed by processes developed within the AO compute environment. Unlike existing platforms, Astro introduces dynamic liquidation processes and stability modules to enhance system resilience and user trust.

Basic Concepts

Astro Protocol utilizes the Vault Contract as its core, where users lock in collateral to mint synthetic stablecoins. The protocol's design includes unique mechanisms for liquidation and stability, supported by real-time data from integrated oracle services. We also introduce a Protocol Hosted Wallet (PHW) and Wrapped Arweave (wAR) tokens, extending functionality and usability, making the protocol adaptable to a wide range of blockchain environments. Notice: In this document, the terms "contract" and "process" are used interchangeably. Within the AO compute environment, processes are analogous to contracts, and this terminology reflects their functional equivalence in the context of the Astro Protocol.

Formal Definitions

  • Vault Contract (VC): Manages the deposits, withdrawals, and issuance of synthetic assets against locked collateral.

  • Oracle Module (OM): Provides real-time pricing data by integrating feeds from sources like ChainLink, Pyth, and RedStone.

  • Liquidation Module (LM): Activates to handle undercollateralized positions via direct user actions or systematic protocol-driven auctions.

  • Stability Module (SM): Manages liquidity pools to mitigate systemic risks and ensure protocol stability.

  • Protocol Hosted Wallet (PHW): A dedicated wallet system designed to hold and manage Arweave tokens securely within the protocol.

  • Wrapped Arweave (wAR): A synthetic version of AR transferable within the aoComputer, designed for use within the Astro Protocol and other processes on the computer.

Astro Protocol Flow

Astro's Vault Contract is the entry point for users to interact with the protocol by depositing collateral and minting synthetic stablecoins. The Vault Contract holds the information needed to calculate the USD equivalent and USDA value and fees.

Let the following be defined:

  • USD-equivalent value as VVV

  • Quantity as qqq

  • The price feed for the given currency identifier as PPP

  • Collateralization factor as ccc

  • Calculated fees as FFF

  • Stability fee percentage as sss

  • Asset loan as LLL

  • Amount of currency as amountamountamount

Deposit and Mint

Users deposit collateral into the Vault Contract, which allows them to mint synthetic assets proportional to the value of their deposit, while maintaining a collateralization ratio deemed 'safe' by the protocol.

Liquidation Processes

In the event of market downturns affecting collateral values, the Liquidation Module is triggered to secure the protocol's assets and users' positions. The Contract is responsible for calculating collateralization ratios, liquidation bonuses, total redeemable collateral, and repayment amounts.

The current USD equivalent value of a currency is: V(currency,q)=q×P(currency)V(\text{currency}, q) = q \times P(\text{currency})V(currency,q)=q×P(currency)

The USDA loan value is: L(currency,q,c)=V(currency,q)cL(\text{currency}, q, c) = \frac{V(\text{currency}, q)}{c}L(currency,q,c)=cV(currency,q)​

The current fee calculation is: F(s,amount)=s×amountF(s, \text{amount}) = s \times \text{amount}F(s,amount)=s×amount

The collateralization ratio calculation is: ratio=Collateral Value in USDUSDA Debt\text{ratio} = \frac{\text{Collateral Value in USD}}{\text{USDA Debt}}ratio=USDA DebtCollateral Value in USD​

The liquidation bonus calculation is: Bonus=Liquidated Collateral×Liquidation Bonus Percentage100\text{Bonus} = \text{Liquidated Collateral} \times \frac{\text{Liquidation Bonus Percentage}}{100}Bonus=Liquidated Collateral×100Liquidation Bonus Percentage​

The total redeemable collateral calculation is: Total Redeemable=Liquidated Collateral+Bonus\text{Total Redeemable} = \text{Liquidated Collateral} + \text{Bonus}Total Redeemable=Liquidated Collateral+Bonus

The repayment calculation is: Repayment=Debt×(1+Stability Fee)\text{Repayment} = \text{Debt} \times (1 + \text{Stability Fee})Repayment=Debt×(1+Stability Fee)