-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathwagmi.config.ts
56 lines (55 loc) · 1.68 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
import { defineConfig } from "@wagmi/cli";
import { LoopStrategyAbi } from "./abis/LoopStrategy";
import { AaveOracleAbi } from "./abis/AaveOracle";
import { LendingPoolAbi } from "./abis/LendingPool";
import { ILMRegistryAbi } from "./abis/ILMRegistry";
import { react } from "@wagmi/cli/plugins";
import { UIIncentiveDataProviderAbi } from "./abis/UIIncentiveDataProvider";
import { ProtocolDataProviderAbi } from "./abis/ProtocolDataProvider";
import { PoolDataProviderAbi } from "./abis/PoolDataProvider";
import { RewardsControllerAbi } from "./abis/RewardsController";
export default defineConfig({
out: "src/app/generated/generated.ts",
contracts: [
{
name: "LoopStrategy",
abi: LoopStrategyAbi,
},
{
name: "ILMRegistry",
address: "0x36291d2D51a0122B9faCbE3c3F989cc6b1f859B3",
abi: ILMRegistryAbi,
},
{
name: "AaveOracle",
address: "0xFDd4e83890BCcd1fbF9b10d71a5cc0a738753b01",
abi: AaveOracleAbi,
},
{
name: "LendingPool",
address: "0x8F44Fd754285aa6A2b8B9B97739B79746e0475a7",
abi: LendingPoolAbi,
},
{
name: "IncentiveDataProvider",
address: "0x3F5a90eF7BC3eE64e1E95b850DbBC2469fF71ce8",
abi: UIIncentiveDataProviderAbi,
},
{
name: "ProtocolDataProvider",
address: "0x2A0979257105834789bC6b9E1B00446DFbA8dFBa",
abi: ProtocolDataProviderAbi,
},
{
name: "PoolDataProvider",
address: "0xB7397f841a449793c634C06Cf12751d256b9bf50",
abi: PoolDataProviderAbi,
},
{
name: "RewardsController",
address: "0x91Ac2FfF8CBeF5859eAA6DdA661feBd533cD3780",
abi: RewardsControllerAbi,
},
],
plugins: [react()],
});