Skip to content

Commit

Permalink
chore: cleanup deprecated feature (#2512)
Browse files Browse the repository at this point in the history
* chore: cleanup gas tracker

* refactor: remove myearning

* refactor: remove classic add liquidity

* refactor: remove elastic zap

* chore: max slipage hint position update

* refactor: remove farms

* fix: remove rechart-legacy
  • Loading branch information
viet-nv authored Aug 8, 2024
1 parent 9d38328 commit e1305f7
Show file tree
Hide file tree
Showing 219 changed files with 137 additions and 36,874 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
"react-window-infinite-loader": "^1.0.8",
"rebass": "^4.0.7",
"recharts": "2.6.0",
"recharts-legacy": "npm:recharts@2.0.9",
"redux-localstorage-simple": "^2.5.1",
"siwe": "^2.3.2",
"styled-components": "^5.3.6",
Expand Down
20 changes: 0 additions & 20 deletions src/apollo/queries/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,6 @@ export const ETH_PRICE = (block?: number) => {
return gql(queryString)
}

export const PROMM_ETH_PRICE = (block?: number) => {
const queryString = block
? `
query ethPriceElasticByBlock {
bundles(where: { id: ${BUNDLE_ID} }, block: {number: ${block}}, subgraphError: allow) {
id
ethPriceUSD
}
}
`
: ` query ethPriceElastic {
bundles(where: { id: ${BUNDLE_ID} }, subgraphError: allow) {
id
ethPriceUSD
}
}
`
return gql(queryString)
}

export const TOKEN_DERIVED_ETH = (tokenAddress: string) => {
const queryString = `
query tokenDerivedETH {
Expand Down
Loading

0 comments on commit e1305f7

Please sign in to comment.