diff --git a/src/lib/config/optimism/index.ts b/src/lib/config/optimism/index.ts index 41353be15e..ad05e5b184 100644 --- a/src/lib/config/optimism/index.ts +++ b/src/lib/config/optimism/index.ts @@ -17,7 +17,7 @@ const config: Config = { network: 'optimism', trustWalletNetwork: 'optimism', unknown: false, - visibleInUI: false, + visibleInUI: true, testNetwork: false, rpc: 'https://mainnet.optimism.io', ws: 'wss://ws-mainnet.optimism.io', diff --git a/src/lib/config/optimism/pools.ts b/src/lib/config/optimism/pools.ts index 173aadee8b..668ae85ac8 100644 --- a/src/lib/config/optimism/pools.ts +++ b/src/lib/config/optimism/pools.ts @@ -1,4 +1,6 @@ -import { Pools } from '@/types/pools'; +import { CSP_ISSUE_POOL_IDS } from '@/constants/pool-lists/csp-issue'; +import { PoolWarning, Pools } from '@/types/pools'; +import { Network } from '../types'; const pools: Pools = { IdsMap: {}, @@ -84,6 +86,9 @@ const pools: Pools = { Gyro3: 'gyro', GyroE: 'gyro', }, + Issues: { + [PoolWarning.CspPoolVulnWarning]: CSP_ISSUE_POOL_IDS[Network.OPTIMISM], + }, }; export default pools;