Skip to content

chore: set CoW flashloan fee to zero#2971

Closed
mgrabina wants to merge 1 commit intomainfrom
worktree/affectionate-taussig-9a0343
Closed

chore: set CoW flashloan fee to zero#2971
mgrabina wants to merge 1 commit intomainfrom
worktree/affectionate-taussig-9a0343

Conversation

@mgrabina
Copy link
Copy Markdown
Contributor

@mgrabina mgrabina commented May 8, 2026

Summary

Sets FLASH_LOAN_FEE_BPS to 0 in src/components/transactions/Swap/constants/cow.constants.ts. Paraswap's fee constant is unchanged.

The constant feeds CoW-based Collateral Swap, Debt Swap, and Repay-with-Collateral flows via flashLoanSdk.calculateFlashLoanAmounts. UI cost rows in CowCostsDetails already hide when the fee is zero.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
interface Ready Ready Preview, Comment May 8, 2026 1:54pm

Request Review

@mgrabina
Copy link
Copy Markdown
Contributor Author

mgrabina commented May 8, 2026

Switching to an on-chain ACLManager check approach (per-flow adapter, default to non-zero on pending). Will reopen with the new shape.

@mgrabina mgrabina closed this May 8, 2026
@mgrabina mgrabina reopened this May 8, 2026
@mgrabina
Copy link
Copy Markdown
Contributor Author

mgrabina commented May 8, 2026

Closing in favor of on-chain ACLManager check — see follow-up.

@mgrabina mgrabina closed this May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

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.

1 participant