Skip to content

Commit 7c721bb

Browse files
committed
fix: remove EP 0.6
1 parent ab59bbb commit 7c721bb

File tree

2 files changed

+0
-78
lines changed

2 files changed

+0
-78
lines changed

config.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: ERC4337 Indexer
22
description: ERC4337 Account and Module Indexer
33
contracts:
4-
- name: EntryPointV0_6_0
5-
abi_file_path: ./abi/entryPointV0_6_0.json
6-
handler: ./src/entryPoint.ts
7-
events:
8-
- event: UserOperationEvent(bytes32 indexed userOpHash, address indexed sender, address indexed paymaster, uint256 nonce, bool success, uint256 actualGasCost, uint256 actualGasUsed)
9-
- event: AccountDeployed(bytes32 indexed userOpHash, address indexed sender, address factory, address paymaster)
104
- name: EntryPointV0_7_0
115
abi_file_path: ./abi/entryPointV0_7_0.json
126
handler: ./src/entryPoint.ts
@@ -30,44 +24,34 @@ networks:
3024
- id: 1
3125
start_block: 0
3226
contracts:
33-
- name: EntryPointV0_6_0
34-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
3527
- name: EntryPointV0_7_0
3628
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
3729
- name: EntryPointV0_8_0
3830
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
3931
- id: 11155111
4032
start_block: 0
4133
contracts:
42-
- name: EntryPointV0_6_0
43-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
4434
- name: EntryPointV0_7_0
4535
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
4636
- name: EntryPointV0_8_0
4737
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
4838
- id: 10
4939
start_block: 0
5040
contracts:
51-
- name: EntryPointV0_6_0
52-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
5341
- name: EntryPointV0_7_0
5442
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
5543
- name: EntryPointV0_8_0
5644
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
5745
- id: 11155420
5846
start_block: 0
5947
contracts:
60-
- name: EntryPointV0_6_0
61-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
6248
- name: EntryPointV0_7_0
6349
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
6450
- name: EntryPointV0_8_0
6551
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
6652
- id: 137
6753
start_block: 0
6854
contracts:
69-
- name: EntryPointV0_6_0
70-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
7155
- name: EntryPointV0_7_0
7256
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
7357
- name: EntryPointV0_8_0
@@ -77,125 +61,97 @@ networks:
7761
endpoint_url: "https://amoy.hypersync.xyz"
7862
start_block: 0
7963
contracts:
80-
- name: EntryPointV0_6_0
81-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
8264
- name: EntryPointV0_7_0
8365
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
8466
- name: EntryPointV0_8_0
8567
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
8668
- id: 8453
8769
start_block: 0
8870
contracts:
89-
- name: EntryPointV0_6_0
90-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
9171
- name: EntryPointV0_7_0
9272
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
9373
- name: EntryPointV0_8_0
9474
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
9575
- id: 84532
9676
start_block: 0
9777
contracts:
98-
- name: EntryPointV0_6_0
99-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
10078
- name: EntryPointV0_7_0
10179
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
10280
- name: EntryPointV0_8_0
10381
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
10482
- id: 42161
10583
start_block: 0
10684
contracts:
107-
- name: EntryPointV0_6_0
108-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
10985
- name: EntryPointV0_7_0
11086
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
11187
- name: EntryPointV0_8_0
11288
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
11389
- id: 421614
11490
start_block: 0
11591
contracts:
116-
- name: EntryPointV0_6_0
117-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
11892
- name: EntryPointV0_7_0
11993
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
12094
- name: EntryPointV0_8_0
12195
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
12296
- id: 34443
12397
start_block: 0
12498
contracts:
125-
- name: EntryPointV0_6_0
126-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
12799
- name: EntryPointV0_7_0
128100
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
129101
- name: EntryPointV0_8_0
130102
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
131103
- id: 59144
132104
start_block: 0
133105
contracts:
134-
- name: EntryPointV0_6_0
135-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
136106
- name: EntryPointV0_7_0
137107
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
138108
- name: EntryPointV0_8_0
139109
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
140110
- id: 42170
141111
start_block: 0
142112
contracts:
143-
- name: EntryPointV0_6_0
144-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
145113
- name: EntryPointV0_7_0
146114
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
147115
- name: EntryPointV0_8_0
148116
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
149117
- id: 42220
150118
start_block: 0
151119
contracts:
152-
- name: EntryPointV0_6_0
153-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
154120
- name: EntryPointV0_7_0
155121
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
156122
- name: EntryPointV0_8_0
157123
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
158124
- id: 43114
159125
start_block: 0
160126
contracts:
161-
- name: EntryPointV0_6_0
162-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
163127
- name: EntryPointV0_7_0
164128
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
165129
- name: EntryPointV0_8_0
166130
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
167131
- id: 43113
168132
start_block: 0
169133
contracts:
170-
- name: EntryPointV0_6_0
171-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
172134
- name: EntryPointV0_7_0
173135
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
174136
- name: EntryPointV0_8_0
175137
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
176138
- id: 100
177139
start_block: 0
178140
contracts:
179-
- name: EntryPointV0_6_0
180-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
181141
- name: EntryPointV0_7_0
182142
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
183143
- name: EntryPointV0_8_0
184144
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
185145
- id: 56
186146
start_block: 0
187147
contracts:
188-
- name: EntryPointV0_6_0
189-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
190148
- name: EntryPointV0_7_0
191149
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
192150
- name: EntryPointV0_8_0
193151
address: "0x4337084d9e255ff0702461cf8895ce9e3b5ff108"
194152
- id: 10143
195153
start_block: 0
196154
contracts:
197-
- name: EntryPointV0_6_0
198-
address: "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
199155
- name: EntryPointV0_7_0
200156
address: "0x0000000071727de22e5e9d8baf0edac6f37da032"
201157
- name: EntryPointV0_8_0

src/entryPoint.ts

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import {
2-
EntryPointV0_6_0_UserOperationEvent_eventArgs,
3-
EntryPointV0_6_0,
42
EntryPointV0_7_0_UserOperationEvent_eventArgs,
53
EntryPointV0_7_0,
64
EntryPointV0_8_0_UserOperationEvent_eventArgs,
@@ -9,38 +7,6 @@ import {
97
handlerContext,
108
} from "generated";
119

12-
EntryPointV0_6_0.UserOperationEvent.handler(async ({ event, context }) => {
13-
handleUserOperationEvent_06(event, context);
14-
});
15-
16-
async function handleUserOperationEvent_06(
17-
event: eventLog<EntryPointV0_6_0_UserOperationEvent_eventArgs>,
18-
context: handlerContext
19-
) {
20-
const hash = event.params.userOpHash;
21-
const bundler = event.transaction.from
22-
? event.transaction.from.toLowerCase()
23-
: undefined;
24-
25-
context.UserOp.set({
26-
id: `${event.chainId}-${hash}`,
27-
chainId: event.chainId,
28-
blockNumber: event.block.number,
29-
blockTimestamp: event.block.timestamp,
30-
transactionIndex: event.transaction.transactionIndex,
31-
transactionHash: event.transaction.hash,
32-
hash,
33-
actualGasCost: event.params.actualGasCost,
34-
actualGasUsed: event.params.actualGasUsed,
35-
nonce: event.params.nonce,
36-
bundler,
37-
paymaster: event.params.paymaster.toLowerCase(),
38-
sender: event.params.sender.toLowerCase(),
39-
success: event.params.success,
40-
entryPoint: event.srcAddress.toLowerCase(),
41-
});
42-
}
43-
4410
EntryPointV0_7_0.UserOperationEvent.handler(async ({ event, context }) => {
4511
handleUserOperationEvent_0_7(event, context);
4612
});

0 commit comments

Comments
 (0)