Skip to content

Commit e5d6002

Browse files
authored
feat(df-pf-configs): Add GASETH-0921 default price feed config (#3330)
* feat(df-pf-configs): Add GASETH-0921 default price feed config * Add to OO Ignore Post Expiry List
1 parent 31b60c3 commit e5d6002

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

packages/common/src/PriceIdentifierUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const OPTIMISTIC_ORACLE_IGNORE_POST_EXPIRY = [
4141
"GASETH-TWAP-1Mx1M",
4242
"uSTONKS_JUN21",
4343
"uSTONKS_0921",
44+
"GASETH-0921",
4445
];
4546

4647
// Any identifier on this list

packages/financial-templates-lib/src/price-feed/DefaultPriceFeedConfigs.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,12 @@ export const defaultConfigs: { [name: string]: { type: string; [key: string]: an
958958
"BTC/ibBTC": { type: "expression", expression: "1 / ibBTC\\/BTC" },
959959
"ibBTC/USD": { type: "expression", expression: "ibBTC\\/BTC * BTCUSD" },
960960
"USD/ibBTC": { type: "expression", expression: "1 / ibBTC\\/USD" },
961+
"GASETH-0921": {
962+
type: "uniswap",
963+
uniswapAddress: "0x5CCD155ad26B74913ed6266A516A085A2343D426",
964+
twapLength: 7200,
965+
invertPrice: true,
966+
},
961967
};
962968

963969
// Pull in the number of decimals for each identifier from the common getPrecisionForIdentifier. This is used within the

0 commit comments

Comments
 (0)