Skip to content

Commit

Permalink
update aave wbtc config
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Jul 31, 2024
1 parent b8439fe commit a04462c
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@composedb/client": "0.5.0",
"@composedb/types": "0.5.0",
"@helixbridge/helixconf": "1.1.1",
"@helixbridge/helixconf": "1.1.3",
"@nestjs/common": "^9.0.0",
"@nestjs/config": "^2.2.0",
"@nestjs/core": "^9.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/configure/base.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class BaseConfigService {
HelixChain.bera,
HelixChain.morph,
HelixChain.baseSepolia,
HelixChain.zircuit,
],
};

Expand Down
40 changes: 40 additions & 0 deletions src/liquidity/lend/aave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ export class AddressBookConfigure {
decimals: 18,
isNativeWrapped: true,
},
{
symbol: "wbtc",
aToken: "0x078f358208685046a11C85e8ad32895DED33A249",
vToken: "0x92b42c66840C7AD907b4BF74879FF3eF7c529473",
underlyingToken: "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f",
decimals: 8,
isNativeWrapped: false,
},
],
},
{
Expand Down Expand Up @@ -165,6 +173,14 @@ export class AddressBookConfigure {
decimals: 18,
isNativeWrapped: true,
},
{
symbol: "wbtc",
aToken: "0x078f358208685046a11C85e8ad32895DED33A249",
vToken: "0x92b42c66840C7AD907b4BF74879FF3eF7c529473",
underlyingToken: "0x68f180fcCe6836688e9084f035309E29Bf0A2095",
decimals: 8,
isNativeWrapped: false,
},
],
},
{
Expand Down Expand Up @@ -245,6 +261,14 @@ export class AddressBookConfigure {
decimals: 6,
isNativeWrapped: false,
},
{
symbol: "wbtc",
aToken: "0x078f358208685046a11C85e8ad32895DED33A249",
vToken: "0x92b42c66840C7AD907b4BF74879FF3eF7c529473",
underlyingToken: "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6",
decimals: 8,
isNativeWrapped: false,
},
],
},
{
Expand All @@ -269,6 +293,14 @@ export class AddressBookConfigure {
decimals: 18,
isNativeWrapped: false,
},
{
symbol: "wbtc",
aToken: "0x56a7ddc4e848EbF43845854205ad71D5D5F72d3D",
vToken: "0x7b1E82F4f542fbB25D64c5523Fe3e44aBe4F2702",
underlyingToken: "0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c",
decimals: 18,
isNativeWrapped: false,
},
],
},
{
Expand All @@ -293,6 +325,14 @@ export class AddressBookConfigure {
decimals: 6,
isNativeWrapped: false,
},
{
symbol: "wbtc",
aToken: "0x8ffDf2DE812095b1D19CB146E4c004587C0A0692",
vToken: "0xA8669021776Bc142DfcA87c21b4A52595bCbB40a",
underlyingToken: "0x152b9d0FdC40C096757F570A51E494bd4b943E50",
decimals: 8,
isNativeWrapped: false,
},
],
},
{
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1117,10 +1117,10 @@
resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861"
integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==

"@helixbridge/[email protected].1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.1.tgz#b862d4c38a314e90670200da30b3ceebecafaf54"
integrity sha512-KJ1rA4/43Jl7oQ6LBeTPeP9rfm1kaY5SNF8zFnECTVSY+GBMY0SuJddumw0a0fdwHxV1FhSnEE82ObVpbv4QqQ==
"@helixbridge/[email protected].3":
version "1.1.3"
resolved "https://registry.yarnpkg.com/@helixbridge/helixconf/-/helixconf-1.1.3.tgz#93dfef1459107ffa1b2160a1bb49e1d64346d4d5"
integrity sha512-zTqb4GtoFggrxifIDAmbulbBxMolspAk4XDZk8X9OosH99Gz1KRwXNYS+lwsNzNsA5gMPnFvfoNZnQIpT8snkA==

"@humanwhocodes/config-array@^0.11.14":
version "0.11.14"
Expand Down

0 comments on commit a04462c

Please sign in to comment.