Skip to content

Commit

Permalink
Update getPRepTerm in icon_chainscore_api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
goldworm committed Aug 7, 2024
1 parent 1ff4c7b commit abc081d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/icon_chainscore_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ def getPRepTerm() -> dict:
| 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` |
| preps | List\[[PRep](#prep)\] | (Deprecated) 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 |
Expand All @@ -801,6 +801,7 @@ def getPRepTerm() -> dict:
| rrep | int | (Optional. revision < 25) Rrep for the term |
| minimumBond | int | (Optional. revision >= 25) minimum bond amount for the term |

* `preps` field will be deprecated and removed soon, so use [getMainPReps](#getmainpreps) and [getSubPReps](#getsubpreps) APIs instead.
* `bondRequirement` field is replaced with `bondRequirementRate` field after revision 28
* 0 <= `bondRequirement` <= 100 (0: 0%, 100: 100%)
* 0 <= `bondRequirementRate` <= 10,000 (0: 0%, 10,000: 100%)
Expand Down

0 comments on commit abc081d

Please sign in to comment.