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
4 changes: 2 additions & 2 deletions modules/sdk-coin-hash/test/unit/hashToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ describe('Hash Tokens', function () {
mainnetHashToken.decimalPlaces.should.equal(6);
});

it('should return denomination for YLDS token on hash using hash as coinFamily', function () {
testnetUtils.getTokenDenomsUsingCoinFamily('hash').should.deepEqual(['uylds.fcc']);
it('should return denomination for hash tokens using hash as coinFamily', function () {
testnetUtils.getTokenDenomsUsingCoinFamily('hash').should.deepEqual(['uylds.fcc', 'nfigr.d']);
});

describe('Address Validation', () => {
Expand Down
1 change: 1 addition & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3467,6 +3467,7 @@ export enum UnderlyingAsset {

// COSMOS testnet tokens
'thash:ylds' = 'thash:ylds',
'thash:tfigr' = 'thash:tfigr',

// TON mainnet tokens
'ton:usdt' = 'ton:usdt',
Expand Down
13 changes: 12 additions & 1 deletion modules/statics/src/coins/cosmosTokens.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { cosmosToken } from '../account';
import { UnderlyingAsset, BaseUnit } from '../base';
import { COSMOS_TOKEN_FEATURES_WITH_STAKING } from '../coinFeatures';
import { COSMOS_TOKEN_FEATURES, COSMOS_TOKEN_FEATURES_WITH_STAKING } from '../coinFeatures';
import { Networks } from '../networks';

export const cosmosTokens = [
Expand All @@ -26,4 +26,15 @@ export const cosmosTokens = [
UnderlyingAsset['thash:ylds'],
COSMOS_TOKEN_FEATURES_WITH_STAKING
),
cosmosToken(
'7cc5ddcf-f919-480c-b413-77f667ebc65c',
'thash:tfigr',
'Testnet Figure',
'nfigr.d',
9,
Networks.test.hash,
BaseUnit.HASH,
UnderlyingAsset['thash:tfigr'],
COSMOS_TOKEN_FEATURES
),
];