Skip to content

Commit 025d8df

Browse files
committed
fix: csUSDL
1 parent 8f48ac1 commit 025d8df

File tree

6 files changed

+5863
-3909
lines changed

6 files changed

+5863
-3909
lines changed

.yarn/install-state.gz

527 KB
Binary file not shown.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,6 @@
6363
"prettier --write"
6464
],
6565
"*.{json,md}": "prettier --write"
66-
}
66+
},
67+
"packageManager": "yarn@4.6.0+sha512.5383cc12567a95f1d668fbe762dfe0075c595b4bfff433be478dbbe24e05251a8e8c3eb992a986667c1d53b6c3a9c85b8398c35a960587fbd9fa3a0915406728"
6768
}

src/tokens/erc4626.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export type ERC4626LPToken =
1010
| "YieldETH"
1111
| "sUSDe"
1212
| "sUSDS"
13-
| "scrvUSD";
13+
| "scrvUSD"
14+
| "csUSDL";
1415

1516
export type ERC4626VaultTokenData = {
1617
symbol: ERC4626LPToken;
@@ -69,6 +70,14 @@ export const erc4626Tokens: Record<
6970
underlying: "crvUSD",
7071
vault: "SAVINGS_CRVUSD_VAULT",
7172
},
73+
74+
csUSDL: {
75+
name: "Coinshift USDL",
76+
symbol: "csUSDL",
77+
type: { AllNetworks: TokenType.ERC4626_VAULT_TOKEN },
78+
underlying: "USDL",
79+
vault: "COINSHIFT_USDL_VAULT",
80+
},
7281
};
7382

7483
export const isERC4626LPToken = (t: unknown): t is ERC4626LPToken =>

src/tokens/normal.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ export type NormalToken =
6767
| "tETH"
6868
| "USDL"
6969
| "wUSDL"
70-
| "csUSDL"
7170
| "RLUSD"
7271
| "MORPHO"
7372

@@ -475,11 +474,7 @@ export const normalTokens: Record<NormalToken, NormalTokenData> = {
475474
symbol: "wUSDL",
476475
type: { AllNetworks: TokenType.NORMAL_TOKEN },
477476
},
478-
csUSDL: {
479-
name: "Coinshift USDL",
480-
symbol: "csUSDL",
481-
type: { AllNetworks: TokenType.NORMAL_TOKEN },
482-
},
477+
483478
RLUSD: {
484479
name: "RLUSD",
485480
symbol: "RLUSD",

0 commit comments

Comments
 (0)