---
# System prepended metadata

title: Financial Reporting Tool

---

# Financial Reporting Tool

## Overview

This document outlines the tasks and responsibilities for the development of a Financial Reporting tool. 

## Responsibilities

**Hemant**
   - To start with mempool.space API integrations. Until UI team finishes the first 2 (Site operation, site KPIs) pages. APIs can be made available for UI team usage.

**Parag**
   - Work on UI wireframes in the following order:
     - Site Operation page (~ 1.5 days)
     - Site KPIs (~ 1 day)
     - Bitcoin Network Data page (~ 1 day)
     - Production Data (~ 0.5 day)
     - Site Energy Data (~ 1.5 days)
     - Container KPIs (~ 0.5 day)
     - Miner KPI (~ 0.5 day)

## Tasks

### Common Sites Setup

- Setup all sites common aggregate under a new URL.
- **Example URL:** [moria-uy.tether.to](moria-uy.tether.to)

### Bitcoin Network Data Page (UI ~ 4 days, BE ~ 7 days)

- **Task:** Integrate mempool.space API with BE and expose the required data (Hemant).
  - **Data:**
    - Block height
    - Current Price
    - 24 hr Price Change
    - Historical Price
    - Current Network Hashrate
    - Current Difficulty
    - Next difficulty adjustment date
    - Difficulty adjustment Progress
    - Difficulty change from previous adjustment
    - Difficulty change estimate next adjustment
    - Average block time
    - Block reward averages (1 day, 7 days, 30 days)
    - Transaction fees (Fastest, 30min, 1hr)
  - **Duration:** ~ 7 days?
- **Task:** Figma design and review (~ 1 day).
- **Task:** UI components (~ 2 days).
- **Task:** UI, BE integration (~ 1 day).

### Site Operation Page (UI ~ 4.5 days)

- **Task:** Figma design and review (~ 1.5 days).
- **Task:** UI components.
  - Site hashrate Charts (~ 1 day).
  - Miners online Bar charts (~ 1 day).
  - Other data (~ 0.5 - 1 day).

### Production Data (UI ~ 2 days)

- **Task:** Figma design and review (~ 0.5 day).
- **Task:** UI (~ 1.5 days).

### Site KPIs (UI ~ 6-7 days, BE ~ 1-2 days)

- **Task:** Figma design and review (~ 1 day).
- **Task:** UI components.
  - Power Charts (~ 1 day).
  - Number of miners (from two sources) UI Charts (~ 1.5 days).
  - BE Calculate site capacity nominal value (~ 1-2 days).
    - Giw to come up with nominal values for each container.
  - Hashrate (from two sources) UI Charts (~ 1.5 days).
  - FE Calculate site capacity nominal value (~ 0.5 day).
    - Giw to come up with hashrate nominal values for each type.
  - Show % change to yesterday, to the 7-day moving average, and the 30-day moving average (~ 1 day).

### Site Energy Data (UI ~ 4-4.5 days)

- **Task:** Figma design and review (~ 1.5 days).
- **Task:** UI implementation (~ 3 days).

### Container KPIs (UI ~ 3-3.5 days, BE ~ 5 days)

- **Task:** Figma design and review (~ 0.5 days).
- **Task:** UI implementation (~ 3 days).
- **Task:** BE Container Wise mining pool stats aggregates (~ 5 days).

### Miner KPIs (UI ~ 2-2.5 days)

- **Task:** Figma design and review (~ 0.5 days).
- **Task:** UI implementation (~ 2 days).

### Weather Page (TBD)
