* use tvl function v2

* refactor addFundsInMasterChef

* replace usage of timestamp field

* more refactoring

* more refactoring
This commit is contained in:
g1nt0ki
2024-03-21 09:26:53 +01:00
committed by GitHub
parent 0033ae3106
commit f9f37f8d82
1181 changed files with 2332 additions and 4975 deletions

View File

@@ -12,7 +12,7 @@ module.exports = {
Object.keys(config).forEach(chain => {
const { factory, fromBlock, tellerFactory, tellerBlock, } = config[chain]
module.exports[chain] = {
tvl: async (_, _b, _cb, { api, }) => {
tvl: async (api) => {
const tellerLogs = await getLogs({
api,
target: tellerFactory,