* chore: add sfrax to rust fmt ignore * fix(substreams-sdk): correctly mark contract creation. Previously we would mark a contract as created if it was created in any transaction in this block. This would lead to some unexpected behavior if the contract was created and updated in the same block but in different transactions. In that case the update would be tagged as creation. * feat: extract asset types for ng factory This will allow us to detect pools with rebasing tokens and blacklist them until we can support them in `tycho-simulation` * fix: correctly index math implementation for twocrypto factory This implementation is immutable and not dynamic. * fix: index cryptopool factory This factory is needed for simulations by pools that have admin fees. * chore: fix build sfrax abi contract * Bump curve version --------- Co-authored-by: zizou <111426680+flopell@users.noreply.github.com> Co-authored-by: tvinagre <tvinagre@gmail.com> Co-authored-by: Thales <thales@datarevenue.com>
Substreams Indexing Integrations
Please refer to the official Substreams Indexing docs.
Release
To release a package simply tag a commit with the package name and its version:
e.g. ethereum-balancer-0.1.0. This will create a release and automatically build
and push the spkg into our registry.
Note
The CD pipeline will error if the Cargo version is not the same as the version in the tag.
Releases are immutable so do no try to delete tags or build the same release twice since this will error.
Pre release
To create a pre release for testing in dev you can start CD pipeline manually supplying
the package you'd like to pre release. This will create a
[package].pre-[commit-sha] release in our spkg repository which you can use
to run the substream´.
For forked protocols you'll need to also supply the config file name, e.g. ethereum-pancakeswap.
Test your implementation
To run a full end-to-end integration test you can refer to the testing script documentation