â›ŊGas Measurements

Compare to WETH/USDC Uniswap V3 Swap: ~150,000

Benchmark Parameters

All values fixed-point 18 decimal values.
Benchmark test configured as follows:
   Simulation:
      length = 2000 blocks
      inactivity: 2 segments, min. 300 blocks

   TWAMM Pool:
      pool type = liquid
      block interval = 300
      initial reserve A = 5000
      initial reserve B = 3000
   Inactivity Segments:
      466 <---> 766   (start <---> end)
      1232 <---> 1532   (start <---> end)
   Overlap:
      45 events overlap (458 events total)
   Provide Liquidity Events:
      10 inserted (10 specified)
      LP tokens:
         initial supply = 3872
         provide mean = 774
         provide std. dev. = 77
   Remove Liquidity Events:
      5 inserted (5 specified)
   LT Swap Events:
      30 inserted (30 specified)
      65% A --> B swaps specified
      amount mean = 150 A, 90 B
      amount std. dev. = 15 A, 9 B
      length mean = 20 intervals
      length std. dev. = 2 intervals
   LT Swap Withdraw Events:
      10 inserted (10 specified)
   LT Swap Cancel Events:
      3 inserted (3 specified)
   Swap Events:
      400 inserted (400 specified)
      45 overlapping inserted
      35% A --> B swaps specified
      amount mean = 15 A, 9 B
      amount std. dev. = 1 A, 1 B
   Execute All Virtual Order Events:
      10 inserted (10 specified)

Last updated