Skip to content

Commit c691771

Browse files
authored
Merge pull request #7917 from BitGo/coin-7226-mainnet
chore: onboard mainnet figure token
2 parents 16e5c6b + 6712e3c commit c691771

4 files changed

Lines changed: 14 additions & 1 deletion

File tree

modules/sdk-coin-hash/test/unit/hashToken.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('Hash Tokens', function () {
5858
});
5959

6060
it('should return denomination for hash tokens using hash as coinFamily', function () {
61-
testnetUtils.getTokenDenomsUsingCoinFamily('hash').should.deepEqual(['uylds.fcc', 'nfigr.d']);
61+
testnetUtils.getTokenDenomsUsingCoinFamily('hash').should.deepEqual(['uylds.fcc', 'figr.d', 'nfigr.d']);
6262
});
6363

6464
describe('Address Validation', () => {

modules/statics/src/base.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3464,6 +3464,7 @@ export enum UnderlyingAsset {
34643464

34653465
// COSMOS tokens
34663466
'hash:ylds' = 'hash:ylds',
3467+
'hash:figr' = 'hash:figr',
34673468

34683469
// COSMOS testnet tokens
34693470
'thash:ylds' = 'thash:ylds',

modules/statics/src/coins/cosmosTokens.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ export const cosmosTokens = [
2626
UnderlyingAsset['thash:ylds'],
2727
COSMOS_TOKEN_FEATURES_WITH_STAKING
2828
),
29+
cosmosToken(
30+
'ab7f8f89-1cb6-4b07-b837-f9e792095d1c',
31+
'hash:figr',
32+
'Figure',
33+
'figr.d',
34+
9,
35+
Networks.main.hash,
36+
BaseUnit.HASH,
37+
UnderlyingAsset['hash:figr'],
38+
COSMOS_TOKEN_FEATURES
39+
),
2940
cosmosToken(
3041
'7cc5ddcf-f919-480c-b413-77f667ebc65c',
3142
'thash:tfigr',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3802,6 +3802,7 @@ export const ofcCoins = [
38023802
6,
38033803
UnderlyingAsset['thash:ylds']
38043804
),
3805+
ofcHashToken('f5df8376-e06c-4c96-a9c3-f5dfd41525f1', 'ofchash:figr', 'Figure', 9, UnderlyingAsset['hash:figr']),
38053806
tofcHashToken(
38063807
'726c0865-2f8b-4409-8e93-a7c9a47a6c35',
38073808
'ofcthash:tfigr',

0 commit comments

Comments
 (0)