Skip to content

feat(statics): onboard tbaseeth:ctbtccx_99e833 vault share token#9356

Merged
venkateshv1266 merged 1 commit into
masterfrom
DEFI-494-onboard-ctbtccx-99e833-token
Jul 27, 2026
Merged

feat(statics): onboard tbaseeth:ctbtccx_99e833 vault share token#9356
venkateshv1266 merged 1 commit into
masterfrom
DEFI-494-onboard-ctbtccx-99e833-token

Conversation

@venkateshv1266

Copy link
Copy Markdown
Contributor

Summary

  • Onboard the Concrete BTCcx 99e833 vault share token tbaseeth:ctbtccx_99e833 to @bitgo/statics so the BitGoJS SDK can resolve it for DeFi vault withdraw flows on Base testnet.
  • Mirrors the existing receipt token tbaseeth:kmusdc:
    • Add UnderlyingAsset enum entry in modules/statics/src/base.ts
    • Add an erc20Token entry in modules/statics/src/allCoinsAndTokens.ts with 18 decimals, contract address 0x878c6221a0ed90f1d857f192ef75e6c060b037be (the ERC-4626 vault contract, which is itself the share token), and CoinFeature.RECEIPT_TOKEN.

Context

This is the SDK side of onboarding the share token for Concrete BTCcx vault e52a3200-855b-464d-b05d-ec0caa1703c0 (protocol concrete_btccx). Before this change, wallet.defi.withdrawFromVault on the position wallet failed with Coin unsupported: tbaseeth:ctbtccx_99e833 because the statics registry had no entry for the share token. With this entry, the SDK resolves the token and sends the correct name to the wallet-platform prebuild.

The server-side WP/AMS token registration (so the prebuild accepts the token) is tracked separately in DEFI-494.

Test plan

  • @bitgo/statics rebuilt and coins.get('tbaseeth:ctbtccx_99e833') resolves: name, 18 decimals, contract address, receipt-token feature all present.
  • CI: statics unit tests pass.

CLOSES TICKET: DEFI-494

Register the Concrete BTCcx 99e833 vault share token for Base testnet
(tbaseeth) in @bitgo/statics so the SDK can resolve it for defi withdraw
flows. Mirrors the existing receipt token tbaseeth:kmusdc:

- Add UnderlyingAsset enum entry in base.ts
- Add erc20Token entry in allCoinsAndTokens.ts with 18 decimals, contract
  address 0x878c6221a0ed90f1d857f192ef75e6c060b037be (the ERC-4626 vault
  contract, which is also the share token), and CoinFeature.RECEIPT_TOKEN

This is the SDK side of the onboarding; server-side WP/AMS registration
is tracked separately (see DEFI-494).

TICKET: DEFI-494
@linear-code

linear-code Bot commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

DEFI-494

@venkateshv1266
venkateshv1266 marked this pull request as ready for review July 27, 2026 08:45
@venkateshv1266
venkateshv1266 requested a review from a team as a code owner July 27, 2026 08:45
@venkateshv1266
venkateshv1266 merged commit 90d0c0f into master Jul 27, 2026
25 checks passed
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