The Pods smart contracts are a periphery smart contract collection for PoolTogether
- Lower Gas Fees
- Increased Chances of Winning
The smart contracts are categorized into multiple categories
The primary smart contracts are responsible for handling collective deposits and issuing POOL rewards
- Pod
- TokenDrop
The factory smart contracts are responsible for deploying new Pods associated TokenDrop
- PodFactory
- TokenDropFactory
The periphery smart contracts help handle secondary actions, like liquidating "bonus" rewards from LOOT boxes.
- PodManager
The development, testing and deployment is handled via hardhat
The test suite includes support for pod essentials, deposits, withdrawls, batching and collecting POOL rewards.
Due to POOL rewards schedule it's important to run tests using a mainnet fork from a specific block number.
Run All Tests
yarn test
Core Test Suite
yarn test test/pod-factory.js
yarn test test/pod-essentials.js
yarn test test/pod-withdraw.js
yarn test test/pod-drop.js
yarn test test/pod-drop.js
Periphery Test Suite
yarn test test/pod-manager.js