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 #3190

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

endpoint to retrieve lppd params #3190

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 (equivalent of the same for reward params, i.e. http://sifchain.testnet.sifchain.finance:1317/clp/getRewardParams) to retrieve current settings of LPPD policy. Similar of what is achieved through 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 help DS to effectively analyze block data knowing if the policy is activated or not.

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