We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9eb99 commit cf1f946Copy full SHA for cf1f946
cardano_clusterlib/query_group.py
@@ -287,6 +287,16 @@ def get_pool_deposit(self) -> int:
287
pparams = self.get_protocol_params()
288
return pparams.get("stakePoolDeposit") or 0
289
290
+ def get_drep_deposit(self) -> int:
291
+ """Return DRep deposit amount."""
292
+ pparams = self.get_protocol_params()
293
+ return pparams.get("dRepDeposit") or 0
294
+
295
+ def get_gov_action_deposit(self) -> int:
296
+ """Return governance action deposit amount."""
297
298
+ return pparams.get("govActionDeposit") or 0
299
300
def get_stake_distribution(self) -> dict[str, float]:
301
"""Return current aggregated stake distribution per stake pool."""
302
# Stake pool values are displayed starting with line 2 of the command output
0 commit comments