feat(o2): add o2 dex tvl tracking #17265
Merged
+798
−0
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.jsonfile 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):
O2 Exchange
Twitter Link:
https://x.com/o2dotapp
List of audit links if any:
Audits were performed by Hexens - we are awaiting the final report and this will be published on our github repo post launch
Website Link:
https://o2.app
Logo (High resolution, will be shown with rounded borders):
https://drive.google.com/file/d/1s7yvmam4NlI7Lau8aJ8CCPmk2-D__W51/view?usp=drive_link
https://drive.google.com/file/d/1wYyTAImU_LqsEv6Rx-awHJcUCoNSaXEt/view?usp=drive_link
Current TVL
~184k USD
Treasury Addresses (if the protocol has treasury)
N/A
Chain:
Fuel (9889)
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):
O2 is a high-performance, fully onchain spot orderbook on Ignition, a rollup powered by the Fuel Virtual Machine. It offers a CEX-like trading experience with DEX security (self-custody, no KYC) and ultra-low fees. It supports multichain deposits and withdrawals and has a highly performant API for programmatic traders.
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:
DEX
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Oracles are not being used.
Implementation Details: Briefly describe how the oracle is integrated into your project:
Oracles are not being used. This is a spot CLOB with price discovery occurring on O2 itself. Orders can be placed on O2's books and if matches occur then a trade is settled leading to price discovery of the asset in question.
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
N/A
Oracles are not being used. This is a spot CLOB with price discovery occurring on O2 itself
forkedFrom (Does your project originate from another project):
Not Forked
methodology (what is being counted as tvl, how is tvl being calculated):
When signing up to the platform, each user creates a trading account that is a smart contract on the fuel blockchain. they can then bridge assets into it, and the trading account is only allowed to interact with the orderbook contracts. therefore, we calculate the tvl as a sum of all trading account contract balances. we do not include assets that are on the orderbook contract itself as it can fluctuate wildly during high volume periods.
Github org/user (Optional, if your code is open source, we can track activity):
We will be open sourcing contracts soon after mainnet launch
github org: https://github.com/FuelLabs
Does this project have a referral program?
Yes visit docs.o2.app for a link to the program