RyskEpochPriceUpdate

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

class RyskEpochPriceUpdate

Bases: object

Represent one proposed or disputed onchain epoch price.

Attributes summary

epoch

Epoch whose prices were updated.

block_number

EVM block containing the update.

log_index

Event position within the transaction.

raw_deposit_pps

Raw subscription price in collateral-token precision.

raw_withdrawal_pps

Raw redemption price in collateral-token precision.

Methods summary

__init__(epoch, block_number, log_index, ...)

epoch: int

Epoch whose prices were updated.

block_number: int

EVM block containing the update.

log_index: int

Event position within the transaction.

raw_deposit_pps: int

Raw subscription price in collateral-token precision.

raw_withdrawal_pps: int

Raw redemption price in collateral-token precision.

__init__(epoch, block_number, log_index, raw_deposit_pps, raw_withdrawal_pps)
Parameters
  • epoch (int) –

  • block_number (int) –

  • log_index (int) –

  • raw_deposit_pps (int) –

  • raw_withdrawal_pps (int) –

Return type

None