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

Add Tea-Fi Adapter #13628

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

MaxCojocari
Copy link

NOTE

Please enable "Allow edits by maintainers" while putting up the PR.


  • If you would like to add a volume adapter please submit the PR here.
  • If you would like to add a liquidations adapter, please refer to this readme document for details.
  1. Once your adapter has been merged, it takes time to show on the UI. If more than 24 hours have passed, please let us know in Discord.
  2. Sorry, We no longer accept fetch adapter for new projects, we prefer the tvl to computed from blockchain data, if you have trouble with creating a the adapter, please hop onto our discord, we are happy to assist you.
  3. Please fill the form below only if the PR is for listing a new protocol else it can be ignored/replaced with reason/details about the PR
  4. For updating listing info It is a different repo, you can find your listing in this file: https://github.com/DefiLlama/defillama-server/blob/master/defi/src/protocols/data2.ts, you can edit it there and put up a PR
  5. Do not edit/push package-lock.json file as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CI
  6. No need to go to our discord and announce that you've created a PR, we monitor all PRs and will review it asap

Name (to be shown on DefiLlama):

Tea-Fi

Twitter Link:

https://x.com/TeaFi_Official

List of audit links if any:

https://github.com/Tea-Fi/audits

Website Link:

https://app.tea-fi.com/swap

Logo (High resolution, will be shown with rounded borders):

tea-fi-logo

Current TVL:
Treasury Addresses (if the protocol has treasury):
Chain:
  • Polygon PoS
  • 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):

Tea-Fi combines growth opportunities and seamless asset management, taking the hassle out of crypto.

With powerful yield tools and frictionless transactions, Tea-Fi lets users manage, trade, and grow assets effortlessly while keeping full custody—turning complexity into opportunity.

Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:

Yield

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):

@llamabutler
Copy link

The adapter at projects/tea-fi exports TVL:

ethereum                  0
polygon                   0
polygon-staking           0
ethereum-staking          0
staking                   0

total                    0 

Copy link
Member

@g1nt0ki g1nt0ki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@@ -62,7 +62,13 @@
"EIGEN": "0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83",
"LBTC": "0x8236a87084f8B84306f72007F36F2618A5634494",
"cbBTC": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
"BTCN": "0x386E7A3a0c0919c9d53c3b04FF67E73Ff9e45Fb6"
"BTCN": "0x386E7A3a0c0919c9d53c3b04FF67E73Ff9e45Fb6",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

@MaxCojocari MaxCojocari Feb 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@g1nt0ki Removed tokens from list and isolated them in separate module, see commit.

module.exports = {
methodology: "TVL represents the overall liquidity held across all synthetic asset staking pools on a given chain.",
ethereum: {
tvl: () => ({}),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we prefer counting the tokens backing the synth token as tvl rather than staked synth under staking

Copy link
Author

@MaxCojocari MaxCojocari Feb 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@g1nt0ki Refined the methodology, see commit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, you misunderstood my request. I meant, track the balances of tokens backing the synth token. Where does the yield come from?

I tried looking at synth USDT on ethereum, 159k comes from bybit, synth USDT is minted and the money goes back into bybit?

https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7?a=0x7df4253cf5cf81f7ca7fa5f37e54bc3543a528fb

https://etherscan.io/token/0xdac17f958d2ee523a2206206994597c13d831ec7?a=0xef1735c00b943ac18b96606d91393ed5ad47c23c

@llamabutler
Copy link

The adapter at projects/tea-fi exports TVL:

staking                   1.40 M
polygon-staking           1.18 M
ethereum-staking          220.66 k
ethereum                  0
polygon                   0

total                    0 

@MaxCojocari MaxCojocari requested a review from g1nt0ki February 28, 2025 13:42
Copy link
Member

@g1nt0ki g1nt0ki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

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