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

endpoint to retrieve lppd params #3191

Open
pgoos opened this issue Sep 1, 2022 · 0 comments
Open

endpoint to retrieve lppd params #3191

pgoos opened this issue Sep 1, 2022 · 0 comments

Comments

@pgoos
Copy link
Contributor

pgoos commented Sep 1, 2022

We need to have an endpoint get get the current params of lppd policy (an equivalent of what we have for rewards, i.e. http://sifchain.testnet.sifchain.finance:1317/clp/getRewardParams). Right now we can only get that info from CLI:

+ sifnoded q clp lppd-params --node http://sifchain.testnet.sifchain.finance:26657 --chain-id sifchain-testnet-1
params:
  distribution_periods:
  - distribution_period_block_rate: "0.000488020685100000"
    distribution_period_end_block: "93700"
    distribution_period_mod: "1"
    distribution_period_start_block: "93600"

That would allow DS to more effectively analyze lppd events data knowing what the policy settings are

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant