WIP: balancer tests
This commit is contained in:
@@ -1,28 +1,25 @@
|
|||||||
substreams_yaml_path: ./substreams.yaml
|
substreams_yaml_path: ./substreams.yaml
|
||||||
protocol_type_names:
|
protocol_type_names:
|
||||||
- "balancer_pool"
|
- "balancer_pool"
|
||||||
adapter_contract: "BalancerV2SwapAdapter.evm.runtime"
|
adapter_contract: "BalancerV2SwapAdapter"
|
||||||
skip_balance_check: true
|
skip_balance_check: true
|
||||||
|
initialized_accounts:
|
||||||
|
- "0xba12222222228d8ba445958a75a0704d566bf2c8"
|
||||||
tests:
|
tests:
|
||||||
# WeightedPoolFactory - 0x897888115Ada5773E02aA29F775430BFB5F34c51
|
# WeightedPoolFactory - 0x897888115Ada5773E02aA29F775430BFB5F34c51
|
||||||
- name: test_weighted_pool_creation
|
- name: test_weighted_pool_creation
|
||||||
start_block: 16878320
|
start_block: 16971010
|
||||||
stop_block: 16971020
|
stop_block: 16972246
|
||||||
expected_state:
|
expected_state:
|
||||||
protocol_components:
|
protocol_components:
|
||||||
- id: "0x8055b8C947De30130BC1Ec750C8F345a50006B23"
|
|
||||||
tokens:
|
|
||||||
- "0xba100000625a3754423978a60c9317c58a424e3D"
|
|
||||||
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
|
||||||
static_attributes:
|
|
||||||
creation_tx: "0x3ae08d6ff86737a64827855af810f7ee9ee208ff8e6d8c916495d09a83282c8a"
|
|
||||||
- id: "0xDac7eF49161bdBf0e8f0B4c8e2D38DF19D972874"
|
- id: "0xDac7eF49161bdBf0e8f0B4c8e2D38DF19D972874"
|
||||||
tokens:
|
tokens:
|
||||||
- "0x9A62fB1CAFEa99f8f0441f80af7F7ccf0d46847D"
|
- "0x9A62fB1CAFEa99f8f0441f80af7F7ccf0d46847D"
|
||||||
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
||||||
static_attributes:
|
static_attributes:
|
||||||
creation_tx: "0xbed0c745c3761cd54a7489181a5f1165c628c35ef69ecb0bfeec08f09f0ec407"
|
creation_tx: "0xbed0c745c3761cd54a7489181a5f1165c628c35ef69ecb0bfeec08f09f0ec407"
|
||||||
# ComposableStablePoolFactory - 0xDB8d758BCb971e482B2C45f7F8a7740283A1bd3A
|
|
||||||
|
# ComposableStablePoolFactory - 0xDB8d758BCb971e482B2C45f7F8a7740283A1bd3A
|
||||||
- name: test_composable_stable_pool_creation
|
- name: test_composable_stable_pool_creation
|
||||||
start_block: 17672478
|
start_block: 17672478
|
||||||
stop_block: 17677310
|
stop_block: 17677310
|
||||||
@@ -41,7 +38,8 @@ tests:
|
|||||||
- "0xae78736Cd615f374D3085123A210448E74Fc6393"
|
- "0xae78736Cd615f374D3085123A210448E74Fc6393"
|
||||||
static_attributes:
|
static_attributes:
|
||||||
creation_tx: "0x53ff6bab0d8a76a998e29e59da8068ad906ae85507a1c2fbf2505e2cb52fd754"
|
creation_tx: "0x53ff6bab0d8a76a998e29e59da8068ad906ae85507a1c2fbf2505e2cb52fd754"
|
||||||
# ERC4626LinearPoolFactory - 0x813EE7a840CE909E7Fea2117A44a90b8063bd4fd
|
|
||||||
|
# ERC4626LinearPoolFactory - 0x813EE7a840CE909E7Fea2117A44a90b8063bd4fd
|
||||||
- name: test_erc4626_linear_pool_creation
|
- name: test_erc4626_linear_pool_creation
|
||||||
start_block: 17045881
|
start_block: 17045881
|
||||||
stop_block: 17480143
|
stop_block: 17480143
|
||||||
@@ -59,7 +57,8 @@ tests:
|
|||||||
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
||||||
static_attributes:
|
static_attributes:
|
||||||
creation_tx: "0x5ff97870685370bab3876a4335d28c42e24659064fe78b486d6fb1b37b992877"
|
creation_tx: "0x5ff97870685370bab3876a4335d28c42e24659064fe78b486d6fb1b37b992877"
|
||||||
# EulerLinearPoolFactory - 0x5F43FBa61f63Fa6bFF101a0A0458cEA917f6B347
|
|
||||||
|
# EulerLinearPoolFactory - 0x5F43FBa61f63Fa6bFF101a0A0458cEA917f6B347
|
||||||
- name: test_euler_linear_pool_creation
|
- name: test_euler_linear_pool_creation
|
||||||
start_block: 16588078
|
start_block: 16588078
|
||||||
stop_block: 16588118
|
stop_block: 16588118
|
||||||
@@ -77,7 +76,8 @@ tests:
|
|||||||
- "0xEb91861f8A4e1C12333F42DCE8fB0Ecdc28dA716"
|
- "0xEb91861f8A4e1C12333F42DCE8fB0Ecdc28dA716"
|
||||||
static_attributes:
|
static_attributes:
|
||||||
creation_tx: "0x4a9ea683052afefdae3d189862868c3a7dc8f431d1d9828b6bfd9451a8816426"
|
creation_tx: "0x4a9ea683052afefdae3d189862868c3a7dc8f431d1d9828b6bfd9451a8816426"
|
||||||
# SiloLinearPoolFactory - 0x4E11AEec21baF1660b1a46472963cB3DA7811C89
|
|
||||||
|
# SiloLinearPoolFactory - 0x4E11AEec21baF1660b1a46472963cB3DA7811C89
|
||||||
- name: test_silo_linear_pool_creation
|
- name: test_silo_linear_pool_creation
|
||||||
start_block: 17173185
|
start_block: 17173185
|
||||||
stop_block: 17173187
|
stop_block: 17173187
|
||||||
@@ -89,7 +89,8 @@ tests:
|
|||||||
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
||||||
static_attributes:
|
static_attributes:
|
||||||
creation_tx: "0xd639c8a6c3a553d47fd7f3d384ec4bc50a2cd6dfb2c3135b7f5db49d73c15df2"
|
creation_tx: "0xd639c8a6c3a553d47fd7f3d384ec4bc50a2cd6dfb2c3135b7f5db49d73c15df2"
|
||||||
# YearnLinearPoolFactory - 0x5F5222Ffa40F2AEd6380D022184D6ea67C776eE0a
|
|
||||||
|
# YearnLinearPoolFactory - 0x5F5222Ffa40F2AEd6380D022184D6ea67C776eE0a
|
||||||
- name: test_yearn_linear_pool_creation
|
- name: test_yearn_linear_pool_creation
|
||||||
start_block: 17052601
|
start_block: 17052601
|
||||||
stop_block: 17052605
|
stop_block: 17052605
|
||||||
@@ -101,11 +102,12 @@ tests:
|
|||||||
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
- "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
||||||
static_attributes:
|
static_attributes:
|
||||||
creation_tx: "0x497aa03ce84d236c183204ddfc6762c8e4158da1ebc5e7e18e7f6cceaa497a2a"
|
creation_tx: "0x497aa03ce84d236c183204ddfc6762c8e4158da1ebc5e7e18e7f6cceaa497a2a"
|
||||||
# WeightedPool2TokensFactory - 0xA5bf2ddF098bb0Ef6d120C98217dD6B141c74EE0
|
|
||||||
- name: test_yearn_linear_pool_creation
|
# WeightedPool2TokensFactory - 0xA5bf2ddF098bb0Ef6d120C98217dD6B141c74EE0
|
||||||
|
- name: weighted_legacy_creation
|
||||||
start_block: 12349890
|
start_block: 12349890
|
||||||
stop_block: 12363660
|
stop_block: 12364015
|
||||||
expected_state:
|
expected_state: { }
|
||||||
protocol_components:
|
protocol_components:
|
||||||
- id: "0x021c343C6180f03cE9E48FaE3ff432309b9aF199"
|
- id: "0x021c343C6180f03cE9E48FaE3ff432309b9aF199"
|
||||||
tokens:
|
tokens:
|
||||||
|
|||||||
Reference in New Issue
Block a user