الفلاتر

عرض النتيجة الواحدة

معدل التجزئة
N/A
الطاقة
N/A
Efficiency
N/A

LeedMiner Crypto CoolWallet

$45.99
LeedMiner Crypto Seed Phrase Storage The indestructible place to store your seed phrase and protect your cryptocurrency. The LeedMiner seed storage is designed for all…
'); printWindow.document.write(`
Logo
${currentDate}

Asic Miner List

Leedminer is your one-stop shop for all the latest ASIC miner earnings updates!

We’ve got a daily price table featuring real-time earnings updates for all known ASIC miners, with data refreshed every minute to maximize your profit insights.
`); const printTable = $('').append(''); const removeColumns = [0, 7, 6, 8]; $('#miner-info-table thead tr th').each(function(index) { if (!removeColumns.includes(index)) { printTable.find('thead tr').append($(this).clone()); } }); selectedRows.each(function() { const clonedRow = $(this).clone(); clonedRow.find('td').each(function(index) { if (removeColumns.includes(index)) { $(this).remove(); } }); printTable.find('tbody').append(clonedRow); }); printWindow.document.write(printTable[0].outerHTML); printWindow.document.write(``); printWindow.document.write(''); printWindow.document.close(); printWindow.focus(); // 直接调用打印功能 // 如果需要手动选择打印,这一行可以被注释掉 printWindow.print(); }); // Filter table function function filterTable() { const selectedCoins = $('.coin-button.active').map(function() { return $(this).data('coin'); }).get(); const brandFilter = $('#brand-select').val(); const searchInput = $('#search-input').val().toLowerCase(); $('#miner-info-body tr').each(function() { const $row = $(this); const coin = $row.data('coin'); const brand = $row.data('brand'); // 检查所有单元格 let rowVisible = false; // 追踪行是否可见 // 遍历每个单元格,检查是否包含搜索输入 $row.find('td').each(function() { const cellText = $(this).text().toLowerCase(); if (cellText.includes(searchInput)) { rowVisible = true; // 如果找到匹配项,标记为可见 } }); // Match conditions const matchesCoin = selectedCoins.length === 0 || selectedCoins.includes(coin); const matchesBrand = brandFilter === 'all' || brandFilter === brand; // 最终决定行的可见性 $row.toggle(rowVisible && matchesCoin && matchesBrand); }); } // Event bindings for coin buttons $('.coin-button').on('click', function() { $(this).toggleClass('active'); if ($(this).attr('id') === 'all-coins') { $('.coin-button').not(this).removeClass('active'); } else { $('#all-coins').removeClass('active'); } filterTable(); }); // Brand select and search input events $('#brand-select').on('change', filterTable); $('#search-input').on('input', filterTable); // Clear filters button $('#clear-filters').on('click', function() { $('.coin-button').removeClass('active'); $('#brand-select').val('all'); $('#search-input').val(''); filterTable(); }); // Refresh daily income calculations function refreshDailyIncome() { const electricityCost = parseFloat($('#electricity-price').val()) || 0; $('#miner-info-body tr').each(function() { const $row = $(this); const power = parseFloat($row.data('power')) || 0; // Power consumption const minerPrice = parseFloat($row.data('price').replace(/,/g, '')) || 0; // Miner price const dailyIncome = parseFloat($row.data('daily-income')) || 0; // Daily income const miningCoins = parseFloat($row.data('mining-coins')) || 1; // Mining coins const dailyPowerCost = (power / 1000) * 24 * electricityCost; // Calculate daily power cost const netProfit = dailyIncome - dailyPowerCost; // Calculate net profit // Update displayed values $row.find('.daily-cost').text(`$${dailyPowerCost.toFixed(2)}`); $row.find('.net-profit').text(`$${netProfit.toFixed(2)}/day`); // Calculate and update shutdown price const shutdownPrice = miningCoins > 0 ? (dailyPowerCost / miningCoins).toFixed(2) : 'N/A'; $row.find('.shutdown-price').text(`$${shutdownPrice}`); // Update shutdown price correctly // Calculate ROI based on miner price and net profit const roi = netProfit > 0 ? (minerPrice / netProfit).toFixed(0) : 'N/A'; $row.find('.roi').text(roi); // Update ROI }); table.draw(); } // Update profitability colors based on net profit function updateProfitabilityColors() { $('#miner-info-body tr').each(function() { const netProfitText = $(this).find('.net-profit').text(); const netProfit = parseFloat(netProfitText.replace('$', '').replace('/day', '').trim()); let textColor; if (netProfit < 0) { textColor = '#e06666'; // Deep red } else if (netProfit < 5) { textColor = '#ffb84d'; // Deep orange } else if (netProfit < 10) { textColor = '#e6e600'; // Deep yellow } else if (netProfit < 100) { textColor = '#00ad0f'; // Bright green } else { textColor = '#009900'; // Default green } $(this).find('.net-profit').css('color', textColor); }); } // Initial color update for net profit updateProfitabilityColors(); // Event bindings for filtering and updating $('#electricity-price').on('input', function() { refreshDailyIncome(); updateProfitabilityColors(); }); // Initial updates table.on('draw', updateProfitabilityColors); refreshDailyIncome(); // Initial refresh // Set interval for refreshing income every 60 seconds setInterval(refreshDailyIncome, 60000); });