Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE
Please enable "Allow edits by maintainers" while putting up the PR.
package-lock.json
file as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CIName (to be shown on DefiLlama):
Loxodrome
Twitter Link:
https://twitter.com/_Loxodrome
List of audit links if any:
https://app.secure3.io/203ca47f68/preview
Website Link:
https://dapp.loxodrome.xyz
Logo (High resolution, will be shown with rounded borders):
https://bafkreiesz623spibua5hpbwp2cxyv3yljykxn7vgxl5hmhgkasxro3opma.ipfs.nftstorage.link/
Current TVL:
88.7k
Treasury Addresses (if the protocol has treasury)
none
Chain:
IoTeX
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):
Loxodrome is a pioneering DePIN-Focused Dex on the IoTeX,
establishing itself as the first native liquidity marketplace focused on DePIN.
Token address and ticker if any:
0xE18568f86dA705F8Ee9f89fA87162216739BDC56
Category (full list at https://defillama.com/categories) *Please choose only one:
Dexes
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
none
Implementation Details: Briefly describe how the oracle is integrated into your project:
none
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
none
forkedFrom (Does your project originate from another project):
Thena
methodology (what is being counted as tvl, how is tvl being calculated):
Use the getPairs function to get pair information from the specified factory contract, including the address of each pair.
Use the API's multiCall function to get the addresses of the two tokens in each pair, and to get the voter addresses associated with each pair.
Organize the obtained token information into a list of owner tokens, where each element contains the addresses of the two tokens and the address of the corresponding transaction pair.
Call the sumTokensExport function, passing in the API object, the balance information, the list of owner tokens, and the unwrapped LP flag to calculate the total TVL.
Github org/user (Optional, if your code is open source, we can track activity):