-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Add Nest Credit adapter #17942
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
base: main
Are you sure you want to change the base?
Add Nest Credit adapter #17942
Conversation
📝 WalkthroughWalkthroughA new Nest Credit TVL adapter is introduced that calculates total value locked across ethereum, arbitrum, bsc, and plasma chains. Each chain references specific vault addresses and optionally whitelisted tokens, with TVL computed using sumTokens2 aggregation. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The adapter at projects/nest-credit exports TVL: |
| '0x9fbC367B9Bb966a2A537989817A088AFCaFFDC4c', | ||
| '0x11113Ff3a60C2450F4b22515cB760417259eE94B', | ||
| '0xbfc5770631641719cd1cf809d8325b146aed19de', | ||
| '0xa5f78b2a0ab85429d2dfbf8b60abc70f4cec066c', |
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.
These top 6 addresses are duplicates from nucleus
as their balances are currently tracked as nucleus tvl, can they be removed from your adapter?
| }, | ||
| arbitrum: { | ||
| vaults: [ | ||
| '0xe72fe64840f4ef80e3ec73a1c749491b5c938cb9', |
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.
same for arbitrum
NOTE
Please enable "Allow edits by maintainers" while putting up the PR.
package-lock.jsonfile as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CIName (to be shown on DefiLlama): Nest Credit
Twitter Link: https://x.com/NestCredit
List of audit links if any: https://docs.nest.credit/trust-and-compliance/audits-and-compliance
Website Link: https://nest.credit/
Logo (High resolution, will be shown with rounded borders): https://pbs.twimg.com/profile_images/1877780431686483968/cJK2Gg3W_400x400.png
Current TVL: ~$1.4M
Treasury Addresses (if the protocol has treasury)
Chain: Ethereum, Arbitrum, BSC, Plasma
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed):
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed):
Short Description (to be shown on DefiLlama): Nest Credit is an RWA yield platform offering institutional-grade vaults backed by U.S. Treasuries, private credit, and tokenized real-world assets.
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one: RWA
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.): N/A (off-chain NAV accounting via Boring Vault Accountant contracts)
Implementation Details: Briefly describe how the oracle is integrated into your project: Each vault uses an Accountant contract that tracks the exchange rate between vault shares and the underlying base asset. Rates are updated by vault operators.
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage: https://docs.nest.credit/developers/boring-vaults
forkedFrom (Does your project originate from another project): Uses Boring Vault architecture (by Veda/Seven Seas)
methodology (what is being counted as tvl, how is tvl being calculated): TVL is calculated by summing the value of all assets held in each Nest Credit BoringVault contract across Ethereum, Arbitrum, BSC, and Plasma.
Github org/user (Optional, if your code is open source, we can track activity): https://github.com/plume-finance
Does this project have a referral program? No
Summary by CodeRabbit