Closed swan-of-bodom closed 2 weeks ago
The impermax-finance adapter exports:
> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees impermax-finance
🦙 Running IMPERMAX-FINANCE adapter 🦙
---------------------------------------------------
Start Date: Mon, 28 Oct 2024 00:00:00 GMT
End Date: Tue, 29 Oct 2024 00:00:00 GMT
---------------------------------------------------
Getting 4 tokens from gecko on base
Getting 2 tokens from gecko on optimism
Getting 10 tokens from gecko on ethereum
Getting 4 tokens from gecko on fantom
Getting 4 tokens from gecko on scroll
No price found on Gecko for token: 0xa00d47b4b304792eb07b09233467b690db847c91
No price found on Gecko for token: 0xfa6de2697d59e88ed7fc4dfe5a33dac43565ea41
Getting 12 tokens from gecko on arbitrum
No price found on Gecko for token: 0x951a9094a2b8f3cbfac08364565c014a29d7a179
Getting 9 tokens from gecko on polygon
ETHEREUM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 0
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 0
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
POLYGON 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 3
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 1
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
ARBITRUM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 0
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 0
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
FANTOM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 8
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 1
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
BASE 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 2.79 k
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 557
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
SCROLL 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 28
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 3
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
OPTIMISM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 100
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 10
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
REAL 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 421
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 42
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
The impermax-finance adapter exports:
> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts fees impermax-finance
🦙 Running IMPERMAX-FINANCE adapter 🦙
---------------------------------------------------
Start Date: Mon, 28 Oct 2024 00:00:00 GMT
End Date: Tue, 29 Oct 2024 00:00:00 GMT
---------------------------------------------------
Getting 4 tokens from gecko on base
Getting 2 tokens from gecko on optimism
Getting 4 tokens from gecko on fantom
Getting 12 tokens from gecko on arbitrum
Getting 4 tokens from gecko on scroll
No price found on Gecko for token: 0x951a9094a2b8f3cbfac08364565c014a29d7a179
Getting 10 tokens from gecko on ethereum
No price found on Gecko for token: 0xa00d47b4b304792eb07b09233467b690db847c91
No price found on Gecko for token: 0xfa6de2697d59e88ed7fc4dfe5a33dac43565ea41
Getting 9 tokens from gecko on polygon
ETHEREUM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 0
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 0
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
POLYGON 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 3
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 1
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
ARBITRUM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 0
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 0
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
FANTOM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 8
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 1
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
BASE 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 2.79 k
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 557
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
SCROLL 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 28
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 3
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
OPTIMISM 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 100
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 10
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
REAL 👇
Backfill start time: 23/10/2023
End timestamp: 1730159999 (2024-10-28T23:59:59.000Z)
Daily fees: 421
└─ Methodology: Fees is the interest rate paid by borrowers
Daily revenue: 42
└─ Methodology: Percentage of interest going to treasury, determined by each lending pools reserve factor.
Wrote new logic for the
fees
adapter forimpermax-finance
as this way it is more accurate (previously we had a fix reserve factor for all pools of 10%, now we get it from the graphql endpoint).Also note:
real
network to the/helpers/
/fees/impermax-finance/index.ts