Files
tycho-protocol-sdk/substreams/ethereum-balancer/abi
0xMochan 9f82671082 feat: lots of refactoring (file splitting
- `lib.rs` split into multiple files with `modules.rs` being the main entrypoint for substreams
- contract changes are tracked similiarly to ambient (generalized to use a store of tracked contracts)
- static attributes were pruned of the dynamic ones
2024-01-29 11:12:27 -05:00
..

ABIs

get_abis.py is a simple python script using the etherscan API (free plan) to gather ABIs for all of the contracts we are tracking!

We then can define all of the abis via substreams_ethereum::Abigen::new in our build.rs.

Recommendation

It would be apt to convert (maybe through copilot) the python code into the build.rs file and then automate the Abigen functionality.