From 93612e4e260dcda52362c4a8a8ad366a9ef50845 Mon Sep 17 00:00:00 2001 From: Chiwon Cho Date: Tue, 16 Jul 2024 12:16:05 +0900 Subject: [PATCH] Minor update to icon_chainscore_api.md * Update getPRepTerm --- doc/icon_chainscore_api.md | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/icon_chainscore_api.md b/doc/icon_chainscore_api.md index 43f8b53ea..ec1a3991c 100644 --- a/doc/icon_chainscore_api.md +++ b/doc/icon_chainscore_api.md @@ -778,26 +778,26 @@ def getPRepTerm() -> dict: *Returns:* -| Key | Value Type | Description | -|:-----------------|:--------------------------------------|:------------------------------------------------------------| -| blockHeight | int | latest block height when this request was processed | -| sequence | int | sequence number | -| startBlockHeight | int | start block height of the term | -| endBlockHeight | int | end block height of the term | -| totalSupply | int | total supply amount at `startBlockHeight` | -| preps | List\[[PRepSnapshot](#prepsnapshot)\] | Main/Sub P-Rep list at `startBlockHeight` | -| totalDelegated | int | total delegation amount of `preps` | -| totalPower | int | total power amount of `preps` | -| period | int | term period | -| rewardFund | [RewardFund](#rewardfund) | reward fund information for the term | -| bondRequirement | int | bondRequirement for the term | -| revision | int | revision for the term | -| isDecentralized | bool | `true` if network is decentralized | -| mainPRepCount | int | Main P-Reps count for the term | -| iissVersion | int | IISS version for the term | -| irep | int | (Optional. revision < 25) Irep for the term | -| rrep | int | (Optional. revision < 25) Rrep for the term | -| minimumBond | int | (Optional. revision >= 25) minimum bond amount for the term | +| Key | Value Type | Description | +|:-----------------|:--------------------------|:------------------------------------------------------------| +| blockHeight | int | latest block height when this request was processed | +| sequence | int | sequence number | +| startBlockHeight | int | start block height of the term | +| endBlockHeight | int | end block height of the term | +| totalSupply | int | total supply amount at `startBlockHeight` | +| preps | List\[[PRep](#prep)\] | Main/Sub P-Rep list at `startBlockHeight` | +| totalDelegated | int | total delegation amount of `preps` | +| totalPower | int | total power amount of `preps` | +| period | int | term period | +| rewardFund | [RewardFund](#rewardfund) | reward fund information for the term | +| bondRequirement | int | bondRequirement for the term | +| revision | int | revision for the term | +| isDecentralized | bool | `true` if network is decentralized | +| mainPRepCount | int | Main P-Reps count for the term | +| iissVersion | int | IISS version for the term | +| irep | int | (Optional. revision < 25) Irep for the term | +| rrep | int | (Optional. revision < 25) Rrep for the term | +| minimumBond | int | (Optional. revision >= 25) minimum bond amount for the term | *Revision:* 5 ~