This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wagmi.config.ts
72 lines (71 loc) · 2.07 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import { defineConfig } from "@wagmi/cli";
import { etherscan, react } from "@wagmi/cli/plugins";
import { mainnet } from "wagmi/chains";
import UnitapPass from "./abis/UnitapPass.json";
import UnitapPassMain from "./abis/UnitapPassMain.json";
import UnitapEVMTokenTap from "./abis/UnitapEVMTokenTap.json";
import AutoFund from "./abis/AutoFund.json";
import UnitapPassBatchSaleMain from "./abis/UnitapPassBatchSaleMain.json";
import PrizeTap from "./abis/UnitapPrizeTap.json";
import PrizeTap721 from "./abis/UnitapPrizeTap721.json";
import erc20ABI from "./abis/Erc20.json";
import TokenTap from "./abis/TokenTap.json";
export default defineConfig({
out: "types/abis/contracts.ts",
contracts: [
{
name: "erc20",
abi: erc20ABI,
},
{
name: "UnitapPass",
abi: UnitapPass as any,
// address: "0x4649b7d433ee4ba472fd76073b07f082d8b18e9b",
address: "0xCcEa5FB3Da0B89d073f1ac12A35a8f24caF0d76C",
},
{
name: "UnitapPassMain",
abi: UnitapPassMain as any,
// address: "0x4649b7d433ee4ba472fd76073b07f082d8b18e9b",
address: "0xCcEa5FB3Da0B89d073f1ac12A35a8f24caF0d76C",
},
{
name: "UnitapEVMTokenTap",
abi: UnitapEVMTokenTap as any,
},
{
name: "AutoFund",
abi: AutoFund as any,
address: "0xE6Bc2586fcC1Da738733867BFAf381B846AAe834",
},
{
name: "UnitapPassBatchSale",
abi: UnitapPassBatchSaleMain as any,
// address: "0x4649b7d433ee4ba472fd76073b07f082d8b18e9b",
address: "0xCcEa5FB3Da0B89d073f1ac12A35a8f24caF0d76C",
},
{
name: "PrizeTap",
abi: PrizeTap as any,
address: "0xC74089ff29CC6F46DE9318F4a6b482cEadbf814C",
},
{
name: "PrizeTap721",
abi: PrizeTap721 as any,
address: "0xAB98C8DAD87C2fEB1fb723994c97845f26bc1dce",
},
{
name: "TokenTap",
abi: TokenTap as any,
address: "0x785996054151487B296005aAeC8CAE7C209D1385",
},
],
plugins: [
etherscan({
apiKey: process.env.ETHERSCAN_API_KEY!,
chainId: mainnet.id,
contracts: [],
}),
react(),
],
});