-
Notifications
You must be signed in to change notification settings - Fork 6.7k
CHATEAU DefiLlama Adapter #17324
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
Open
haeli05
wants to merge
5
commits into
DefiLlama:main
Choose a base branch
from
chateau-capital:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
CHATEAU DefiLlama Adapter #17324
+417
−306,327
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added example pegged asset adapters for chUSD (Chateau's synthetic dollar) on Plasma chain: - Shorthand version using helper functions (recommended) - Full vanilla implementation - Documentation in README with contract details and usage instructions Contract: 0x22222215d4edc5510d23d0886133e7ece7f5fdc1 (Plasma chain) Peg Type: peggedUSD, Decimals: 18 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added schUSD yield adapter for yield-server (ERC-4626 vault APY calculation) - Added PR templates for TVL, pegged asset, and yield submissions - Updated README with Pyth oracle feed IDs and schUSD documentation Contracts: - chUSD: 0x22222215d4edc5510d23d0886133e7ece7f5fdc1 - schUSD: 0x888888bAb58a7Bd3068110749bC7b63B62Ce874d Pyth Feeds: - chUSD/USDT: 0x73303664bd3a81bf8ef7508a4b50ca2bc5839a9ce78e19ee6f076e12374c1e5f - schUSD/chUSD: 0xdf8468e16ad185361f8841a80906984425a48e8fc3b2cd8750755f705119dc65 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Simplified TVL adapter to use direct USD values (removes unrecognized token warnings) - Updated methodology description - Updated PR templates with correct Pyth feed names 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The adapter at projects/chateau exports TVL: |
Collaborator
|
Please remove all the files outside of projects/chateau/ |
Author
|
@waynebruce0x done for other projects. Did u mean other files such as typings, utils, and package json too? |
Collaborator
|
yeah I just meant remove the added files in this PR, sorry for the confusion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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):
CHATEAU
Twitter Link:
https://x.com/Chateau_capital
List of audit links if any:
https://github.com/zenith-security/reports/blob/main/reports/Chateau%20-%20Zenith%20Audit%20Report.pdf
Website Link:
https://www.chateau.capital
Logo (High resolution, will be shown with rounded borders):
Current TVL:
478,027.18$
Treasury Addresses (if the protocol has treasury)
Chain:
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):
Chateau is a DeFi protocol built to democratize access to institutional assets and private markets through stable-value assets and blockchain-native investment vehicles.
Token address and ticker if any:
0x22222215d4EdC5510d23D0886133E7ece7F5fdC1 chUSD
0x888888bab58a7bd3068110749bc7b63b62ce874d schUSD
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.):
Pyth
Implementation Details: Briefly describe how the oracle is integrated into your project:
https://legacy.pyth.network/price-feeds/crypto-schusd-chusd-rr schUSD/chUSD reserve ratio
https://legacy.pyth.network/price-feeds/crypto-nav-chusd-usdt0 tracks collateralization ratio for chUSD
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
https://docs.chateau.capital
forkedFrom (Does your project originate from another project):
Ethena.fi
methodology (what is being counted as tvl, how is tvl being calculated):
Github org/user (Optional, if your code is open source, we can track activity):
@chateau-capital on Github
Does this project have a referral program?
Yes, generate ref links on app.chateau.capital