diff --git a/.changeset/poor-mails-sell.md b/.changeset/poor-mails-sell.md new file mode 100644 index 0000000..ecc1934 --- /dev/null +++ b/.changeset/poor-mails-sell.md @@ -0,0 +1,5 @@ +--- +'@protocolink/lending': patch +--- + +support radiant v2 on base diff --git a/packages/lending/package.json b/packages/lending/package.json index 8a9831d..c67c4c0 100644 --- a/packages/lending/package.json +++ b/packages/lending/package.json @@ -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" }, diff --git a/packages/lending/src/protocols/radiant-v2/configs.ts b/packages/lending/src/protocols/radiant-v2/configs.ts index d1c16e7..a9301dd 100644 --- a/packages/lending/src/protocols/radiant-v2/configs.ts +++ b/packages/lending/src/protocols/radiant-v2/configs.ts @@ -29,6 +29,13 @@ export const configs: Config[] = [ PriceOracle: '0x0BB5c1Bc173b207cBf47CDf013617087776F3782', }, }, + { + chainId: common.ChainId.base, + contractMap: { + ProtocolDataProvider: '0x07d2DC09A1CbDD01e5f6Ca984b060A3Ff31b9EAF', + PriceOracle: '0xe373749cd9b2D379f7f6Dd595e5164498b922164', + }, + }, { chainId: common.ChainId.arbitrum, contractMap: {