-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
WisdomTree Fund (RWA) #12654
WisdomTree Fund (RWA) #12654
Conversation
The adapter at projects/wisdomtree exports TVL:
|
The adapter at projects/wisdomtree exports TVL:
|
The adapter at projects/wisdomtree exports TVL:
|
The adapter at projects/wisdomtree exports TVL:
|
projects/wisdomtree/index.js
Outdated
for (const { ticker, address, NAV } of assets) { | ||
const stellarApi = `https://api.stellar.expert/explorer/public/asset/${ticker}-${address}` | ||
const { data } = await axios.get(stellarApi) | ||
api.add(USDT, NAV * data.supply * 10 ** (6-7), { skipChain: true }) |
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.
you can do api.addUSDValue
projects/wisdomtree/index.js
Outdated
|
||
const stellarTvl = async (api) => { | ||
const assets = CONFIG[api.chain] | ||
for (const { ticker, address, NAV } of assets) { |
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.
hmm, dont like the idea of hardcoding nav
The adapter at projects/franklinTempleton-finance exports TVL:
|
The adapter at projects/wisdomtree exports TVL:
|
Co-authored-by: g1nt0ki <[email protected]>
Name (to be shown on DefiLlama):
WisdomTree Government Money Market Digital Fund
Twitter Link:
List of audit links if any:
Website Link:
https://www.wisdomtree.com/investments/digital-funds/money-market/wtgxx
https://www.wisdomtree.com/investments/digital-funds/fixed-income/flttx
https://www.wisdomtree.com/investments/digital-funds/fixed-income/wtsyx
https://www.wisdomtree.com/investments/digital-funds/fixed-income/wttsx
https://www.wisdomtree.com/investments/digital-funds/fixed-income/tipsx
https://www.wisdomtree.com/investments/digital-funds/fixed-income/wtstx
https://www.wisdomtree.com/investments/digital-funds/fixed-income/wtlgx
https://www.wisdomtree.com/investments/digital-funds/equity/spxux
https://www.wisdomtree.com/investments/digital-funds/asset-allocation/wtsix
Logo (High resolution, will be shown with rounded borders):
Current TVL:
Treasury Addresses (if the protocol has treasury)
Chain:
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):
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:
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):
Github org/user (Optional, if your code is open source, we can track activity):