Skip to content

Conversation

@Taump
Copy link
Contributor

@Taump Taump commented Nov 22, 2025

NOTE

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


  • If you would like to add a volume/fees/revenue adapter please submit the PR here.
  • If you would like to add a liquidations adapter, please refer to this readme document for details.
  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): City
Twitter Link: https://twitter.com/ObyteOrg
List of audit links if any:
Website Link: https://city.obyte.org/
Logo (High resolution, will be shown with rounded borders): https://city.obyte.org/logo.svg (black) https://city.obyte.org/logo-inv.svg (white)
Current TVL: 3.35k
Treasury Addresses (if the protocol has treasury)
Chain: Obyte
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): byteball
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): 1492
Short Description (to be shown on DefiLlama): A community engagement space where Obyte community members establish closer connections with each other and receive rewards after becoming neighbors in the City
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one: SoFi
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): The TVL is the total USD-value of funds locked in the agent of the CITY platform
Github org/user (Optional, if your code is open source, we can track activity): https://github.com/byteball/city-aa

@llamabutler
Copy link

The adapter at projects/city exports TVL:

obyte                     3.36 k

total                    3.36 k 

@Taump Taump marked this pull request as ready for review November 23, 2025 13:14
Copilot AI review requested due to automatic review settings November 23, 2025 13:14
Copilot finished reviewing on behalf of Taump November 23, 2025 13:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new TVL adapter for Obyte City, a community engagement platform where Obyte community members establish connections and receive rewards. The adapter calculates the total USD value of funds locked in the City platform's autonomous agent.

Key Changes

  • New adapter for Obyte City using the Obyte chain helper utilities
  • Implements TVL calculation by fetching balances from the City AA address and converting to USD using Oswap exchange rates
  • Follows the standard Obyte adapter pattern with timetravel: false and misrepresentedTokens: true flags

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

methodology:
"The TVL is the total USD-value of funds locked in the agent of the CITY platform",
obyte: {
tvl: totalTvl
Copy link
Collaborator

Choose a reason for hiding this comment

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

please export totalTvl as staking and use tvl: () => ({}), as CITY is your own token

@waynebruce0x waynebruce0x self-assigned this Nov 24, 2025
@g1nt0ki g1nt0ki merged commit 496b7a7 into DefiLlama:main Nov 24, 2025
1 check passed
@llamabutler
Copy link

The adapter at projects/obyte-city exports TVL:

obyte-staking             3.52 k
staking                   3.52 k
obyte                     0.00

total                    0.00 

@Taump Taump mentioned this pull request Nov 25, 2025
smriti0804 pushed a commit to smriti0804/DefiLlama-Adapters that referenced this pull request Nov 27, 2025
Amir0uch pushed a commit to NawaTeam/DefiLlama-Adapters that referenced this pull request Nov 28, 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.

4 participants