Skip to content
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

Feature request: AMM Account Page tab for voting info #956

Open
mvadari opened this issue Mar 22, 2024 · 0 comments
Open

Feature request: AMM Account Page tab for voting info #956

mvadari opened this issue Mar 22, 2024 · 0 comments
Labels
AMM design work needed This issue requires some UI design work enhancement New feature or request

Comments

@mvadari
Copy link
Collaborator

mvadari commented Mar 22, 2024

There's some info that's provided in the amm_info command that isn't included. Namely, who has the current auction slot and who holds the other voting slots. It'd be really useful if there was another tab (probably next to "Transactions") that had some representation of that data.

Example amm_info output that shows this data (copied from Discord):

{
  "id": 1,
  "result": {
    "amm": {
      "account": "rJCfZLWXgMRmCGGhG8rZeg5fpoWvEkHXkm",
      "amount": "3499026461106",
      "amount2": {
        "currency": "LTC",
        "issuer": "rPEV4e86ZJDAjV84VayCx1PpiKEAhmHJBF",
        "value": "25545.11722121954"
      },
      "asset2_frozen": false,
      "auction_slot": {
        "account": "r3xoab3FR5m4C7qQnq3Rfk5Z1UZrM8YXC7",
        "discounted_fee": 75,
        "expiration": "2024-03-14T11:21:10+0000",
        "price": {
          "currency": "03464237AB32D5DEF7906822DEBFA90ED71D8CAC",
          "issuer": "rJCfZLWXgMRmCGGhG8rZeg5fpoWvEkHXkm",
          "value": "2200"
        },
        "time_interval": 20
      },
      "lp_token": {
        "currency": "03464237AB32D5DEF7906822DEBFA90ED71D8CAC",
        "issuer": "rJCfZLWXgMRmCGGhG8rZeg5fpoWvEkHXkm",
        "value": "293904831.0382916"
      },
      "trading_fee": 750,
      "vote_slots": [
        {
          "account": "r3xoab3FR5m4C7qQnq3Rfk5Z1UZrM8YXC7",
          "trading_fee": 110,
          "vote_weight": 1401
        },
        {
          "account": "rPDHEDWY7yzMhFVVFTDAETSAsjfad6LEav",
          "trading_fee": 761,
          "vote_weight": 80672
        }
      ]
    },
    "ledger_current_index": 5251174,
    "validated": false
  },
  "status": "success",
  "type": "response"
}
@mvadari mvadari added enhancement New feature or request AMM design work needed This issue requires some UI design work labels Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AMM design work needed This issue requires some UI design work enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant