https://github.com/angleprotocol/holder-dick-contest
🍆 Who has the biggest?
https://github.com/angleprotocol/holder-dick-contest
Last synced: 17 days ago
JSON representation
🍆 Who has the biggest?
- Host: GitHub
- URL: https://github.com/angleprotocol/holder-dick-contest
- Owner: AngleProtocol
- License: gpl-3.0
- Created: 2022-09-25T14:21:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T15:55:57.000Z (over 2 years ago)
- Last Synced: 2025-05-06T19:11:45.079Z (17 days ago)
- Language: TypeScript
- Homepage:
- Size: 284 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
#
Holder Dick Contest
[](https://github.com/AngleProtocol/holder-dick-contest/actions?query=workflow%3ACI)
## What is the Holder Dick Contest?
It's a funny contest where those who hold their tokens longer than the others participants make money from it. If not, you're losing a bit.
## How does that work in practice?
There can be as many Holder Dick Contests (HDC) as possible as there are ERC20 tokens and possible fees.
HDC work as ERC4626 contracts where there is no entry fee but a fixed exit fee.As such if we are 2 in the contract with 100 wETH deposited each and there is a 1% exit fee, then if you withdraw all your shares, I am left as the only share owner of the contract with 101 wETH that correspond to it: I have made 1 wETH because I held longer than you did.
## How can I deploy a new HDC contest?
You just have to go through the factory contract of the chain on which you wish to create the contest (or deploy a factory contract using the deployment scripts available here by yourself).
Once you create a HDC contest, the contract is fully permissionless and immutable.
## What tokens are supported?
Only ERC-20 tokens are supported. If you want to build a HDC for ETH, you need to use wETH.
Rebalancing tokens are supported as well.## Is there a UI I can use to participate?
No, there's no UI so far. This is a fun experiment, and so if you'd like to take it at a bigger scale, feel free to build your own UI around HDC contracts.