-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
types / write refactor & finalize hooks
- Loading branch information
1 parent
63927bf
commit 81afd1f
Showing
25 changed files
with
825 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { baseAddresses } from 'op-viem/chains' | ||
import type { L2Chain } from '../../types/OpConfig.js' | ||
|
||
export const base: L2Chain<number, number> = { | ||
chainId: 8453, | ||
l1ChaindId: 1, | ||
l1Addresses: baseAddresses, | ||
l2Addresses: { | ||
l2L1MessagePasserAddress: { address: '0x4200000000000000000000000000000000000016', chainId: 8453 }, | ||
l2StandardBridge: { address: '0x4200000000000000000000000000000000000010', chainId: 8453 }, | ||
}, | ||
} as const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { baseGoerliAddresses } from 'op-viem/chains' | ||
import type { L2Chain } from '../../types/OpConfig.js' | ||
|
||
export const baseGoerli: L2Chain<number, number> = { | ||
chainId: 84531, | ||
l1ChaindId: 5, | ||
l1Addresses: baseGoerliAddresses, | ||
l2Addresses: { | ||
l2L1MessagePasserAddress: { address: '0x4200000000000000000000000000000000000016', chainId: 84531 }, | ||
l2StandardBridge: { address: '0x4200000000000000000000000000000000000010', chainId: 84531 }, | ||
}, | ||
} as const |
Oops, something went wrong.