This bounty updates the Prize API to support Optimism. This is in support of Project: Optimism.
Optimism is an Ethereum L2 with significantly lower transaction costs than Ethereum. Our Ethereum users will be able to migrate their funds to Optimism to take advantage of lower fees.
Additionally, Optimism is launching an incentive program for dapps. By deploying, PoolTogether will become eligible to receive incentives.
The Prize API allows our app and others to efficiently retrieve a user’s winning picks.
There are two sets of deliverables for this bounty, and an expectation to support other contributors until the project has been delivered.
The deliverables will occur in two stages:
- a testnet deployment
- a production deployment.
There will be a gap in time between the testnet deployment and the production deployment. After the testnet is deployed, the other team members of Project: Optimism will start building. Once the whole team is ready to deploy, then the production deployment will continue.
v4-draw-results to run Prize computations for the Optimism Testnet PrizePool.
v4-draw-results to run Prize computations for the Optimism Mainnet PrizePool.
It’s recommend to fork
v4-draw-results and too add ENV variables for testing.
- remove lines #39 to #65 which run Prize calculations for Mainnet builds
- add command to run
v4-cli:compute:poolPrizefor the Optimism Testnet ticket
- update the
-o ./api/testnet/prizesas the output destination
- add command to run
v4-cli:compute:poolPrizefor the Optimism Mainnet ticket
Kames and Pierrick will be reviewing the submission and are available for mentorship.
Budget: $ 1,200
Split: $1,000 USDC and $200 POOL
- 50% will be paid after the testnet deployment
- 50% will be paid after the PR to support the Optimism
ticketaddress has been merged
Payout will be at full discretion of the reviewers. The requirements of the bounty and expectations of the reviewers must be met for the contributor to receive payment.
Referral Reward: 100 POOL
Know someone that can do it? Connect us with a qualified candidate. If that person is selected to complete the bounty, then you will be paid upon successful bounty completion. Reach out to Brendan for more info.
The v4-testnet and v4-mainnet contain deployment information for all blockchain deployments.
The modules have requirements on v4-core, v4-periphery and v4-timelock smart contracts.