Skip to content

Commit

Permalink
indexer-common: Add support for Fantom network
Browse files Browse the repository at this point in the history
  • Loading branch information
fordN committed Apr 12, 2023
1 parent 1f594f3 commit c9718e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/indexer-common/src/indexer-management/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ const Caip2ByChainAlias: { [key: string]: string } = {
polygon: 'eip155:137',
celo: 'eip155:42220',
optimism: 'eip155:10',
fantom: 'eip155:250',
}

const Caip2ByChainId: { [key: number]: string } = {
Expand All @@ -180,6 +181,7 @@ const Caip2ByChainId: { [key: number]: string } = {
137: 'eip155:137',
42220: 'eip155:42220',
10: 'eip155:10',
250: 'eip155:250',
}

/// Unified entrypoint to resolve CAIP ID based either on chain aliases (strings)
Expand Down

0 comments on commit c9718e5

Please sign in to comment.