13 lines
462 B
Python
13 lines
462 B
Python
|
|
class Processor:
|
|
def __init__(self, base_provider, inspectors) -> None:
|
|
self.base_provider = base_provider
|
|
self.inspectors = inspectors
|
|
|
|
def get_transaction_evaluations(self, block_data):
|
|
for transaction_hash in block_data.transaction_hashes:
|
|
calls = block_data.get_filtered_calls(transaction_hash)
|
|
|
|
for inspector in self.inspectors:
|
|
inspector.inspect(calls)
|
|
# print(calls) |