From d1cadd6866758d0deadd9b52f9e08ae6ad69bb25 Mon Sep 17 00:00:00 2001 From: Sheng Lundquist Date: Tue, 29 Oct 2024 11:45:12 -0700 Subject: [PATCH] Fixing comment --- src/agent0/hyperfuzz/system_fuzz/run_fuzz_bots.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/agent0/hyperfuzz/system_fuzz/run_fuzz_bots.py b/src/agent0/hyperfuzz/system_fuzz/run_fuzz_bots.py index 0439e5c09f..c2f100c4c2 100644 --- a/src/agent0/hyperfuzz/system_fuzz/run_fuzz_bots.py +++ b/src/agent0/hyperfuzz/system_fuzz/run_fuzz_bots.py @@ -276,10 +276,10 @@ def run_fuzz_bots( A mapping between token -> whale addresses to use to fund the fuzz agent. If the token is not in the mapping, fuzzing will attempt to call `mint` on the token contract. Defaults to an empty mapping. - accrue_interest_func: Callable[[HyperdriveReadWriteInterface], None] | None, optional + accrue_interest_func: Callable[[HyperdriveReadWriteInterface, FixedPoint], None] | None, optional A function that will accrue interest on the hyperdrive pool. This function will get called - before and after each set of trades, with the pool's hyperdrive interface as an argument. - It's up to the function itself to maintain the last time interest was accrued. + before and after each set of trades, with the pool's hyperdrive interface and the variable rate + as an argument. It's up to the function itself to maintain the last time interest was accrued. accrue_interest_rate: FixedPoint | None, optional The variable rate to be passed into the accrue_interest_func. Note this value is only used when forking, as variable interest is handled by a mock yield source when simulating.