From fa8f39d047cfa27750a757751bcef296a1e71863 Mon Sep 17 00:00:00 2001 From: Bank Tha Don Date: Sat, 2 Aug 2025 00:10:43 -0700 Subject: [PATCH 1/4] Create index.ts --- fees/WarpFinance/index.ts | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 fees/WarpFinance/index.ts diff --git a/fees/WarpFinance/index.ts b/fees/WarpFinance/index.ts new file mode 100644 index 0000000000..e69de29bb2 From ac405537dcfd3a1bbee40379d9ee0166ce857f08 Mon Sep 17 00:00:00 2001 From: Bank Tha Don Date: Sun, 3 Aug 2025 22:20:58 -0700 Subject: [PATCH 2/4] Update --- fees/WarpFinance/index.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/fees/WarpFinance/index.ts b/fees/WarpFinance/index.ts index e69de29bb2..bd14b4ae50 100644 --- a/fees/WarpFinance/index.ts +++ b/fees/WarpFinance/index.ts @@ -0,0 +1,34 @@ +import { FetchOptions, SimpleAdapter } from "../../adapters/types"; +import { CHAIN } from "../../helpers/chains"; + +const FeeCollectedEvent = "event FeesCollected(address indexed _token, address indexed _integrator, uint256 _integratorFee, uint256 _lifiFee)" + +const WARPFeeCollector = '0x312a6be6bD9850D6a2F793b8425c39eFC01C3585'; + +const fetch = async (options: FetchOptions) => { + const dailyFees = options.createBalances(); + const data: any[] = await options.getLogs({ + target: WARPFeeCollector, + eventAbi: FeeCollectedEvent, + }); + data.forEach((log: any) => { + dailyFees.add(log._token, log._integratorFee); + }); + return { dailyFees, dailyRevenue: dailyFees, dailyProtocolRevenue: dailyFees }; +}; + +const methodology = { + Fees: 'All fees paid by users for swap and bridge tokens via LI.FI.', + Revenue: 'Fees are distributed to Warp Finance and creators', + ProtocolRevenue: 'Fees are distributed to Warp Finance.', +} + +const adapter: SimpleAdapter = { + version: 2, + fetch, + chains: [CHAIN.ETHEREUM], + start: '2023-07-27', + methodology +} + +export default adapter; \ No newline at end of file From f2de92a96612dbc504c96500e93b63fdaf132850 Mon Sep 17 00:00:00 2001 From: Bank Tha Don Date: Mon, 4 Aug 2025 10:39:51 -0700 Subject: [PATCH 3/4] Updated --- fees/WarpFinance/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fees/WarpFinance/index.ts b/fees/WarpFinance/index.ts index bd14b4ae50..3537ec6a2b 100644 --- a/fees/WarpFinance/index.ts +++ b/fees/WarpFinance/index.ts @@ -18,9 +18,9 @@ const fetch = async (options: FetchOptions) => { }; const methodology = { - Fees: 'All fees paid by users for swap and bridge tokens via LI.FI.', - Revenue: 'Fees are distributed to Warp Finance and creators', - ProtocolRevenue: 'Fees are distributed to Warp Finance.', + Fees: 'There is no fees in creating tokens. Creators pay Network fees only.', + Revenue: 'Revenue is generated via V3 Uniswap buy/sell 50% creators & 50% to Warp Finance.', + ProtocolRevenue: 'V3 Trading Fees are distributed to Warp Finance.', } const adapter: SimpleAdapter = { From aecd50a5f679658b2a95bb500ce9f703d52299ec Mon Sep 17 00:00:00 2001 From: Bank Tha Don Date: Sat, 9 Aug 2025 11:48:28 -0700 Subject: [PATCH 4/4] Update Fee Collector --- fees/WarpFinance/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fees/WarpFinance/index.ts b/fees/WarpFinance/index.ts index 3537ec6a2b..3ebc66f2d7 100644 --- a/fees/WarpFinance/index.ts +++ b/fees/WarpFinance/index.ts @@ -3,7 +3,7 @@ import { CHAIN } from "../../helpers/chains"; const FeeCollectedEvent = "event FeesCollected(address indexed _token, address indexed _integrator, uint256 _integratorFee, uint256 _lifiFee)" -const WARPFeeCollector = '0x312a6be6bD9850D6a2F793b8425c39eFC01C3585'; +const WARPFeeCollector = '0x86A74536f7C5548EFE9e935863eA7bE333380288'; const fetch = async (options: FetchOptions) => { const dailyFees = options.createBalances();