diff --git a/services/website/templates/daily-stats.html b/services/website/templates/daily-stats.html index 7d1c5fc..a988820 100644 --- a/services/website/templates/daily-stats.html +++ b/services/website/templates/daily-stats.html @@ -34,9 +34,6 @@

MEV-Boost Stats for {{ .Day }}

{{ end }} -
- copy markdown -
@@ -77,14 +74,11 @@

MEV-Boost Stats for {{ .Day }}

{{ end }} -
- copy markdown -
-
- +
+
@@ -125,6 +119,15 @@

MEV-Boost Stats for {{ .Day }}

Builder extra_data
+
+

⚠️ Disclaimer: Relayscan uses block.coinbase ETH balance difference to measure builder's profits which could introduce inaccuracies when builders:

+ + +
@@ -158,64 +161,6 @@

MEV-Boost Stats for {{ .Day }}

}); } - showBuildersForRelay = function (relay) { - // hide all builders - for (const topBuildersTbody of document.getElementsByClassName("tbody-builders")) { - topBuildersTbody.style.display = "none"; - } - - // show specific builder - if (relay == "") { - document.getElementById("tbody-builders-all").style.display = "table-row-group"; - } else { - document.getElementById("tbody-builders-" + relay).style.display = "table-row-group"; - } - } - - relayMouseOver = function (relay) { - showBuildersForRelay(relay) - } - - relayMouseOut = function (relay) { - showBuildersForRelay("") - } - - // COPY TABLES AS MARKDOWN TO CLIPBOARD - copyBuilders = function (e) { - e.stopPropagation(); - var md = document.getElementById("md-builders").innerHTML; - navigator.clipboard.writeText(md); - document.getElementById("copy-builders-to-clipboard-icon").classList.remove("bi-clipboard"); - document.getElementById("copy-builders-to-clipboard-icon").classList.add("bi-clipboard-check"); - setTimeout(function () { - document.getElementById("copy-builders-to-clipboard-icon").classList.remove("bi-clipboard-check"); - document.getElementById("copy-builders-to-clipboard-icon").classList.add("bi-clipboard"); - }, 1000); - } - - copyBuilderProfit = function (e) { - var md = document.getElementById("md-builderprofit").innerHTML.replace(/&/g, '&');; - navigator.clipboard.writeText(md); - document.getElementById("copy-builderprofit-to-clipboard-icon").classList.remove("bi-clipboard"); - document.getElementById("copy-builderprofit-to-clipboard-icon").classList.add("bi-clipboard-check"); - setTimeout(function () { - document.getElementById("copy-builderprofit-to-clipboard-icon").classList.remove("bi-clipboard-check"); - document.getElementById("copy-builderprofit-to-clipboard-icon").classList.add("bi-clipboard"); - }, 1000); - } - - copyRelays = function (e) { - e.stopPropagation(); - var md = document.getElementById("md-relays").innerHTML; - navigator.clipboard.writeText(md); - document.getElementById("copy-relays-to-clipboard-icon").classList.remove("bi-clipboard"); - document.getElementById("copy-relays-to-clipboard-icon").classList.add("bi-clipboard-check"); - setTimeout(function () { - document.getElementById("copy-relays-to-clipboard-icon").classList.remove("bi-clipboard-check"); - document.getElementById("copy-relays-to-clipboard-icon").classList.add("bi-clipboard"); - }, 1000); - } - window.onload = (event) => { // fix for table sorting (it's already sorted, and this click makes the sortable plugin think it has done it) document.getElementById("th-builderprofit-profittotal").click()