forked from taikoxyz/taiko-mono
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wagmi.config.ts
36 lines (34 loc) · 1 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
import { defineConfig } from '@wagmi/cli';
import type { Abi } from 'abitype';
// CI will fail if we import from the protocol package
// We'll ignore this file on svelte-check: `svelte-check --ignore ./wagmi.config.ts`
import Bridge from '../protocol/out/Bridge.sol/Bridge.json';
import ERC20 from '../protocol/out/ERC20.sol/ERC20.json';
import FreeMintERC20 from '../protocol/out/FreeMintERC20.sol/FreeMintERC20.json';
import ICrossChainSync from '../protocol/out/ICrossChainSync.sol/ICrossChainSync.json';
import TokenVault from '../protocol/out/TokenVault.sol/TokenVault.json';
export default defineConfig({
out: 'src/abi/index.ts',
contracts: [
{
name: 'Bridge',
abi: Bridge.abi as Abi,
},
{
name: 'TokenVault',
abi: TokenVault.abi as Abi,
},
{
name: 'CrossChainSync',
abi: ICrossChainSync.abi as Abi,
},
{
name: 'FreeMintERC20',
abi: FreeMintERC20.abi as Abi,
},
{
name: 'Erc20',
abi: ERC20.abi as Abi,
},
],
});