def dump_storage(self, address: ChecksumAddress, start_slot_index: int, end_slot_index: int) -> Optional[List[HexBytes]]
# 获取前10个存储槽的值
storage_list = chain.dump_storage("0x...", 0, 10)
if storage_list:
for i, value in enumerate(storage_list):
print(f"Slot {i}: {value.hex()}")
# 获取指定范围的存储值
storage_list = chain.dump_storage("0x...", 100, 120)
if storage_list:
for i, value in enumerate(storage_list, start=100):
print(f"Slot {i}: {value.hex()}")