import { HardhatUserConfig } from 'hardhat/config' ; import { networkConfig } from './utils/config-loader' ; import '@nomiclabs/hardhat-truffle5' ; import '@nomiclabs/hardhat-ethers' ; import '@nomiclabs/hardhat-web3' ; import '@nomiclabs/hardhat-etherscan' ; import "@tenderly/hardhat-tenderly" ; import 'hardhat-gas-reporter' ; import 'solidity-coverage' ; const ganacheNetwork = { url : 'http://127.0.0.1:8545' , blockGasLimit : 6000000000 } ; const config = { solidity : { version : '0.7.6' , settings : { optimizer : { enabled : true , runs : 999999 , details : { yul : true } } } } , paths : { root : 'src' , tests : '../tests' } , networks : { mainnet : networkConfig ( 'mainnet' ) , ropsten : networkConfig ( 'ropsten' ) , rinkeby : networkConfig ( 'rinkeby' ) , kovan : networkConfig ( 'kovan' ) , goerli : networkConfig ( 'goerli' ) , matic : networkConfig ( 'matic' ) , mumbai : networkConfig ( 'mumbai' ) , arbitrum : networkConfig ( 'arbitrum' ) , arbitrumTestnet : networkConfig ( 'arbitrum-testnet' ) , ganache : ganacheNetwork , coverage : { url : 'http://localhost:8555' } } , etherscan : { apiKey : networkConfig ( 'mainnet' ) . etherscan } , mocha : { timeout : process . env . COVERAGE ? 15 * 60 * 1000 : 30 * 1000 } , gasReporter : { enabled : ! ! process . env . REPORT_GAS === true , currency : 'USD' , gasPrice : 21 , showTimeSpent : true } , tenderly : { project : "horizon/sequence-dev-1" , username : "Agusx1211-horizon" , } } ; export default config ;