Skip to content

Conversation

@creed-victor
Copy link
Contributor

@creed-victor creed-victor requested a review from Copilot January 8, 2026 07:20
@creed-victor creed-victor self-assigned this Jan 8, 2026
@creed-victor creed-victor added the enhancement New feature or request label Jan 8, 2026
@changeset-bot
Copy link

changeset-bot bot commented Jan 8, 2026

⚠️ No Changeset found

Latest commit: 543fc66

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Jan 8, 2026

Deploy Preview for sovryn-storybook canceled.

Name Link
🔨 Latest commit 543fc66
🔍 Latest deploy log https://app.netlify.com/projects/sovryn-storybook/deploys/695f6a35582c8200086c4bff

@netlify
Copy link

netlify bot commented Jan 8, 2026

Deploy Preview for sovryn-dapp ready!

Name Link
🔨 Latest commit 543fc66
🔍 Latest deploy log https://app.netlify.com/projects/sovryn-dapp/deploys/695f6a3556056f00075b9388
😎 Deploy Preview https://deploy-preview-1130.preview.sovryns.dev
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds BOS (BitcoinOS Token) as collateral for borrowing operations across different lending pools. The main purpose is to enable BOS token to be used as collateral when borrowing DLLR, RUSDT, XUSD, DOC, and RBTC.

Key changes include:

  • Adding BOS token configuration to asset definitions for both mainnet and testnet environments
  • Updating lending pool configurations to accept BOS as collateral across multiple pools
  • Refactoring the open loans fetching logic from GraphQL subgraph to direct smart contract queries using React Query

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/contracts/src/contracts/assets/rskTestnet.ts Adds BOS token configuration for testnet environment
packages/contracts/src/contracts/assets/rsk.ts Normalizes BOS token address to lowercase for mainnet
apps/frontend/src/utils/asset.ts Adds BOS symbol constant to COMMON_SYMBOLS
apps/frontend/src/utils/LendingPoolDictionary.ts Updates lending pools to accept BOS as collateral
apps/frontend/src/constants/infrastructure/bsc.ts Changes BSC RPC endpoints from WebSocket to HTTP
apps/frontend/src/app/5_pages/BorrowPage/components/OpenLoansTable/hooks/useGetOpenLoans.ts Refactors loan fetching from GraphQL to React Query with direct contract calls
.vscode/settings.json Adds editor formatting and code action settings
.vscode/extensions.json Adds recommended VSCode extensions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants