Ekubo Integration (#172)
* fix: Implement ethereum-ekubo * fix: Remove unnecessary store * fix: Correct balance accounting * Adjust deltas by fee at PositionUpdated event * Add partial Ekubo integration * Generalize Hexable * Native Ekubo integration * cargo fmt & clippy --------- Co-authored-by: kayibal <alan@datarevenue.com> Co-authored-by: Zizou <111426680+zizou0x@users.noreply.github.com>
This commit is contained in:
23
substreams/ethereum-ekubo/integration_test.tycho.yaml
Normal file
23
substreams/ethereum-ekubo/integration_test.tycho.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
adapter_contract: "EkuboSwapAdapter"
|
||||
adapter_build_signature: "constructor(address)"
|
||||
adapter_build_args: "0x16e186ecdc94083fff53ef2a41d46b92a54f61e2"
|
||||
skip_balance_check: true # This seems to fail because testing/src/runner:TestRunner.validate_state tries to interpret the component id as an Ethereum address?
|
||||
protocol_type_names:
|
||||
- "ekubo"
|
||||
tests:
|
||||
- name: test_pool_creation
|
||||
start_block: 7811236
|
||||
stop_block: 7811283
|
||||
expected_components:
|
||||
- id: "0xae76f216ce250b7b9a388d59cbbf92407d7ccee71a99b27ad521508b1c74681f"
|
||||
tokens:
|
||||
- "0x0000000000000000000000000000000000000000"
|
||||
- "0xb1b388f2ef1bb1f7979f009381f797f94b90c094"
|
||||
static_attributes:
|
||||
token0: "0x0000000000000000000000000000000000000000"
|
||||
token1: "0xb1b388f2ef1bb1f7979f009381f797f94b90c094"
|
||||
fee: "0x00c49ba5e353f7ce"
|
||||
tick_spacing: "0x0000175e"
|
||||
extension: "0x0000000000000000000000000000000000000000"
|
||||
creation_tx: "0x4b39d41ae3b823409ba6a92e2937f52f545acfd9cb7ecf7fb8eb7ea2e3b9985e"
|
||||
skip_simulation: false
|
||||
Reference in New Issue
Block a user