Skip to content

Commit

Permalink
fix: use abi for external Aave contract compatible with all networks (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
iherger authored Dec 11, 2024
1 parent 6222e61 commit 23d8b47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changeset/nasty-tools-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@enzymefinance/sdk": patch
---

Update external aave contract abi
27 changes: 0 additions & 27 deletions packages/sdk/src/Portfolio/Integrations/AaveV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -735,33 +735,6 @@ const uiIncentiveDataProviderAbi = [
name: "vIncentiveData",
type: "tuple",
},
{
components: [
{ internalType: "address", name: "tokenAddress", type: "address" },
{ internalType: "address", name: "incentiveControllerAddress", type: "address" },
{
components: [
{ internalType: "string", name: "rewardTokenSymbol", type: "string" },
{ internalType: "address", name: "rewardTokenAddress", type: "address" },
{ internalType: "address", name: "rewardOracleAddress", type: "address" },
{ internalType: "uint256", name: "emissionPerSecond", type: "uint256" },
{ internalType: "uint256", name: "incentivesLastUpdateTimestamp", type: "uint256" },
{ internalType: "uint256", name: "tokenIncentivesIndex", type: "uint256" },
{ internalType: "uint256", name: "emissionEndTimestamp", type: "uint256" },
{ internalType: "int256", name: "rewardPriceFeed", type: "int256" },
{ internalType: "uint8", name: "rewardTokenDecimals", type: "uint8" },
{ internalType: "uint8", name: "precision", type: "uint8" },
{ internalType: "uint8", name: "priceFeedDecimals", type: "uint8" },
],
internalType: "struct IUiIncentiveDataProviderV3.RewardInfo[]",
name: "rewardsTokenInformation",
type: "tuple[]",
},
],
internalType: "struct IUiIncentiveDataProviderV3.IncentiveData",
name: "sIncentiveData",
type: "tuple",
},
],
internalType: "struct IUiIncentiveDataProviderV3.AggregatedReserveIncentiveData[]",
name: "",
Expand Down

0 comments on commit 23d8b47

Please sign in to comment.