RyskHistoricalSharePriceObservation

Documentation for eth_defi.erc_4626.vault_protocol.rysk.historical_context.RyskHistoricalSharePriceObservation Python class.

class RyskHistoricalSharePriceObservation

Bases: object

Represent one price made final by epochExecuted.

Attributes summary

chain_id

EVM chain containing the pool.

pool_address

Pool and ERC-20 LP share-token address.

epoch

Epoch finalised by the execution.

block_number

Execution block, which is the finalisation boundary.

block_timestamp

Unix timestamp of the execution block.

transaction_hash

Execution transaction hash.

log_index

Execution event position within the transaction.

raw_deposit_pps

Final raw subscription price retained for auditing.

raw_withdrawal_pps

Final raw redemption price retained for scaling.

withdrawal_share_price

Collateral-denominated final redemption price for one share.

Methods summary

__init__(chain_id, pool_address, epoch, ...)

chain_id: int

EVM chain containing the pool.

pool_address: eth_typing.evm.HexAddress

Pool and ERC-20 LP share-token address.

epoch: int

Epoch finalised by the execution.

block_number: int

Execution block, which is the finalisation boundary.

block_timestamp: int

Unix timestamp of the execution block.

transaction_hash: str

Execution transaction hash.

log_index: int

Execution event position within the transaction.

raw_deposit_pps: int

Final raw subscription price retained for auditing.

raw_withdrawal_pps: int

Final raw redemption price retained for scaling.

withdrawal_share_price: Optional[decimal.Decimal]

Collateral-denominated final redemption price for one share.

__init__(chain_id, pool_address, epoch, block_number, block_timestamp, transaction_hash, log_index, raw_deposit_pps, raw_withdrawal_pps, withdrawal_share_price=None)
Parameters
Return type

None