Contract page: Polygonscan verification env-driven (VERIFIED_POLYGONSCAN=1); VBBShop verified on Polygonscan 2026-11-16

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-16 07:20:52 -06:00
parent e5595bdf4a
commit 7c68faded5
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -101,8 +101,8 @@ 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: { sponsorPct: 30, prizePct: 10, companyPct: 60 },
// Marty 2026-11-14: source verified on Sourcify (exact match, 2026-11-13); Polygonscan's own verification is pending
verified: { sourcify: true, polygonscan: 'pending', sourcifyUrl: C.contractAddress ? 'https://repo.sourcify.dev/' + C.chainId + '/' + C.contractAddress : null },
// Sourcify exact match 2026-11-13; Polygonscan verified 2026-11-16 (env VERIFIED_POLYGONSCAN=1 shows it as done)
verified: { sourcify: true, polygonscan: process.env.VERIFIED_POLYGONSCAN === '1' ? 'done' : '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 I = new Interface(['function owner() view returns (address)', 'function company() view returns (address)', 'function keeper() view returns (address)',