-
Notifications
You must be signed in to change notification settings - Fork 3
/
hardhat.config.gnosis.ts
56 lines (53 loc) · 1.57 KB
/
hardhat.config.gnosis.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 "@nomicfoundation/hardhat-foundry";
import "@nomicfoundation/hardhat-toolbox-viem";
import "@nomicfoundation/hardhat-viem";
import "dotenv/config";
import "hardhat-deploy";
import { HardhatUserConfig } from "hardhat/config";
import baseConfig from "./hardhat.config";
import "./tasks";
import {
GNOSIS_CHAINLINK_COORDINATOR,
GNOSIS_ERC4626_COORDINATOR,
GNOSIS_FACTORY,
GNOSIS_SXDAI_182DAY,
GNOSIS_WSTETH_182DAY,
} from "./tasks/deploy/config/gnosis";
const { env } = process;
const config: HardhatUserConfig = {
...baseConfig,
networks: {
gnosis: {
live: true,
chainId: 100,
url: env.HYPERDRIVE_ETHEREUM_URL!,
accounts: [env.DEPLOYER_PRIVATE_KEY!, env.PAUSER_PRIVATE_KEY!],
hyperdriveDeploy: {
factories: [GNOSIS_FACTORY],
coordinators: [
GNOSIS_CHAINLINK_COORDINATOR,
GNOSIS_ERC4626_COORDINATOR,
],
instances: [GNOSIS_WSTETH_182DAY, GNOSIS_SXDAI_182DAY],
checkpointRewarders: [],
checkpointSubrewarders: [],
},
},
},
etherscan: {
customChains: [
{
network: "gnosis",
chainId: 100,
urls: {
apiURL: "https://api.gnosisscan.io/api",
browserURL: "https://gnosisscan.io/",
},
},
],
apiKey: {
gnosis: env.GNOSISSCAN_API_KEY ?? "",
},
},
};
export default config;