From ef39fb56fa9b893077450b87c35828c33212f70b Mon Sep 17 00:00:00 2001 From: mendesfabio Date: Thu, 12 Dec 2024 22:38:39 -0300 Subject: [PATCH] add v3 pool for testing --- constants/balancer_v3.py | 10 +++++----- integrations/balancer_v3_integration.py | 2 +- integrations/integration_ids.py | 9 ++++++++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/constants/balancer_v3.py b/constants/balancer_v3.py index cc30b8f..25ef1d5 100644 --- a/constants/balancer_v3.py +++ b/constants/balancer_v3.py @@ -22,12 +22,12 @@ class IntegrationConfig: INTEGRATION_CONFIGS: Dict[IntegrationID, IntegrationConfig] = { - IntegrationID.BALANCER_FRAXTAL_FRAX_USDE_DAI_USDT_USDC: IntegrationConfig( - chain=Chain.FRAXTAL, - start_block=6859850, + IntegrationID.BALANCER_V3_ETHEREUM_TESTING: IntegrationConfig( + chain=Chain.ETHEREUM, + start_block=21374757, incentivized_token=Token.USDE.value, - pool_address="0x760b30eb4be3ccd840e91183e33e2953c6a31253000000000000000000000005", - gauge_address="0x982653b874b059871a46f66120c69503fe391979", + pool_address="0xc4Ce391d82D164c166dF9c8336DDF84206b2F812", + gauge_address="0x4B891340b51889f438a03DC0e8aAAFB0Bc89e7A6", ), } diff --git a/integrations/balancer_v3_integration.py b/integrations/balancer_v3_integration.py index b9a1b88..cb84162 100644 --- a/integrations/balancer_v3_integration.py +++ b/integrations/balancer_v3_integration.py @@ -82,6 +82,6 @@ def get_participants( if __name__ == "__main__": - balancer = BalancerV3Integration(IntegrationID.BALANCER_FRAXTAL_FRAX_USDE) + balancer = BalancerV3Integration(IntegrationID.BALANCER_V3_ETHEREUM_TESTING) participants = balancer.get_participants(None) balances = balancer.get_balance(participants) diff --git a/integrations/integration_ids.py b/integrations/integration_ids.py index aa89852..6139beb 100644 --- a/integrations/integration_ids.py +++ b/integrations/integration_ids.py @@ -246,7 +246,7 @@ class IntegrationID(Enum): # Ambient AMBIENT_SCROLL_LP = ("ambient_usde_scroll_lp_bal", "Ambient Scroll LP", Token.USDE) - # Balancer + # Balancer V2 BALANCER_ARBITRUM_GHO_USDE = ( "balancer_arbitrum_gho_usde", "Balancer Arbitrum GHO/USDe", @@ -308,6 +308,13 @@ class IntegrationID(Enum): Token.USDE, ) + # Balancer V3 + BALANCER_V3_ETHEREUM_TESTING = ( # TODO: Update after pool deployment + "balancer_v3_ethereum_testing", + "Balancer V3 Ethereum Testing", + Token.USDE, + ) + # Nuri NURI_USDE_LP = ("nuri_usde_lp_bal", "Nuri USDe LP", Token.USDE)