Skip to content

Commit ab43513

Browse files
authored
Merge pull request #8997 from BitGo/tonRebranding
chore: Rename ton to gram following the rebrand
2 parents c8a1310 + 467b396 commit ab43513

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

modules/sdk-coin-ton/src/ton.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class Ton extends BaseCoin {
7676
}
7777

7878
public getFullName(): string {
79-
return 'Ton';
79+
return 'Gram';
8080
}
8181

8282
/** @inheritDoc */

modules/sdk-coin-ton/src/tton.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ export class Tton extends Ton {
3434
* Complete human-readable name of this coin
3535
*/
3636
public getFullName(): string {
37-
return 'Testnet Ton';
37+
return 'Testnet Gram';
3838
}
3939
}

modules/sdk-coin-ton/test/unit/ton.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ describe('TON:', function () {
6060

6161
ton.getChain().should.equal('ton');
6262
ton.getFamily().should.equal('ton');
63-
ton.getFullName().should.equal('Ton');
63+
ton.getFullName().should.equal('Gram');
6464
ton.getBaseFactor().should.equal(1e9);
6565

6666
tton.getChain().should.equal('tton');
6767
tton.getFamily().should.equal('ton');
68-
tton.getFullName().should.equal('Testnet Ton');
68+
tton.getFullName().should.equal('Testnet Gram');
6969
tton.getBaseFactor().should.equal(1e9);
7070
});
7171

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ export const allCoinsAndTokens = [
14181418
account(
14191419
'b5ba2fc6-706b-433f-9bcf-4ea4aaa09281',
14201420
'ton',
1421-
'Ton',
1421+
'Gram',
14221422
Networks.main.ton,
14231423
9,
14241424
UnderlyingAsset.TON,
@@ -1429,7 +1429,7 @@ export const allCoinsAndTokens = [
14291429
account(
14301430
'8244f85f-943c-4520-8e68-9e7f4361a13f',
14311431
'tton',
1432-
'Testnet Ton',
1432+
'Testnet Gram',
14331433
Networks.test.ton,
14341434
9,
14351435
UnderlyingAsset.TON,

modules/statics/src/coins/ofcCoins.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export const ofcCoins = [
203203
UnderlyingAsset.OPETH,
204204
CoinKind.CRYPTO
205205
),
206-
ofc('07083ea6-74ba-4da7-8cf3-031126a130a4', 'ofcton', 'Ton', 9, UnderlyingAsset.TON, CoinKind.CRYPTO),
206+
ofc('07083ea6-74ba-4da7-8cf3-031126a130a4', 'ofcton', 'Gram', 9, UnderlyingAsset.TON, CoinKind.CRYPTO),
207207
ofc(
208208
'055691ec-f750-4349-b505-92954ca08257',
209209
'ofccoredao',
@@ -990,7 +990,7 @@ export const ofcCoins = [
990990
UnderlyingAsset.OPETH,
991991
CoinKind.CRYPTO
992992
),
993-
tofc('b364799a-e6d1-4d84-afc9-588594e850f7', 'ofctton', 'Test Ton', 9, UnderlyingAsset.TON, CoinKind.CRYPTO),
993+
tofc('b364799a-e6d1-4d84-afc9-588594e850f7', 'ofctton', 'Test Gram', 9, UnderlyingAsset.TON, CoinKind.CRYPTO),
994994
tofc('d7ec69dc-619d-4c10-b269-75c2327bd69d', 'ofcttao', 'Testnet Bittensor', 9, UnderlyingAsset.TAO, CoinKind.CRYPTO),
995995
ofc('8d329a6a-7b7a-4663-b3a4-a027fc3386d8', 'ofciota', 'Iota', 9, UnderlyingAsset.IOTA, CoinKind.CRYPTO),
996996
tofc('35d5b5eb-f61d-428d-8908-2f161507511f', 'ofctiota', 'Testnet Iota', 9, UnderlyingAsset.IOTA, CoinKind.CRYPTO),

modules/statics/src/networks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,13 +1137,13 @@ class DydxTestnet extends Testnet implements CosmosNetwork {
11371137
}
11381138

11391139
class Ton extends Mainnet implements AccountNetwork {
1140-
name = 'Ton';
1140+
name = 'Gram';
11411141
family = CoinFamily.TON;
11421142
explorerUrl = 'https://tonscan.org/tx/';
11431143
}
11441144

11451145
class TonTestnet extends Testnet implements AccountNetwork {
1146-
name = 'Testnet Ton';
1146+
name = 'Testnet Gram';
11471147
family = CoinFamily.TON;
11481148
explorerUrl = 'https://testnet.tonscan.org/tx/';
11491149
}

0 commit comments

Comments
 (0)