Abstract
As a PoolTogether Developer I want everyone to be able to claim Prizes
on behalf of Users
with DelegatedChance
. I want this tool so Users
without gas or who have been delegated chance DO NOT have to pay transaction fees to claim prizes.
Problem
The PoolTogether App is designed to claim prizes on behalf of Wallets connected to the website.
It’s possible, but not easy, to claim prizes on behalf of Users
with winning picks.
Rationale
The “Prize Claimer” is a great tool to help drive adoption of the PoolTogether protocol. The tool helps engaged Community members and Business Development Contributors to simplify the UX for first time users.
Example 1:
NFTProject
deposits $500,000+ into USDCYieldSourcePrizePool
NFTProject
stakesptUSDC
in theTWABDelegator
NFTProject
setsPT_BizDev
asRepresenative
Represenative
delegates chances to NFTOwner
Represenative
claimsPrizes
for theUser
withWinnPicks
The “Prize Claimer” tool is important in the above steps, because it enables Users of our partners to be rewarded without doing anything. This help PoolTogether validate the feasibility of using “delegated chance” in other business development strategies too.
Deliverables
- Create new tool
View
the tools.pooltogether.com application - Add a new
Route
the tools.pooltogether.com application - Create a new
FormClaimPrizeForAnyAddress
component - Execute
claim
onPrizeDistributor.sol
for anyaddress
Specification
FormClaimPrizeForAnyAddress
should use thev4-api
to fetchPrize
data- The
v4-api
request should only fetch active draws (currently set to 60) - A list of
Draws
and whatPrizes
can be claimed should be displayed in a simple bullet point list.
Estimated Budget
Estimate: $1,500
- USDC: $750
- POOL: 375 ($2.00 avg)
Resources
- https://github.com/pooltogether/v4-draw-results
- https://github.com/pooltogether/v4-client-js
- https://github.com/pooltogether/v4-mainnet
The v4-draw-results
repo contains all of the Prizes
for each address
with winning Prizes
and is available via the V4 API.