Skip to content

Conversation

upheaval-defi
Copy link

defillama

Name (to be shown on DefiLlama):

Upheaval Finance

Twitter Link:

Upheaval (@Upheavalfi) on X

List of audit links if any:

nA

Website Link:

https://upheaval.fi

Logo (High resolution, will be shown with rounded borders):
2025-08-24 11 21 50
Current TVL:

146.79k

Treasury Addresses (if the protocol has treasury)
Chain:

hyperliquid

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

Upheaval is a DeFi platform on HyperliquidEVM designed to become the leading protocol in the ecosystem, starting with our Hyper efficient AMM DEX.

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

Pancakeswap

methodology (what is being counted as tvl, how is tvl being calculated):

Deposits into liquidity pools

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

@llamabutler
Copy link

The adapter at projects/upheaval-v2 exports TVL:

hyperliquid               11

total                    10.747002250709938 

@llamabutler
Copy link

The adapter at projects/upheaval-v3 exports TVL:

hyperliquid               146.78 k

total                    146.78 k 

@llamabutler
Copy link

The adapter at projects/upheaval-v2 exports TVL:

hyperliquid               11

total                    10.612494221327236 

@llamabutler
Copy link

The adapter at projects/upheaval-v3 exports TVL:

hyperliquid               258.28 k

total                    258.28 k 

@upheaval-defi
Copy link
Author

@llamabutler updated v3 calculations because one of the token price was missing before

@waynebruce0x
Copy link
Collaborator

Would it make sense to use

const { getUniTVL } = require("./helper/unknownTokens");
const { uniV3Export } = require('../helper/uniswapV3');

?

Which token was missing price?

@waynebruce0x waynebruce0x self-assigned this Aug 25, 2025
@upheaval-defi
Copy link
Author

upheaval-defi commented Aug 25, 2025

PUP token price is missing. There might be an issue with how HL is configured

Error in hyperliquid: [Error: Multicall failed! 
 [chain: hyperliquid] [fail count: 6] [abi: function balanceOf(address account) view returns (uint256)]  
    target: 0x5555555555555555555555555555555555555555 params: 0x61ba84b17d92e7f1b2a58726660af866dc368da6]
    target: 0xa85874f8e87e872b0f8cdf00c4b90b562ec07067 params: 0x61ba84b17d92e...] {
  _underlyingErrors: [
    'TypeError: invalid BytesLike value (argument="value", value=null, code=INVALID_ARGUMENT, version=6.13.1)',
    'TypeError: invalid BytesLike value (argument="value", value=null, code=INVALID_ARGUMENT, version=6.13.1)',
    'TypeError: invalid BytesLike value (argument="value", value=null, code=INVALID_ARGUMENT, version=6.13.1)',
    'TypeError: invalid BytesLike value (argument="value", value=null, code=INVALID_ARGUMENT, version=6.13.1)',
    'TypeError: invalid BytesLike value (argument="value", value=null, code=INVALID_ARGUMENT, version=6.13.1)',
    'TypeError: invalid BytesLike value (argument="value", value=null, code=INVALID_ARGUMENT, version=6.13.1)'
  ],
  _isCustomError: true
}

we got this error while using uniV3GraphExport

@upheaval-defi
Copy link
Author

@waynebruce0x

@waynebruce0x
Copy link
Collaborator

Is it a uni v3 fork? What is PUP address?

@upheaval-defi
Copy link
Author

Yes, this is univ3 fork. pup_address = 0x876e7f2f30935118a654fc0e1f807afc49efe500

https://hyperevmscan.io/address/0x876e7f2f30935118a654fc0e1f807afc49efe500

@waynebruce0x
Copy link
Collaborator

Please make a PR with the error above and I will fix it for you and add PUP pricing

@llamabutler
Copy link

The adapter at projects/upheaval-v2 exports TVL:

hyperliquid               11

total                    10.906018741029708 

@llamabutler
Copy link

The adapter at projects/upheaval-v3 exports TVL:

hyperliquid               414.13 k

total                    414.14 k 

@upheaval-defi
Copy link
Author

upheaval-defi commented Aug 26, 2025

https://upheaval.fi/liquidity
here is our liquidity page for example. 414.13k is underreported

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