For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dashboard

The dashboard provides a comprehensive view of the OADA ecosystem, including TVL, volume statistics, and user positions.

The OadaFrontendInfo type defines the structure for frontend display information:

// src/features/dAppHub/OADA/Dashboard/index.tsx
// Comprehensive interface for frontend display of OADA protocol information
export type OadaFrontendInfo = {
  baseAssetClass: string; // Base asset class identifier
  oadaAssetClass: string; // OADA token asset class
  soadaAssetClass: string; // sOADA token asset class
  lpAssetClass: string; // Liquidity pool token asset class
  stakedReserves: number; // Total staked reserves
  totalReserves: number; // Total protocol reserves
  timeIntervalIndex: number; // Current time interval index
  currEpoch: number; // Current epoch number
  currEpochEndPosixTime: number; // Current epoch end timestamp
  clearingRate: number; // Current clearing rate
  stakingAmoView: StakingAmoView; // Staking pool information
  batchStakesView: BatchStakeView; // Batch staking information
  stablePoolView: StablePoolView; // Stable pool information
  ownerOadaStakeOrderViews: OadaStakeOrderView[]; // User's pending stake orders
  ownerOadaUnstakeOrderViews: OadaUnstakeOrderView[]; // User's pending unstake orders
  bidViews: StakeAuctionBidView[]; // Current auction bids
  ownerBidViews: StakeAuctionBidView[]; // User's auction bids
};

The BatchStakeView interface defines the structure for batch staking information:

Dashboard features include:

  • Total Value Locked (TVL) visualization

  • Volume statistics for stake auction activities

  • User position overview

  • Yield opportunities table

  • Real-time APY tracking

  • Pending stakes/unstakes management

  • OptimizLock integration

The dashboard provides real-time updates through periodic polling of protocol data and WebSocket connections for immediate updates.

Last updated