βοΈ Smart Contract Integrations
π° PoolTogether
PoolTogether is a prize savings protocol
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
- Demo: turboeth.xyz/integration/pooltogether-v4
- Code: github.com/turbo-eth/template-web3-app/tree/integrations/integrations/pooltogether-v4
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