Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cryptexfinance/governance-staking
Allow users to stake the governance token and earn rewards if they have delegated to an active user
https://github.com/cryptexfinance/governance-staking
Last synced: about 2 months ago
JSON representation
Allow users to stake the governance token and earn rewards if they have delegated to an active user
- Host: GitHub
- URL: https://github.com/cryptexfinance/governance-staking
- Owner: cryptexfinance
- Created: 2021-08-09T21:42:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-18T22:26:28.000Z (about 3 years ago)
- Last Synced: 2024-08-04T01:02:20.130Z (5 months ago)
- Language: Solidity
- Size: 347 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-dapptools - Cryptex Staking
README
## Governance Token
The **DelegatorFactory** is a contract that allows a governor to create a **Delegator** contract that allows it to receive governance token delegation from other users. If the **DelegatorFactory** contract is used, stakers / delegators will earn reward tokens the longer they have staked.
The **delegatorFactory** contract is based on Synthetix Liquidity Rewards contract.
### How to run
1. Clone the Repo
2. Install [dappTools](https://github.com/dapphub/dapptools#installation).
3. Install dependencies `yarn install`### How to test
Run
```shell
yarn test
```or
```shell
dapp test --verbosity 1
```### Audits
This contract has been audited by Quanstamp, you can read the audit here: https://certificate.quantstamp.com/view/cryptex
### Discussions
If you want to discuss this repo you can join [Cryptex Discord](https://discord.gg/2uMwMKJRaq).