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

Add DeFive adapter #13719

Closed
wants to merge 2 commits into from
Closed

Add DeFive adapter #13719

wants to merge 2 commits into from

Conversation

0xdefive
Copy link

@0xdefive 0xdefive commented Mar 3, 2025

Name (to be shown on DefiLlama): DeFive
Twitter Link: https://twitter.com/0xdefive
List of audit links if any:
Website Link: https://defive.com
Logo (High resolution, will be shown with rounded borders):

logo

Current TVL: $3.5M
Treasury Addresses (if the protocol has treasury)
Chain: Sonic
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):

DeFive is a next-gen DeFi platform on Sonic, evolving from WigoSwap. It offers fast, low-cost trading, fair yield farming, and innovative mechanics like Gamified Burning (GBM) and Burn-to-Mint (B2M). The FIVE token powers governance, rewards, and liquidity incentives. veFIVE holders shape emissions and platform decisions through DAO governance.

Token address and ticker if any: 0xb0695ce12c56AAe40894235e2d1888D0b62Dd110
Category (full list at https://defillama.com/categories) *Please choose only one: Dexs
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): WigoSwap
methodology (what is being counted as tvl, how is tvl being calculated): TVL is calculated using the factory contract. "Locked" fetches totalLockedAmount() from MasterFarmer for governance-locked FIVE tokens. "Fees" (0.18% of swaps) and "Revenue" (0.02% dev share) are calculated using daily trading volume from the DeFive subgraph.
Github org/user (Optional, if your code is open source, we can track activity): 0xdefive

@llamabutler
Copy link

Error while running adapter at projects/defive:

Error: 
    Found export keys that were not part of specification: locked, fees, revenue

    List of valid keys: 
				
				tvl
				staking
				methodology
				pool2
				misrepresentedTokens
				fetch
				timetravel
				borrowed
				start
				doublecounted
				hallmarks
				isHeavyProtocol
				deadFrom
				ownTokens
				vesting
    
Error saving cache: Error: ENOENT: no such file or directory, open '/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@defillama/sdk/build/util/local_cache/zlib-1.0/BlockCache.json'

@llamabutler
Copy link

The adapter at projects/defive exports TVL:

sonic                     3.59 M
sonic-staking             0
staking                   0

total                    3.59 M 

@0xdefive 0xdefive closed this Mar 3, 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