forked from kevoconnell/Agents.fun-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ponder.config.ts
51 lines (49 loc) · 1.29 KB
/
ponder.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { createConfig } from "@ponder/core";
import { http } from "viem";
import { MemeAbi_0_1_0 } from "./abis/MemeABI_0_1_0";
import { MemeAbi_0_2_0 } from "./abis/MemeABI_0_2_0";
import { timeout } from "hono/timeout";
export default createConfig({
networks: {
// mainnet: {
// chainId: 1,
// transport: http(process.env.PONDER_RPC_URL_1),
// },
base: {
chainId: 8453,
transport: http(process.env.PONDER_RPC_URL_8453, {timeout: 1000}),
},
celo: {
chainId: 42220,
transport: http(process.env.PONDER_RPC_URL_42220),
},
},
contracts: {
// 0.1.0
MemeBase_0_1_0: {
network: "base",
abi: MemeAbi_0_1_0,
address: "0x42156841253f428cB644Ea1230d4FdDFb70F8891",
startBlock: 21757872,
},
MemeCelo_0_1_0: {
network: "celo",
abi: MemeAbi_0_1_0,
address: "0x42156841253f428cB644Ea1230d4FdDFb70F8891",
startBlock: 28527007,
},
// 0.2.0
MemeBase_0_2_0: {
network: "base",
abi: MemeAbi_0_2_0,
address: "0x82A9c823332518c32a0c0eDC050Ef00934Cf04D4",
startBlock: 23540622,
},
MemeCelo_0_2_0: {
network: "celo",
abi: MemeAbi_0_2_0,
address: "0xEea5F1e202dc43607273d54101fF8b58FB008A99",
startBlock: 29240080,
},
},
});