An open API service indexing awesome lists of open source software.

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.

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 · │
·---------------------------------|-------------|---------------·
```