Skip to content
Open
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
5 changes: 3 additions & 2 deletions src/common/commonTypeDef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ const commonTypeDef = gql`
}

union SupportItem =
DripListSupport
| DripListSupport
| ProjectSupport
| OneTimeDonationSupport
| StreamSupport

union Support =
DripListSupport
| DripListSupport
| ProjectSupport
| OneTimeDonationSupport
| StreamSupport
Expand All @@ -137,6 +137,7 @@ const commonTypeDef = gql`
POLYGON_AMOY
BASE_SEPOLIA
FILECOIN
ZKSYNC_ERA_SEPOLIA
METIS
LOCALTESTNET
OPTIMISM
Expand Down
1 change: 1 addition & 0 deletions src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ export const DB_SCHEMAS = [
'metis',
'localtestnet',
'optimism',
'zksync_era_sepolia',
] as const;
5 changes: 5 additions & 0 deletions src/common/dripsContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ const chainConfigs: Record<
addressDriverAddress: '0x04693D13826a37dDdF973Be4275546Ad978cb9EE',
repoDriverAddress: '0xe75f56B26857cAe06b455Bfc9481593Ae0FB4257',
},
ZKSYNC_ERA_SEPOLIA: {
dripsAddress: '0xd320F59F109c618b19707ea5C5F068020eA333B3',
addressDriverAddress: '0x0557b6BA791A24df0Fa6167E1Dc304F403ee777A',
repoDriverAddress: '0x8bDC23877A23Ce59fEF1712A1486810d9A6E2B94',
},
};

const { rpcConfig } = appSettings;
Expand Down
2 changes: 2 additions & 0 deletions src/utils/chainSchemaMappings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const dbSchemaToChain: Record<DbSchema, SupportedChain> = {
optimism: SupportedChain.OPTIMISM,
metis: SupportedChain.METIS,
localtestnet: SupportedChain.LOCALTESTNET,
zksync_era_sepolia: SupportedChain.ZKSYNC_ERA_SEPOLIA,
};

export const chainToDbSchema: Record<SupportedChain, DbSchema> = {
Expand All @@ -23,4 +24,5 @@ export const chainToDbSchema: Record<SupportedChain, DbSchema> = {
[SupportedChain.METIS]: 'metis',
[SupportedChain.LOCALTESTNET]: 'localtestnet',
[SupportedChain.OPTIMISM]: 'optimism',
[SupportedChain.ZKSYNC_ERA_SEPOLIA]: 'zksync_era_sepolia',
};