{"repo":"GenerationSoftware/pt-v5-prize-pool","free":true,"listed":false,"github":"https://github.com/GenerationSoftware/pt-v5-prize-pool","clone":"git clone https://github.com/GenerationSoftware/pt-v5-prize-pool.git","description":null,"language":"Solidity","stars":56,"topics":["pooltogether","solidity"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"PoolTogether V5 Prize Pool Have questions or want the latest news? Join the PoolTogether Discord or follow us on Twitter: Overview In PoolTogether V5 prizes are distributed through the Prize Pool contract. There is one Prize Pool deployed on each chain on which PT is deployed. The Prize Pool receives POOL tokens from Vaults, and releases the tokens as prizes in daily Draws. In this way, prize liquidity is isolated to a chain. - Accrued yield is sold by the Liquidator and sent to the Prize Pool. - Every \"Draw\" a random number is provided and given to the Prize Pool and the next set of prizes are available. - The Prize Pool determines a users chance of winning by reading historic data from the TWAB Controller. [!important] Only WETH has been audited as the prizeToken for the prize pool. Other prize tokens may lead to unknown complications due to differences in precision or mathematical limitations. Development Installation You may have to install the following tools to use this repository: - Foundry to compile and test contracts - direnv to handle environment variables - lcov to generate the code coverage report Install dependencies: Env Copy .envrc.example and write down the env variables needed to run this project. Once your env variables are setup, load them with: Compile Run the following command to compile the contracts: Coverage Forge is used for coverage, run it with: You can then consult the report by opening coverage/index.html : Code quality Husky is used to run lint-","default_branch":null,"files":null,"tree":[],"storefront":"/r/GenerationSoftware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GenerationSoftware/pt-v5-prize-pool/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}