PoolTogether is a popular decentralized finance (DeFi) protocol offering no-loss savings games on the Ethereum network.

Launched in 2019, PoolTogether leverages the power of pooled interest to create a lottery where nobody loses. The protocol’s innovative design has been instrumental in introducing a novel financial instrument in the Ethereum DeFi ecosystem, creating a unique blend of savings and chance for users worldwide.

Integration

Folder Structure:

integrations/pooltogether-v4
β”œβ”€ abis/
β”‚  β”œβ”€ yield-source-prize-pool-abi.ts
β”‚  β”œβ”€ yield-source-prize-pool-bytecode.ts
β”œβ”€ components/
β”‚  β”œβ”€ form-yield-source-prize-pool-deposit.tsx
β”‚  β”œβ”€ form-yield-source-prize-pool-withdraw.tsx
β”œβ”€ generated/
β”‚  β”œβ”€ pooltogether-v4-wagmi.ts
β”œβ”€ hooks/
β”‚  β”œβ”€ use-load-contract-from-chain-id.ts
β”‚  β”œβ”€ use-user-balance.ts
β”œβ”€ utils/
β”‚  β”œβ”€ constants.ts
β”‚  β”œβ”€ prize-pool-contract-list.ts
β”‚  β”œβ”€ ticket-contract-list.ts
β”‚  β”œβ”€ usdc-contract-list.ts
β”œβ”€ README.md
β”œβ”€ wagmi.config.ts