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

Loopscale TVL #14278

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

Loopscale TVL #14278

wants to merge 2 commits into from

Conversation

luke-truitt
Copy link

NOTE

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


  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): Loopscale
Twitter Link: https://x.com/LoopscaleLabs
List of audit links if any: https://github.com/oshieldio/Publications/blob/main/Loopscale/loopscale-v1.md
Website Link: https://loopscale.com
Logo (High resolution, will be shown with rounded borders): https://bridgesplit-app.s3.us-east-1.amazonaws.com/logo/logo_new_blue.png
Current TVL: ~$30M
Treasury Addresses (if the protocol has treasury): N/A
Chain: Solana
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): N/A
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): N/A
Short Description (to be shown on DefiLlama): Loopscale is a modular lending platform for the next-generation of onchain assets. Markets for any asset, at the best rate, with less risk.
Token address and ticker if any: N/A
Category (full list at https://defillama.com/categories) *Please choose only one: Lending
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.): Pyth
Implementation Details: Briefly describe how the oracle is integrated into your project: Used for validating collateral and principal values as well as the values of assets underlying LPs and other long-tail collateral.
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage: https://docs.loopscale.com/resources/asset-parameters
forkedFrom (Does your project originate from another project): No
methodology (what is being counted as tvl, how is tvl being calculated): Unused deposits + supplied collateral (collateral is not rehypothecated)
Github org/user (Optional, if your code is open source, we can track activity): https://github.com/LoopscaleLabs

@luke-truitt
Copy link
Author

We have a number of complex assets that require a significant amount of data to compute their value including Orca whirlpool positions, PT tokens from Exponent and RateX, Perena + Meteora LPs, Flash Trade and Adrena Perp LP tokens.

Had to do this via our backend to also have historical.


const data = await response.json()

data.map(d => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

please use our helper functions to fetch on chain data

Copy link
Author

Choose a reason for hiding this comment

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

It's going to be very difficult to piece together all the assets supported on the platform as many are not recognized by DeFi llama (i.e. Orca LPs, Exponent PT tokens, Flash Trade LPs, etc).

How should we handle these assets?

@waynebruce0x waynebruce0x self-assigned this Apr 11, 2025
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.

2 participants