@extends('layouts.master') @section('title', 'Home') @section('content')
@if(Auth::User()->btc)

{{number_format($hashrate,2,',','.')}} MH/s

Hash Rate - BTC Pool

{{number_format($profitability,4,',','.')}} mBTC/24hs

Rentabilidad - BTC Pool

{{number_format(($profitability/1000)*$BTC_USD,2,',','.')}} USD/24hs

{{number_format((($profitability*30)/1000)*$BTC_USD,2,',','.')}} USD/30dias

{{$placas}} {{$placas}}

Placas
@endif @if(Auth::User()->eth)

{{number_format($hashrateHive,2,',','.')}} MH/s

Hash Rate - ETH Pool

{{number_format($rentHive,4,',','.')}} ETH/24hs

Rentabilidad - ETH Pool

{{number_format($rentHive*$ETH_USD,2,',','.')}} USD/24hs

{{number_format(($rentHive*30)*$ETH_USD,2,',','.')}} USD/30dias

{{$placasHive}} {{$placasHive}}

Placas
@endif
@if(Auth::User()->btc)

BTC Pool Rig's

@if($respuesta!=null) @foreach ($respuesta->miningRigs as $rigs) @foreach ($rigs->devices as $placa) @if ($placa->status->description == 'Mining'||$placa->status->description == 'Inactive') @endif @endforeach
{{$rigs->name}}
Estado Marca Modelo Hashrate Temperatura Fans
{{str_replace('NVIDIA', '', $placa->name)}} {{number_format(@$placa->speeds[0]->speed,2,',','.') }}MH/s {{ round($placa->temperature) }}ºC {{ round($placa->revolutionsPerMinutePercentage) }}%
@endforeach @else

No Existen Registros


@endif
@endif @if(Auth::User()->eth)

ETH Pool Rig's

@if(count($granjas) > 0) @foreach ($granjas as $granja) @if($granja != null) @foreach ($granja as $rig) @if(@$rig['gpu_stats'] != NULL) @foreach ($rig['gpu_stats'] as $gpu) @if(isset($gpu['hash'])) @else @endif @endforeach @endif
{{$rig['name']}}
Estado Marca Modelo Hashrate Temperatura Fans
{{@$gpu['model']}} {{number_format($gpu['hash'], 0, '.', ',') }}MH/s {{ round($gpu['temp']) }}ºC {{ round($gpu['fan']) }}%
{{@$gpu['model']}} N/a {{ round($gpu['temp']) }}ºC {{ round($gpu['fan']) }}%
@endforeach @endif @endforeach @else

No Existen Registros


@endif
@endif

Cripto Monedas

@endsection @section('javascript') @endsection