-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathhardhat.config.ts
61 lines (58 loc) · 1.46 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import "hardhat-exposed";
import "@nomicfoundation/hardhat-chai-matchers";
import "@typechain/hardhat";
import "solidity-coverage";
import "hardhat-deploy";
import "hardhat-deploy-ethers";
import "@openzeppelin/hardhat-upgrades";
import "@nomiclabs/hardhat-etherscan";
import "hardhat-preprocessor";
import "hardhat-tracer";
import "hardhat-storage-layout";
import "hardhat-exposed";
import "hardhat-gas-reporter";
import "@primitivefi/hardhat-dodoc";
import { HardhatUserConfig } from "hardhat/types";
const config: HardhatUserConfig = {
solidity: {
version: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 1337,
},
},
},
networks: {
hardhat: {
accounts: {
count: 100,
},
},
},
typechain: {
target: "ethers-v5",
externalArtifacts: ["node_modules/@manifoldxyz/royalty-registry-solidity/build/contracts/*.json"],
outDir: "src/typechain",
},
gasReporter: {
excludeContracts: ["mocks/", "FoundationTreasury.sol", "ERC721.sol"],
},
dodoc: {
runOnCompile: true,
include: [
"NFTCollection",
"NFTDropCollection",
"FETH",
"FNDMiddleware",
"NFTCollectionFactory",
"NFTMarket",
"NFTDropMarket",
"FoundationTreasury",
"PercentSplitETH",
],
exclude: ["mixins", "mocks", "interfaces", "xyz/royalty-registry-solidity", "archive", "contracts-exposed"],
templatePath: "./docs_template.sqrl",
},
};
export default config;