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

Rename tBTC to TBTC #395

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Rename tBTC to TBTC #395

merged 1 commit into from
Oct 23, 2023

Conversation

peroxy
Copy link
Collaborator

@peroxy peroxy commented Oct 23, 2023

Summary by CodeRabbit

  • Refactor: Updated token naming conventions across the platform. The token previously referred to as 'tBTC' is now consistently labeled as 'TBTC'. This change enhances the consistency of our platform and makes it easier for users to identify and work with this token. Please note that this is a naming update only and does not affect the functionality or value of the token.

@coderabbitai
Copy link

coderabbitai bot commented Oct 23, 2023

Walkthrough

The proposed changes primarily focus on renaming the token 'tBTC' to 'TBTC' across various constants and data structures in the Scope class. This ensures consistency in token naming throughout the codebase.

Changes

File Path Summary
.../src/Scope.ts Updated the pair name from 'tBTC' to 'TBTC' in the global data structure.
.../src/constants/Mints.ts Renamed the token 'tBTC' to 'TBTC' in the ScopeMints array.
.../src/constants/ScopePairs.ts Changed the string 'tBTC/USD' to 'TBTC/USD' in the ScopePairs array.
.../src/constants/SupportedToken.ts Updated the token name 'tBTC' to 'TBTC' in the SupportedTokens array.

"In the land of code, where the shadows lie,
A token was renamed, under the digital sky.
From 'tBTC' to 'TBTC', across the files it spread,
Ensuring consistency, as the rabbit had said. 🐇💻"


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.json

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 0
Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 55a7a12 and 6be439e.
Files selected for processing (4)
  • packages/scope-sdk/src/Scope.ts (1 hunks)
  • packages/scope-sdk/src/constants/Mints.ts (1 hunks)
  • packages/scope-sdk/src/constants/ScopePairs.ts (1 hunks)
  • packages/scope-sdk/src/constants/SupportedToken.ts (1 hunks)
Files skipped from review due to trivial changes (4)
  • packages/scope-sdk/src/Scope.ts
  • packages/scope-sdk/src/constants/Mints.ts
  • packages/scope-sdk/src/constants/ScopePairs.ts
  • packages/scope-sdk/src/constants/SupportedToken.ts

@peroxy peroxy merged commit 4ef538c into master Oct 23, 2023
3 checks passed
@peroxy peroxy deleted the rename-tbtc branch October 23, 2023 11:26
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