Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
phipsae committed Jul 12, 2024
1 parent 38e1b21 commit bb1a528
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
2 changes: 2 additions & 0 deletions packages/nextjs/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
# More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables
NEXT_PUBLIC_ALCHEMY_API_KEY=
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=
NEXT_PUBLIC_FOUNDRY_PRIVATE_KEY_1=
NEXT_PUBLIC_FOUNDRY_PRIVATE_KEY_2=
8 changes: 0 additions & 8 deletions packages/nextjs/app/localChain/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,6 @@ const LocalChain: NextPage = () => {
<div>{created ? "✅ (Created)" : "❌(Not Created)"}</div>
</div>
</div>
{/* <button
className="btn btn-secondary block w-full mb-2"
onClick={() => {
getCode(smartAccountAddress as `0x${string}`);
}}
>
Click Me for Info
</button> */}
<button
className="btn btn-primary block w-full mb-2 mt-2"
onClick={async () => {
Expand Down
17 changes: 11 additions & 6 deletions packages/nextjs/contracts/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
const deployedContracts = {
31337: {
EntryPoint: {
address: "0x8a791620dd6260079bf849dc5567adc3f2fdc318",
address: "0x5fbdb2315678afecb367f032d93f642f64180aa3",
abi: [
{
type: "receive",
Expand Down Expand Up @@ -1338,7 +1338,7 @@ const deployedContracts = {
},
},
AccountSimple: {
address: "0x610178da211fef7d417bc0e6fed39f05609ad788",
address: "0xe7f1725e7734ce288f8367e1bb143e90bb3f0512",
abi: [
{
type: "constructor",
Expand Down Expand Up @@ -1471,10 +1471,12 @@ const deployedContracts = {
stateMutability: "view",
},
],
inheritedFunctions: {},
inheritedFunctions: {
validateUserOp: "lib/account-abstraction/contracts/interfaces/IAccount.sol",
},
},
AccountFactorySimple: {
address: "0xb7f8bc63bbcad18155201308c8f3540b07f84f5e",
address: "0x9fe46736679d2d9a65f0992f2272de9f3c7fa6e0",
abi: [
{
type: "function",
Expand All @@ -1499,7 +1501,7 @@ const deployedContracts = {
inheritedFunctions: {},
},
Paymaster: {
address: "0xa51c1fc2f0d1a1b8494ed1fe312d7c3a78ed91c0",
address: "0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9",
abi: [
{
type: "function",
Expand Down Expand Up @@ -1616,7 +1618,10 @@ const deployedContracts = {
stateMutability: "pure",
},
],
inheritedFunctions: {},
inheritedFunctions: {
postOp: "lib/account-abstraction/contracts/interfaces/IPaymaster.sol",
validatePaymasterUserOp: "lib/account-abstraction/contracts/interfaces/IPaymaster.sol",
},
},
},
} as const;
Expand Down

0 comments on commit bb1a528

Please sign in to comment.