verbs_examples.uniswap.sim.init_cache#
- init_cache(key: str, block_number: int, seed: int, n_steps: int) Tuple[int, int, List[Tuple[bytes, Tuple[bytes, int, bytes, bytes]]], List[Tuple[bytes, bytes, bytes]]] [source]#
Generate a simulation request cache
Run a simulation from a fork and store a cache of data request for use in other simulations.