Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/stacks/routing-caching-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import * as path from 'path'
import { chainProtocols } from '../../lib/cron/cache-config'
import { STAGE } from '../../lib/util/stage'
import { PoolCachingFilePrefixes } from '../../lib/util/poolCachingFilePrefixes'
import { ChainId } from '@uniswap/sdk-core'

export interface RoutingCachingStackProps extends cdk.NestedStackProps {
stage: string
Expand Down Expand Up @@ -123,7 +124,7 @@ export class RoutingCachingStack extends cdk.NestedStack {
entry: path.join(__dirname, '../../lib/cron/cache-pools.ts'),
handler: 'handler',
timeout: Duration.seconds(900),
memorySize: 2560,
memorySize: chainId === ChainId.BASE ? 5120 : 2560,
bundling: {
minify: true,
sourceMap: true,
Expand Down
40 changes: 38 additions & 2 deletions lib/cron/cache-pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,16 @@ const handler: ScheduledHandler = metricScope((metrics) => async (event: EventBr
hooks: '0xc5a48b447f01e9ce3ede71e4c1c2038c38bd9000',
liquidity: '274563705100803912362733',
token0: {
symbol: 'fid:385955',
id: '0x112cf1cc540eadf234158c0e4044c3b5f2a33e5e',
name: 'degenfans',
decimals: '18',
},
token1: {
symbol: 'MOXIE',
id: '0x8c9037d1ef5c6d1f6816278c7aaf5491d24cd527',
name: 'Moxie',
decimals: '18',
},
tvlETH: 25.33120577965346308313185954009482,
tvlUSD: 56627.5525783346590219799350683533,
Expand All @@ -253,10 +259,16 @@ const handler: ScheduledHandler = metricScope((metrics) => async (event: EventBr
hooks: '0xc5a48b447f01e9ce3ede71e4c1c2038c38bd9000',
liquidity: '621568112474979678301274',
token0: {
symbol: 'base-economy',
id: '0x125490489a27d541e39813c08d260debac071bb7',
name: 'Base Economy',
decimals: '18',
},
token1: {
symbol: 'MOXIE',
id: '0x8c9037d1ef5c6d1f6816278c7aaf5491d24cd527',
name: 'Moxie',
decimals: '18',
},
tvlETH: 142.7576163222032969740638595951846,
tvlUSD: 316322.6881520965844428159264274397,
Expand All @@ -268,10 +280,16 @@ const handler: ScheduledHandler = metricScope((metrics) => async (event: EventBr
hooks: '0xc5a48b447f01e9ce3ede71e4c1c2038c38bd9000',
liquidity: '482843960670027606548690',
token0: {
symbol: 'fid:444067',
id: '0x15148da22518e40e0d2fabf5d5e6a22269ebcb30',
name: 'macster',
decimals: '18',
},
token1: {
symbol: 'MOXIE',
id: '0x8c9037d1ef5c6d1f6816278c7aaf5491d24cd527',
name: 'Moxie',
decimals: '18',
},
tvlETH: 44.1795925485023741879813651641809,
tvlUSD: 95050.95363442908526427214106054717,
Expand Down Expand Up @@ -313,10 +331,10 @@ const handler: ScheduledHandler = metricScope((metrics) => async (event: EventBr
hooks: bunniPool.hooks,
liquidity: bunniPool.liquidity,
token0: {
id: bunniPool.token0.id,
...bunniPool.token0,
},
token1: {
id: bunniPool.token1.id,
...bunniPool.token1,
},
tvlETH: bunniPool.tvlETH,
tvlUSD: bunniPool.tvlUSD,
Expand All @@ -333,10 +351,16 @@ const handler: ScheduledHandler = metricScope((metrics) => async (event: EventBr
hooks: '0x730b109bad65152c67ecc94eb8b0968603dba888',
liquidity: '173747248900',
token0: {
symbol: 'ETH',
id: '0x0000000000000000000000000000000000000000',
name: 'Ethereum',
decimals: '18',
},
token1: {
symbol: 'WETH',
id: '0x4200000000000000000000000000000000000006',
name: 'Wrapped Ether',
decimals: '18',
},
tvlETH: 33482,
tvlUSD: 60342168,
Expand All @@ -352,10 +376,16 @@ const handler: ScheduledHandler = metricScope((metrics) => async (event: EventBr
hooks: '0x480dafdb4d6092ef3217595b75784ec54b52e888',
liquidity: '173747248900',
token0: {
symbol: 'ETH',
id: '0x0000000000000000000000000000000000000000',
name: 'Ethereum',
decimals: '18',
},
token1: {
symbol: 'WETH',
id: '0x4200000000000000000000000000000000000006',
name: 'Wrapped Ether',
decimals: '18',
},
tvlETH: 826,
tvlUSD: 1482475,
Expand All @@ -371,10 +401,16 @@ const handler: ScheduledHandler = metricScope((metrics) => async (event: EventBr
hooks: '0xb08211d57032dd10b1974d4b876851a7f7596888',
liquidity: '173747248900',
token0: {
symbol: 'ETH',
id: '0x0000000000000000000000000000000000000000',
name: 'Ethereum',
decimals: '18',
},
token1: {
symbol: 'WETH',
id: '0x4200000000000000000000000000000000000006',
name: 'Wrapped Ether',
decimals: '18',
},
tvlETH: 6992,
tvlUSD: 12580000,
Expand Down
Loading
Loading