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

add finite consolidation approvals #3224

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft

Conversation

brightiron
Copy link
Contributor

@brightiron brightiron commented Oct 15, 2024

Resolves #3217

Blocked by new consolidation contract deployment

  • Updates useApproveToken hook to add an optional spendAmount slot
  • uses collateral and debt values from consolidation contract and passes them to tokenAllowanceGuard
  • Re-enables disabled consolidation code

TODO

  • Add address of new LoanConsolidator contract

Copy link
Contributor

@0xJem 0xJem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

src/abi/CoolerConsolidation.json Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement finite approvals for CoolerUtils
2 participants