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

pcli: add pcli q dex position #2578

Merged
merged 1 commit into from
May 16, 2023
Merged

pcli: add pcli q dex position #2578

merged 1 commit into from
May 16, 2023

Conversation

hdevalence
Copy link
Member

@hdevalence hdevalence commented May 16, 2023

Output:

     Running `target/release/pcli q dex position plpid13jq86atertnwcw4zuacjhfuuxz93ptu69wnxsk97xckxhczqug8swd3akt`
Scanning blocks from last sync height 4290 to latest height 4522
[0s] ██████████████████████████████████████████████████     232/232     1575/s ETA: 0s
 ID          plpid13jq86atertnwcw4zuacjhfuuxz93ptu69wnxsk97xckxhczqug8swd3akt
 State       opened
 Reserves 1  0lpnft_opened_plpid1930jpputl38kq4ae5t6j36rq5ydxzep4nem2tx5av87l4j5maass0e4fpf
 Reserves 2  1lpnft_opened_plpid1ta9emmcxq9gvdfs299mk8gjc03rlwkxv4jme2f46uamaee294khszramt7
 Fee         0bps
 p           1
 q           1
 Nonce       5201f26167dacce0ebadfd8a67babda68f80eeb3e168d92d826a3785b55532a9

With --raw:

{
  "phi": {
    "component": {
      "p": {
        "lo": "1"
      },
      "q": {
        "lo": "1"
      }
    },
    "pair": {
      "asset1": {
        "inner": "7V+mq+mfKkrCkHGTFurY6o7Z1E5KuqVg03vsRulxzQM="
      },
      "asset2": {
        "inner": "89Kl/0nozfEB23uM6RAOxkcgXAZUgc0Jh4ncw26IpA8="
      }
    }
  },
  "nonce": "UgHyYWfazODrrf2KZ7q9po+A7rPhaNktgmo3hbVVMqk=",
  "state": {
    "state": "POSITION_STATE_ENUM_OPENED"
  },
  "reserves": {
    "r1": {},
    "r2": {
      "lo": "1"
    }
  }
}

@hdevalence hdevalence temporarily deployed to smoke-test May 16, 2023 04:51 — with GitHub Actions Inactive
@hdevalence hdevalence merged commit c37c6a2 into main May 16, 2023
@hdevalence hdevalence deleted the pcli-q-position branch May 16, 2023 05:29
@cratelyn cratelyn added the A-dex Area: Relates to the dex label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dex Area: Relates to the dex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants