From 18fd19678699085df01ddf319f82b7e170f2e02c Mon Sep 17 00:00:00 2001 From: ramenforbreakfast Date: Mon, 6 May 2024 17:18:01 -0700 Subject: [PATCH] feat: add retrospective tvl flags --- projects/prePo/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/prePo/index.js b/projects/prePo/index.js index c2a1fefbae92..c6be5a9ac4d1 100644 --- a/projects/prePo/index.js +++ b/projects/prePo/index.js @@ -44,6 +44,8 @@ Object.keys(config).forEach(chain => { Object.keys(config2).forEach(chain => { const { fromBlock, factory, } = config2[chain] module.exports[chain] = { + timetravel: true, + start: 1709428055, tvl: async (api) => { const logs = await getLogs({ api, @@ -61,6 +63,8 @@ Object.keys(config2).forEach(chain => { Object.keys(config3).forEach(chain => { const { factory, tokens } = config3[chain] module.exports[chain] = { + timetravel: true, + start: 1697676421, tvl: async (api) => { return api.sumTokens({ owner: factory, tokens }) }