v3-core
v3-core copied to clipboard
🦄 🦄 🦄 Core smart contracts of Uniswap v3
https://bscscan.com/address/0xd32db42675c921531d4faa925e82be2c85845f6e#readContract at time of writing: "sqrtPrice": "76243620223535651510009976419", "tick": "-769", According to TickMath.getTickAtSqrtRatio(). tick should be -768. I know -769 has 69 in it but it's still incorrect (I think)
pragma solidity =0.7.6; syntax error on line : 2
Hello, I was wondering if there is any SDK or library that would help me with decompiling/parsing **data** parameter (which is `bytes[]`) provided in `multicall()` function? I'm writing a transaction...
[Viem](https://viem.sh/) library shows [better results](https://viem.sh/docs/introduction.html) than ether. It has test coverage, smaller size, clearer errors, and much more. More and more projects will switch to this library. It would be...
Considering pool USDC/USDT 0.01%, I have a task to calculate in retrospective how the return for Uniswap LPs was distributed and what was the optimal liquidity distribution across ticks to...
Please add new tag for 0.8 branch, because some solutions like brownie package manager uses only tags and can't use bracnhes.
i am getting same error , how to fix this. KIndly help me
Hi mates , recently i have been troubled with running echidna-test inside of our monerepo , and i am trying to running echidna-test on your repo to see if we...
Position.Update() causes unnecessary variable assignments for positions with zero liquidity delta. Even if the `liquidtyNext` variable is not used when the liquidityDelta is 0, below code assigns the value to...
https://github.com/Uniswap/v3-core/blob/05c10bf6d547d6121622ac51c457f93775e1df09/contracts/UniswapV3Pool.sol#L140 We could rewrite this set of functions as: ``` function balanceTokens(address token) private view returns (uint256) { (bool success, bytes memory data) = token.staticcall( abi.encodeWithSelector(IERC20Minimal.balanceOf.selector, address(this)) ); require(success &&...