https://github.com/tthebc01/oz-governor-hardhat-example
Example of how to compile OZ Governor with Hardhat.
https://github.com/tthebc01/oz-governor-hardhat-example
openzeppelin-solidity
Last synced: about 1 year ago
JSON representation
Example of how to compile OZ Governor with Hardhat.
- Host: GitHub
- URL: https://github.com/tthebc01/oz-governor-hardhat-example
- Owner: TtheBC01
- License: mit
- Created: 2022-03-11T23:36:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-11T23:41:16.000Z (over 4 years ago)
- Last Synced: 2025-01-03T03:19:47.490Z (over 1 year ago)
- Topics: openzeppelin-solidity
- Language: Solidity
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic Hardhat project using OpenZepplin Governor library
Comes with hardhat contract sizer plugin setup.
```shell
npm install
npx hardhat compile
```
Expected contract sizer output:
```shell
·---------------------------------|-------------|---------------·
| Contract Name · Size (KB) · Change (KB) │
··································|·············|················
| AddressUpgradeable · 0.086 · │
··································|·············|················
| ECDSAUpgradeable · 0.086 · │
··································|·············|················
| Governor · 15.301 · │
··································|·············|················
| SafeCastUpgradeable · 0.086 · │
··································|·············|················
| StorageSlotUpgradeable · 0.086 · │
··································|·············|················
| StringsUpgradeable · 0.086 · │
··································|·············|················
| TimelockControllerUpgradeable · 6.563 · │
··································|·············|················
| TimersUpgradeable · 0.086 · │
·---------------------------------|-------------|---------------·
```