-
Notifications
You must be signed in to change notification settings - Fork 38
/
wagmi.config.ts
40 lines (38 loc) · 1.27 KB
/
wagmi.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
import { defineConfig } from "@wagmi/cli";
import { Abi } from "abitype";
import GuardedMulticaller from "./foundry-out/GuardedMulticaller.sol/GuardedMulticaller.json";
import ImmutableERC721 from "./foundry-out/ImmutableERC721.sol/ImmutableERC721.json";
import ImmutableERC721MintByID from "./foundry-out/ImmutableERC721MintByID.sol/ImmutableERC721MintByID.json";
import ImmutableERC1155 from "./foundry-out/ImmutableERC1155.sol/ImmutableERC1155.json";
import PaymentSplitter from "./foundry-out/PaymentSplitter.sol/PaymentSplitter.json";
import GuardedMulticaller2 from "./foundry-out/GuardedMulticaller2.sol/GuardedMulticaller2.json";
// https://github.com/wevm/viem/discussions/1009
export default defineConfig({
out: "abi/generated.ts",
contracts: [
{
name: "GuardedMulticaller",
abi: GuardedMulticaller.abi as Abi,
},
{
name: "ImmutableERC721",
abi: ImmutableERC721.abi as Abi,
},
{
name: "ImmutableERC721MintByID",
abi: ImmutableERC721MintByID.abi as Abi,
},
{
name: "ImmutableERC1155",
abi: ImmutableERC1155.abi as Abi,
},
{
name: "PaymentSplitter",
abi: PaymentSplitter.abi as Abi,
},
{
name: "GuardedMulticaller2",
abi: GuardedMulticaller2.abi as Abi,
},
],
});