-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PoolTogether connector #73
Conversation
@eccheung4 Can you attach poolTogether docs about the integration? Also, what does the "claim from a token faucet" function do exactly? Why is it used? |
@thrilok209 Hope these are what you are looking for.
The Token Faucet is Pool Together's mechanism for distributing tokens to user's for joining a Prize Pool. It is an extra incentive for joining a Prize Pool. The Token Faucet drips a certain number of tokens per second. Those tokens are distributed to users based on their balance of measure tokens held. The claim function is used to claim the user's reward from a token faucet. |
@thrilok209 I'm done with edits, let me know if you need anything else when reviewing. |
@eccheung4 Awesome! We will start reviewing the pr. |
@eccheung4 Added some suggestions. |
Hey @eccheung4! We would also need a resolver contract. That is used to fetch protocol and connector functions related data. Resolver helps simplify reading operations on our frontend interfaces. https://github.com/Instadapp/dsa-resolvers Eg: Compound resolver- https://github.com/Instadapp/dsa-resolvers/tree/main/contracts/protocols/mainnet/compound |
@thrilok209 wow, thanks for the quick review! Cool, will look into resolver contract. Sorry, didn't know that was needed as well. |
…withdraw in setUint()
@thrilok209 I believe I've implemented all your suggestions. I'll start on the resolver next. |
@thrilok209 I've submitted PR for resolver and a fix for uniswapStaking. Thanks! |
@eccheung4 Connector looks good! Next would be deploying the connector and then adding it to the ConnectorsV2 registry. Could you deploy the connector and comment the deployed connector address in this pr? :) |
@thrilok209 Deployed Connector ConnectorName: "POOLTOGETHER-A" |
Connector whitelisted: https://etherscan.io/tx/0x1c6632f575670c0dcee1cb0230c3f2d5c5f5e0a58bfd5eec270692faabeb809e |
Pool Together Connector that will allow DSA to:
Should also be able to use Uniswap V2 POOL/ETH LP to deposit into PoolTogether Uniswap POOL LP Prize Pool