generated from TreasureProject/web3-frontend-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwagmi.config.ts
49 lines (47 loc) · 1.11 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
48
49
import { defineConfig } from "@wagmi/cli";
import { react } from "@wagmi/cli/plugins";
import { erc20Abi, erc721Abi } from "viem";
import { erc1155Abi } from "./artifacts/ERC1155";
import { magicSwapV2RouterAbi } from "./artifacts/MagicSwapV2Router";
import { nftVaultAbi } from "./artifacts/NftVault";
import { nftVaultManagerAbi } from "./artifacts/NftVaultManager";
import { stakingContractAbi } from "./artifacts/StakingContract";
import { uniswapV2PairAbi } from "./artifacts/UniswapV2Pair";
export default defineConfig({
out: "app/generated.ts",
contracts: [
{
name: "ERC20",
abi: erc20Abi,
},
{
name: "ERC721",
abi: erc721Abi,
},
{
name: "ERC1155",
abi: erc1155Abi,
},
{
name: "UniswapV2Pair",
abi: uniswapV2PairAbi,
},
{
name: "MagicSwapV2Router",
abi: magicSwapV2RouterAbi,
},
{
name: "StakingContract",
abi: stakingContractAbi,
},
{
name: "NftVault",
abi: nftVaultAbi,
},
{
name: "NftVaultManager",
abi: nftVaultManagerAbi,
},
],
plugins: [react()],
});