Skip to content

Commit

Permalink
Merge pull request #210 from Gearbox-protocol/remove-sddola
Browse files Browse the repository at this point in the history
fix: remove sddola
  • Loading branch information
essserrr authored Dec 24, 2024
2 parents 31ff2e8 + c2995f0 commit d762efb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 29 deletions.
9 changes: 0 additions & 9 deletions src/oracles/priceFeeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3304,15 +3304,6 @@ export const priceFeedsByToken: Record<
},
},

sdDOLAV3: {
Mainnet: {
Main: {
type: PriceFeedType.ZERO_ORACLE,
trusted: false,
},
},
},

GEAR: {
Mainnet: {
Main: {
Expand Down
1 change: 0 additions & 1 deletion src/tokens/decimals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ export const decimals: Record<SupportedToken, number> = {
sdcrvUSDV3: 18,

dDOLAV3: 18,
sdDOLAV3: 18,

dUSDC_eV3: 6,
sdUSDC_eV3: 6,
Expand Down
23 changes: 8 additions & 15 deletions src/tokens/gear.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export type DieselSimpleTokenTypes =
| "dWBTC"
| "dWETH"
| "dwstETH"
| "dFRAX";
| "dFRAX"
| "dDOLAV3";

export type DieselTokenWithStkTypes =
| "dUSDCV3"
Expand All @@ -18,7 +19,6 @@ export type DieselTokenWithStkTypes =
| "dGHOV3"
| "dDAIV3"
| "dcrvUSDV3"
| "dDOLAV3"
| "dUSDC_eV3";

export type DieselTokenTypes = DieselSimpleTokenTypes | DieselTokenWithStkTypes;
Expand All @@ -32,7 +32,6 @@ export type DieselStakedTokenTypes =
| "sdGHOV3"
| "sdDAIV3"
| "sdcrvUSDV3"
| "sdDOLAV3"
| "sdUSDC_eV3";

export type GearboxToken = "GEAR";
Expand Down Expand Up @@ -101,6 +100,12 @@ const dieselSimpleTokens: Record<
symbol: "dFRAX",
type: { AllNetworks: TokenType.DIESEL_LP_TOKEN },
},

dDOLAV3: {
name: "dDOLAV3",
symbol: "dDOLAV3",
type: { AllNetworks: TokenType.DIESEL_LP_TOKEN },
},
};

const dieselWithStkTokens: Record<
Expand Down Expand Up @@ -157,12 +162,6 @@ const dieselWithStkTokens: Record<
type: { AllNetworks: TokenType.DIESEL_LP_TOKEN },
stakedToken: "sdcrvUSDV3",
},
dDOLAV3: {
name: "dDOLAV3",
symbol: "dDOLAV3",
type: { AllNetworks: TokenType.DIESEL_LP_TOKEN },
stakedToken: "sdDOLAV3",
},
};

const dieselTokens = { ...dieselSimpleTokens, ...dieselWithStkTokens };
Expand Down Expand Up @@ -226,12 +225,6 @@ const dieselStakedTokens: Record<
type: { AllNetworks: TokenType.DIESEL_LP_TOKEN },
underlying: "dcrvUSDV3",
},
sdDOLAV3: {
name: "sdDOLAV3",
symbol: "sdDOLAV3",
type: { AllNetworks: TokenType.DIESEL_LP_TOKEN },
underlying: "dDOLAV3",
},
};

export const gearTokens: Record<
Expand Down
4 changes: 0 additions & 4 deletions src/tokens/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ export const tokenDataByNetwork: Record<
sdcrvUSDV3: "0xfBCA378AeA93EADD6882299A3d74D8641Cc0C4BC",

dDOLAV3: "0x31426271449F60d37Cc5C9AEf7bD12aF3BdC7A94",
sdDOLAV3: "0xb3289a45497027a2Aee88Acc89fB3dcB5C71001D",

dUSDC_eV3: NOT_DEPLOYED,
sdUSDC_eV3: NOT_DEPLOYED,
Expand Down Expand Up @@ -721,7 +720,6 @@ export const tokenDataByNetwork: Record<
sdcrvUSDV3: NOT_DEPLOYED,

dDOLAV3: NOT_DEPLOYED,
sdDOLAV3: NOT_DEPLOYED,

dUSDC_eV3: "0xa76c604145D7394DEc36C49Af494C144Ff327861",
sdUSDC_eV3: "0x608F9e2E8933Ce6b39A8CddBc34a1e3E8D21cE75",
Expand Down Expand Up @@ -1025,7 +1023,6 @@ export const tokenDataByNetwork: Record<
sdcrvUSDV3: NOT_DEPLOYED,

dDOLAV3: NOT_DEPLOYED,
sdDOLAV3: NOT_DEPLOYED,

dUSDC_eV3: "0x5520dAa93A187f4Ec67344e6D2C4FC9B080B6A35",
sdUSDC_eV3: "0x73302b63Ad4a16C498f26dB89cb27F37a72E4E04",
Expand Down Expand Up @@ -1329,7 +1326,6 @@ export const tokenDataByNetwork: Record<
sdcrvUSDV3: NOT_DEPLOYED,

dDOLAV3: NOT_DEPLOYED,
sdDOLAV3: NOT_DEPLOYED,

dUSDC_eV3: NOT_DEPLOYED,
sdUSDC_eV3: NOT_DEPLOYED,
Expand Down

0 comments on commit d762efb

Please sign in to comment.