zizou
d0d81fc671
refactor: improve curve static attributes
2024-09-06 17:24:41 +02:00
Florian Pellissier
c218252548
refactor(curve): stateless contracts as state attribute instead of static.
2024-08-15 10:42:06 +02:00
Florian Pellissier
420cf13466
refactor(curve): Remove unnecessary WETH stateless contracts
...
These contracts became unnecessary because we handle things differently on the Adapter side, we use native eth instead of WETH when possible.
2024-08-13 11:58:21 +02:00
Florian Pellissier
5c25d2fac0
style(curve): Fix CI
2024-08-09 11:24:36 +02:00
Florian Pellissier
bd59af67ed
fix(curve): Add weth as stateless contract for CryptoPool with ETH
2024-08-09 11:00:58 +02:00
Florian Pellissier
388902b2ed
fix(curve): index tricrypto2 dependencies
2024-08-09 10:39:14 +02:00
Florian Pellissier
9fa382ea60
refactor(curve): avoid RPC call when possible
2024-08-09 10:39:14 +02:00
Florian Pellissier
65ac765284
refactor(curve): add utils functions on ProtocolComponent
2024-08-09 10:39:14 +02:00
Florian Pellissier
a46e1e4a57
fix(curve): fix sUSD pool
2024-08-09 10:39:14 +02:00
Florian Pellissier
4d528ddab3
fix(curve): fix curve tests after SDKv2 update, also add a few missing tests
2024-08-09 10:39:14 +02:00
Florian Pellissier
95efda0423
refactor(substreams-testing): Use Pydantic to deserialize test_assets.yaml
2024-08-08 17:58:20 -03:00
kayibal
f5b4c54a99
chore: code formatting
2024-07-25 14:11:29 +01:00
Florian Pellissier
bd0a077917
refactor: Use new hybrid structs for Curve
2024-07-23 15:09:05 +02:00
Florian Pellissier
ec6e16f465
refactor: Clean code and update cargo.lock
2024-07-12 15:47:22 +02: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
00cc45e2b8
feat: Add renBTC/wBTC/sBTC in get_token_from_pool
2024-07-12 13:02:45 +02:00
Florian Pellissier
3aa880a700
feat: add twocrypto factory
2024-07-02 17:08:45 +02:00
Florian Pellissier
fe27fc397f
refactor: filter out empty tokens in address_map function
2024-07-02 17:08:45 +02:00
Florian Pellissier
959a08026a
chore: remove unused abis
2024-07-02 17:08:45 +02:00
Florian Pellissier
b432e2827f
fix(curve): wrong static attibutes
2024-06-14 21:51:34 +02:00
Florian Pellissier
226ec98cf8
refactor: remove allow non_snake_case in build.rs
2024-06-14 19:47:22 +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
Florian Pellissier
184cd443fe
refactor: make base_pool a static attribute
2024-06-14 19:11:44 +02:00
0xMochan
5a1d9f1e29
feat: add native eth transfers
2024-06-11 12:54:02 -04:00
Mochan
a55b5969c5
Update substreams/ethereum-curve/src/pool_factories.rs
...
Co-authored-by: Zizou <111426680+zizou0x@users.noreply.github.com >
2024-06-04 16:59:57 -04:00
0xMochan
c1966cca38
fix: pass CI
2024-06-03 09:57:19 -04:00
0xMochan
f1796d1c67
fix: clean up abis
2024-06-03 09:41:14 -04:00
0xMochan
f64fcdf220
feat: new pool->token function, renamed ERC20->erc20
2024-05-29 14:39:32 -04:00
0xMochan
194cfe5296
feat: add WETH to ETH address swap
2024-05-24 17:51:49 -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
78fffc02d9
clean up maverick stuff and implement changes from feedback
2024-05-09 11:52:29 -05: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
7c49d3e813
fix: pool emitting
2024-05-07 10:16:22 -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
0xMochan
a66c9a3965
docs, better error messages, ish
2024-04-11 19:52:32 -05:00
0xMochan
7c75c8d3d6
Initial pools.rs function for handling custom parameters
2024-04-11 19:41:56 -05:00
0xMochan
8dcae829b5
fix: maverick
2024-04-01 23:03:05 -05:00
0xMochan
373ac1036c
fix: further fixes
2024-04-01 14:53:17 -05:00
0xMochan
462cd29b49
fix: update substream.yaml 2
2024-03-29 15:06:09 -05:00
0xMochan
2feee8add6
sdk: update to latest sdk
2024-03-29 14:55:31 -05:00
0xMochan
2a85ca849b
changes
2024-03-22 14:34:08 -04:00
0xMochan
ef098f8238
fix: curve substream issues
2024-03-07 17:00:32 -05:00
0xMochan
3f87d151df
fix: liquidity
2024-03-01 18:50:48 -05:00
0xMochan
cad782f467
curve
2024-03-01 14:41:00 -05:00