Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use abi for external Aave contract compatible with all networks #596

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

iherger
Copy link
Member

@iherger iherger commented Dec 11, 2024

PR-Codex overview

This PR focuses on updating the external Aave contract ABI by removing several fields from the IUiIncentiveDataProviderV3 structures in the AaveV3.ts file.

Detailed summary

  • Removed several components from the sIncentiveData structure:
    • tokenAddress
    • incentiveControllerAddress
    • rewardTokenSymbol
    • rewardTokenAddress
    • rewardOracleAddress
    • emissionPerSecond
    • incentivesLastUpdateTimestamp
    • tokenIncentivesIndex
    • emissionEndTimestamp
    • rewardPriceFeed
    • rewardTokenDecimals
    • precision
    • priceFeedDecimals
  • Updated rewardsTokenInformation to reflect the changes in the struct IUiIncentiveDataProviderV3.RewardInfo[].

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Dec 11, 2024

🦋 Changeset detected

Latest commit: 4fb51e0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@enzymefinance/sdk Patch
@enzymefinance/environment Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Dec 11, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@enzymefinance/abis@596
pnpm add https://pkg.pr.new/@enzymefinance/api@596
pnpm add https://pkg.pr.new/@enzymefinance/environment@596
pnpm add https://pkg.pr.new/@enzymefinance/sdk@596

commit: 4fb51e0

@iherger iherger changed the title fix: use abi for external save contract compatible with all networks fix: use abi for external Aave contract compatible with all networks Dec 11, 2024
@iherger iherger requested a review from KedziaPawel December 11, 2024 13:47
@iherger iherger merged commit 23d8b47 into main Dec 11, 2024
11 checks passed
@iherger iherger deleted the fix/aave-uiIncentiveDataProviderAbi branch December 11, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants