Uniswap / v3-sdk

🛠 An SDK for building applications on top of Uniswap V3
MIT License
544 stars 416 forks source link

Corrupt pool on BSC. SqrtPrice is 0. #176

Open NoUJoe opened 1 year ago

NoUJoe commented 1 year ago

I've found what I believe to be a "corrupt" pool on BSC. The SqrtPrice is 0 on the contract and from subgraph. Tick is null on subgraph.

Here's the explorer page: https://bscscan.com/address/0x3f8823fa34569b5038874a4d2661de90755e4729

Has 0 transactions. I didn't think a pool could be deployed without an initial price.

SDK complains (Invariant failed: PRICE_BOUNDS) that it is invalid which is what bought my attention to it.

Florian-S-A-W commented 11 months ago

There are thousands of unusable Pools as anyone can create Pools. Something like your example mostly happens when liquidity on one side is completely removed at some point. Quite funny that the creator in your example is literally named Fake_Phishing766 by BscScan.

It's in general not common for scammers to use V3 for their phishing pools as the deployment of V2 pairs is much cheaper, at least on L1s with higher gas fees.