Zizou
4d4d05203a
fix(curve-substreams): miscellaneous fixes for balances extractions in Curve ( #118 )
...
* fix(curve-substreams): filter out reverted calls in `emit_eth_deltas`
* feat(substreams-sdk): extract balances from `Deposit` events in `extract_balance_deltas_from_tx`
* ci: ignore fmt for abi files
* feat(sdk): also account for `Withdrawal` event from WETH
* chore: reorder mod.rs, remove unused import
* chore: cargo fmt
---------
Co-authored-by: zizou <111426680+flopell@users.noreply.github.com >
Co-authored-by: Thales <thales@datarevenue.com >
2024-12-06 18:21:07 -03:00
Florian Pellissier
10a36c0a9b
fix: Replace buggy balance extraction with SDK extract_balance_deltas_from_tx
...
The bug occurred when a Transfer event involved both the sender and recipient being pools. In such cases, the previous implementation only created a BalanceDelta for the "to" address and missed accounting for the "from" address.
2024-07-12 14:59:54 +02:00
Florian Pellissier
127a0c5cb7
fix(ci): clippy, fmt and remove substreams logs
2024-06-14 19:41:20 +02:00
Florian Pellissier
c7d18d447a
fix(curve): some general fixes including
...
Bytes decoding from BalanceChange, sort BlockBalanceDeltas, transform `0xeeee...` into `0x000...` for consistency, and add a placeholder for missing tokens in `get_token_from_pool`.
2024-06-14 19:15:37 +02:00
0xMochan
5a1d9f1e29
feat: add native eth transfers
2024-06-11 12:54:02 -04:00
0xMochan
c1966cca38
fix: pass CI
2024-06-03 09:57:19 -04:00
0xMochan
f64fcdf220
feat: new pool->token function, renamed ERC20->erc20
2024-05-29 14:39:32 -04:00
0xMochan
8c37a74ea6
feat: using Transfer and other various fixes
2024-05-23 17:43:46 -04:00
0xMochan
379baebfb7
feat: this should cover all pools over >10mil TVL:
...
I have not tested everything thoroughly yet. Ignore `test.json` that'll likely go away if we use the `Transfer` method for pool deltas
2024-05-16 23:29:52 -07:00
0xMochan
16b9bac3ce
🎉
2024-05-08 19:35:25 -05:00
0xMochan
ec07703090
valdiate: 3pool and steth-eth
2024-05-08 15:56:41 -05:00
0xMochan
2d9ba502ca
style: clippy
2024-05-02 19:00:51 -05:00
0xMochan
51e05d5eb5
bugged remove liq deltas
2024-05-02 13:34:43 -05:00
0xMochan
126bd003a8
integrate remaining abis and clean up / comment some code
2024-05-02 13:34:11 -05:00
0xMochan
692579e930
abis + params
2024-05-02 03:18:58 -05:00