From 7b870bc8d2bfc5ae75bf155fb427efe4f791e3aa Mon Sep 17 00:00:00 2001 From: Martin Kersner Date: Tue, 14 May 2024 12:05:44 +0900 Subject: [PATCH] feat: remove protocol column from fee/revenue detail --- datamaxi/defillama/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datamaxi/defillama/__init__.py b/datamaxi/defillama/__init__.py index 7043cde..8ed01f4 100644 --- a/datamaxi/defillama/__init__.py +++ b/datamaxi/defillama/__init__.py @@ -440,7 +440,7 @@ def revenue( return self.query("/v1/defillama/revenue", params) - @postprocess(num_index=4) + @postprocess(num_index=3) def fee_detail( self, protocol: str, chain: str = None, daily: bool = True, pandas: bool = True ) -> Union[List, pd.DataFrame]: @@ -469,7 +469,7 @@ def fee_detail( return self.query("/v1/defillama/fee/detail", params) - @postprocess(num_index=4) + @postprocess(num_index=3) def revenue_detail( self, protocol: str, chain: str = None, daily: bool = True, pandas: bool = True ) -> Union[List, pd.DataFrame]: