@extends('layouts.admin') @section('title', 'Dashboard') @section('topbar-content')
Welcome back.
@endsection @section('content')
Needs attention

Pending actions

Deposits to review
{{ $stats['pending_deposits'] }}
Review deposits →
Withdrawals to process
{{ $stats['pending_withdrawals'] }}
Process withdrawals →
Task activity today
{{ $stats['task_completions'] }}
Review rewards →
Active airdrops
{{ $stats['active_airdrops'] }}
Manage airdrops →

Platform activity

@foreach (['users' => 'Total users', 'wallets' => 'Connected wallets', 'miners' => 'Mining now', 'rewards_today' => 'Mining rewards today', 'deposits_today' => 'Deposits approved today'] as $key => $label)
{{ $label }}
{{ is_numeric($stats[$key]) ? ((float) $stats[$key] === 0.0 ? '0' : rtrim(rtrim((string) $stats[$key], '0'), '.')) : '—' }}
@endforeach

Total user balances

@forelse ($liabilities as $row)@empty@endforelse
CoinTotal held by users
{{ $row->asset->symbol }}{{ rtrim(rtrim($row->total, '0'), '.') }}
No balances yet.

Latest transactions

View All
@forelse ($transactions as $tx)@empty@endforelse
ReferenceUserAmount
{{ $tx->reference }}{{ $tx->user?->name ?: $tx->user?->email ?: 'User #'.$tx->user_id }}{{ rtrim(rtrim($tx->amount, '0'), '.') }} {{ $tx->asset->symbol }}
No transactions yet.
@endsection