Closed MoeNick closed 1 month ago
@markoprljic would you please sync with Liam about the accuracy of this cast?
@mmahdigh I think @RamRamez can use mock data, but I explained what the query will look like in the context of the issue.
@RamRamez please note that the bot may handle the sending status/retrying and schedule so the backend will not be engaged in that, only read access to get those casts list.
Hey @RamRamez I edited the cast copy. when do you think we can start testing?
Hey @RamRamez I edited the cast copy. when do you think we can start testing?
It's finished and waiting for review.
@RamRamez @MoeNick It's merged & deployed.
Het @maryjaf can you sync with @RamRamez on testing the bot?
A few changes to request
[ ] Bot will query the list of new delegations and the username of the user who gets delegated every 24 hours and make a cast (not 12)
[ ] The query from the backend should be grouped by delegated to username and should contain the number of delegates people AND THE PEOPLE THAT DELEGATED TO THEM, AND THE PEOPLE THAT DELEGATED TO THEM, and so on, as deep as is reasonable. So to be able to send this sample cast:
@username 👋
🗳️ 5 people have delegated to you in @Pairwise's Liquid Democracy experiment!
🤝 Delegate this voting power to the @Farcaster users you trust to judge the impact of the governance projects in @Optimism's Retro Funding 6 round or vote yourself! 🫡
👇
https://app.pairwise.vote
Note!
As Moenick said above, we should change the tweet when the queried number is a 1:
@username 👋
🗳️ 1 person has delegated to you in @Pairwise's Liquid Democracy experiment!
🤝 Delegate this voting power to the @Farcaster users you trust to judge the impact of the governance projects in @Optimism's Retro Funding 6 round or vote yourself! 🫡
👇
https://app.pairwise.vote
BONUS POINTS!
Once someone has used the app and delegated or voted for all 4 options, they should stop receiving the casts, and we should send them a separate cast:
@username thank you for playing with Pairwise! YOU ROCK!
3 people delegated to you.
) I will make the Bonos point of casting for people who did voting, I will raise another issue.
@RamRamez I think you gonna be blocked for the first one, can you do the rest until @mmahdigh gets freed up?
I'm on it
Changes required:
- [ ] 1. Query of total delegators from the beginning, not the new one. (if possible query returns the end of the whole thread not only the last layer: so if A -> B -> C -> D then D will get a cast of
3 people delegated to you.
)- [ ] 2. Casting only when the numbers rise. so if A is 5 and we cast it today and it is 5 tomorrow at the query-time, no need to cast it again.
- [ ] 3. Change time of getting query to 24 hours.
- [ ] copy changes of the cast.
- [ ] one person edgecase.
I will make the Bonos point of casting for people who did voting, I will raise another issue.
@RamRamez I think you gonna be blocked for the first one, can you do the rest until @mmahdigh gets freed up?
Done! (It's waiting for review)
oops it was too long before and the capital letters ruined the tag!
[@griff.eth](https://warpcast.com/griff.eth) 👋
🗳️ 1 person has delegated to you in [@pairwise](https://warpcast.com/pairwise)'s Liquid Democracy experiment!
🤝 Delegate this voting power to the [@farcaster](https://warpcast.com/farcaster) users you trust to judge projects in [@optimism](https://warpcast.com/optimism)'s Retro Funding 6 round or vote yourself! 🫡
👇
[app.pairwise.vote](http://app.pairwise.vote/)
Or if that doesn't work
@griff.eth 👋
🗳️ 1 person has delegated to you in @pairwise's Liquid Democracy experiment!
🤝 Delegate this voting power to the @farcaster users you trust to judge projects in @optimism's Retro Funding 6 round or vote yourself! 🫡
👇
app.pairwise.vote
oops it was too long before and the capital letters ruined the tag!
[@griff.eth](https://warpcast.com/griff.eth) 👋 🗳️ 1 person has delegated to you in [@pairwise](https://warpcast.com/pairwise)'s Liquid Democracy experiment! 🤝 Delegate this voting power to the [@farcaster](https://warpcast.com/farcaster) users you trust to judge projects in [@optimism](https://warpcast.com/optimism)'s Retro Funding 6 round or vote yourself! 🫡 👇 [app.pairwise.vote](http://app.pairwise.vote/)
Or if that doesn't work
@griff.eth 👋 🗳️ 1 person has delegated to you in @pairwise's Liquid Democracy experiment! 🤝 Delegate this voting power to the @farcaster users you trust to judge projects in @optimism's Retro Funding 6 round or vote yourself! 🫡 👇 app.pairwise.vote
Done! (It's waiting for review)
As a Pairwise stakeholder, I want to announce delegations on pairwise so the app is going viral and users who got delegated come and use the app.
Success Criteria
delegated to
username and should contain the number of delegates people so be able to send this sample cast: