Query editor
-- UTC+7: retain 365 complete days; replace only the latest 3 complete days.-- Missing/duplicate historical cache fails instead of silently scanning older chain data.-- Keep the existing output schema so current charts and cached results remain compatible.WITH cached_results AS (SELECT * FROM TABLE(previous.query.result(schema => DESCRIPTOR(day DATE,mcoin_minted_amount_raw VARCHAR,mcoin_minted DECIMAL(38, 18),valid_mint_calls BIGINT,invalid_layout_mint_calls BIGINT)))),-- Frozen checkpoint from successful execution 01M6QM9B1JPA64WZHZQEC12MZY; no historical chain scan.bootstrap_rows (day, mcoin_minted_amount_raw, mcoin_minted, valid_mint_calls, invalid_layout_mint_calls) AS (VALUES('2025-11-06', '1489333233962999999993884', '1489333.233962999999993884', '4450', '0'),('2025-11-07', '905098019864999999999884', '905098.019864999999999884', '3948', '0'),('2025-11-08', '1031920209376664444444306', '1031920.209376664444444306', '4071', '0'),('2025-11-09', '1114945993348111111110966', '1114945.993348111111110966', '4161', '0'),('2025-11-10', '1184061532606888888888783', '1184061.532606888888888783', '3853', '0'),('2025-11-11', '1068776790034777777791866', '1068776.790034777777791866', '4134', '0'),('2025-11-12', '1437033620172111111118104', '1437033.620172111111118104', '4192', '0'),('2025-11-13', '1357217832909444444444351', '1357217.832909444444444351', '4141', '0'),('2025-11-14', '1583251688822514297874492', '1583251.688822514297874492', '4380', '0'),('2025-11-15', '1351386094731333333333211', '1351386.094731333333333211', '4459', '0'),('2025-11-16', '1345161801694201669635766', '1345161.801694201669635766', '4098', '0'),('2025-11-17', '1712597118987888888888752', '1712597.118987888888888752', '4451', '0'),('2025-11-18', '1268094619045611111111011', '1268094.619045611111111011', '4156', '0'),('2025-11-19', '1338642903441888888888780', '1338642.903441888888888780', '4662', '0'),('2025-11-20', '1552632312608833333333199', '1552632.312608833333333199', '4342', '0'),('2025-11-21', '1269173109762555555555450', '1269173.109762555555555450', '4281', '0'),('2025-11-22', '1212350819149222222229218', '1212350.819149222222229218', '4162', '0'),('2025-11-23', '939574941511388888888765', '939574.941511388888888765', '4272', '0'),('2025-11-24', '1502756401220388888888766', '1502756.401220388888888766', '4431', '0'),('2025-11-25', '1336664454430666666666532', '1336664.454430666666666532', '4637', '0'),('2025-11-26', '1371501984397888888888747', '1371501.984397888888888747', '4701', '0'),('2025-11-27', '1836120095930333333333205', '1836120.095930333333333205', '4695', '0'),('2025-11-28', '1740216337721611111110981', '1740216.337721611111110981', '4746', '0'),('2025-11-29', '1136328796602955555555431', '1136328.796602955555555431', '4339', '0'),('2025-11-30', '1547166408090222222194080', '1547166.408090222222194080', '5143', '0'),('2025-12-01', '1542938014604166666666540', '1542938.014604166666666540', '4992', '0'),('2025-12-02', '1709468237377958351666525', '1709468.237377958351666525', '5035', '0'),('2025-12-03', '1621206962213666666666532', '1621206.962213666666666532', '4931', '0'),('2025-12-04', '2242868722303277777777598', '2242868.722303277777777598', '5187', '0'),('2025-12-05', '1515249832256611111110930', '1515249.832256611111110930', '5243', '0'),('2025-12-06', '1644583143813000000003651', '1644583.143813000000003651', '4758', '0'),('2025-12-07', '1428458042929333333333201', '1428458.042929333333333201', '4308', '0'),('2025-12-08', '1754246760470277777777648', '1754246.760470277777777648', '4962', '0'),('2025-12-09', '2012835129625377777777643', '2012835.129625377777777643', '5166', '0'),('2025-12-10', '1409825082671222222222097', '1409825.082671222222222097', '4626', '0'),('2025-12-11', '1319158392454766666666543', '1319158.392454766666666543', '4622', '0'),('2025-12-12', '925673678674277777777637', '925673.678674277777777637', '4546', '0'),('2025-12-13', '1019587772810499999999864', '1019587.772810499999999864', '4243', '0'),('2025-12-14', '1306086493791777777777656', '1306086.493791777777777656', '4520', '0'),('2025-12-15', '1176391452374888888888744', '1176391.452374888888888744', '4741', '0'),('2025-12-16', '1377042088697055555555433', '1377042.088697055555555433', '4883', '0'),('2025-12-17', '1306484350348555555555411', '1306484.350348555555555411', '4699', '0'),('2025-12-18', '1488384055628111111110951', '1488384.055628111111110951', '4753', '0'),