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

Update BitUSD Adapters to include wstROSE trove #13250

Merged
merged 4 commits into from
Jan 27, 2025
Merged

Conversation

hamman247
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

This is an update of an existing adapter to expand it to include an expansion to the protocol. We added a new collateral, wstROSE from Accumulated Finance, that can be used to borrow our stablecoin BitUSD. We do not wish to change any other information regarding our protocol at this time.

@llamabutler
Copy link

Error while running adapter at projects/bitusd:

Error: Cannot find module './wstrose_abi.json'
Require stack:
- /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/bitusd/index.js
- /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/test.js
Truncated error stack:

    at Object.<anonymous> (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/bitusd/index.js:4:20)
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/bitusd exports TVL:

sapphire                  157.50 k

total                    157.49 k 

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

The adapter at projects/bitusd exports TVL:

sapphire                  48.85 k

total                    48.86 k 

@g1nt0ki
Copy link
Member

g1nt0ki commented Jan 27, 2025

@hamman247 thanks for the PR, I have refactored it, and added wstRose price support to our server: DefiLlama/defillama-server@d49f0b2

@g1nt0ki g1nt0ki closed this Jan 27, 2025
@g1nt0ki g1nt0ki reopened this Jan 27, 2025
@g1nt0ki g1nt0ki merged commit 6a3a3b1 into DefiLlama:main Jan 27, 2025
2 checks passed
@llamabutler
Copy link

The adapter at projects/bitusd exports TVL:

sapphire                  48.85 k

total                    48.86 k 

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