Skip to content

Conversation

@Gloom0x0
Copy link
Contributor

Added new Shift Protocol extUSD vault .

Introduces ShiftTvlFeed ABI, config for contract addresses, and an index.js adapter to calculate TVL for Shift Protocol vaults. TVL is aggregated from USDC deposits using the latest on-chain data.

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

Twitter Link:
https://twitter.com/shiftprotocol_ (use the "_")

List of audit links if any:
https://github.com/SHIFT-NebulaLabs/shift-contracts/blob/main/audits/shift-sbsecurity-audit-2025.pdf

Website Link:
https://shiftprotocol.xyz/

Logo (High resolution, will be shown with rounded borders):
https://raw.githubusercontent.com/SHIFT-NebulaLabs/resources/main/SHIFT-logo-dark.png

Current TVL:
$805,000

Treasury Addresses (if the protocol has treasury)

Chain:
Base

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):
Shift is a DeFi protocol offering a suite of yield products built on top of leading on-chain perpetual futures exchanges (Perp DEXs). Our mission is to make high-yield strategies available to anyone through transparent, on-chain vaults.

Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:
Onchain Capital Allocator

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):
TVL is calculated as the aggregated amount of USDC deposited across all of Shift's vault, inclusive of losses or gains

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

Added 0x8d8d4643F6B3fF6F953Aae428306aD91fE872327 to the base array in config.js to support additional configuration.
@Gloom0x0
Copy link
Contributor Author

Gloom0x0 commented Nov 28, 2025

We have a second vault live on Shift: extUSD

Our TVL for this vault is defined, as for the previous vault, as circulating liquid receipt tokens (extUSD) * share price.

Once again, we emit extUSD which is an ERC20 token on Base, against USDC deposits. However, this time the underlying composition is different: the deposits get split between a part that gets transferred on Extended and used to open a short position, and a part that stays on-chain and is swapped to weETH or other ETH derivatives.

Therefore, the circulating supply is straightforward and reflected here: https://basescan.org/token/0x8d8d4643f6b3ff6f953aae428306ad91fe872327

The price is calculated as a fundamental value via: underlying backing / number of circulating shares.
The underlying backing is calculated via several steps:

The dust/inactive deposits and weETH holdings on base and starknet at our wallets:
https://basescan.org//address/0x5223d45f0f0F01a5e2d88Cd8657a6846536de0f9
https://voyager.online/contract/0x02D1825a5A3F5e2B50845A8647293db44c07ee56f3E93e406C1610b3b8F6D779

Through Extended APIs we get the Account Value which summarizes the value of the collateral and any positive or negative u/r PNL.

Everything gets summed and composes the underlying backing used for the calculation.

@Gloom0x0 Gloom0x0 changed the title Update Shift Protocol - Added new vault to be tracked Update Shift Protocol - Added new extUSD vault to be tracked Nov 28, 2025
@Gloom0x0
Copy link
Contributor Author

Smart contrat will be updated, please hold pr before closing it.

@waynebruce0x waynebruce0x self-assigned this 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.

2 participants