Skip to content

Conversation

@adpthegreat
Copy link

No description provided.

@adpthegreat adpthegreat marked this pull request as draft April 5, 2025 00:34
@adpthegreat adpthegreat marked this pull request as ready for review April 21, 2025 11:31
Copy link
Collaborator

@zizou0x zizou0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the SwapAdapter and added some comments, also please be more careful with formatting and whitespaces, you can find some examples in others SwapAdapter like AngleAdapter

@gitguardian
Copy link

gitguardian bot commented Jun 4, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard.
Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
- - Generic High Entropy Secret 05747f2 substreams/ethereum-cowamm/src/modules/3_map_cowpools.rs View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@adpthegreat adpthegreat force-pushed the CowAMM-simulation-and-indexing branch from ed36e78 to 5dc4716 Compare October 31, 2025 17:20
@adpthegreat adpthegreat force-pushed the CowAMM-simulation-and-indexing branch 2 times, most recently from e989a06 to 99dcc13 Compare November 19, 2025 21:52
@adpthegreat adpthegreat force-pushed the CowAMM-simulation-and-indexing branch from 5aa3bec to a7957ca Compare December 3, 2025 14:53
…or result of superfluous token swapped, added formulas to calcInGivenOut and calcOutGivenIn
… attributes from the map_components and the store_components

- removed liquidity_a, liquidity_b and lp_token_supply from cowamm.proto and the rust bindings
- removed logic to get the liquidity from the map_cowpool_binds module and the liquidity field in the store_cowpool_binds module
- removed get_token_supply helper in src/modules/utils.rs
- added logic to map_protocol_changes to create EntityChanges attributes from balance_deltas
- refactored transfer.rs in events to use from and to variables
- created custom protos
- emit bind deltas during pool creation
- combine map components and map_relative_balances to make
map_components_and_balances
- added tracking for arbitrary transfers to pool in transfer struct
- balance indexing test for < 5000 blocks run perfectly
…data slicing

- Removed comments from 2_store_cowpool_binds
- Removed comments from integration_test.tycho.yaml
- Modifed trade trait impl for BalanceEventTrait to handle GPV2 cowprotocol trade settlement deltas to pool properly
- Updated 4_map_components_with_balances.rs to handle GPV2 cowprotocol trade settlement deltas on pool and removed comments
…xtracting contract changes

in map_protocol_changes for etherum-cowamm
-removed comments in map_cowpool_binds
- modified extract_address to take a count argument
@adpthegreat adpthegreat force-pushed the CowAMM-simulation-and-indexing branch from 13bbc74 to 6f1fecb Compare December 17, 2025 18:30
kayibal and others added 4 commits December 18, 2025 12:27
Also rebuilds protobuf structs.
- updated substreams.yaml of other chains to the latest module format

- uncommented LIDO from the state registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants