test file, beginning of processor
This commit is contained in:
parent
f1719ab114
commit
aa82ee8ea3
1
block.py
1
block.py
@ -8,6 +8,7 @@ w3 = Web3(base_provider)
|
||||
|
||||
cache_directoty = './cache'
|
||||
|
||||
|
||||
class BlockData:
|
||||
def __init__(self, block_number, data, receipts, calls, logs) -> None:
|
||||
self.block_number = block_number
|
||||
|
6
processor.py
Normal file
6
processor.py
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
def get_transaction_evaluations(block_data):
|
||||
for transaction_hash in block_data.transaction_hashes:
|
||||
calls = block_data.get_filtered_calls(transaction_hash)
|
||||
print(calls)
|
Loading…
x
Reference in New Issue
Block a user