@yield-sync/governance
v0.0.39
Published
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Downloads
5
Readme
Sample Hardhat Project
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
.env
example
PRIVATE_KEY=
INFURA_API_KEY=
ETHERSCAN_API_KEY=
OPTIMISTIC_ETHERSCAN_API_KEY=
Variables, Mappings, & Functions Ordering
Variables
Standard
- Type (
address
,bytes
, etc.) - Visibility (
public
|private
|internal
|external
) - Array
Mapping
- Visibility (
public
|private
|internal
|external
) - Type (
address
,bytes
, etc.) - Struct
Function
- Visibility (
public
|private
|internal
|external
) - State Interaction (
pure
|view
) - Restriction (
Access Control
etc. DEFAULT_ADMIN_ROLE first) - Complexity (Calls to inherited functions, external functions, change state)
- Alphabetical