Skip to content

Commit

Permalink
feat(lending): radiant v2 on base
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Lu committed Aug 7, 2024
1 parent 0ca33ef commit 9425f4a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-mails-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@protocolink/lending': patch
---

support radiant v2 on base
4 changes: 2 additions & 2 deletions packages/lending/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
},
"dependencies": {
"@aave/math-utils": "^1.21.0",
"@protocolink/api": "^1.2.1",
"@protocolink/api": "^1.2.2",
"@protocolink/common": "^0.5.1",
"@protocolink/core": "^0.6.1",
"@protocolink/logics": "^1.5.1",
"@protocolink/logics": "^1.6.0",
"bignumber.js": "^9.1.1",
"decimal.js-light": "^2.5.1"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/lending/src/protocols/radiant-v2/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ export const configs: Config[] = [
PriceOracle: '0x0BB5c1Bc173b207cBf47CDf013617087776F3782',
},
},
{
chainId: common.ChainId.base,
contractMap: {
ProtocolDataProvider: '0x07d2DC09A1CbDD01e5f6Ca984b060A3Ff31b9EAF',
PriceOracle: '0xe373749cd9b2D379f7f6Dd595e5164498b922164',
},
},
{
chainId: common.ChainId.arbitrum,
contractMap: {
Expand Down

0 comments on commit 9425f4a

Please sign in to comment.