-
Notifications
You must be signed in to change notification settings - Fork 3
/
wagmi.config.ts
47 lines (43 loc) · 1.16 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
41
42
43
44
45
46
47
import { defineConfig } from "@wagmi/cli";
import { actions } from "@wagmi/cli/plugins";
import DistributionVaultAbi from "./modules/m-core/abi/DistributionVault.json";
import StandardGovernorABI from "./modules/m-core/abi/StandardGovernor.json";
import EmergencyGovernorABI from "./modules/m-core/abi/EmergencyGovernor.json";
import ZeroGovernorABI from "./modules/m-core/abi/ZeroGovernor.json";
import PowerTokenABI from "./modules/m-core/abi/PowerToken.json";
import RegistrarABI from "./modules/m-core/abi/Registrar.json";
import ZeroTokenABI from "./modules/m-core/abi/ZeroToken.json";
export default defineConfig({
out: "lib/sdk.ts",
contracts: [
{
name: "StandardGovernor",
abi: StandardGovernorABI,
},
{
name: "EmergencyGovernor",
abi: EmergencyGovernorABI,
},
{
name: "ZeroGovernor",
abi: ZeroGovernorABI,
},
{
name: "PowerToken",
abi: PowerTokenABI,
},
{
name: "Registrar",
abi: RegistrarABI,
},
{
name: "ZeroToken",
abi: ZeroTokenABI,
},
{
name: "DistributionVault",
abi: DistributionVaultAbi,
},
],
plugins: [actions()],
});