hardhat.config.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /** @type import('hardhat/config').HardhatUserConfig */
  2. module.exports = {
  3. solidity: {
  4. compilers: [
  5. {
  6. version: '0.8.0',
  7. settings: {
  8. 'optimizer': {
  9. 'enabled': true,
  10. 'runs': 200
  11. },
  12. 'outputSelection': {
  13. '*': {
  14. '*': [
  15. 'evm.bytecode',
  16. 'evm.deployedBytecode',
  17. 'abi'
  18. ]
  19. }
  20. },
  21. 'metadata': {
  22. 'useLiteralContent': true
  23. },
  24. 'libraries': {}
  25. }
  26. },
  27. {
  28. version: '0.6.12',
  29. settings: {
  30. 'optimizer': {
  31. 'enabled': true,
  32. 'runs': 200
  33. },
  34. 'outputSelection': {
  35. '*': {
  36. '*': [
  37. 'evm.bytecode',
  38. 'evm.deployedBytecode',
  39. 'abi'
  40. ]
  41. }
  42. },
  43. 'metadata': {
  44. 'useLiteralContent': true
  45. },
  46. 'libraries': {}
  47. },
  48. },
  49. {version: '0.8.7'},
  50. {version: '0.4.21'},
  51. {version: '0.7.6'}],
  52. },
  53. };