Skip to content

Conversation

@0saurabh0
Copy link
Contributor

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

Exotic Markets

Twitter Link:

https://x.com/exotic_markets_

List of audit links if any:
Website Link:

exotic.markets

Logo (High resolution, will be shown with rounded borders):
Current TVL:
Treasury Addresses (if the protocol has treasury)
Chain:

Solana

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):
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:
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):
Github org/user (Optional, if your code is open source, we can track activity):

@llamabutler
Copy link

The exotic-markets adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts options exotic-markets

🦙 Running EXOTIC-MARKETS adapter 🦙
---------------------------------------------------
Start Date:	Mon, 27 Oct 2025 00:00:00 GMT
End Date:	Tue, 28 Oct 2025 00:00:00 GMT
---------------------------------------------------

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)
    at async fetch (/home/runner/work/dimension-adapters/dimension-adapters/options/exotic-markets/index.ts:80:25)
    at async getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:220:18)
    at async Promise.all (index 0)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:175:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  axiosError: 'Dune API Key is invalid',
  chain: 'solana'
}

@0saurabh0
Copy link
Contributor Author

TVL PR - DefiLlama/DefiLlama-Adapters#16833

when testing locally show -


🦙 Running EXOTIC-MARKETS adapter 🦙
---------------------------------------------------
Start Date:     Mon, 27 Oct 2025 00:00:00 GMT
End Date:       Tue, 28 Oct 2025 00:00:00 GMT
---------------------------------------------------
waiting for query id 3996608 to complete...
SOLANA 👇
Backfill start time: 1/1/2024
Daily notional volume: 352
Daily premium volume: 297


@treeoflife2 treeoflife2 self-assigned this Oct 29, 2025
@treeoflife2
Copy link
Member

@0saurabh0 notional volume calculation looks incorrect in your dune based on numbers and your methodology,
dailyNotionalVolume: (Required) Notional volume of options contracts traded/settled.

@llamabutler
Copy link

The exotic-markets adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts options exotic-markets

🦙 Running EXOTIC-MARKETS adapter 🦙
---------------------------------------------------
Start Date:	Tue, 28 Oct 2025 00:00:00 GMT
End Date:	Wed, 29 Oct 2025 00:00:00 GMT
---------------------------------------------------

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)
    at async fetch (/home/runner/work/dimension-adapters/dimension-adapters/options/exotic-markets/index.ts:65:25)
    at async getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:220:18)
    at async Promise.all (index 0)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:175:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  axiosError: 'Dune API Key is invalid',
  chain: 'solana'
}

@0saurabh0
Copy link
Contributor Author

@treeoflife2 can you have a look now

@treeoflife2
Copy link
Member

dailyPremiumVolume is also required metric for options

@llamabutler
Copy link

The exotic-markets adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts options exotic-markets

🦙 Running EXOTIC-MARKETS adapter 🦙
---------------------------------------------------
Start Date:	Tue, 28 Oct 2025 00:00:00 GMT
End Date:	Wed, 29 Oct 2025 00:00:00 GMT
---------------------------------------------------

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)
    at async fetch (/home/runner/work/dimension-adapters/dimension-adapters/options/exotic-markets/index.ts:86:25)
    at async getChainResult (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:220:18)
    at async Promise.all (index 0)
    at async _runAdapter (/home/runner/work/dimension-adapters/dimension-adapters/adapters/utils/runAdapter.ts:175:20)
    at async /home/runner/work/dimension-adapters/dimension-adapters/cli/testAdapter.ts:69:24 {
  axiosError: 'Dune API Key is invalid',
  chain: 'solana'
}

@0saurabh0
Copy link
Contributor Author

@treeoflife2 Updated

@treeoflife2
Copy link
Member

@0saurabh0 i think you are still calculating notional volume incorrectly.

Notional volume is the total value of an underlying asset in a derivative contract, calculated by multiplying the contract's price by the number of shares or units

@0saurabh0
Copy link
Contributor Author

@treeoflife2, Apologies for the back and forth here, premium volume now uses the vault inflows, but I’m still missing the fields to compute notional as quantity × strike. I can’t find those decoded in the public Dune tables for exomt54…. Could you point me to the instruction or Dune table/columns that expose the contract size and strike/price that Exotic uses?
If that data isn’t exposed yet, I’m happy to write a decoder using the program’s IDL and publish a derived table, but I’d like confirmation that this is the right path before I start on it.

@treeoflife2
Copy link
Member

@treeoflife2, Apologies for the back and forth here, premium volume now uses the vault inflows, but I’m still missing the fields to compute notional as quantity × strike. I can’t find those decoded in the public Dune tables for exomt54…. Could you point me to the instruction or Dune table/columns that expose the contract size and strike/price that Exotic uses? If that data isn’t exposed yet, I’m happy to write a decoder using the program’s IDL and publish a derived table, but I’d like confirmation that this is the right path before I start on it.

best to ask the exotic.markets dev team about it if IDL is not public or you are not able to reverse engineer it.

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.

3 participants