Skip to content

Commit 14720f3

Browse files
committed
update
1 parent 253caff commit 14720f3

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

bun.lockb

3.46 KB
Binary file not shown.

foundry.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"lib/forge-std": {
33
"rev": "3b20d60d14b343ee4f908cb8079495c07f5e8981"
44
},
5-
"lib/v4-periphery": {
6-
"rev": "9628c36b4f5083d19606e63224e4041fe748edae"
7-
},
85
"lib/foundry-huff-neo": {
96
"tag": {
107
"name": "v1.0.1",
118
"rev": "de579feef26995833160fb8efa54a9f27a80672d"
129
}
10+
},
11+
"lib/v4-periphery": {
12+
"rev": "9628c36b4f5083d19606e63224e4041fe748edae"
1313
}
1414
}

packages/indexer/ponder.config.ts

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
import { createConfig } from "ponder";
2-
import { http, getAddress, hexToNumber } from "viem";
2+
import { http, getAddress } from "viem";
33
import type { Hex } from "viem";
4-
import DeployPoolManager from "../../broadcast/00_DeployPoolManager.s.sol/130/run-latest.json";
54
import DeployHook from "../../broadcast/01_DeployHook.s.sol/130/run-latest.json";
65
import { AsyncSwapAbi } from "./abis/AsyncSwap";
76
import { PoolManagerAbi } from "./abis/PoolManagerAbi";
87

9-
const poolManagerAddress = getAddress(
10-
DeployPoolManager.transactions[0]?.contractAddress as Hex,
11-
);
12-
const poolManagerStartBlock = hexToNumber(
13-
DeployPoolManager.receipts[0]?.blockNumber as Hex,
14-
);
15-
168
const hookAddress = getAddress(
179
DeployHook.transactions[0]?.contractAddress as Hex,
1810
);
19-
const hookStartBlock = hexToNumber(DeployHook.receipts[0]?.blockNumber as Hex);
2011

2112
export default createConfig({
2213
networks: {
@@ -31,7 +22,7 @@ export default createConfig({
3122
network: {
3223
unichain: {
3324
address: "0x1F98400000000000000000000000000000000004",
34-
startBlock: 28199000, // poolManagerStartBlock,
25+
startBlock: 28799000, // poolManagerStartBlock,
3526
},
3627
},
3728
abi: PoolManagerAbi,
@@ -40,7 +31,7 @@ export default createConfig({
4031
network: {
4132
unichain: {
4233
address: hookAddress,
43-
startBlock: 28199000, // hookStartBlock,
34+
startBlock: 28799000, // hookStartBlock,
4435
},
4536
},
4637
abi: AsyncSwapAbi,

0 commit comments

Comments
 (0)