diff --git a/packages/status-page/src/pages/home/Home.svelte b/packages/status-page/src/pages/home/Home.svelte index 19fd657a1a2..ce58b907872 100644 --- a/packages/status-page/src/pages/home/Home.svelte +++ b/packages/status-page/src/pages/home/Home.svelte @@ -227,6 +227,24 @@ tooltip: "The most recent block proposal on TaikoL1 contract.", }); + statusIndicators.push({ + provider: l1Provider, + contractAddress: l1TaikoAddress, + header: "Latest Proof", + intervalInMs: 5 * 1000, + statusFunc: async ( + provider: ethers.providers.JsonRpcProvider, + address: string + ) => { + const stateVars = await getStateVariables(provider, address); + return stateVars.lastProvenAt.toNumber(); + }, + colorFunc: function (status: Status) { + return "green"; // todo: whats green, yellow, red? + }, + tooltip: "The most recent block proof submitted on TaikoL1 contract.", + }); + statusIndicators.push({ provider: l1Provider, contractAddress: l1TaikoAddress,