Skip to content

Commit

Permalink
feat : update chain type for Thanos-sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
SonYoungsung committed Apr 5, 2024
1 parent b7f0ff3 commit 429b932
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tokens/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ export const L2_STANDARD_BRIDGE_INFORMATION: Record<
'titan-sepolia': {
l2StandardBridgeAddress: '0x4200000000000000000000000000000000000010',
},
'thanos-sepolia': {
l2StandardBridgeAddress: '0x4200000000000000000000000000000000000010',
},
'titan-goerli': {
l2StandardBridgeAddress: '0x4200000000000000000000000000000000000010',
},
Expand Down
8 changes: 7 additions & 1 deletion tokens/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ export type Chain =
| 'titan'
| 'titan-goerli'
| 'titan-sepolia'
export const l2Chains = ['titan', 'titan-goerli', 'titan-sepolia'] as const
| 'thanos-sepolia'
export const l2Chains = [
'titan',
'titan-goerli',
'titan-sepolia',
'thanos-sepolia',
] as const
export type L2Chain = (typeof l2Chains)[number]
export const isL2Chain = (chain: string): chain is L2Chain => {
return l2Chains.includes(chain as L2Chain)
Expand Down

0 comments on commit 429b932

Please sign in to comment.