File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,16 @@ def get_pool_deposit(self) -> int:
287
287
pparams = self .get_protocol_params ()
288
288
return pparams .get ("stakePoolDeposit" ) or 0
289
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
+ pparams = self .get_protocol_params ()
298
+ return pparams .get ("govActionDeposit" ) or 0
299
+
290
300
def get_stake_distribution (self ) -> dict [str , float ]:
291
301
"""Return current aggregated stake distribution per stake pool."""
292
302
# Stake pool values are displayed starting with line 2 of the command output
You can’t perform that action at this time.
0 commit comments