-
Notifications
You must be signed in to change notification settings - Fork 3
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
Code4rena deploy #139
Merged
Merged
Code4rena deploy #139
Commits on Jul 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5f9b435 - Browse repository at this point
Copy the full SHA 5f9b435View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fbe578 - Browse repository at this point
Copy the full SHA 2fbe578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 554ed8f - Browse repository at this point
Copy the full SHA 554ed8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2575e9f - Browse repository at this point
Copy the full SHA 2575e9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e590625 - Browse repository at this point
Copy the full SHA e590625View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04c865c - Browse repository at this point
Copy the full SHA 04c865cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf49b8b - Browse repository at this point
Copy the full SHA bf49b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea65c6d - Browse repository at this point
Copy the full SHA ea65c6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 831233e - Browse repository at this point
Copy the full SHA 831233eView commit details -
c4-006 DoS in market orders due to incorrect params.amount comparison…
… with dust limit when amount represents cash
Configuration menu - View commit details
-
Copy full SHA for dbb4410 - Browse repository at this point
Copy the full SHA dbb4410View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d91267 - Browse repository at this point
Copy the full SHA 5d91267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 978f258 - Browse repository at this point
Copy the full SHA 978f258View commit details -
Configuration menu - View commit details
-
Copy full SHA for 148e726 - Browse repository at this point
Copy the full SHA 148e726View commit details -
Configuration menu - View commit details
-
Copy full SHA for 807880b - Browse repository at this point
Copy the full SHA 807880bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0666e7e - Browse repository at this point
Copy the full SHA 0666e7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b78cbc0 - Browse repository at this point
Copy the full SHA b78cbc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 928bea4 - Browse repository at this point
Copy the full SHA 928bea4View commit details -
c4-012 getCreditPositionProRataAssignedCollateral can be simplified t…
…o totalCollateral * credit / totalDebt
Configuration menu - View commit details
-
Copy full SHA for 3fb7236 - Browse repository at this point
Copy the full SHA 3fb7236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 675bb69 - Browse repository at this point
Copy the full SHA 675bb69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65636ba - Browse repository at this point
Copy the full SHA 65636baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86184b6 - Browse repository at this point
Copy the full SHA 86184b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a870159 - Browse repository at this point
Copy the full SHA a870159View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc1fad6 - Browse repository at this point
Copy the full SHA dc1fad6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cadd4f - Browse repository at this point
Copy the full SHA 5cadd4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa055b4 - Browse repository at this point
Copy the full SHA fa055b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c215a6a - Browse repository at this point
Copy the full SHA c215a6aView commit details
Commits on Jul 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f90fae4 - Browse repository at this point
Copy the full SHA f90fae4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b3426a - Browse repository at this point
Copy the full SHA 7b3426aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ba0e3c - Browse repository at this point
Copy the full SHA 3ba0e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9c6973 - Browse repository at this point
Copy the full SHA b9c6973View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f0a021 - Browse repository at this point
Copy the full SHA 8f0a021View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8f158 - Browse repository at this point
Copy the full SHA ab8f158View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d21f018 - Browse repository at this point
Copy the full SHA d21f018View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae55c36 - Browse repository at this point
Copy the full SHA ae55c36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75d8e52 - Browse repository at this point
Copy the full SHA 75d8e52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5db5078 - Browse repository at this point
Copy the full SHA 5db5078View commit details -
Configuration menu - View commit details
-
Copy full SHA for fef1eb4 - Browse repository at this point
Copy the full SHA fef1eb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1077044 - Browse repository at this point
Copy the full SHA 1077044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ba5f2 - Browse repository at this point
Copy the full SHA 78ba5f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9868803 - Browse repository at this point
Copy the full SHA 9868803View commit details -
Configuration menu - View commit details
-
Copy full SHA for 388f0aa - Browse repository at this point
Copy the full SHA 388f0aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f70f1d - Browse repository at this point
Copy the full SHA 3f70f1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a085fc - Browse repository at this point
Copy the full SHA 0a085fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6f67c4 - Browse repository at this point
Copy the full SHA c6f67c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7b945f - Browse repository at this point
Copy the full SHA f7b945fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1f692c - Browse repository at this point
Copy the full SHA f1f692cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6de9a28 - Browse repository at this point
Copy the full SHA 6de9a28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34ce900 - Browse repository at this point
Copy the full SHA 34ce900View commit details -
Configuration menu - View commit details
-
Copy full SHA for 223294c - Browse repository at this point
Copy the full SHA 223294cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d928c5 - Browse repository at this point
Copy the full SHA 8d928c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92ba77b - Browse repository at this point
Copy the full SHA 92ba77bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac05f7a - Browse repository at this point
Copy the full SHA ac05f7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bb8df5 - Browse repository at this point
Copy the full SHA 5bb8df5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 043b734 - Browse repository at this point
Copy the full SHA 043b734View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0597b2a - Browse repository at this point
Copy the full SHA 0597b2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcf2c76 - Browse repository at this point
Copy the full SHA fcf2c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4440e81 - Browse repository at this point
Copy the full SHA 4440e81View commit details -
Configuration menu - View commit details
-
Copy full SHA for f789da9 - Browse repository at this point
Copy the full SHA f789da9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c4728c - Browse repository at this point
Copy the full SHA 8c4728cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c641488 - Browse repository at this point
Copy the full SHA c641488View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c921fd - Browse repository at this point
Copy the full SHA 4c921fdView commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c4111b1 - Browse repository at this point
Copy the full SHA c4111b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24862bb - Browse repository at this point
Copy the full SHA 24862bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc923a9 - Browse repository at this point
Copy the full SHA dc923a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e62cb1a - Browse repository at this point
Copy the full SHA e62cb1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 052e712 - Browse repository at this point
Copy the full SHA 052e712View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58e64cd - Browse repository at this point
Copy the full SHA 58e64cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40d24b2 - Browse repository at this point
Copy the full SHA 40d24b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf64565 - Browse repository at this point
Copy the full SHA bf64565View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0efa457 - Browse repository at this point
Copy the full SHA 0efa457View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f61c78 - Browse repository at this point
Copy the full SHA 1f61c78View commit details -
Configuration menu - View commit details
-
Copy full SHA for f08695f - Browse repository at this point
Copy the full SHA f08695fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3524e53 - Browse repository at this point
Copy the full SHA 3524e53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01f0697 - Browse repository at this point
Copy the full SHA 01f0697View commit details -
Configuration menu - View commit details
-
Copy full SHA for e62e820 - Browse repository at this point
Copy the full SHA e62e820View commit details -
Configuration menu - View commit details
-
Copy full SHA for e749e70 - Browse repository at this point
Copy the full SHA e749e70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20d87fc - Browse repository at this point
Copy the full SHA 20d87fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2366a - Browse repository at this point
Copy the full SHA 0b2366aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc50f7d - Browse repository at this point
Copy the full SHA bc50f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d9a33e - Browse repository at this point
Copy the full SHA 6d9a33eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c16b0e - Browse repository at this point
Copy the full SHA 1c16b0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ac5311 - Browse repository at this point
Copy the full SHA 5ac5311View commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a06661 - Browse repository at this point
Copy the full SHA 6a06661View commit details -
Configuration menu - View commit details
-
Copy full SHA for 715c91b - Browse repository at this point
Copy the full SHA 715c91bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10832ba - Browse repository at this point
Copy the full SHA 10832baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58d7876 - Browse repository at this point
Copy the full SHA 58d7876View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ed52a5 - Browse repository at this point
Copy the full SHA 8ed52a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cc4b03 - Browse repository at this point
Copy the full SHA 1cc4b03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97b6673 - Browse repository at this point
Copy the full SHA 97b6673View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba90b0c - Browse repository at this point
Copy the full SHA ba90b0cView commit details
Commits on Jul 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 537da1f - Browse repository at this point
Copy the full SHA 537da1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d411d4 - Browse repository at this point
Copy the full SHA 1d411d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21708c7 - Browse repository at this point
Copy the full SHA 21708c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c66206 - Browse repository at this point
Copy the full SHA 7c66206View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8178fde - Browse repository at this point
Copy the full SHA 8178fdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04f4c95 - Browse repository at this point
Copy the full SHA 04f4c95View commit details -
Configuration menu - View commit details
-
Copy full SHA for e92524b - Browse repository at this point
Copy the full SHA e92524bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 940211f - Browse repository at this point
Copy the full SHA 940211fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d69e05f - Browse repository at this point
Copy the full SHA d69e05fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74b64ae - Browse repository at this point
Copy the full SHA 74b64aeView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4afde0c - Browse repository at this point
Copy the full SHA 4afde0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 775fb36 - Browse repository at this point
Copy the full SHA 775fb36View commit details -
Configuration menu - View commit details
-
Copy full SHA for c383bfd - Browse repository at this point
Copy the full SHA c383bfdView commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 77f9820 - Browse repository at this point
Copy the full SHA 77f9820View commit details -
Code4rena Tests/Scripts Updates (#122)
* c4-001 Wrong decimal conversion in liquidation protocol split (#118) * c4-002 Wrong crLiquidation cap in overdue liquidation (#119) * c4-003 Wrong fragmentationFee check in Compensate means it is never charged (#120) * c4-004 Chainlink heartbeats are different on Base and Ethereum mainnet (#123) * c4-004 Chainlink heartbeats are different on Base and Ethereum mainnet * Remove old code * Add base and mainnet parameters * Add base sequencer uptime * c4-005 Users below crOpening cannot withdraw cash (#124) * c4-006 DoS in market orders due to incorrect params.amount comparison… (#125) * c4-006 DoS in market orders due to incorrect params.amount comparison with dust limit when amount represents cash * Remove params.amount > credit comparison * c4-007 Supply caps can be bypassed due to incorrect balanceOf (#126) * c4-008 Variable Pool liquidity check should validate balance of aToken, not Pool (#127) * c4-010 Compensate is prevented if user is underwater (#129) * c4-010 Compensate is prevented if user is underwater * Add missing import * Remove old code * c4-011 Compensate ignores forSale after credit split (#130) * c4-012 getCreditPositionProRataAssignedCollateral can be simplified to totalCollateral * credit / totalDebt (#131) * c4-013 Liquidate does not have deadline protection (#132) * c4-013 Liquidate does not have deadline protection * Remove duplicate check * c4-014 BuyCreditMarket returns incorrect value for liquidity check (#133) * c4-015 SelfLiquidation check can be simplified (#134) * c-015 SelfLiquidation check can be simplified * Remove unused error * c4-016 Documentation fixes (#135) * c4-016 Documentation fixes * Minor documentation/error fixes * Improve docs for swap fee * c4-009 Variable Pool liquidity check can be bypassed with a sandwitch attack (#128) * c4-017 BorrowOffers do not have a maxDueDate (#136) * c4-017 BorrowOffers do not have a maxDueDate * Add maxDueDate to LiquidateWithReplacement * Create validateLimitOrder function * pure -> view * c4-018 Wrong fee calculation in SellCreditMarket + exactAmountOut (#137) * c4-019 Refactor fee calculation in AccountingLibrary.getCashAmountOut (#138) * c4-019 Refactor fee calculation in AccountingLibrary.getCashAmountOut * Validate WETH * Chainlink sequencer feed returns startedAt 0 if down (#140) * c4-021 Add borrower to RepayStruct to avoid MEV (#141) * c4-021 Add borrower to RepayStruct to avoid MEV * Fix typo
Configuration menu - View commit details
-
Copy full SHA for d496889 - Browse repository at this point
Copy the full SHA d496889View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b8b6de - Browse repository at this point
Copy the full SHA 6b8b6deView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3d2308 - Browse repository at this point
Copy the full SHA c3d2308View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67d8ad1 - Browse repository at this point
Copy the full SHA 67d8ad1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a0338 - Browse repository at this point
Copy the full SHA d3a0338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 578d4a9 - Browse repository at this point
Copy the full SHA 578d4a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1beba09 - Browse repository at this point
Copy the full SHA 1beba09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51199c1 - Browse repository at this point
Copy the full SHA 51199c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86432cd - Browse repository at this point
Copy the full SHA 86432cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ed16e4 - Browse repository at this point
Copy the full SHA 0ed16e4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.