agent0.ethpy.hyperdrive.state
Hyperdrive state classes and conversion helper functions.
Submodules
Classes
A collection of stateful variables for deployed Hyperdrive and Yield contracts. |
Package Contents
- class agent0.ethpy.hyperdrive.state.PoolState
A collection of stateful variables for deployed Hyperdrive and Yield contracts.
- block: web3.types.BlockData
- pool_config: hyperdrivetypes.PoolConfigFP
- pool_info: hyperdrivetypes.PoolInfoFP
- checkpoint_time: int
- checkpoint: hyperdrivetypes.CheckpointFP
- exposure: fixedpointmath.FixedPoint
- hyperdrive_base_balance: fixedpointmath.FixedPoint
- hyperdrive_eth_balance: fixedpointmath.FixedPoint
- gov_fees_accrued: fixedpointmath.FixedPoint
- property pool_info_to_dict: dict[str, Any]
Get the pool_info property.
- property pool_config_to_dict: dict[str, Any]
Get the pool_config property.
- property checkpoint_to_dict: dict[str, Any]
Get the checkpoint property.