Commit Graph

648 Commits

Author SHA1 Message Date
dianacarvalho1
427f0e85dd Merge pull request #77 from propeller-heads/dc/ENG-3545-make-encoders-lib
feat: Add propeller swap encoders
2024-09-03 10:24:34 +01:00
Diana Carvalho
8a3dd87797 docs: Improve docs 2024-09-02 12:37:01 +01:00
Diana Carvalho
7ba63bf404 feat: Update with new interface
Give more context in the swap-encoder.md
2024-08-30 10:59:05 +01:00
Diana Carvalho
41f20f14b0 feat: Add propeller swap encoders
- Add setup for package
- Add docs
- Add balancer implementation and test
- Add CI:
  - Add setup action
  - Add test and format CI
- Add CD: Publish python package to AWS
2024-08-29 15:27:35 +01:00
dianacarvalho1
e4967b1880 Merge pull request #72 from propeller-heads/dc/ENG-3520-move-swap-executor
chore: Add BalancerSwapExecutor
2024-08-26 11:57:51 +01:00
Diana Carvalho
813f0fe9c8 chore: Rename SwapExecutorTest 2024-08-26 11:57:36 +01:00
Diana Carvalho
e49af99b1f chore: Add BalancerSwapExecutor 2024-08-23 18:24:34 +01:00
dianacarvalho1
570590663e Merge pull request #71 from propeller-heads/dc/ENG-3521-add-iswap-executor
feat: Add ISwapExecutor and docs
2024-08-23 12:58:13 +01:00
Diana Carvalho
d1e21a8d63 docs(ISwapExecutor): Improve swap executor related docs 2024-08-22 17:06:52 +01:00
Diana Carvalho
299a872160 feat(ISwapExecutor): Add ISwapExecutor and docs 2024-08-22 16:17:06 +01:00
Zizou
34f9adb24c Merge pull request #70 from propeller-heads/zz/balancer/remove-pool-id
refactor(balancer-substreams): remove `pool_id` static attr and use `ProtocolComponent.id` instead
2024-08-22 12:48:53 +02:00
Florian Pellissier
27768ce114 refactor(balancer-substreams): remove pool_id static attr and use ProtocolComponent.id instead 2024-08-22 10:04:15 +02:00
Zizou
e6fd661f75 Merge pull request #69 from propeller-heads/docs
docs(gitbook): use full links for gitbook
2024-08-21 16:08:14 +02:00
Florian Pellissier
35eda6261c docs(gitbook): use full links for gitbook 2024-08-21 16:04:58 +02:00
Zizou
c42fb76816 Merge pull request #68 from propeller-heads/zz/update-docs-summary
docs: update gitbook
2024-08-21 15:50:31 +02:00
Florian Pellissier
f6274a4cd1 docs: delete substreams-integration.md 2024-08-21 15:46:40 +02:00
Florian Pellissier
d3fa2103a1 Merge branch 'docs' into zz/update-docs-summary 2024-08-21 15:42:34 +02:00
Florian Pellissier
467a117a97 docs: update summary 2024-08-21 14:44:59 +02:00
Zizou
9c140a71af Merge pull request #67 from propeller-heads/zz/sdk/improve-onboarding-process
refactor: make onboarding easier
2024-08-20 11:33:20 +02:00
Florian Pellissier
28dee5e7b7 docs(indexing): add special notice for pool_id 2024-08-20 11:32:01 +02:00
Zizou
8bc4a41544 Merge pull request #56 from propeller-heads/fp/curve-fixes
Fix Curve after SDKv2 update
2024-08-20 09:11:20 +02:00
Florian Pellissier
c7b1796f7d refactor(testing): make setup_env.sh runnable only from within /testing 2024-08-20 09:07:34 +02:00
Florian Pellissier
2ad12cb659 docs(indexing): miscellaneous small docs improvements 2024-08-20 09:06:52 +02:00
Florian Pellissier
6bd96374b5 docs(indexing): add docs for reserved attributes 2024-08-19 11:56:55 +02:00
Florian Pellissier
37f1fbfe04 docs(substreams): miscellaneous docs improvements and update 2024-08-19 11:56:55 +02:00
Florian Pellissier
bc2cd6bab2 refactor(testing): miscellaneous improvements and bugfixes
Includes bugfix on `tycho-indexer-client` and `protosim_py`, a script to simplify setting up testing python env and cli improvements. Also add support for building runtime for SwapAdapters with many args that was bugged before.
2024-08-19 11:56:52 +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
1f2316713f fix(curve): Update integration tests 2024-08-09 10:39:58 +02:00
Florian Pellissier
6ac29335c7 docs(curve-substreams): Add docs for each tests 2024-08-09 10:39:14 +02:00
Florian Pellissier
d8d7a6d9fd fix(curve): add new missing initialized account and update Tycho binary 2024-08-09 10:39:14 +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
2f0b084cc6 refactor(curve): rename tests 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
tvinagre
115e552f2f Merge pull request #57 from propeller-heads/tl/sdk-improvements
SDK Improvements
2024-08-08 17:58:36 -03:00
Thales Lima
5eea31db40 Rename adapter_handler to adapter_builder and move responsibilities 2024-08-08 17:58:20 -03:00
Thales Lima
c0382fefdf Add aftermath logs 2024-08-08 17:58:20 -03:00
Thales Lima
c4024b9849 Better error diff and colorize it 2024-08-08 17:58:20 -03:00
Florian Pellissier
139f7ac3f5 refactor(substreams-testing): Remove shallow functions, be more 🐍 2024-08-08 17:58:20 -03:00
Florian Pellissier
1f9fe8d583 refactor(substreams-testing): Use Pydantic validators, Hexbytes and improve description 2024-08-08 17:58:20 -03:00
Florian Pellissier
95efda0423 refactor(substreams-testing): Use Pydantic to deserialize test_assets.yaml 2024-08-08 17:58:20 -03:00
kayibal
09d266a810 fix: Update requirements.txt
Assume both protosim_py and tycho-client are available from pypi.
2024-08-08 17:58:20 -03:00
kayibal
e302bfb4a6 feat: Request only contracts of interest
Instead of requesting all contracts just get what is specified by the components.
2024-08-08 17:58:20 -03:00
kayibal
9f4503e2a9 fix: Misc fixes around byte encoding.
Also initialize TychoDB for each test case individually.
2024-08-08 17:58:20 -03:00
kayibal
9df366b29d fix(balancer): Change pool_id encoding to utf-8.
Since it is used to replace component_id, it should be a string as well.
2024-08-08 17:58:20 -03:00