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/statics/src/coins/solTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ export const solTokens = [
'7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn',
'7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn',
UnderlyingAsset['sol:jsol'],
SOL_TOKEN_FEATURES
[...SOL_TOKEN_FEATURES, CoinFeature.LIQUID_STAKING]
),
solToken(
'f98eb4de-23c4-475d-80f2-382808e8d350',
Expand Down Expand Up @@ -1348,7 +1348,7 @@ export const solTokens = [
'7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj',
'7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj',
UnderlyingAsset.STSOL,
SOL_TOKEN_FEATURES
[...SOL_TOKEN_FEATURES, CoinFeature.LIQUID_STAKING]
),
solToken(
'039d4c7d-3e48-40b3-896d-512fcfe60f1e',
Expand Down
9 changes: 9 additions & 0 deletions modules/statics/test/unit/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,15 @@ describe('Eip1559 coins', () => {
});
});

describe('Liquid Staking Features', () => {
it('should have LIQUID_STAKING feature for sol:jsol and sol:stsol', () => {
['sol:jsol', 'sol:stsol'].forEach((coinName) => {
const coin = coins.get(coinName);
coin.features.includes(CoinFeature.LIQUID_STAKING).should.eql(true);
});
});
});

describe('create token map using config details', () => {
it('should create a valid token map from AmsTokenConfig', () => {
const tokenMap = createTokenMapUsingConfigDetails(amsTokenConfig);
Expand Down
Loading