-
### Describe the feature you would like
Because discover factories was very slow and there was a async TODO I wrote some simple code that makes it 10x faster. I hope its useful.
### Additional conte…
-
# Gas Optimizations
## Loop optimizations
Loops can be optimized in several ways. Let's take for example the loop in the `_liquidateMaker` function in `ClearingHouse`.
```sol
for (uint i = 0; i < amm…
-
# Lines of code
https://github.com/code-423n4/2022-11-paraspace/blob/c6820a279c64a299a783955749fdc977de8f0449/paraspace-core/contracts/protocol/tokenization/NTokenUniswapV3.sol#L51-L76
# Vulnerabil…
-
### Background
Some solvers report `Ignoring ill-defined AMM "3": Attempt to create an AMM with non-positive token balance.` indicating that we are sending "empty" AMMs.
There are definitely some …
-
Hey! I am trying to sync Uni V3 pools on Polygon, but always getting Middleware Error (```⠦ Syncing AMMs...Error: Middleware error```).
I am using basic alchemy node.
Code sample (very similar t…
-
## Summary
> Please give a short summary of this research topic.
In the course, we cover Uniswap, but there are several other AMMs, each with its distinct algorithm. What are the differences among…
-
Title: Not verified input
Severity: Low Risk
external / public functions parameters should be validated to make sure the address is not 0.
Otherwise if not given the right input it can mist…
-
This issue is still apparent. Syncing from block 0 doesn't fix it :)
Context:
Chain: Optimism
TokenA: 0x4200000000000000000000000000000000000006
TokenB: 0xda10009cbd5d07dd0cecc66161fc93d7c9000da…
-
# QA Report
**Table of Contents:**
- [QA Report](#qa-report)
- [Foreword](#foreword)
- [Summary](#summary)
- [File: AMM.sol](#file-ammsol)
- [Imports](#imports)
- [Useless `import { Ow…
-
### What problem does your feature solve?
The SDEX is of growing importance to the Stellar network.
After introducing AMMs, its role became more nuanced.
With Soroban, trading has even more p…