Skip to content

Conversation

@rymnc
Copy link

@rymnc rymnc commented Dec 3, 2025

companion PR to DefiLlama/DefiLlama-Adapters#17265

NOTE

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


  • If you would like to add a tvl adapter please submit the PR here.
  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. 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
  3. 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/data4.ts, you can edit it there and put up a PR
  4. Do not edit/push package.json/package-lock.json file as part of your changes
  5. No need to go to our discord/other channel and announce that you've created a PR, we monitor all PRs and will review it asap

Name (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:

~188k 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)
  • Will be integrated on Coingecko soon
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)
  • Will be integrated on CMC soon
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:

N/A as there isn't a token associated with O2

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):

we count the volume as the total inflows into the orderbook contracts, and fees are collected by the organization, from the orderbook contracts. the fees are collected ad-hoc at the moment.

Github org/user (Optional, if your code is open source, we can track activity):

https://github.com/FuelLabs

@llamabutler
Copy link

The o2 adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts dexs o2

🦙 Running O2 adapter 🦙
---------------------------------------------------
Start Date:	Tue, 02 Dec 2025 11:23:39 GMT
End Date:	Wed, 03 Dec 2025 11:23:39 GMT
---------------------------------------------------

------ ERROR ------
Error: Request failed with status code 401
    at _queryDune (/home/runner/work/dimension-adapters/dimension-adapters/helpers/dune.ts:219:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Request failed with status code 401

@rymnc
Copy link
Author

rymnc commented Dec 3, 2025

The o2 adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts dexs o2

🦙 Running O2 adapter 🦙
---------------------------------------------------
Start Date:	Tue, 02 Dec 2025 11:23:39 GMT
End Date:	Wed, 03 Dec 2025 11:23:39 GMT
---------------------------------------------------

------ ERROR ------
Error: Request failed with status code 401
    at _queryDune (/home/runner/work/dimension-adapters/dimension-adapters/helpers/dune.ts:219:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Request failed with status code 401

needs a correct dune api key

@llamabutler
Copy link

The o2 adapter exports:

> adapters@1.0.0 test
> ts-node --transpile-only cli/testAdapter.ts dexs o2

🦙 Running O2 adapter 🦙
---------------------------------------------------
Start Date:	Wed, 03 Dec 2025 14:31:53 GMT
End Date:	Thu, 04 Dec 2025 14:31:53 GMT
---------------------------------------------------

------ ERROR ------
Error: Request failed with status code 401
    at _queryDune (/home/runner/work/dimension-adapters/dimension-adapters/helpers/dune.ts:219:22)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Request failed with status code 401

@rymnc rymnc marked this pull request as ready for review December 4, 2025 17:02
@rymnc rymnc marked this pull request as draft December 5, 2025 12:19
@rymnc
Copy link
Author

rymnc commented Dec 5, 2025

going to move this back to draft due to ongoing internal discussion

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