Files
mev-beta/.qwen/prompts/uniswap-pricing.md
2025-09-14 10:09:55 -05:00

645 B

Uniswap V3 Pricing Function Implementation

Implement the following Uniswap V3 pricing function with high precision: $ARGUMENTS

Requirements:

  1. Use github.com/holiman/uint256 for all uint256 arithmetic
  2. Ensure mathematical precision and numerical stability
  3. Handle edge cases and boundary conditions
  4. Include comprehensive test coverage
  5. Provide performance benchmarks

Implementation Guidelines:

  • Follow the official Uniswap V3 whitepaper specifications
  • Implement proper error handling for invalid inputs
  • Document mathematical formulas and implementation decisions
  • Optimize for performance while maintaining precision