Git Product home page Git Product logo

cosmos-proposals-checker's People

Contributors

fossabot avatar freak12techno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cosmos-proposals-checker's Issues

Process v1 proposals

v1beta1 proposals are correctly parsed but not v1, need to fix it.

Example: quicksilver

Add proposals list in telegram

Add a command, like /proposals, that fetches a new state and displays it. Something like:

'''
Cosmos

Proposal #1 - Blablabla

  • Wallet xxxx - ✅ (Yes)
  • Wallet yyyy - ❌
  • Wallet zzzz - ⚠️ (request timeout)

Osmosis

  • ⚠️ Could not get proposals: request timeout
    '''

Generate explorer wallet links

  1. make a config struct inside Chain, called Explorer, with 3 fields, name, wallet link pattern and proposal link pattern
  2. if it's not specified, but mintscan prefix is specified, generate an Explorer based on mintscan
  3. if Explorer is present, print wallet link instead of displaying it in plaintext

Add wallet aliases

Instead of a string, require a struct in config with two fields: address (required), name (optional).
Print wallet alias everywhere instead of address if it's provided.

Allow muting all alerts on chain

Change the command to mute to also allow to be run like that:

/proposals_mute 24h cosmos

So it would mute all the alerts on chain.

Pretty format dates

in strings like Voting ends at: 2023-01-31T20:00:22.143489464Z (in 155h57m33s)

  1. pretty format date
  2. pretty format duration (with days)

Add revote notifications

  1. display current vote on vote reports (like "Vote: YES")
  2. add new report type, REVOTE (and probably refactor to add types, NOT_VOTED/VOTED/REVOTED, only send VOTED/REVOTED to telegram) to send a message like "wallet xxx changed its vote on proposal X on Y: Zzzz. Old vote: A. New vote: B."

Process node errors correctly

Currently when querying for proposals and there's an error in response, it's not respected. Need to parse it correctly and return to client.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.