Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track 2thick updates for multiple networks #13063

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

g1nt0ki
Copy link
Member

@g1nt0ki g1nt0ki commented Jan 13, 2025

No description provided.

@g1nt0ki g1nt0ki self-assigned this Jan 13, 2025
@llamabutler
Copy link

The adapter at projects/Thick exports TVL:

base                      525.66 k
fantom                    289.96 k
sonic                     1.98 k
arbitrum                  520

total                    818.12 k 

@llamabutler
Copy link

The adapter at projects/elocks exports TVL:

sonic                     562.59 k
fantom                    47.88 k

total                    610.47 k 

@llamabutler
Copy link

The adapter at projects/2thick exports TVL:

sonic                     1.37 M
fantom                    0
base                      0

total                    1.37 M 

@llamabutler
Copy link

The adapter at projects/Equalizer exports TVL:

fantom-staking            1.97 M
staking                   1.97 M
fantom                    1.21 M

total                    1.21 M 

@llamabutler
Copy link

The adapter at projects/Thick exports TVL:

base                      501.08 k
fantom                    282.46 k
sonic                     1.98 k
arbitrum                  519

total                    786.05 k 

@llamabutler
Copy link

The adapter at projects/elocks exports TVL:

sonic                     552.69 k
fantom                    45.98 k

total                    598.67 k 

@llamabutler
Copy link

The adapter at projects/equalizer-sonic exports TVL:

sonic-staking             11.18 M
staking                   11.18 M
sonic                     8.81 M

total                    8.81 M 

@llamabutler
Copy link

The adapter at projects/thick-2thick exports TVL:

sonic                     1.37 M
fantom                    0
base                      0

total                    1.37 M 

@ftm1337
Copy link
Contributor

ftm1337 commented Jan 14, 2025

Thanks for the splitting 🙏

if possible, can we have this structure

  • Equalizer v1 svAMM
  • Equalizer Fantom Liquidity Market (Double Count)
  • Equalizer Base Liquidity Market (Double Count)
  • Equalizer Sonic Liquidity Market (Double Count)

Please see this #13054 (comment) for reference..

Quote:
Currently 358k is from "External Protocol deposits" (double-count), while 644k is from the Equalizer Fantom svAMM.
Number of contributing pools might be less, but the TVL (& Revenues!) are More than Half of that from svAMM pools.

if we dont use that, a very big part of Revenue generating TVL wont get counted.. giving wrong numbers for P/S, P/E etc in Dimension Adapters..

The Equalizer v1 svAMM adapter should simply include all the chains together, and be just this:

const {uniTvlExport} = require('../helper/calculateUniTvl.js')
module.exports = {
  misrepresentedTokens: true,
  fantom:{ tvl: uniTvlExport("0xc6366EFD0AF1d09171fe0EBF32c7943BB310832a", "fantom", undefined, undefined, { hasStablePools: true, useDefaultCoreAssets: true, }), },
  base:{ tvl: uniTvlExport("0xEd8db60aCc29e14bC867a497D94ca6e3CeB5eC04", "base", undefined, undefined, { hasStablePools: true, useDefaultCoreAssets: true, }), },
  sonic:{ tvl: uniTvlExport("0xDDD9845Ba0D8f38d3045f804f67A1a8B9A528FcC", "sonic", undefined, undefined, { hasStablePools: true, useDefaultCoreAssets: true, }), },
}

And all this Double Count TVL lives in the respective individual adpaters (ref. equalizer-fantom-liquidity-market, equalizer-base-liquidity-market & equalizer-sonicliquidity-market, which get linked to their respective Revenue adapters (Not Fees).

These Double Count TVL protocols get only the Revenue, and no Fees.
Fees only goes to the equalizer-v1-svAMM while the svamm itself gets Zero Revenue, since its a public good that any protocol can use.

My apologies for accidentally committing the lockfile earlier 🙏

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