-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added VinuFinance volume #2369
base: master
Are you sure you want to change the base?
Added VinuFinance volume #2369
Conversation
The vinufinance adapter exports:
|
llamabutler's computation is correct.
Il dom 2 feb 2025, 17:11 llamabutler ***@***.***> ha scritto:
… The vinufinance adapter exports:
> ***@***.*** test
> ts-node --transpile-only cli/testAdapter.ts protocols vinufinance
🦙 Running VINUFINANCE adapter 🦙
---------------------------------------------------
Start Date: Sat, 01 Feb 2025 14:41:24 GMT
End Date: Sun, 02 Feb 2025 14:41:24 GMT
---------------------------------------------------
VINU 👇
Backfill start time: 1/10/2023
NO METHODOLOGY SPECIFIED
Daily volume: 0
End timestamp: 1738507283 (2025-02-02T14:41:23.000Z)
—
Reply to this email directly, view it on GitHub
<#2369 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKM76LDQXFZ53NZIVYXQX32NZGVRAVCNFSM6AAAAABWKSZ7KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRZGQ3TMMJSGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
const dailyVolume = createBalances(); | ||
|
||
await Promise.all(whitelistedPools.map(async (pool, idx) => { | ||
const logs = await getLogs({ target: pool, eventAbi: BORROW_EVENT_ABI, }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think Borrow event logs it not volume like other amm dexs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, can you update adapter to track fees instead of volume? think that is what we/our users are interested in for lending protocols.
NOTE: This PR has a companion PR in the TVL repo.
Name (to be shown on DefiLlama): VinuFinance
Twitter Link: https://x.com/vinuchain
List of audit links if any:
Website Link: https://vinufinance.app/
Logo (High resolution, will be shown with rounded borders):
Current TVL: 1.1k USD
Treasury Addresses (if the protocol has treasury): 0xA529d46D97C9be7b93F44A9A0Ca4672C4591B93a
Chain: VinuChain
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000)
Short Description (to be shown on DefiLlama): Oracle-less, no-liquidation lending on VinuChain
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one: Lending
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
forkedFrom (Does your project originate from another project):
methodology (what is being counted as tvl, how is tvl being calculated): Tokens stored in the contract, including collateral and unused borrowable assets
Github org/user (Optional, if your code is open source, we can track activity): https://github.com/VinuChain