-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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 zeepr project #9598
add zeepr project #9598
Conversation
add Zeepr folder
add zeepr adapter
Get the margins of tvl
The adapter at projects/zeepr exports TVL:
|
hi, team, may i ask why this total is 0? |
@JoJo-Joker because the token is not priced, can you get it listed on coingecko first? |
also, we cant count own token as tvl: https://docs.llama.fi/list-your-project/what-to-include-as-tvl |
@g1nt0ki can i count my own token as Staking? |
@g1nt0ki May I ask if it is possible to launch on gate or coinmarketcap? Or can only be listed on Coinsecko? |
Atm we rely only on coingecko for pulling token prices |
@g1nt0ki We have launched on GeckoTerminal, which seems to belong to Coinsecko. Can we use it? |
not, it is not part of the coingecko api that we have access to, bigger issue is, we cant count your own token as tvl |
@g1nt0ki May I ask what can my own token count as? Can it be considered as stacking? |
yeah, under staking |
@g1nt0ki May I ask if I still need to be listed on Coinsecko after replacing it with stacking? |
yes, to price the token |
@g1nt0ki May I choose not to display TVL and instead display other data? such as stacking or others |
yes, we can show staking and 0 tvl |
Error while running adapter at projects/zeepr:
|
Error while running adapter at projects/zeepr:
|
Error while running adapter at projects/zeepr:
|
@g1nt0ki May I write it this way? |
projects/zeepr/index.js
Outdated
module.exports = { | ||
arbitrum: { | ||
tvl: 0, | ||
staking: staking("0xe46C5eA6Da584507eAF8dB2F3F57d7F578192e13"), |
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.
no, this doesnt work, how do you expect us compute tvl, where staking contract is not provided, also, we still need a way to price the token
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.
If I only display staking, how should I write it? @g1nt0ki
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.
staking(stakingAddress, tokenAddress)
Error while running adapter at projects/zeepr:
|
@g1nt0ki |
Error while running adapter at projects/zeepr:
|
The adapter at projects/zeepr exports TVL:
|
you did not put a smart contract but a wallet for staking? |
@g1nt0ki I have set a totalMargins smart contract method on the address 0xe46C5eA6Da584507eAF8dB2F3F57d7F578192e13. By passing in the address parameter, the corresponding balance can be queried. Is this type of smart contract acceptable? |
The adapter at projects/zeepr exports TVL:
|
@g1nt0ki Hello, I added price to Coinsecko. Is it okay to write the code like this? Can tvl be calculated like this? |
sorry, I am tired of repeating myself please read my previous comments |
@g1nt0ki Sorry for taking up too much of your time on my end. Thank you very much for your previous answers. I will take a good look at the previous comments and modify the code. Thank you |
The adapter at projects/zeepr exports TVL:
|
@g1nt0ki Hello, sorry to bother you again. May I ask if my staking is in a wallet not a smart contract, can it be displayed? If possible, which method should I use? |
@JoJo-Joker sorry, we cant count value in EOA as tvl |
@g1nt0ki ok, I see, thank you for your reply, and may I ask if the value in EOA cannot be used as tvl? What can this value be used for? such as pool2 or others? |
Name (to be shown on DefiLlama):
Zeepr
Twitter Link:
https://twitter.com/Zeepr_labs
List of audit links if any:
N/A
Website Link:
https://www.zeepr.io/
Current TVL:
2.11B
Treasury Addresses (if the protocol has treasury)
N/A
Chain:
Arbitrum、BNB Chain、Polygon、EOS EVM、Core
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
N/A
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)
N/A
Short Description (to be shown on DefiLlama):
Zeepr is the world's first decentralized perpetual contract protocol that supports both Coin-margin and U-margin, amplifying traders' profits.
Token address and ticker if any:
0xe46C5eA6Da584507eAF8dB2F3F57d7F578192e13
Category (full list at https://defillama.com/categories) *Please choose only one:
4.Dexes
forkedFrom (Does your project originate from another project):
No
Github org/user (Optional, if your code is open source, we can track activity):
https://github.com/Zeeprlabs
Logo (High resolution, will be shown with rounded borders):