SubsidyFee
Subsidy & fees reporting view — combines a stacked bar chart of mining rewards (subsidy vs fees) with optional summary stat cards and a timeframe selector. D…
Subsidy & fees reporting view — combines a stacked bar chart of mining rewards (subsidy vs fees) with optional summary stat cards and a timeframe selector. Drives data through the companion useSubsidyFees hook and is intended to be embedded inside the financial reporting page.
import { SubsidyFee } from "@tetherto/mdk-react-devkit";| Prop | Status | Type | Default | Description |
|---|---|---|---|---|
isError | Optional | boolean | — | — |
isLoading | Optional | boolean | — | — |
errorMessage | Optional | string | — | — |
showSummaryCards | Optional | boolean | — | — |
log | Optional | SubsidyFeesLogEntry[] | — | — |
data | Optional | SubsidyFeesResponse | null | — | — |
onDateRangeChange | Optional | (dateRange: FinancialDateRange, query: FinanceQueryParams) => void | — | — |
Usage
Financial dashboard section for subsidy and fee reporting. Shows a summary with optional fee log entries and allows date-range filtering.
Example
import { SubsidyFee } from '@tetherto/mdk-react-devkit'export const SubsidyFeeExample = () => ( <div className="mdk-example-row"> <SubsidyFee isLoading={false} showSummaryCards={true} log={[]} data={null} /> </div>)PoolManagerSitesOverview
Pool-manager sites overview page — landing screen listing every site as a status card with a snapshot of pools, miners online, hashrate, and any active incid…
AddSparePartModal
Modal for registering a new spare part. Presents a part-type tab strip and a form for miner model, part model, serial number, MAC address (controllers only),…