agent0.hyperfuzz.fork_fuzz.accrue_interest_ezeth

Function to accrue interest in the ezeth pool when fork fuzzing.

Attributes

SECONDS_IN_YEAR

RESTAKE_MANAGER_ADDR

DEPOSIT_QUEUE_ADDR

Functions

accrue_interest_ezeth(→ None)

Function to accrue interest in the ezeth pool when fork fuzzing.

Module Contents

agent0.hyperfuzz.fork_fuzz.accrue_interest_ezeth.SECONDS_IN_YEAR = 31536000
agent0.hyperfuzz.fork_fuzz.accrue_interest_ezeth.RESTAKE_MANAGER_ADDR = '0x74a09653A083691711cF8215a6ab074BB4e99ef5'
agent0.hyperfuzz.fork_fuzz.accrue_interest_ezeth.DEPOSIT_QUEUE_ADDR = '0xf2F305D14DCD8aaef887E0428B3c9534795D0d60'
agent0.hyperfuzz.fork_fuzz.accrue_interest_ezeth.accrue_interest_ezeth(interface: agent0.ethpy.hyperdrive.HyperdriveReadWriteInterface, variable_rate: fixedpointmath.FixedPoint, block_number_before_advance: int) None

Function to accrue interest in the ezeth pool when fork fuzzing.

Parameters:
  • interface (HyperdriveReadWriteInterface) – The interface to the Hyperdrive pool.

  • variable_rate (FixedPoint) – The variable rate of the pool.

  • block_number_before_advance (int) – The block number before time was advanced.