https://github.com/maticnetwork/governance-contracts
Governance contracts repository for Polygon
https://github.com/maticnetwork/governance-contracts
smart-contracts
Last synced: about 1 year ago
JSON representation
Governance contracts repository for Polygon
- Host: GitHub
- URL: https://github.com/maticnetwork/governance-contracts
- Owner: maticnetwork
- License: gpl-3.0
- Created: 2021-05-20T11:16:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T09:01:26.000Z (about 3 years ago)
- Last Synced: 2025-04-19T10:28:13.083Z (about 1 year ago)
- Topics: smart-contracts
- Language: TypeScript
- Homepage:
- Size: 345 KB
- Stars: 3
- Watchers: 20
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Polygon Governance
Set of Ethereum smart contracts that power Polygon governance.
#### Local setup
```bash
git clone https://github.com/maticnetwork/governance
cd governance
yarn
```
**Compile contracts and typescripts**
```bash
yarn compile
```
**To run testcases**
```bash
yarn test:ci
```
#### Contracts
`TimeLock.sol` - This contract is standard OpenZeppelin `TimelockController` contract, which executes each proposal with mentioned delay. For production, 2 days of delay will be used.
#### LICENSE
GPL-3.0-or-later