From 56316c01391afa51364923b48ca35de1a53b8249 Mon Sep 17 00:00:00 2001 From: martbost Date: Sun, 15 Nov 2026 10:20:41 -0600 Subject: [PATCH] Contract page: verification state from env VERIFIED_SOURCIFY / VERIFIED_POLYGONSCAN (was hard-coded sourcify false, while Sourcify has an exact match since 2026-11-14 21:35 UTC). smoke 194/194 Co-Authored-By: Claude Opus 5.5 --- proof.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proof.js b/proof.js index 087f077..13776a2 100644 --- a/proof.js +++ b/proof.js @@ -63,7 +63,7 @@ let cCache = null; async function contract() { if (cCache && Date.now() - cCache.at < 300000) return cCache.v; const v = { address: C.contractAddress || null, chainId: C.chainId, explorer: C.explorer, split: { levels: 5, levelPct: 10, companyPct: 50, maxDepth: 20 }, - boost: { usd: C.boost.usd, views: C.boost.views }, verified: { sourcify: false, polygonscan: 'pending', sourcifyUrl: C.contractAddress ? 'https://repo.sourcify.dev/' + C.chainId + '/' + C.contractAddress : null }, + boost: { usd: C.boost.usd, views: C.boost.views }, verified: { sourcify: process.env.VERIFIED_SOURCIFY === '1', polygonscan: process.env.VERIFIED_POLYGONSCAN === '1' ? true : 'pending', sourcifyUrl: C.contractAddress ? 'https://repo.sourcify.dev/' + C.chainId + '/' + C.contractAddress : null }, ownerNote: "Marty's Tangem hardware wallet", live: false }; if (shop && shop.watching()) { const { Interface } = require('ethers');