Skip to content

Commit e89cb65

Browse files
feat(statics): rename Story display name to Data Network
Keep ticker ip. Update coin, OFC, and network fullNames plus related comments and tests. TICKET: CECHO-2067 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent b4375af commit e89cb65

10 files changed

Lines changed: 29 additions & 22 deletions

File tree

modules/bitgo/test/v2/resources/amsTokenConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const reducedAmsTokenConfig = {
2424
'tip:faketoken': [
2525
{
2626
id: 'a1b2c3d4-e5f6-4789-8abc-def123456789',
27-
fullName: 'Story Testnet Faketoken',
27+
fullName: 'Data Network Testnet Faketoken',
2828
name: 'tip:faketoken',
2929
prefix: '',
3030
suffix: 'TIP:FAKETOKEN',

modules/bitgo/test/v2/unit/coins/ofcErc20Tokens.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ describe('OFC ERC20 Tokens Configuration:', function () {
103103
{ token: 'ofcmon:wmon', addressCoin: 'mon', chain: 'MON' },
104104
// HYPE Network token
105105
{ token: 'ofchype:hwhype', addressCoin: 'hype', chain: 'HYPE' },
106-
// IP (Story Network) token
107-
{ token: 'ofcip:aria', addressCoin: 'ip', chain: 'Story' },
106+
// IP (Data Network) token
107+
{ token: 'ofcip:aria', addressCoin: 'ip', chain: 'Data Network' },
108108
];
109109

110110
const errors: string[] = [];

modules/bitgo/test/v2/unit/keychains.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ describe('V2 Keychains', function () {
118118
n.asset !== UnderlyingAsset.KAIA &&
119119
n.asset !== UnderlyingAsset.IRYS &&
120120
n.asset !== UnderlyingAsset.LINEAETH &&
121-
n.asset !== UnderlyingAsset.IP && // Story Chain
121+
n.asset !== UnderlyingAsset.IP && // Data Network
122122
n.asset !== UnderlyingAsset.BASEETH &&
123123
n.asset !== UnderlyingAsset.SOMI &&
124124
n.asset !== UnderlyingAsset.FLRP &&

modules/sdk-core/src/bitgo/staking/iStakingWallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export interface VetStakeOptions extends StakeOptions {
195195

196196
export interface StoryStakeOptions extends StakeOptions {
197197
/**
198-
* Story staking period
198+
* Data Network staking period
199199
*/
200200
stakingPeriod?: string;
201201
}

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ export const allCoinsAndTokens = [
19431943
account(
19441944
'ead0435a-ee3f-4dc5-91fd-8897f1811701',
19451945
'ip',
1946-
'Story',
1946+
'Data Network',
19471947
Networks.main.ip,
19481948
18,
19491949
UnderlyingAsset.IP,
@@ -1963,7 +1963,7 @@ export const allCoinsAndTokens = [
19631963
account(
19641964
'86e7b7d6-02db-4ef7-9552-e8aeeeec2d52',
19651965
'tip',
1966-
'Story Testnet',
1966+
'Data Network Testnet',
19671967
Networks.test.ip,
19681968
18,
19691969
UnderlyingAsset.IP,
@@ -5523,11 +5523,11 @@ export const allCoinsAndTokens = [
55235523
[...AccountCoin.DEFAULT_FEATURES_EXCLUDE_SINGAPORE, CoinFeature.EIP1559]
55245524
),
55255525

5526-
// Story testnet tokens
5526+
// Data Network testnet tokens
55275527
erc20Token(
55285528
'f9a9c36f-8938-4206-bf0d-5016a861c58f',
55295529
'tip:usdc',
5530-
'Testnet Story USDC',
5530+
'Testnet Data Network USDC',
55315531
6,
55325532
'0x8c7c52eabb0fcbcaebce2556d9a719d539ea02d8',
55335533
UnderlyingAsset['tip:usdc'],
@@ -5537,14 +5537,14 @@ export const allCoinsAndTokens = [
55375537
erc20Token(
55385538
'9d0e81bc-b049-402b-83ce-3a5dd9680f17',
55395539
'tip:tmt',
5540-
'Testnet Story TMT',
5540+
'Testnet Data Network TMT',
55415541
6,
55425542
'0xb283ec8dad644effc5c4c50bb7bb21442ac3c2db',
55435543
UnderlyingAsset['tip:tmt'],
55445544
Networks.test.ip
55455545
),
55465546

5547-
// Story mainnet tokens
5547+
// Data Network mainnet tokens
55485548
erc20Token(
55495549
'2460e83c-e819-42c3-83c9-3974e08a45c8',
55505550
'ip:aria',

modules/statics/src/base.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export enum CoinFamily {
143143
ZKETH = 'zketh',
144144
ZKSYNCERA = 'zksyncera', // ZkSync Era
145145
LINEAETH = 'lineaeth',
146-
IP = 'ip', // Story Chain
146+
IP = 'ip', // Data Network
147147
SOMI = 'somi', // Somnia Chain
148148
FLUENTETH = 'fluenteth',
149149
MORPH = 'morph',
@@ -696,7 +696,7 @@ export enum UnderlyingAsset {
696696
HPPETH = 'hppeth', // House Party Protocol
697697
ICP = 'icp',
698698
INKETH = 'inketh', // INK L2
699-
IP = 'ip', // Story Chain
699+
IP = 'ip', // Data Network
700700
INITIA = 'initia',
701701
INJECTIVE = 'injective',
702702
IOTA = 'iota',
@@ -3921,11 +3921,11 @@ export enum UnderlyingAsset {
39213921
// X Layer (OKB) testnet tokens
39223922
'tokbxlayer:tzeb' = 'tokbxlayer:tzeb',
39233923

3924-
// Story testnet tokens
3924+
// Data Network testnet tokens
39253925
'tip:usdc' = 'tip:usdc',
39263926
'tip:tmt' = 'tip:tmt',
39273927

3928-
// Story mainnet tokens
3928+
// Data Network mainnet tokens
39293929
'ip:aria' = 'ip:aria',
39303930

39313931
// MegaEth mainnet tokens

modules/statics/src/coins/ofcCoins.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,15 @@ export const ofcCoins = [
551551
UnderlyingAsset.FLUENTETH,
552552
CoinKind.CRYPTO
553553
),
554-
ofc('aa7e956f-2d59-4bf6-aba6-2d51bd298150', 'ofcip', 'Story', 18, UnderlyingAsset.IP, CoinKind.CRYPTO),
555-
tofc('773b02f6-32ea-493a-bca5-13d93cb0afff', 'ofctip', 'Story Testnet', 18, UnderlyingAsset.IP, CoinKind.CRYPTO),
554+
ofc('aa7e956f-2d59-4bf6-aba6-2d51bd298150', 'ofcip', 'Data Network', 18, UnderlyingAsset.IP, CoinKind.CRYPTO),
555+
tofc(
556+
'773b02f6-32ea-493a-bca5-13d93cb0afff',
557+
'ofctip',
558+
'Data Network Testnet',
559+
18,
560+
UnderlyingAsset.IP,
561+
CoinKind.CRYPTO
562+
),
556563
ofc(
557564
'9fd3e1b0-2e67-46c6-ab3b-a9942533b9d6',
558565
'ofcbobaeth',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6847,7 +6847,7 @@ export const tOfcErc20Coins = [
68476847
true,
68486848
'tjovayeth'
68496849
),
6850-
// Story Network tokens
6850+
// Data Network tokens
68516851
ofcerc20(
68526852
'452cc4f6-3c77-4193-a572-4b0d0f838c3c',
68536853
'ofcip:aria',

modules/statics/src/networks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ class CoredaoTestnet extends Testnet implements EthereumNetwork {
16821682
}
16831683

16841684
class IP extends Mainnet implements EthereumNetwork {
1685-
name = 'Story';
1685+
name = 'Data Network';
16861686
family = CoinFamily.IP;
16871687
explorerUrl = 'https://www.storyscan.io/tx/';
16881688
accountExplorerUrl = 'https://www.storyscan.io/address/';
@@ -1691,7 +1691,7 @@ class IP extends Mainnet implements EthereumNetwork {
16911691
}
16921692

16931693
class IPTestnet extends Testnet implements EthereumNetwork {
1694-
name = 'StoryTestnet';
1694+
name = 'Data Network Testnet';
16951695
family = CoinFamily.IP;
16961696
explorerUrl = 'https://aeneid.storyscan.io/tx/';
16971697
accountExplorerUrl = 'https://aeneid.storyscan.io/address/';

modules/statics/test/unit/fixtures/expectedColdFeatures.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const expectedColdFeatures = {
108108
'hoodeth',
109109
'hppeth',
110110
'icp',
111-
'ip', // Story chain
111+
'ip', // Data Network
112112
'initia',
113113
'iota',
114114
'irys',
@@ -210,7 +210,7 @@ export const expectedColdFeatures = {
210210
'thorchain:rune',
211211
'tia',
212212
'ticp',
213-
'tip', // Story chain
213+
'tip', // Data Network
214214
'tinitia',
215215
'tirys',
216216
'tislm',

0 commit comments

Comments
 (0)