Skip to content

feat: V2 syntax and assertions, protection suite examples#59

Draft
makemake-kbo wants to merge 24 commits intomasterfrom
all-protection-suites
Draft

feat: V2 syntax and assertions, protection suite examples#59
makemake-kbo wants to merge 24 commits intomasterfrom
all-protection-suites

Conversation

@makemake-kbo
Copy link
Copy Markdown
Contributor

No description provided.

Adds watchCumulativeInflow trigger plus InflowContext, a smart inflow
circuit breaker that blocks deposit/mint/skim past the threshold, and a
layered outflow breaker enforcing liquidation-only at 10% and full pause
at 15% within 24h.
Verifies each deposit/mint/withdraw/redeem matches its pre-call preview
and same-frame event, catching divergence between calldata, return data,
and emitted logs.
# Conflicts:
#	src/protection/lending/ILendingProtectionSuite.sol
#	src/protection/lending/examples/AaveV3PostOperationSolvency.sol
@fredo
Copy link
Copy Markdown
Contributor

fredo commented Apr 30, 2026

as discussed in the call

  • Address Aave bugs
  • restructure royco example as circuit breaker example
  • remove symbiotic

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.

2 participants