forked from gyrostable/concentrated-lps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
39 lines (36 loc) · 976 Bytes
/
hardhat.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
import { HardhatUserConfig } from "hardhat/config";
import "@nomiclabs/hardhat-etherscan";
import "@nomiclabs/hardhat-waffle";
import "@typechain/hardhat";
import "hardhat-gas-reporter";
import "solidity-coverage";
import overrideQueryFunctions from "./misc/overrideQueryFunctions";
import { task } from "hardhat/config";
import { TASK_COMPILE } from "hardhat/builtin-tasks/task-names";
// import { hardhatBaseConfig } from "@balancer-labs/v2-common";
task(TASK_COMPILE).setAction(overrideQueryFunctions);
const config: HardhatUserConfig = {
solidity: {
compilers: [
{
version: "0.7.6",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
// overrides: hardhatBaseConfig.overrides("xxx"),
},
networks: {
polygon: {
url: "https://polygon-rpc.com",
},
},
etherscan: {
apiKey: process.env.POLYGONSCAN_TOKEN || "",
},
};
export default config;