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 Bitget Staked SOL (BGSOL) #12207

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Add Bitget Staked SOL (BGSOL) #12207

merged 2 commits into from
Nov 8, 2024

Conversation

JoshuaSum
Copy link
Contributor

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

Bitget Staked SOL

Twitter Link:

https://x.com/bitgetglobal

List of audit links if any:

NA

Website Link:

https://www.bitget.com

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

https://raw.githubusercontent.com/solayer-labs/token-metadata/main/endoavs/bitget/bitget.png

Current TVL:

$36.71MM

Treasury Addresses (if the protocol has treasury)

NA

Chain:

Solana

Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)

NA

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)

NA

Short Description (to be shown on DefiLlama):

Stake SOL and get BGSOL as the tokenized representation on your staked SOL

Token address and ticker if any:

NA

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

Liquid Staking

Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):

NA

Implementation Details: Briefly describe how the oracle is integrated into your project:

NA

Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:

NA

forkedFrom (Does your project originate from another project):

NA

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

TVL is the sum of restaked Solayer SOL (sSOL) backing Bitget Staked SOL (BGSOL)

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

NA

@llamatester
Copy link

Error while running adapter at projects/bgsol:

Error: Failed to post https://mainnet.helius-rpc.com/?api-key=0109717a-77b4-498a-bc3c-a0b31aa1b3bf
Truncated error stack:

    at Object.post (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/http.js:47:11)
    at async getTokenBalances (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/solana.js:292:27)
    at async runInChunks.sleepTime (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/solana.js:207:29)
    at async runInChunks (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/solana.js:362:22)
    at async sumTokens2 (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/solana.js:206:5)
    at async Promise.all (index 0)
    at async tvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/bgsol/index.js:4:17)
    at async getTvl (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:52:23)
    at async /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js:173:9

@llamatester
Copy link

The adapter at projects/bgsol exports TVL:

solana                    37.42 M

total                    37.42 M 

@g1nt0ki g1nt0ki merged commit 4227fd7 into DefiLlama:main Nov 8, 2024
1 check passed
g1nt0ki added a commit to xianshui/DefiLlama-Adapters that referenced this pull request Nov 8, 2024
twothirtyfive pushed a commit to noble-assets/DefiLlama-Adapters that referenced this pull request Dec 11, 2024
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