-
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
Add GLUE blockchain #13678
base: main
Are you sure you want to change the base?
Add GLUE blockchain #13678
Conversation
Introduces a TVL adapter for the Glue protocol, leveraging pool data to calculate token balances. Updates the chains list to include Glue, enabling its integration into the project.
The adapter at projects/glue exports TVL:
|
Test failed due to errors not related with this PR |
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.
why are you trying to count uniswap v3 pool as your tvl, glue is not a chain?
To get the correct TVL, it is possible to install the packages |
hi @0xbrax sorry, glue is a evm chain, I see now, but the adapter code threw me off. What is the dex this LP belong to? https://explorer.glue.net/address/0xDaf334a000141668030f30B22f4552758995dA00 and why do you need polkadot lib? |
Hi @g1nt0ki and the DefiLlama team, Glue is based on Polkadot. It has a Relay Chain, which is considered the L1 and is where the Glue token resides. It also has a Parachain, which is a L2 EVM chain. Glue can be "teleported" from the Relay Chain to the Parachain by locking it in the Relay Chain and incrementing the balance of the corresponding wallet in the Parachain. In our project, Glue can be deposited into contracts in the Relay Chain, where it is locked up for a period of time. The deposits will yield a reward at various APYs depending on the contract. To get the total amounts locked in these "vesting" contracts, we must make a call to the Relay Chain. This is normally done with the Polkadot API, which is a Web3 library designed for communicating with Polkadot (Substrate) chains rather than EVM chains. If we are not able to use the Polkadot API do this, we would be have to write our own Websocket RPC client to do it, which is not a simple task owing to the sophisticated transports used by Polkadot. Would the DefiLlama team be willing to look into permitting the use of this fundamental low-level library, which would otherwise prevent projects utilising Polkadot tech from joining DefiLlama? |
Name (to be shown on DefiLlama):
Glue
Twitter Link:
https://twitter.com/GlueNet
List of audit links if any:
Website Link:
https://glue.net
Logo (High resolution, will be shown with rounded borders):
https://copper-key-raccoon-515.mypinata.cloud/ipfs/QmRPBdzXX433zTD8zLjFu9uYYq16aLz1Pu1xCjJZYMP4wE
Current TVL:
$135.57k
Treasury Addresses (if the protocol has treasury):
Chain:
glue
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed):
glue
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed):
Short Description (to be shown on DefiLlama):
Glue - The Blockchain Built for Everyone, Bringing the Next 100 Million Users On-Chain.
Token address and ticker if any:
0x840b20fa3d48ac709fd841fcd878c3e8aabd7087
GLUE
Category (full list at https://defillama.com/categories) *Please choose only one:
Dexs
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):
TVL is the number of tokens staked in locked pools. To unstake their tokens, the token depositor must request a withdrawal and then wait for the completion of cooldown period of 21 days.
Github org/user (Optional, if your code is open source, we can track activity):