Skip to content

Commit

Permalink
fix: renamed new pt tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
57Ark committed Nov 22, 2024
1 parent d6536b8 commit 389fe69
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
12 changes: 6 additions & 6 deletions contracts/PriceFeedDataLive.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8037,10 +8037,10 @@ contract PriceFeedDataLive {
})
);

// ------------------------ PT_solvBTC_26DEC2024 ------------------------
// ------------------------ PT_corn_solvBTC_BBN_26DEC2024 ------------------------
pendlePriceFeedsByNetwork[1].push(
PendlePriceFeedData({
token: Tokens.PT_solvBTC_26DEC2024,
token: Tokens.PT_corn_solvBTC_BBN_26DEC2024,
underlying: Tokens.WBTC,
market: 0xEb4d3057738b9Ed930F451Be473C1CCC42988384,
twapWindow: 1800,
Expand All @@ -8050,7 +8050,7 @@ contract PriceFeedDataLive {
);
pendlePriceFeedsByNetwork[1].push(
PendlePriceFeedData({
token: Tokens.PT_solvBTC_26DEC2024,
token: Tokens.PT_corn_solvBTC_BBN_26DEC2024,
underlying: Tokens.WBTC,
market: 0xEb4d3057738b9Ed930F451Be473C1CCC42988384,
twapWindow: 1800,
Expand All @@ -8059,10 +8059,10 @@ contract PriceFeedDataLive {
})
);

// ------------------------ PT_pumpBTC_26DEC2024 ------------------------
// ------------------------ PT_corn_pumpBTC_26DEC2024 ------------------------
pendlePriceFeedsByNetwork[1].push(
PendlePriceFeedData({
token: Tokens.PT_pumpBTC_26DEC2024,
token: Tokens.PT_corn_pumpBTC_26DEC2024,
underlying: Tokens.WBTC,
market: 0xf8208fB52BA80075aF09840A683143C22DC5B4dd,
twapWindow: 1800,
Expand All @@ -8072,7 +8072,7 @@ contract PriceFeedDataLive {
);
pendlePriceFeedsByNetwork[1].push(
PendlePriceFeedData({
token: Tokens.PT_pumpBTC_26DEC2024,
token: Tokens.PT_corn_pumpBTC_26DEC2024,
underlying: Tokens.WBTC,
market: 0xf8208fB52BA80075aF09840A683143C22DC5B4dd,
twapWindow: 1800,
Expand Down
4 changes: 2 additions & 2 deletions contracts/Tokens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ enum Tokens {
PT_ezETH_26DEC2024,
PT_eBTC_26DEC2024,
PT_LBTC_27MAR2025,
PT_solvBTC_26DEC2024,
PT_pumpBTC_26DEC2024,
PT_corn_solvBTC_BBN_26DEC2024,
PT_corn_pumpBTC_26DEC2024,
sfrxETH,
_3Crv,
crvFRAX,
Expand Down
8 changes: 4 additions & 4 deletions contracts/TokensData.sol
Original file line number Diff line number Diff line change
Expand Up @@ -521,17 +521,17 @@ contract TokensDataLive {
);
tokenDataByNetwork[1].push(
TokenData({
id: Tokens.PT_solvBTC_26DEC2024,
id: Tokens.PT_corn_solvBTC_BBN_26DEC2024,
addr: 0x23e479ddcda990E8523494895759bD98cD2fDBF6,
symbol: "PT_solvBTC_26DEC2024",
symbol: "PT_corn_solvBTC_BBN_26DEC2024",
tokenType: TokenType.NORMAL_TOKEN
})
);
tokenDataByNetwork[1].push(
TokenData({
id: Tokens.PT_pumpBTC_26DEC2024,
id: Tokens.PT_corn_pumpBTC_26DEC2024,
addr: 0xa76f0C6e5f286bFF151b891d2A0245077F1Ad74c,
symbol: "PT_pumpBTC_26DEC2024",
symbol: "PT_corn_pumpBTC_26DEC2024",
tokenType: TokenType.NORMAL_TOKEN
})
);
Expand Down
4 changes: 2 additions & 2 deletions src/oracles/priceFeeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3824,7 +3824,7 @@ export const priceFeedsByToken: Record<
},
},

PT_solvBTC_26DEC2024: {
PT_corn_solvBTC_BBN_26DEC2024: {
Mainnet: {
Main: {
type: PriceFeedType.PENDLE_PT_TWAP_ORACLE,
Expand All @@ -3841,7 +3841,7 @@ export const priceFeedsByToken: Record<
},
},
},
PT_pumpBTC_26DEC2024: {
PT_corn_pumpBTC_26DEC2024: {
Mainnet: {
Main: {
type: PriceFeedType.PENDLE_PT_TWAP_ORACLE,
Expand Down
4 changes: 2 additions & 2 deletions src/tokens/decimals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const decimals: Record<SupportedToken, number> = {
PT_eETH_26DEC2024: 18,
PT_ezETH_26DEC2024: 18,
PT_eBTC_26DEC2024: 8,
PT_solvBTC_26DEC2024: 8,
PT_pumpBTC_26DEC2024: 8,
PT_corn_solvBTC_BBN_26DEC2024: 8,
PT_corn_pumpBTC_26DEC2024: 8,
PT_LBTC_27MAR2025: 8,
};
16 changes: 8 additions & 8 deletions src/tokens/normal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export type NormalToken =
| "PT_ezETH_26DEC2024"
| "PT_eBTC_26DEC2024"
| "PT_LBTC_27MAR2025"
| "PT_solvBTC_26DEC2024"
| "PT_pumpBTC_26DEC2024"
| "PT_corn_solvBTC_BBN_26DEC2024"
| "PT_corn_pumpBTC_26DEC2024"

// REDSTONE
| "SHIB"
Expand Down Expand Up @@ -468,14 +468,14 @@ export const normalTokens: Record<NormalToken, NormalTokenData> = {
symbol: "PT_LBTC_27MAR2025",
type: { AllNetworks: TokenType.NORMAL_TOKEN },
},
PT_solvBTC_26DEC2024: {
name: "Pendle PT solvBTC 26 Dec 2024 expiry",
symbol: "PT_solvBTC_26DEC2024",
PT_corn_solvBTC_BBN_26DEC2024: {
name: "Pendle PT Corn solvBTC Babylon 26 Dec 2024 expiry",
symbol: "PT_corn_solvBTC_BBN_26DEC2024",
type: { AllNetworks: TokenType.NORMAL_TOKEN },
},
PT_pumpBTC_26DEC2024: {
name: "Pendle PT pumpBTC 26 Dec 2024 expiry",
symbol: "PT_pumpBTC_26DEC2024",
PT_corn_pumpBTC_26DEC2024: {
name: "Pendle PT Corn pumpBTC 26 Dec 2024 expiry",
symbol: "PT_corn_pumpBTC_26DEC2024",
type: { AllNetworks: TokenType.NORMAL_TOKEN },
},
};
Expand Down
20 changes: 10 additions & 10 deletions src/tokens/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ export const tokenDataByNetwork: Record<
PT_ezETH_26DEC2024: "0xf7906F274c174A52d444175729E3fa98f9bde285",
PT_eBTC_26DEC2024: "0xB997B3418935A1Df0F914Ee901ec83927c1509A0",
PT_LBTC_27MAR2025: "0xEc5a52C685CC3Ad79a6a347aBACe330d69e0b1eD",
PT_solvBTC_26DEC2024: "0x23e479ddcda990E8523494895759bD98cD2fDBF6",
PT_pumpBTC_26DEC2024: "0xa76f0C6e5f286bFF151b891d2A0245077F1Ad74c",
PT_corn_solvBTC_BBN_26DEC2024: "0x23e479ddcda990E8523494895759bD98cD2fDBF6",
PT_corn_pumpBTC_26DEC2024: "0xa76f0C6e5f286bFF151b891d2A0245077F1Ad74c",

// GEARBOX
dDAI: "0x6CFaF95457d7688022FC53e7AbE052ef8DFBbdBA",
Expand Down Expand Up @@ -667,8 +667,8 @@ export const tokenDataByNetwork: Record<
PT_ezETH_26DEC2024: NOT_DEPLOYED,
PT_eBTC_26DEC2024: NOT_DEPLOYED,
PT_LBTC_27MAR2025: NOT_DEPLOYED,
PT_solvBTC_26DEC2024: NOT_DEPLOYED,
PT_pumpBTC_26DEC2024: NOT_DEPLOYED,
PT_corn_solvBTC_BBN_26DEC2024: NOT_DEPLOYED,
PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED,

// GEARBOX
dDAI: NOT_DEPLOYED,
Expand Down Expand Up @@ -958,8 +958,8 @@ export const tokenDataByNetwork: Record<
PT_ezETH_26DEC2024: NOT_DEPLOYED,
PT_eBTC_26DEC2024: NOT_DEPLOYED,
PT_LBTC_27MAR2025: NOT_DEPLOYED,
PT_solvBTC_26DEC2024: NOT_DEPLOYED,
PT_pumpBTC_26DEC2024: NOT_DEPLOYED,
PT_corn_solvBTC_BBN_26DEC2024: NOT_DEPLOYED,
PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED,

// GEARBOX
dDAI: NOT_DEPLOYED,
Expand Down Expand Up @@ -1251,8 +1251,8 @@ export const tokenDataByNetwork: Record<
PT_ezETH_26DEC2024: NOT_DEPLOYED,
PT_eBTC_26DEC2024: NOT_DEPLOYED,
PT_LBTC_27MAR2025: NOT_DEPLOYED,
PT_solvBTC_26DEC2024: NOT_DEPLOYED,
PT_pumpBTC_26DEC2024: NOT_DEPLOYED,
PT_corn_solvBTC_BBN_26DEC2024: NOT_DEPLOYED,
PT_corn_pumpBTC_26DEC2024: NOT_DEPLOYED,

// GEARBOX
dDAI: NOT_DEPLOYED,
Expand Down Expand Up @@ -1499,7 +1499,7 @@ export const tickerInfoTokensByNetwork: Record<
reserve: true,
},
],
PT_solvBTC_26DEC2024: [
PT_corn_solvBTC_BBN_26DEC2024: [
{
symbol: "BTC",
dataId: "BTC",
Expand All @@ -1509,7 +1509,7 @@ export const tickerInfoTokensByNetwork: Record<
reserve: true,
},
],
PT_pumpBTC_26DEC2024: [
PT_corn_pumpBTC_26DEC2024: [
{
symbol: "BTC",
dataId: "BTC",
Expand Down

0 comments on commit 389fe69

Please sign in to comment.