From 467b3964881ca5daa55112c057ffa5d98676484c Mon Sep 17 00:00:00 2001 From: Prajwal U Date: Thu, 11 Jun 2026 17:58:31 +0530 Subject: [PATCH] chore(sdk-coin-ton): rename display name from Ton to Gram Ticket: CSHLD-1028 --- modules/sdk-coin-ton/src/ton.ts | 2 +- modules/sdk-coin-ton/src/tton.ts | 2 +- modules/sdk-coin-ton/test/unit/ton.ts | 4 ++-- modules/statics/src/allCoinsAndTokens.ts | 4 ++-- modules/statics/src/coins/ofcCoins.ts | 4 ++-- modules/statics/src/networks.ts | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/sdk-coin-ton/src/ton.ts b/modules/sdk-coin-ton/src/ton.ts index 608c7c8d6d..4abdee90e7 100644 --- a/modules/sdk-coin-ton/src/ton.ts +++ b/modules/sdk-coin-ton/src/ton.ts @@ -76,7 +76,7 @@ export class Ton extends BaseCoin { } public getFullName(): string { - return 'Ton'; + return 'Gram'; } /** @inheritDoc */ diff --git a/modules/sdk-coin-ton/src/tton.ts b/modules/sdk-coin-ton/src/tton.ts index dbe1b75e00..6d5619ebfa 100644 --- a/modules/sdk-coin-ton/src/tton.ts +++ b/modules/sdk-coin-ton/src/tton.ts @@ -34,6 +34,6 @@ export class Tton extends Ton { * Complete human-readable name of this coin */ public getFullName(): string { - return 'Testnet Ton'; + return 'Testnet Gram'; } } diff --git a/modules/sdk-coin-ton/test/unit/ton.ts b/modules/sdk-coin-ton/test/unit/ton.ts index 862514851f..41e9215ea6 100644 --- a/modules/sdk-coin-ton/test/unit/ton.ts +++ b/modules/sdk-coin-ton/test/unit/ton.ts @@ -60,12 +60,12 @@ describe('TON:', function () { ton.getChain().should.equal('ton'); ton.getFamily().should.equal('ton'); - ton.getFullName().should.equal('Ton'); + ton.getFullName().should.equal('Gram'); ton.getBaseFactor().should.equal(1e9); tton.getChain().should.equal('tton'); tton.getFamily().should.equal('ton'); - tton.getFullName().should.equal('Testnet Ton'); + tton.getFullName().should.equal('Testnet Gram'); tton.getBaseFactor().should.equal(1e9); }); diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 9e4838bb36..fb9d51ae6d 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -1418,7 +1418,7 @@ export const allCoinsAndTokens = [ account( 'b5ba2fc6-706b-433f-9bcf-4ea4aaa09281', 'ton', - 'Ton', + 'Gram', Networks.main.ton, 9, UnderlyingAsset.TON, @@ -1429,7 +1429,7 @@ export const allCoinsAndTokens = [ account( '8244f85f-943c-4520-8e68-9e7f4361a13f', 'tton', - 'Testnet Ton', + 'Testnet Gram', Networks.test.ton, 9, UnderlyingAsset.TON, diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index 0493d2edac..526f68c358 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -203,7 +203,7 @@ export const ofcCoins = [ UnderlyingAsset.OPETH, CoinKind.CRYPTO ), - ofc('07083ea6-74ba-4da7-8cf3-031126a130a4', 'ofcton', 'Ton', 9, UnderlyingAsset.TON, CoinKind.CRYPTO), + ofc('07083ea6-74ba-4da7-8cf3-031126a130a4', 'ofcton', 'Gram', 9, UnderlyingAsset.TON, CoinKind.CRYPTO), ofc( '055691ec-f750-4349-b505-92954ca08257', 'ofccoredao', @@ -990,7 +990,7 @@ export const ofcCoins = [ UnderlyingAsset.OPETH, CoinKind.CRYPTO ), - tofc('b364799a-e6d1-4d84-afc9-588594e850f7', 'ofctton', 'Test Ton', 9, UnderlyingAsset.TON, CoinKind.CRYPTO), + tofc('b364799a-e6d1-4d84-afc9-588594e850f7', 'ofctton', 'Test Gram', 9, UnderlyingAsset.TON, CoinKind.CRYPTO), tofc('d7ec69dc-619d-4c10-b269-75c2327bd69d', 'ofcttao', 'Testnet Bittensor', 9, UnderlyingAsset.TAO, CoinKind.CRYPTO), ofc('8d329a6a-7b7a-4663-b3a4-a027fc3386d8', 'ofciota', 'Iota', 9, UnderlyingAsset.IOTA, CoinKind.CRYPTO), tofc('35d5b5eb-f61d-428d-8908-2f161507511f', 'ofctiota', 'Testnet Iota', 9, UnderlyingAsset.IOTA, CoinKind.CRYPTO), diff --git a/modules/statics/src/networks.ts b/modules/statics/src/networks.ts index fbed8a2a60..9d22d96d6e 100644 --- a/modules/statics/src/networks.ts +++ b/modules/statics/src/networks.ts @@ -1137,13 +1137,13 @@ class DydxTestnet extends Testnet implements CosmosNetwork { } class Ton extends Mainnet implements AccountNetwork { - name = 'Ton'; + name = 'Gram'; family = CoinFamily.TON; explorerUrl = 'https://tonscan.org/tx/'; } class TonTestnet extends Testnet implements AccountNetwork { - name = 'Testnet Ton'; + name = 'Testnet Gram'; family = CoinFamily.TON; explorerUrl = 'https://testnet.tonscan.org/tx/'; }