EpochSettlement

Documentation for eth_defi.erc_4626.vault_protocol.flying_tulip.historical_context.EpochSettlement Python class.

class EpochSettlement

Bases: object

One raw EpochSettled event needed for performance replay.

Attributes summary

chain_id

Source EVM chain identifier.

vault_address

sftUSD proxy which emitted the event.

epoch_id

Sequential contract settlement identifier.

block_number

EVM block containing the event.

block_timestamp

Unix timestamp of block_number.

transaction_hash

Emitting transaction hash.

log_index

Event position in the transaction.

raw_reward_amount

Raw FT distribution amount.

raw_stake_time

Raw aggregate stake-seconds.

raw_rate_ray

Raw contract reward-rate identity value.

Methods summary

__init__(chain_id, vault_address, epoch_id, ...)

chain_id: int

Source EVM chain identifier.

vault_address: eth_typing.evm.HexAddress

sftUSD proxy which emitted the event.

epoch_id: int

Sequential contract settlement identifier.

block_number: int

EVM block containing the event.

block_timestamp: int

Unix timestamp of block_number.

transaction_hash: str

Emitting transaction hash.

log_index: int

Event position in the transaction.

raw_reward_amount: int

Raw FT distribution amount.

raw_stake_time: int

Raw aggregate stake-seconds.

raw_rate_ray: int

Raw contract reward-rate identity value.

__init__(chain_id, vault_address, epoch_id, block_number, block_timestamp, transaction_hash, log_index, raw_reward_amount, raw_stake_time, raw_rate_ray)
Parameters
Return type

None