Skip to content

Commit

Permalink
feat: ethereum ether fi market
Browse files Browse the repository at this point in the history
  • Loading branch information
defispartan committed Sep 10, 2024
1 parent 46e7509 commit d59d104
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@aave/contract-helpers": "^1.29.1",
"@aave/math-utils": "^1.29.1",
"@bgd-labs/aave-address-book": "^3.2.1",
"@bgd-labs/aave-address-book": "^3.3.0",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@mui/material": "^5.8.0",
Expand Down
10 changes: 10 additions & 0 deletions utils/marketconfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
AaveV3BNB,
AaveV3Scroll,
AaveV3EthereumLido,
AaveV3EthereumEtherFi,
} from "@bgd-labs/aave-address-book";
import { ChainId } from "@aave/contract-helpers";

Expand Down Expand Up @@ -144,4 +145,13 @@ export const marketConfig = {
POOL: AaveV3EthereumLido.POOL,
marketName: "proto_lido_v3",
},
ethereumEtherFi: {
chainId: ChainId.mainnet,
publicJsonRPCUrl: "https://eth-mainnet.alchemyapi.io/v2/demo",
LENDING_POOL_ADDRESS_PROVIDER:
AaveV3EthereumEtherFi.POOL_ADDRESSES_PROVIDER,
UI_POOL_DATA_PROVIDER: AaveV3EthereumEtherFi.UI_POOL_DATA_PROVIDER,
POOL: AaveV3EthereumEtherFi.POOL,
marketName: "proto_etherfi_v3",
},
};
4 changes: 4 additions & 0 deletions utils/markets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export const markets = {
name: "ethereum lido",
config: marketConfig.ethereumLido,
},
{
name: "ethereum etherfi",
config: marketConfig.ethereumEtherFi,
},
{
name: "arbitrum",
config: marketConfig.arbitrum,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
"@babel/helper-validator-identifier" "^7.18.6"
to-fast-properties "^2.0.0"

"@bgd-labs/aave-address-book@^3.2.1":
version "3.2.1"
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-3.2.1.tgz#9ecdb92303170e754e048d25f7d6cd27312c530b"
integrity sha512-IlXHWYAhcgbiteTU50I6v8Awl7PBAHfXGz2IyjR5MPXy4xvW4UXYKbCRUtOCFxY/sdLtu/Gb+GgypyF76sd4Qg==
"@bgd-labs/aave-address-book@^3.3.0":
version "3.3.0"
resolved "https://registry.yarnpkg.com/@bgd-labs/aave-address-book/-/aave-address-book-3.3.0.tgz#2358a8a6edb317968f555d1779b3d8d540bcb205"
integrity sha512-mRpf7TNNV8FL2kDxlHFtsrnK5oAFlPM+PYtc6MdrmI961qrWseV/kHWc5Tbg1b4AGqRKD5S8U6samADxnkwJvg==

"@emotion/babel-plugin@^11.10.0":
version "11.10.2"
Expand Down

0 comments on commit d59d104

Please sign in to comment.