Skip to content
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

Merged
merged 5 commits into from
Dec 11, 2024
Merged

WisdomTree Fund (RWA) #12654

merged 5 commits into from
Dec 11, 2024

Conversation

0xpeluche
Copy link
Contributor

@0xpeluche 0xpeluche commented Dec 10, 2024


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:
  • Stellar
  • Ethereum
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):

@0xpeluche 0xpeluche self-assigned this Dec 10, 2024
@llamatester
Copy link

The adapter at projects/wisdomtree exports TVL:

ethereum                  11.25 M
stellar                   679.29 k

total                    11.93 M 

@0xpeluche 0xpeluche changed the title Feat: WisdomTree Fund (RWA) [WIP] - Feat: WisdomTree Fund (RWA) Dec 10, 2024
@0xpeluche 0xpeluche marked this pull request as draft December 10, 2024 15:33
@llamatester
Copy link

The adapter at projects/wisdomtree exports TVL:

ethereum                  11.28 M
stellar                   3.63 M

total                    14.91 M 

@llamatester
Copy link

The adapter at projects/wisdomtree exports TVL:

ethereum                  11.28 M
stellar                   3.99 M

total                    15.27 M 

@0xpeluche 0xpeluche changed the title [WIP] - Feat: WisdomTree Fund (RWA) Feat: WisdomTree Fund (RWA) Dec 11, 2024
@0xpeluche 0xpeluche marked this pull request as ready for review December 11, 2024 09:51
@0xpeluche 0xpeluche marked this pull request as draft December 11, 2024 10:22
@0xpeluche 0xpeluche changed the title Feat: WisdomTree Fund (RWA) WisdomTree Fund (RWA) Dec 11, 2024
@0xpeluche 0xpeluche marked this pull request as ready for review December 11, 2024 11:16
@llamatester
Copy link

The adapter at projects/wisdomtree exports TVL:

stellar                   12.09 M
ethereum                  11.27 M

total                    23.36 M 

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 })
Copy link
Member

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


const stellarTvl = async (api) => {
const assets = CONFIG[api.chain]
for (const { ticker, address, NAV } of assets) {
Copy link
Member

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

@llamatester
Copy link

The adapter at projects/franklinTempleton-finance exports TVL:

stellar                   267.73 M
arbitrum                  51.90 M
polygon                   32.23 M
avax                      30.06 M
ethereum                  30.06 M
base                      30.06 M

total                    442.06 M 

@llamatester
Copy link

The adapter at projects/wisdomtree exports TVL:

stellar                   12.09 M
ethereum                  11.26 M

total                    23.35 M 

@g1nt0ki g1nt0ki merged commit 6ab9c28 into DefiLlama:main Dec 11, 2024
1 check passed
twothirtyfive pushed a commit to noble-assets/DefiLlama-Adapters that referenced this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants