Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/sdk-coin-ton/src/ton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class Ton extends BaseCoin {
}

public getFullName(): string {
return 'Ton';
return 'Gram';
}

/** @inheritDoc */
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-ton/src/tton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}
4 changes: 2 additions & 2 deletions modules/sdk-coin-ton/test/unit/ton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down
4 changes: 2 additions & 2 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ export const allCoinsAndTokens = [
account(
'b5ba2fc6-706b-433f-9bcf-4ea4aaa09281',
'ton',
'Ton',
'Gram',
Networks.main.ton,
9,
UnderlyingAsset.TON,
Expand All @@ -1429,7 +1429,7 @@ export const allCoinsAndTokens = [
account(
'8244f85f-943c-4520-8e68-9e7f4361a13f',
'tton',
'Testnet Ton',
'Testnet Gram',
Networks.test.ton,
9,
UnderlyingAsset.TON,
Expand Down
4 changes: 2 additions & 2 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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),
Expand Down
4 changes: 2 additions & 2 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/';
}
Expand Down
Loading