11from abc import ABC , abstractmethod
2- from typing import Dict , Optional , Tuple , Any , List
2+ from typing import Dict , Optional , Tuple , Any
33import pandas as pd
44
55
@@ -16,24 +16,12 @@ def process_bribes(self, bribes_df: pd.DataFrame, builder: Any, usdc: Any) -> No
1616 Process bribes for this platform
1717
1818 Args:
19- bribes_df: DataFrame with columns [target, platform, amount, bribe_platform ]
19+ bribes_df: DataFrame with columns [target, amount, is_alliance ]
2020 builder: SafeTxBuilder instance for building transactions
2121 usdc: SafeContract instance for USDC token
2222 """
2323 pass
2424
25- def get_total_approval_amount (self , bribes_df : pd .DataFrame ) -> int :
26- """
27- Calculate total USDC amount that needs approval for this platform
28-
29- Args:
30- bribes_df: DataFrame with bribe information
31-
32- Returns:
33- Total amount in USDC wei that needs approval
34- """
35- return 0
36-
3725 @abstractmethod
3826 def validate_gauge_requirements (self , gauge_address : str ) -> Tuple [bool , Optional [str ]]:
3927 """
@@ -50,26 +38,5 @@ def validate_gauge_requirements(self, gauge_address: str) -> Tuple[bool, Optiona
5038 @property
5139 @abstractmethod
5240 def platform_name (self ) -> str :
53- """Return platform identifier for CSV/ reporting"""
41+ """Return platform identifier for reporting"""
5442 pass
55-
56- @property
57- @abstractmethod
58- def supported_markets (self ) -> List [str ]:
59- """Return list of supported markets (e.g., ['aura', 'balancer'])"""
60- pass
61-
62- @abstractmethod
63- def get_platform_for_market (self , market : str , voting_pool_override : Optional [str ]) -> str :
64- """
65- Get the platform name to use for a specific market.
66- This handles platform-specific routing logic.
67-
68- Args:
69- market: The market ('aura' or 'balancer')
70- voting_pool_override: The voting pool override setting
71-
72- Returns:
73- Platform name to use for this market (e.g., 'hh', 'paladin', 'stakedao')
74- """
75- pass
0 commit comments