-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
46 changed files
with
322 additions
and
3,105 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
## The contents of this folder is auto-generated. Please do not edit as your changes are likely to become overwritten | ||
## The contents of this folder is auto-generated. Please do not edit as your changes are likely to be overwritten |
File renamed without changes.
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import type { Hex } from "viem" | ||
export const addresses: Record<string, Hex> = { | ||
Nexus: "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0", | ||
K1Validator: "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9", | ||
K1ValidatorFactory: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853" | ||
} as const | ||
export default addresses |
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,36 @@ | ||
import type { Hex } from "viem" | ||
import { EntrypointAbi, K1ValidatorAbi, K1ValidatorFactoryAbi } from "./abi" | ||
import addresses from "./addresses" | ||
|
||
export const ENTRYPOINT_SIMULATIONS: Hex = | ||
"0x74Cb5e4eE81b86e70f9045036a1C5477de69eE87" | ||
export const ENTRYPOINT_ADDRESS: Hex = | ||
"0x0000000071727De22E5E9d8BAf0edAc6f37da032" | ||
|
||
const entryPoint = { | ||
address: ENTRYPOINT_ADDRESS, | ||
abi: EntrypointAbi | ||
} as const | ||
|
||
const entryPointSimulations = { | ||
address: ENTRYPOINT_SIMULATIONS | ||
} as const | ||
|
||
const k1ValidatorFactory = { | ||
address: addresses.K1ValidatorFactory, | ||
abi: K1ValidatorFactoryAbi | ||
} as const | ||
|
||
const k1Validator = { | ||
address: addresses.K1Validator, | ||
abi: K1ValidatorAbi | ||
} as const | ||
|
||
export const contracts = { | ||
entryPoint, | ||
entryPointSimulations, | ||
k1ValidatorFactory, | ||
k1Validator | ||
} as const | ||
|
||
export default contracts |
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
Oops, something went wrong.