banteg / multicall.py

aggregate results of multiple smart contract calls into one
MIT License
246 stars 106 forks source link

Update instance block_id on execution #74

Closed DefiDebauchery closed 5 months ago

DefiDebauchery commented 1 year ago

Addresses #39 in a slightly different way by populating the block_id attribute. Presumably, this would be the same as the input if defining a block_id on call. But most importantly, the executed block number is made available for latest.

Since multicall.py effectively no longer uses MC1 contracts, I don't see any compatibility issues.