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 BeraVote Adapter #13555

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add BeraVote Adapter #13555

wants to merge 1 commit into from

Conversation

chirag9899
Copy link

@chirag9899 chirag9899 commented Feb 17, 2025

NOTE

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


  • If you would like to add a volume 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):

BeraVote

Twitter Link:

https://x.com/BeraVote

Website Link:

https://beravote.com/

Logo (High resolution, will be shown with rounded borders):

Logo
URL-https://pbs.twimg.com/profile_images/1786438367057719299/sE71vQPy_400x400.jpg

Treasury Addresses (if the protocol has treasury)

0x47F99545c1Baf07C4670c6Ba9A71c145448BF158 (BeraBuzz)
0x166a064C9D0E243fea5d9afA3E7B06a8b94E05F9 (Honeypot Finance)
0xC44590CA8976dAcb7f2EC906258765b6317b53d0 (Berapump)

Chain:

Berachain

Short Description (to be shown on DefiLlama):

Beravote is a off-chain voting platform that helps groups like DAOs, DeFi, NFT communities in Berachain to vote on important decisions

Category (full list at https://defillama.com/categories) *Please choose only one:

Services

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

includes sum of Native BERA , WBERA , HONEY token reserves across all specified treasury addresses

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

https://github.com/beraVote/

@llamabutler
Copy link

The adapter at projects/treasury/beravote.js exports TVL:

berachain                 4

total                    3.822 

const { nullAddress, treasuryExports } = require("../helper/treasury");

// Treasury addresses
const beraBuzzTreasury = "0x47F99545c1Baf07C4670c6Ba9A71c145448BF158";
Copy link
Member

Choose a reason for hiding this comment

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

what are these contracts?

usually we dont treat project treasuries as tvl. Do you charge a fee for your service? we can track that instead

Copy link
Author

Choose a reason for hiding this comment

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

@g1nt0ki yes we do charge fee and use these contracts to collect payments .

Copy link
Member

Choose a reason for hiding this comment

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

can you verify the contract & maybe put up a PR here to track the fees? https://github.com/DefiLlama/dimension-adapters

Copy link
Author

@chirag9899 chirag9899 Feb 19, 2025

Choose a reason for hiding this comment

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

@g1nt0ki Is it fine if we remove the contracts since our main purpose is to list

Copy link
Member

Choose a reason for hiding this comment

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

sorry, we cant list you with zero tvl, thats why I asked if you have fees or some other metric that we can track

@g1nt0ki g1nt0ki self-assigned this Feb 18, 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