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

Cover router should expose used capacity per pool, per product #38

Open
roxdanila opened this issue Jun 6, 2023 · 1 comment · May be fixed by #47
Open

Cover router should expose used capacity per pool, per product #38

roxdanila opened this issue Jun 6, 2023 · 1 comment · May be fixed by #47
Labels

Comments

@roxdanila
Copy link
Contributor

Endpoints interface to be defined with Andreea, and used in the staking pool view table

@roxdanila roxdanila converted this from a draft issue Jun 6, 2023
@mixplore
Copy link
Contributor

mixplore commented Jul 18, 2023

#Draft

Used capacity for each pool (overall)

Endpoint route: /staking-pools/capacity

Array<{
    poolId: number;
    usedCapacity: string; // hex convertible to BigNumber
}>

Endpoint route: /staking-pools/:pool-id/capacity

{
    poolId: number;
    usedCapacity: string; // hex convertible to BigNumber
}

Used capacity for each pool product

Endpoint route: /staking-pool/:pool-id/products

Array<{
    productId: number;
    usedCapacity: string; // hex convertible to BigNumber
}>

@MilGard91 MilGard91 linked a pull request Jul 21, 2023 that will close this issue
@MilGard91 MilGard91 moved this from 🔖 Ready to 👀 In review in Engineering Tracker 💻 Jul 24, 2023
@roxdanila roxdanila linked a pull request Jul 24, 2023 that will close this issue
@roxdanila roxdanila moved this from 👀 In review to ⚖ Backlog in Engineering Tracker 💻 Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ⚖ Backlog
Development

Successfully merging a pull request may close this issue.

3 participants