@paraswap/dex-lib 2.37.2-current-fee-ramses-v2.4 → 2.37.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/build/abi/pancakeswap-v3/PancakeswapV3Factory.abi.json +300 -0
  2. package/build/abi/uniswap-v3/UniswapV3Factory.abi.json +148 -0
  3. package/build/dex/algebra/algebra-factory.d.ts +25 -0
  4. package/build/dex/algebra/algebra-factory.js +43 -0
  5. package/build/dex/algebra/algebra-factory.js.map +1 -0
  6. package/build/dex/algebra/algebra.d.ts +3 -0
  7. package/build/dex/algebra/algebra.js +27 -5
  8. package/build/dex/algebra/algebra.js.map +1 -1
  9. package/build/dex/algebra/config.js +0 -1
  10. package/build/dex/algebra/config.js.map +1 -1
  11. package/build/dex/algebra/types.d.ts +1 -1
  12. package/build/dex/{woo-fi → hello}/config.d.ts +1 -1
  13. package/build/dex/hello/config.js +15 -0
  14. package/build/dex/hello/config.js.map +1 -0
  15. package/build/dex/hello/hello-pool.d.ts +39 -0
  16. package/build/dex/hello/hello-pool.js +64 -0
  17. package/build/dex/hello/hello-pool.js.map +1 -0
  18. package/build/dex/hello/hello.d.ts +37 -0
  19. package/build/dex/hello/hello.js +126 -0
  20. package/build/dex/hello/hello.js.map +1 -0
  21. package/build/dex/hello/types.d.ts +6 -0
  22. package/build/dex/{woo-fi → hello}/types.js.map +1 -1
  23. package/build/dex/index.js +7 -2
  24. package/build/dex/index.js.map +1 -1
  25. package/build/dex/{dexalot → my-test-dex}/config.d.ts +1 -1
  26. package/build/dex/my-test-dex/config.js +15 -0
  27. package/build/dex/my-test-dex/config.js.map +1 -0
  28. package/build/dex/my-test-dex/my-test-dex-pool.d.ts +39 -0
  29. package/build/dex/my-test-dex/my-test-dex-pool.js +64 -0
  30. package/build/dex/my-test-dex/my-test-dex-pool.js.map +1 -0
  31. package/build/dex/my-test-dex/my-test-dex.d.ts +37 -0
  32. package/build/dex/my-test-dex/my-test-dex.js +126 -0
  33. package/build/dex/my-test-dex/my-test-dex.js.map +1 -0
  34. package/build/dex/my-test-dex/types.d.ts +6 -0
  35. package/build/dex/{pancakeswap-v3 → my-test-dex}/types.js.map +1 -1
  36. package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.d.ts +26 -0
  37. package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.js +44 -0
  38. package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.js.map +1 -0
  39. package/build/dex/pancakeswap-v3/pancakeswap-v3.d.ts +3 -0
  40. package/build/dex/pancakeswap-v3/pancakeswap-v3.js +26 -2
  41. package/build/dex/pancakeswap-v3/pancakeswap-v3.js.map +1 -1
  42. package/build/dex/uniswap-v3/config.js +0 -2
  43. package/build/dex/uniswap-v3/config.js.map +1 -1
  44. package/build/dex/uniswap-v3/types.d.ts +1 -2
  45. package/build/dex/uniswap-v3/uniswap-v3-factory.d.ts +26 -0
  46. package/build/dex/uniswap-v3/uniswap-v3-factory.js +44 -0
  47. package/build/dex/uniswap-v3/uniswap-v3-factory.js.map +1 -0
  48. package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +5 -7
  49. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  50. package/build/dex/uniswap-v3/uniswap-v3.d.ts +3 -0
  51. package/build/dex/uniswap-v3/uniswap-v3.js +29 -9
  52. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  53. package/build/dex-helper/dummy-dex-helper.js +3 -0
  54. package/build/dex-helper/dummy-dex-helper.js.map +1 -1
  55. package/build/dex-helper/icache.d.ts +1 -0
  56. package/package.json +1 -1
  57. package/src/abi/pancakeswap-v3/PancakeswapV3Factory.abi.json +300 -0
  58. package/src/dex/algebra/algebra-factory.ts +70 -0
  59. package/src/dex/algebra/algebra.ts +47 -6
  60. package/src/dex/algebra/config.ts +0 -1
  61. package/src/dex/algebra/types.ts +2 -1
  62. package/src/dex/index.ts +6 -3
  63. package/src/dex/pancakeswap-v3/pancakeswap-v3-factory.ts +73 -0
  64. package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +50 -2
  65. package/src/dex/uniswap-v3/config.ts +0 -2
  66. package/src/dex/uniswap-v3/types.ts +2 -2
  67. package/src/dex/uniswap-v3/uniswap-v3-factory.ts +73 -0
  68. package/src/dex/uniswap-v3/uniswap-v3-pool.ts +4 -6
  69. package/src/dex/uniswap-v3/uniswap-v3.ts +67 -27
  70. package/src/dex-helper/dummy-dex-helper.ts +4 -0
  71. package/src/dex-helper/icache.ts +2 -0
  72. package/.idea/aws.xml +0 -17
  73. package/.idea/codeStyles/Project.xml +0 -19
  74. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  75. package/.idea/misc.xml +0 -6
  76. package/.idea/modules.xml +0 -8
  77. package/.idea/paraswap-dex-lib.iml +0 -9
  78. package/.idea/vcs.xml +0 -6
  79. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  80. package/build/abi/curve-v1/StableSwapFRXETH.json +0 -889
  81. package/build/abi/curve-v1/StableSwapWBETH.json +0 -1223
  82. package/build/abi/dexalot/DexalotMainnetRFQ.json +0 -887
  83. package/build/abi/ramses-v2/RamsesV2Pool.abi.json +0 -1580
  84. package/build/abi/sushiswap-v3/QuoterV2.json +0 -267
  85. package/build/abi/sushiswap-v3/RouterProcessor3.json +0 -289
  86. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +0 -193
  87. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +0 -285
  88. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +0 -583
  89. package/build/abi/wBETH.json +0 -1527
  90. package/build/abi/woo-fi/WooFeeManager.abi.json +0 -318
  91. package/build/abi/woo-fi/WooPP.abi.json +0 -548
  92. package/build/abi/woo-fi/Wooracle.abi.json +0 -260
  93. package/build/dex/aave-v3/tokens/arbitrum.json +0 -50
  94. package/build/dex/aave-v3/tokens/avalanche.json +0 -74
  95. package/build/dex/aave-v3/tokens/fantom.json +0 -62
  96. package/build/dex/aave-v3/tokens/optimism.json +0 -50
  97. package/build/dex/aave-v3/tokens/polygon.json +0 -116
  98. package/build/dex/algebra/algebra-pool.d.ts +0 -46
  99. package/build/dex/algebra/algebra-pool.js +0 -336
  100. package/build/dex/algebra/algebra-pool.js.map +0 -1
  101. package/build/dex/balancer-v2/LinearMath.d.ts +0 -19
  102. package/build/dex/balancer-v2/LinearMath.js +0 -179
  103. package/build/dex/balancer-v2/LinearMath.js.map +0 -1
  104. package/build/dex/balancer-v2/LinearPool.d.ts +0 -47
  105. package/build/dex/balancer-v2/LinearPool.js +0 -324
  106. package/build/dex/balancer-v2/LinearPool.js.map +0 -1
  107. package/build/dex/balancer-v2/PhantomStablePool.d.ts +0 -47
  108. package/build/dex/balancer-v2/PhantomStablePool.js +0 -294
  109. package/build/dex/balancer-v2/PhantomStablePool.js.map +0 -1
  110. package/build/dex/balancer-v2/StableMath.d.ts +0 -9
  111. package/build/dex/balancer-v2/StableMath.js +0 -272
  112. package/build/dex/balancer-v2/StableMath.js.map +0 -1
  113. package/build/dex/balancer-v2/balancer-v2-pool.d.ts +0 -75
  114. package/build/dex/balancer-v2/balancer-v2-pool.js +0 -417
  115. package/build/dex/balancer-v2/balancer-v2-pool.js.map +0 -1
  116. package/build/dex/curve-v1/pools/frxETHpool.d.ts +0 -7
  117. package/build/dex/curve-v1/pools/frxETHpool.js +0 -27
  118. package/build/dex/curve-v1/pools/frxETHpool.js.map +0 -1
  119. package/build/dex/curve-v1/pools/wbETHpool.d.ts +0 -29
  120. package/build/dex/curve-v1/pools/wbETHpool.js +0 -408
  121. package/build/dex/curve-v1/pools/wbETHpool.js.map +0 -1
  122. package/build/dex/dexalot/config.js +0 -18
  123. package/build/dex/dexalot/config.js.map +0 -1
  124. package/build/dex/dexalot/constants.d.ts +0 -15
  125. package/build/dex/dexalot/constants.js +0 -22
  126. package/build/dex/dexalot/constants.js.map +0 -1
  127. package/build/dex/dexalot/dexalot.d.ts +0 -69
  128. package/build/dex/dexalot/dexalot.js +0 -646
  129. package/build/dex/dexalot/dexalot.js.map +0 -1
  130. package/build/dex/dexalot/rate-fetcher.d.ts +0 -28
  131. package/build/dex/dexalot/rate-fetcher.js +0 -100
  132. package/build/dex/dexalot/rate-fetcher.js.map +0 -1
  133. package/build/dex/dexalot/types.d.ts +0 -114
  134. package/build/dex/dexalot/types.js +0 -12
  135. package/build/dex/dexalot/types.js.map +0 -1
  136. package/build/dex/dexalot/validators.d.ts +0 -5
  137. package/build/dex/dexalot/validators.js +0 -45
  138. package/build/dex/dexalot/validators.js.map +0 -1
  139. package/build/dex/pancakeswap-v3/types.d.ts +0 -14
  140. package/build/dex/quickswap/camelot-v3.d.ts +0 -6
  141. package/build/dex/quickswap/camelot-v3.js +0 -19
  142. package/build/dex/quickswap/camelot-v3.js.map +0 -1
  143. package/build/dex/quickswap/zyberswap-v3.d.ts +0 -6
  144. package/build/dex/quickswap/zyberswap-v3.js +0 -19
  145. package/build/dex/quickswap/zyberswap-v3.js.map +0 -1
  146. package/build/dex/quickswap-v3.d.ts +0 -21
  147. package/build/dex/quickswap-v3.js +0 -40
  148. package/build/dex/quickswap-v3.js.map +0 -1
  149. package/build/dex/ramses-v2/config.d.ts +0 -4
  150. package/build/dex/ramses-v2/config.js +0 -28
  151. package/build/dex/ramses-v2/config.js.map +0 -1
  152. package/build/dex/ramses-v2/constants.d.ts +0 -28
  153. package/build/dex/ramses-v2/constants.js +0 -35
  154. package/build/dex/ramses-v2/constants.js.map +0 -1
  155. package/build/dex/ramses-v2/contract-math/BitMath.d.ts +0 -4
  156. package/build/dex/ramses-v2/contract-math/BitMath.js +0 -93
  157. package/build/dex/ramses-v2/contract-math/BitMath.js.map +0 -1
  158. package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +0 -3
  159. package/build/dex/ramses-v2/contract-math/FixedPoint128.js +0 -8
  160. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +0 -1
  161. package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +0 -4
  162. package/build/dex/ramses-v2/contract-math/FixedPoint96.js +0 -9
  163. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +0 -1
  164. package/build/dex/ramses-v2/contract-math/FullMath.d.ts +0 -4
  165. package/build/dex/ramses-v2/contract-math/FullMath.js +0 -19
  166. package/build/dex/ramses-v2/contract-math/FullMath.js.map +0 -1
  167. package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +0 -3
  168. package/build/dex/ramses-v2/contract-math/LiquidityMath.js +0 -22
  169. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +0 -1
  170. package/build/dex/ramses-v2/contract-math/Oracle.d.ts +0 -10
  171. package/build/dex/ramses-v2/contract-math/Oracle.js +0 -133
  172. package/build/dex/ramses-v2/contract-math/Oracle.js.map +0 -1
  173. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +0 -10
  174. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +0 -91
  175. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +0 -1
  176. package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +0 -8
  177. package/build/dex/ramses-v2/contract-math/SwapMath.js +0 -70
  178. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +0 -1
  179. package/build/dex/ramses-v2/contract-math/Tick.d.ts +0 -7
  180. package/build/dex/ramses-v2/contract-math/Tick.js +0 -45
  181. package/build/dex/ramses-v2/contract-math/Tick.js.map +0 -1
  182. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +0 -8
  183. package/build/dex/ramses-v2/contract-math/TickBitMap.js +0 -87
  184. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +0 -1
  185. package/build/dex/ramses-v2/contract-math/TickMath.d.ts +0 -8
  186. package/build/dex/ramses-v2/contract-math/TickMath.js +0 -162
  187. package/build/dex/ramses-v2/contract-math/TickMath.js.map +0 -1
  188. package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +0 -3
  189. package/build/dex/ramses-v2/contract-math/UnsafeMath.js +0 -10
  190. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +0 -1
  191. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +0 -18
  192. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +0 -392
  193. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +0 -1
  194. package/build/dex/ramses-v2/contract-math/utils.d.ts +0 -3
  195. package/build/dex/ramses-v2/contract-math/utils.js +0 -16
  196. package/build/dex/ramses-v2/contract-math/utils.js.map +0 -1
  197. package/build/dex/ramses-v2/ramses-v2-pool.d.ts +0 -42
  198. package/build/dex/ramses-v2/ramses-v2-pool.js +0 -307
  199. package/build/dex/ramses-v2/ramses-v2-pool.js.map +0 -1
  200. package/build/dex/ramses-v2/ramses-v2.d.ts +0 -61
  201. package/build/dex/ramses-v2/ramses-v2.js +0 -690
  202. package/build/dex/ramses-v2/ramses-v2.js.map +0 -1
  203. package/build/dex/ramses-v2/types.d.ts +0 -154
  204. package/build/dex/ramses-v2/types.js +0 -9
  205. package/build/dex/ramses-v2/types.js.map +0 -1
  206. package/build/dex/ramses-v2/utils.d.ts +0 -6
  207. package/build/dex/ramses-v2/utils.js +0 -71
  208. package/build/dex/ramses-v2/utils.js.map +0 -1
  209. package/build/dex/sushiswap-v3/config.d.ts +0 -4
  210. package/build/dex/sushiswap-v3/config.js +0 -132
  211. package/build/dex/sushiswap-v3/config.js.map +0 -1
  212. package/build/dex/sushiswap-v3/constants.d.ts +0 -4
  213. package/build/dex/sushiswap-v3/constants.js +0 -32
  214. package/build/dex/sushiswap-v3/constants.js.map +0 -1
  215. package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +0 -56
  216. package/build/dex/sushiswap-v3/sushiswap-v3-original.js +0 -598
  217. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +0 -1
  218. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +0 -1
  219. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +0 -6
  220. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +0 -1
  221. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +0 -21
  222. package/build/dex/sushiswap-v3/sushiswap-v3.js +0 -58
  223. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +0 -1
  224. package/build/dex/sushiswap-v3/token.d.ts +0 -6
  225. package/build/dex/sushiswap-v3/token.js +0 -23
  226. package/build/dex/sushiswap-v3/token.js.map +0 -1
  227. package/build/dex/sushiswap-v3/types.d.ts +0 -15
  228. package/build/dex/sushiswap-v3/types.js +0 -18
  229. package/build/dex/sushiswap-v3/types.js.map +0 -1
  230. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +0 -12
  231. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +0 -23
  232. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +0 -1
  233. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.d.ts +0 -7
  234. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.js +0 -87
  235. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.js.map +0 -1
  236. package/build/dex/woo-fi/config.js +0 -141
  237. package/build/dex/woo-fi/config.js.map +0 -1
  238. package/build/dex/woo-fi/constants.d.ts +0 -5
  239. package/build/dex/woo-fi/constants.js +0 -20
  240. package/build/dex/woo-fi/constants.js.map +0 -1
  241. package/build/dex/woo-fi/types.d.ts +0 -48
  242. package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +0 -14
  243. package/build/dex/woo-fi/woo-fi-decimal-math.js +0 -42
  244. package/build/dex/woo-fi/woo-fi-decimal-math.js.map +0 -1
  245. package/build/dex/woo-fi/woo-fi-math.d.ts +0 -31
  246. package/build/dex/woo-fi/woo-fi-math.js +0 -300
  247. package/build/dex/woo-fi/woo-fi-math.js.map +0 -1
  248. package/build/dex/woo-fi/woo-fi.d.ts +0 -65
  249. package/build/dex/woo-fi/woo-fi.js +0 -480
  250. package/build/dex/woo-fi/woo-fi.js.map +0 -1
  251. package/src/abi/ramses-v2/RamsesV2Pool.abi.json +0 -1580
  252. package/src/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.ts +0 -104
  253. /package/build/dex/{pancakeswap-v3 → hello}/types.js +0 -0
  254. /package/build/dex/{woo-fi → my-test-dex}/types.js +0 -0
@@ -1,1580 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "anonymous": false,
9
- "inputs": [
10
- {
11
- "indexed": true,
12
- "internalType": "address",
13
- "name": "owner",
14
- "type": "address"
15
- },
16
- {
17
- "indexed": true,
18
- "internalType": "int24",
19
- "name": "tickLower",
20
- "type": "int24"
21
- },
22
- {
23
- "indexed": true,
24
- "internalType": "int24",
25
- "name": "tickUpper",
26
- "type": "int24"
27
- },
28
- {
29
- "indexed": false,
30
- "internalType": "uint128",
31
- "name": "amount",
32
- "type": "uint128"
33
- },
34
- {
35
- "indexed": false,
36
- "internalType": "uint256",
37
- "name": "amount0",
38
- "type": "uint256"
39
- },
40
- {
41
- "indexed": false,
42
- "internalType": "uint256",
43
- "name": "amount1",
44
- "type": "uint256"
45
- }
46
- ],
47
- "name": "Burn",
48
- "type": "event"
49
- },
50
- {
51
- "anonymous": false,
52
- "inputs": [
53
- {
54
- "indexed": true,
55
- "internalType": "address",
56
- "name": "owner",
57
- "type": "address"
58
- },
59
- {
60
- "indexed": false,
61
- "internalType": "address",
62
- "name": "recipient",
63
- "type": "address"
64
- },
65
- {
66
- "indexed": true,
67
- "internalType": "int24",
68
- "name": "tickLower",
69
- "type": "int24"
70
- },
71
- {
72
- "indexed": true,
73
- "internalType": "int24",
74
- "name": "tickUpper",
75
- "type": "int24"
76
- },
77
- {
78
- "indexed": false,
79
- "internalType": "uint128",
80
- "name": "amount0",
81
- "type": "uint128"
82
- },
83
- {
84
- "indexed": false,
85
- "internalType": "uint128",
86
- "name": "amount1",
87
- "type": "uint128"
88
- }
89
- ],
90
- "name": "Collect",
91
- "type": "event"
92
- },
93
- {
94
- "anonymous": false,
95
- "inputs": [
96
- {
97
- "indexed": true,
98
- "internalType": "address",
99
- "name": "sender",
100
- "type": "address"
101
- },
102
- {
103
- "indexed": true,
104
- "internalType": "address",
105
- "name": "recipient",
106
- "type": "address"
107
- },
108
- {
109
- "indexed": false,
110
- "internalType": "uint128",
111
- "name": "amount0",
112
- "type": "uint128"
113
- },
114
- {
115
- "indexed": false,
116
- "internalType": "uint128",
117
- "name": "amount1",
118
- "type": "uint128"
119
- }
120
- ],
121
- "name": "CollectProtocol",
122
- "type": "event"
123
- },
124
- {
125
- "anonymous": false,
126
- "inputs": [
127
- {
128
- "indexed": true,
129
- "internalType": "address",
130
- "name": "sender",
131
- "type": "address"
132
- },
133
- {
134
- "indexed": true,
135
- "internalType": "address",
136
- "name": "recipient",
137
- "type": "address"
138
- },
139
- {
140
- "indexed": false,
141
- "internalType": "uint256",
142
- "name": "amount0",
143
- "type": "uint256"
144
- },
145
- {
146
- "indexed": false,
147
- "internalType": "uint256",
148
- "name": "amount1",
149
- "type": "uint256"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "uint256",
154
- "name": "paid0",
155
- "type": "uint256"
156
- },
157
- {
158
- "indexed": false,
159
- "internalType": "uint256",
160
- "name": "paid1",
161
- "type": "uint256"
162
- }
163
- ],
164
- "name": "Flash",
165
- "type": "event"
166
- },
167
- {
168
- "anonymous": false,
169
- "inputs": [
170
- {
171
- "indexed": false,
172
- "internalType": "uint16",
173
- "name": "observationCardinalityNextOld",
174
- "type": "uint16"
175
- },
176
- {
177
- "indexed": false,
178
- "internalType": "uint16",
179
- "name": "observationCardinalityNextNew",
180
- "type": "uint16"
181
- }
182
- ],
183
- "name": "IncreaseObservationCardinalityNext",
184
- "type": "event"
185
- },
186
- {
187
- "anonymous": false,
188
- "inputs": [
189
- {
190
- "indexed": false,
191
- "internalType": "uint160",
192
- "name": "sqrtPriceX96",
193
- "type": "uint160"
194
- },
195
- {
196
- "indexed": false,
197
- "internalType": "int24",
198
- "name": "tick",
199
- "type": "int24"
200
- }
201
- ],
202
- "name": "Initialize",
203
- "type": "event"
204
- },
205
- {
206
- "anonymous": false,
207
- "inputs": [
208
- {
209
- "indexed": false,
210
- "internalType": "address",
211
- "name": "sender",
212
- "type": "address"
213
- },
214
- {
215
- "indexed": true,
216
- "internalType": "address",
217
- "name": "owner",
218
- "type": "address"
219
- },
220
- {
221
- "indexed": true,
222
- "internalType": "int24",
223
- "name": "tickLower",
224
- "type": "int24"
225
- },
226
- {
227
- "indexed": true,
228
- "internalType": "int24",
229
- "name": "tickUpper",
230
- "type": "int24"
231
- },
232
- {
233
- "indexed": false,
234
- "internalType": "uint128",
235
- "name": "amount",
236
- "type": "uint128"
237
- },
238
- {
239
- "indexed": false,
240
- "internalType": "uint256",
241
- "name": "amount0",
242
- "type": "uint256"
243
- },
244
- {
245
- "indexed": false,
246
- "internalType": "uint256",
247
- "name": "amount1",
248
- "type": "uint256"
249
- }
250
- ],
251
- "name": "Mint",
252
- "type": "event"
253
- },
254
- {
255
- "anonymous": false,
256
- "inputs": [
257
- {
258
- "indexed": false,
259
- "internalType": "uint8",
260
- "name": "feeProtocol0Old",
261
- "type": "uint8"
262
- },
263
- {
264
- "indexed": false,
265
- "internalType": "uint8",
266
- "name": "feeProtocol1Old",
267
- "type": "uint8"
268
- },
269
- {
270
- "indexed": false,
271
- "internalType": "uint8",
272
- "name": "feeProtocol0New",
273
- "type": "uint8"
274
- },
275
- {
276
- "indexed": false,
277
- "internalType": "uint8",
278
- "name": "feeProtocol1New",
279
- "type": "uint8"
280
- }
281
- ],
282
- "name": "SetFeeProtocol",
283
- "type": "event"
284
- },
285
- {
286
- "anonymous": false,
287
- "inputs": [
288
- {
289
- "indexed": true,
290
- "internalType": "address",
291
- "name": "sender",
292
- "type": "address"
293
- },
294
- {
295
- "indexed": true,
296
- "internalType": "address",
297
- "name": "recipient",
298
- "type": "address"
299
- },
300
- {
301
- "indexed": false,
302
- "internalType": "int256",
303
- "name": "amount0",
304
- "type": "int256"
305
- },
306
- {
307
- "indexed": false,
308
- "internalType": "int256",
309
- "name": "amount1",
310
- "type": "int256"
311
- },
312
- {
313
- "indexed": false,
314
- "internalType": "uint160",
315
- "name": "sqrtPriceX96",
316
- "type": "uint160"
317
- },
318
- {
319
- "indexed": false,
320
- "internalType": "uint128",
321
- "name": "liquidity",
322
- "type": "uint128"
323
- },
324
- {
325
- "indexed": false,
326
- "internalType": "int24",
327
- "name": "tick",
328
- "type": "int24"
329
- }
330
- ],
331
- "name": "Swap",
332
- "type": "event"
333
- },
334
- {
335
- "inputs": [
336
- {
337
- "internalType": "uint256",
338
- "name": "period",
339
- "type": "uint256"
340
- }
341
- ],
342
- "name": "boostInfos",
343
- "outputs": [
344
- {
345
- "internalType": "uint128",
346
- "name": "totalBoostAmount",
347
- "type": "uint128"
348
- },
349
- {
350
- "internalType": "int128",
351
- "name": "totalVeRamAmount",
352
- "type": "int128"
353
- }
354
- ],
355
- "stateMutability": "view",
356
- "type": "function"
357
- },
358
- {
359
- "inputs": [
360
- {
361
- "internalType": "uint256",
362
- "name": "period",
363
- "type": "uint256"
364
- },
365
- {
366
- "internalType": "bytes32",
367
- "name": "key",
368
- "type": "bytes32"
369
- }
370
- ],
371
- "name": "boostInfos",
372
- "outputs": [
373
- {
374
- "internalType": "uint128",
375
- "name": "boostAmount",
376
- "type": "uint128"
377
- },
378
- {
379
- "internalType": "int128",
380
- "name": "veRamAmount",
381
- "type": "int128"
382
- },
383
- {
384
- "internalType": "int256",
385
- "name": "secondsDebtX96",
386
- "type": "int256"
387
- },
388
- {
389
- "internalType": "int256",
390
- "name": "boostedSecondsDebtX96",
391
- "type": "int256"
392
- }
393
- ],
394
- "stateMutability": "view",
395
- "type": "function"
396
- },
397
- {
398
- "inputs": [],
399
- "name": "boostedLiquidity",
400
- "outputs": [
401
- {
402
- "internalType": "uint128",
403
- "name": "",
404
- "type": "uint128"
405
- }
406
- ],
407
- "stateMutability": "view",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [
412
- {
413
- "internalType": "uint256",
414
- "name": "index",
415
- "type": "uint256"
416
- },
417
- {
418
- "internalType": "int24",
419
- "name": "tickLower",
420
- "type": "int24"
421
- },
422
- {
423
- "internalType": "int24",
424
- "name": "tickUpper",
425
- "type": "int24"
426
- },
427
- {
428
- "internalType": "uint128",
429
- "name": "amount",
430
- "type": "uint128"
431
- }
432
- ],
433
- "name": "burn",
434
- "outputs": [
435
- {
436
- "internalType": "uint256",
437
- "name": "amount0",
438
- "type": "uint256"
439
- },
440
- {
441
- "internalType": "uint256",
442
- "name": "amount1",
443
- "type": "uint256"
444
- }
445
- ],
446
- "stateMutability": "nonpayable",
447
- "type": "function"
448
- },
449
- {
450
- "inputs": [
451
- {
452
- "internalType": "int24",
453
- "name": "tickLower",
454
- "type": "int24"
455
- },
456
- {
457
- "internalType": "int24",
458
- "name": "tickUpper",
459
- "type": "int24"
460
- },
461
- {
462
- "internalType": "uint128",
463
- "name": "amount",
464
- "type": "uint128"
465
- }
466
- ],
467
- "name": "burn",
468
- "outputs": [
469
- {
470
- "internalType": "uint256",
471
- "name": "amount0",
472
- "type": "uint256"
473
- },
474
- {
475
- "internalType": "uint256",
476
- "name": "amount1",
477
- "type": "uint256"
478
- }
479
- ],
480
- "stateMutability": "nonpayable",
481
- "type": "function"
482
- },
483
- {
484
- "inputs": [
485
- {
486
- "internalType": "uint256",
487
- "name": "index",
488
- "type": "uint256"
489
- },
490
- {
491
- "internalType": "int24",
492
- "name": "tickLower",
493
- "type": "int24"
494
- },
495
- {
496
- "internalType": "int24",
497
- "name": "tickUpper",
498
- "type": "int24"
499
- },
500
- {
501
- "internalType": "uint128",
502
- "name": "amount",
503
- "type": "uint128"
504
- },
505
- {
506
- "internalType": "uint256",
507
- "name": "veRamTokenId",
508
- "type": "uint256"
509
- }
510
- ],
511
- "name": "burn",
512
- "outputs": [
513
- {
514
- "internalType": "uint256",
515
- "name": "amount0",
516
- "type": "uint256"
517
- },
518
- {
519
- "internalType": "uint256",
520
- "name": "amount1",
521
- "type": "uint256"
522
- }
523
- ],
524
- "stateMutability": "nonpayable",
525
- "type": "function"
526
- },
527
- {
528
- "inputs": [
529
- {
530
- "internalType": "address",
531
- "name": "recipient",
532
- "type": "address"
533
- },
534
- {
535
- "internalType": "int24",
536
- "name": "tickLower",
537
- "type": "int24"
538
- },
539
- {
540
- "internalType": "int24",
541
- "name": "tickUpper",
542
- "type": "int24"
543
- },
544
- {
545
- "internalType": "uint128",
546
- "name": "amount0Requested",
547
- "type": "uint128"
548
- },
549
- {
550
- "internalType": "uint128",
551
- "name": "amount1Requested",
552
- "type": "uint128"
553
- }
554
- ],
555
- "name": "collect",
556
- "outputs": [
557
- {
558
- "internalType": "uint128",
559
- "name": "amount0",
560
- "type": "uint128"
561
- },
562
- {
563
- "internalType": "uint128",
564
- "name": "amount1",
565
- "type": "uint128"
566
- }
567
- ],
568
- "stateMutability": "nonpayable",
569
- "type": "function"
570
- },
571
- {
572
- "inputs": [
573
- {
574
- "internalType": "address",
575
- "name": "recipient",
576
- "type": "address"
577
- },
578
- {
579
- "internalType": "uint256",
580
- "name": "index",
581
- "type": "uint256"
582
- },
583
- {
584
- "internalType": "int24",
585
- "name": "tickLower",
586
- "type": "int24"
587
- },
588
- {
589
- "internalType": "int24",
590
- "name": "tickUpper",
591
- "type": "int24"
592
- },
593
- {
594
- "internalType": "uint128",
595
- "name": "amount0Requested",
596
- "type": "uint128"
597
- },
598
- {
599
- "internalType": "uint128",
600
- "name": "amount1Requested",
601
- "type": "uint128"
602
- }
603
- ],
604
- "name": "collect",
605
- "outputs": [
606
- {
607
- "internalType": "uint128",
608
- "name": "amount0",
609
- "type": "uint128"
610
- },
611
- {
612
- "internalType": "uint128",
613
- "name": "amount1",
614
- "type": "uint128"
615
- }
616
- ],
617
- "stateMutability": "nonpayable",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "address",
624
- "name": "recipient",
625
- "type": "address"
626
- },
627
- {
628
- "internalType": "uint128",
629
- "name": "amount0Requested",
630
- "type": "uint128"
631
- },
632
- {
633
- "internalType": "uint128",
634
- "name": "amount1Requested",
635
- "type": "uint128"
636
- }
637
- ],
638
- "name": "collectProtocol",
639
- "outputs": [
640
- {
641
- "internalType": "uint128",
642
- "name": "amount0",
643
- "type": "uint128"
644
- },
645
- {
646
- "internalType": "uint128",
647
- "name": "amount1",
648
- "type": "uint128"
649
- }
650
- ],
651
- "stateMutability": "nonpayable",
652
- "type": "function"
653
- },
654
- {
655
- "inputs": [],
656
- "name": "currentFee",
657
- "outputs": [
658
- {
659
- "internalType": "uint24",
660
- "name": "",
661
- "type": "uint24"
662
- }
663
- ],
664
- "stateMutability": "view",
665
- "type": "function"
666
- },
667
- {
668
- "inputs": [],
669
- "name": "factory",
670
- "outputs": [
671
- {
672
- "internalType": "address",
673
- "name": "",
674
- "type": "address"
675
- }
676
- ],
677
- "stateMutability": "view",
678
- "type": "function"
679
- },
680
- {
681
- "inputs": [],
682
- "name": "fee",
683
- "outputs": [
684
- {
685
- "internalType": "uint24",
686
- "name": "",
687
- "type": "uint24"
688
- }
689
- ],
690
- "stateMutability": "view",
691
- "type": "function"
692
- },
693
- {
694
- "inputs": [],
695
- "name": "feeGrowthGlobal0X128",
696
- "outputs": [
697
- {
698
- "internalType": "uint256",
699
- "name": "",
700
- "type": "uint256"
701
- }
702
- ],
703
- "stateMutability": "view",
704
- "type": "function"
705
- },
706
- {
707
- "inputs": [],
708
- "name": "feeGrowthGlobal1X128",
709
- "outputs": [
710
- {
711
- "internalType": "uint256",
712
- "name": "",
713
- "type": "uint256"
714
- }
715
- ],
716
- "stateMutability": "view",
717
- "type": "function"
718
- },
719
- {
720
- "inputs": [
721
- {
722
- "internalType": "address",
723
- "name": "recipient",
724
- "type": "address"
725
- },
726
- {
727
- "internalType": "uint256",
728
- "name": "amount0",
729
- "type": "uint256"
730
- },
731
- {
732
- "internalType": "uint256",
733
- "name": "amount1",
734
- "type": "uint256"
735
- },
736
- {
737
- "internalType": "bytes",
738
- "name": "data",
739
- "type": "bytes"
740
- }
741
- ],
742
- "name": "flash",
743
- "outputs": [],
744
- "stateMutability": "nonpayable",
745
- "type": "function"
746
- },
747
- {
748
- "inputs": [
749
- {
750
- "internalType": "uint16",
751
- "name": "observationCardinalityNext",
752
- "type": "uint16"
753
- }
754
- ],
755
- "name": "increaseObservationCardinalityNext",
756
- "outputs": [],
757
- "stateMutability": "nonpayable",
758
- "type": "function"
759
- },
760
- {
761
- "inputs": [
762
- {
763
- "internalType": "address",
764
- "name": "_factory",
765
- "type": "address"
766
- },
767
- {
768
- "internalType": "address",
769
- "name": "_nfpManager",
770
- "type": "address"
771
- },
772
- {
773
- "internalType": "address",
774
- "name": "_veRam",
775
- "type": "address"
776
- },
777
- {
778
- "internalType": "address",
779
- "name": "_voter",
780
- "type": "address"
781
- },
782
- {
783
- "internalType": "address",
784
- "name": "_token0",
785
- "type": "address"
786
- },
787
- {
788
- "internalType": "address",
789
- "name": "_token1",
790
- "type": "address"
791
- },
792
- {
793
- "internalType": "uint24",
794
- "name": "_fee",
795
- "type": "uint24"
796
- },
797
- {
798
- "internalType": "int24",
799
- "name": "_tickSpacing",
800
- "type": "int24"
801
- }
802
- ],
803
- "name": "initialize",
804
- "outputs": [],
805
- "stateMutability": "nonpayable",
806
- "type": "function"
807
- },
808
- {
809
- "inputs": [
810
- {
811
- "internalType": "uint160",
812
- "name": "sqrtPriceX96",
813
- "type": "uint160"
814
- }
815
- ],
816
- "name": "initialize",
817
- "outputs": [],
818
- "stateMutability": "nonpayable",
819
- "type": "function"
820
- },
821
- {
822
- "inputs": [],
823
- "name": "lastPeriod",
824
- "outputs": [
825
- {
826
- "internalType": "uint256",
827
- "name": "",
828
- "type": "uint256"
829
- }
830
- ],
831
- "stateMutability": "view",
832
- "type": "function"
833
- },
834
- {
835
- "inputs": [],
836
- "name": "liquidity",
837
- "outputs": [
838
- {
839
- "internalType": "uint128",
840
- "name": "",
841
- "type": "uint128"
842
- }
843
- ],
844
- "stateMutability": "view",
845
- "type": "function"
846
- },
847
- {
848
- "inputs": [],
849
- "name": "maxLiquidityPerTick",
850
- "outputs": [
851
- {
852
- "internalType": "uint128",
853
- "name": "",
854
- "type": "uint128"
855
- }
856
- ],
857
- "stateMutability": "view",
858
- "type": "function"
859
- },
860
- {
861
- "inputs": [
862
- {
863
- "internalType": "address",
864
- "name": "recipient",
865
- "type": "address"
866
- },
867
- {
868
- "internalType": "int24",
869
- "name": "tickLower",
870
- "type": "int24"
871
- },
872
- {
873
- "internalType": "int24",
874
- "name": "tickUpper",
875
- "type": "int24"
876
- },
877
- {
878
- "internalType": "uint128",
879
- "name": "amount",
880
- "type": "uint128"
881
- },
882
- {
883
- "internalType": "bytes",
884
- "name": "data",
885
- "type": "bytes"
886
- }
887
- ],
888
- "name": "mint",
889
- "outputs": [
890
- {
891
- "internalType": "uint256",
892
- "name": "amount0",
893
- "type": "uint256"
894
- },
895
- {
896
- "internalType": "uint256",
897
- "name": "amount1",
898
- "type": "uint256"
899
- }
900
- ],
901
- "stateMutability": "nonpayable",
902
- "type": "function"
903
- },
904
- {
905
- "inputs": [
906
- {
907
- "internalType": "address",
908
- "name": "recipient",
909
- "type": "address"
910
- },
911
- {
912
- "internalType": "uint256",
913
- "name": "index",
914
- "type": "uint256"
915
- },
916
- {
917
- "internalType": "int24",
918
- "name": "tickLower",
919
- "type": "int24"
920
- },
921
- {
922
- "internalType": "int24",
923
- "name": "tickUpper",
924
- "type": "int24"
925
- },
926
- {
927
- "internalType": "uint128",
928
- "name": "amount",
929
- "type": "uint128"
930
- },
931
- {
932
- "internalType": "uint256",
933
- "name": "veRamTokenId",
934
- "type": "uint256"
935
- },
936
- {
937
- "internalType": "bytes",
938
- "name": "data",
939
- "type": "bytes"
940
- }
941
- ],
942
- "name": "mint",
943
- "outputs": [
944
- {
945
- "internalType": "uint256",
946
- "name": "amount0",
947
- "type": "uint256"
948
- },
949
- {
950
- "internalType": "uint256",
951
- "name": "amount1",
952
- "type": "uint256"
953
- }
954
- ],
955
- "stateMutability": "nonpayable",
956
- "type": "function"
957
- },
958
- {
959
- "inputs": [],
960
- "name": "nfpManager",
961
- "outputs": [
962
- {
963
- "internalType": "address",
964
- "name": "",
965
- "type": "address"
966
- }
967
- ],
968
- "stateMutability": "view",
969
- "type": "function"
970
- },
971
- {
972
- "inputs": [
973
- {
974
- "internalType": "uint256",
975
- "name": "index",
976
- "type": "uint256"
977
- }
978
- ],
979
- "name": "observations",
980
- "outputs": [
981
- {
982
- "internalType": "uint32",
983
- "name": "blockTimestamp",
984
- "type": "uint32"
985
- },
986
- {
987
- "internalType": "int56",
988
- "name": "tickCumulative",
989
- "type": "int56"
990
- },
991
- {
992
- "internalType": "uint160",
993
- "name": "secondsPerLiquidityCumulativeX128",
994
- "type": "uint160"
995
- },
996
- {
997
- "internalType": "bool",
998
- "name": "initialized",
999
- "type": "bool"
1000
- },
1001
- {
1002
- "internalType": "uint160",
1003
- "name": "secondsPerBoostedLiquidityPeriodX128",
1004
- "type": "uint160"
1005
- }
1006
- ],
1007
- "stateMutability": "view",
1008
- "type": "function"
1009
- },
1010
- {
1011
- "inputs": [
1012
- {
1013
- "internalType": "uint32[]",
1014
- "name": "secondsAgos",
1015
- "type": "uint32[]"
1016
- }
1017
- ],
1018
- "name": "observe",
1019
- "outputs": [
1020
- {
1021
- "internalType": "int56[]",
1022
- "name": "tickCumulatives",
1023
- "type": "int56[]"
1024
- },
1025
- {
1026
- "internalType": "uint160[]",
1027
- "name": "secondsPerLiquidityCumulativeX128s",
1028
- "type": "uint160[]"
1029
- },
1030
- {
1031
- "internalType": "uint160[]",
1032
- "name": "secondsPerBoostedLiquidityPeriodX128s",
1033
- "type": "uint160[]"
1034
- }
1035
- ],
1036
- "stateMutability": "view",
1037
- "type": "function"
1038
- },
1039
- {
1040
- "inputs": [
1041
- {
1042
- "internalType": "uint32",
1043
- "name": "period",
1044
- "type": "uint32"
1045
- },
1046
- {
1047
- "internalType": "int24",
1048
- "name": "tickLower",
1049
- "type": "int24"
1050
- },
1051
- {
1052
- "internalType": "int24",
1053
- "name": "tickUpper",
1054
- "type": "int24"
1055
- }
1056
- ],
1057
- "name": "periodCumulativesInside",
1058
- "outputs": [
1059
- {
1060
- "internalType": "uint160",
1061
- "name": "secondsPerLiquidityInsideX128",
1062
- "type": "uint160"
1063
- },
1064
- {
1065
- "internalType": "uint160",
1066
- "name": "secondsPerBoostedLiquidityInsideX128",
1067
- "type": "uint160"
1068
- }
1069
- ],
1070
- "stateMutability": "view",
1071
- "type": "function"
1072
- },
1073
- {
1074
- "inputs": [
1075
- {
1076
- "internalType": "uint256",
1077
- "name": "period",
1078
- "type": "uint256"
1079
- }
1080
- ],
1081
- "name": "periods",
1082
- "outputs": [
1083
- {
1084
- "internalType": "uint32",
1085
- "name": "previousPeriod",
1086
- "type": "uint32"
1087
- },
1088
- {
1089
- "internalType": "int24",
1090
- "name": "startTick",
1091
- "type": "int24"
1092
- },
1093
- {
1094
- "internalType": "int24",
1095
- "name": "lastTick",
1096
- "type": "int24"
1097
- },
1098
- {
1099
- "internalType": "uint160",
1100
- "name": "endSecondsPerLiquidityPeriodX128",
1101
- "type": "uint160"
1102
- },
1103
- {
1104
- "internalType": "uint160",
1105
- "name": "endSecondsPerBoostedLiquidityPeriodX128",
1106
- "type": "uint160"
1107
- },
1108
- {
1109
- "internalType": "uint32",
1110
- "name": "boostedInRange",
1111
- "type": "uint32"
1112
- }
1113
- ],
1114
- "stateMutability": "view",
1115
- "type": "function"
1116
- },
1117
- {
1118
- "inputs": [
1119
- {
1120
- "internalType": "uint256",
1121
- "name": "period",
1122
- "type": "uint256"
1123
- },
1124
- {
1125
- "internalType": "address",
1126
- "name": "owner",
1127
- "type": "address"
1128
- },
1129
- {
1130
- "internalType": "uint256",
1131
- "name": "index",
1132
- "type": "uint256"
1133
- },
1134
- {
1135
- "internalType": "int24",
1136
- "name": "tickLower",
1137
- "type": "int24"
1138
- },
1139
- {
1140
- "internalType": "int24",
1141
- "name": "tickUpper",
1142
- "type": "int24"
1143
- }
1144
- ],
1145
- "name": "positionPeriodDebt",
1146
- "outputs": [
1147
- {
1148
- "internalType": "int256",
1149
- "name": "secondsDebtX96",
1150
- "type": "int256"
1151
- },
1152
- {
1153
- "internalType": "int256",
1154
- "name": "boostedSecondsDebtX96",
1155
- "type": "int256"
1156
- }
1157
- ],
1158
- "stateMutability": "view",
1159
- "type": "function"
1160
- },
1161
- {
1162
- "inputs": [
1163
- {
1164
- "internalType": "uint256",
1165
- "name": "period",
1166
- "type": "uint256"
1167
- },
1168
- {
1169
- "internalType": "address",
1170
- "name": "owner",
1171
- "type": "address"
1172
- },
1173
- {
1174
- "internalType": "uint256",
1175
- "name": "index",
1176
- "type": "uint256"
1177
- },
1178
- {
1179
- "internalType": "int24",
1180
- "name": "tickLower",
1181
- "type": "int24"
1182
- },
1183
- {
1184
- "internalType": "int24",
1185
- "name": "tickUpper",
1186
- "type": "int24"
1187
- }
1188
- ],
1189
- "name": "positionPeriodSecondsInRange",
1190
- "outputs": [
1191
- {
1192
- "internalType": "uint256",
1193
- "name": "periodSecondsInsideX96",
1194
- "type": "uint256"
1195
- },
1196
- {
1197
- "internalType": "uint256",
1198
- "name": "periodBoostedSecondsInsideX96",
1199
- "type": "uint256"
1200
- }
1201
- ],
1202
- "stateMutability": "view",
1203
- "type": "function"
1204
- },
1205
- {
1206
- "inputs": [
1207
- {
1208
- "internalType": "bytes32",
1209
- "name": "key",
1210
- "type": "bytes32"
1211
- }
1212
- ],
1213
- "name": "positions",
1214
- "outputs": [
1215
- {
1216
- "internalType": "uint128",
1217
- "name": "liquidity",
1218
- "type": "uint128"
1219
- },
1220
- {
1221
- "internalType": "uint256",
1222
- "name": "feeGrowthInside0LastX128",
1223
- "type": "uint256"
1224
- },
1225
- {
1226
- "internalType": "uint256",
1227
- "name": "feeGrowthInside1LastX128",
1228
- "type": "uint256"
1229
- },
1230
- {
1231
- "internalType": "uint128",
1232
- "name": "tokensOwed0",
1233
- "type": "uint128"
1234
- },
1235
- {
1236
- "internalType": "uint128",
1237
- "name": "tokensOwed1",
1238
- "type": "uint128"
1239
- },
1240
- {
1241
- "internalType": "uint256",
1242
- "name": "attachedVeRamId",
1243
- "type": "uint256"
1244
- }
1245
- ],
1246
- "stateMutability": "view",
1247
- "type": "function"
1248
- },
1249
- {
1250
- "inputs": [],
1251
- "name": "protocolFees",
1252
- "outputs": [
1253
- {
1254
- "internalType": "uint128",
1255
- "name": "token0",
1256
- "type": "uint128"
1257
- },
1258
- {
1259
- "internalType": "uint128",
1260
- "name": "token1",
1261
- "type": "uint128"
1262
- }
1263
- ],
1264
- "stateMutability": "view",
1265
- "type": "function"
1266
- },
1267
- {
1268
- "inputs": [
1269
- {
1270
- "internalType": "bytes32[]",
1271
- "name": "slots",
1272
- "type": "bytes32[]"
1273
- }
1274
- ],
1275
- "name": "readStorage",
1276
- "outputs": [
1277
- {
1278
- "internalType": "bytes32[]",
1279
- "name": "returnData",
1280
- "type": "bytes32[]"
1281
- }
1282
- ],
1283
- "stateMutability": "view",
1284
- "type": "function"
1285
- },
1286
- {
1287
- "inputs": [
1288
- {
1289
- "internalType": "uint24",
1290
- "name": "_fee",
1291
- "type": "uint24"
1292
- }
1293
- ],
1294
- "name": "setFee",
1295
- "outputs": [],
1296
- "stateMutability": "nonpayable",
1297
- "type": "function"
1298
- },
1299
- {
1300
- "inputs": [],
1301
- "name": "setFeeProtocol",
1302
- "outputs": [],
1303
- "stateMutability": "nonpayable",
1304
- "type": "function"
1305
- },
1306
- {
1307
- "inputs": [],
1308
- "name": "slot0",
1309
- "outputs": [
1310
- {
1311
- "internalType": "uint160",
1312
- "name": "sqrtPriceX96",
1313
- "type": "uint160"
1314
- },
1315
- {
1316
- "internalType": "int24",
1317
- "name": "tick",
1318
- "type": "int24"
1319
- },
1320
- {
1321
- "internalType": "uint16",
1322
- "name": "observationIndex",
1323
- "type": "uint16"
1324
- },
1325
- {
1326
- "internalType": "uint16",
1327
- "name": "observationCardinality",
1328
- "type": "uint16"
1329
- },
1330
- {
1331
- "internalType": "uint16",
1332
- "name": "observationCardinalityNext",
1333
- "type": "uint16"
1334
- },
1335
- {
1336
- "internalType": "uint8",
1337
- "name": "feeProtocol",
1338
- "type": "uint8"
1339
- },
1340
- {
1341
- "internalType": "bool",
1342
- "name": "unlocked",
1343
- "type": "bool"
1344
- }
1345
- ],
1346
- "stateMutability": "view",
1347
- "type": "function"
1348
- },
1349
- {
1350
- "inputs": [
1351
- {
1352
- "internalType": "int24",
1353
- "name": "tickLower",
1354
- "type": "int24"
1355
- },
1356
- {
1357
- "internalType": "int24",
1358
- "name": "tickUpper",
1359
- "type": "int24"
1360
- }
1361
- ],
1362
- "name": "snapshotCumulativesInside",
1363
- "outputs": [
1364
- {
1365
- "internalType": "int56",
1366
- "name": "tickCumulativeInside",
1367
- "type": "int56"
1368
- },
1369
- {
1370
- "internalType": "uint160",
1371
- "name": "secondsPerLiquidityInsideX128",
1372
- "type": "uint160"
1373
- },
1374
- {
1375
- "internalType": "uint160",
1376
- "name": "secondsPerBoostedLiquidityInsideX128",
1377
- "type": "uint160"
1378
- },
1379
- {
1380
- "internalType": "uint32",
1381
- "name": "secondsInside",
1382
- "type": "uint32"
1383
- }
1384
- ],
1385
- "stateMutability": "view",
1386
- "type": "function"
1387
- },
1388
- {
1389
- "inputs": [
1390
- {
1391
- "internalType": "address",
1392
- "name": "recipient",
1393
- "type": "address"
1394
- },
1395
- {
1396
- "internalType": "bool",
1397
- "name": "zeroForOne",
1398
- "type": "bool"
1399
- },
1400
- {
1401
- "internalType": "int256",
1402
- "name": "amountSpecified",
1403
- "type": "int256"
1404
- },
1405
- {
1406
- "internalType": "uint160",
1407
- "name": "sqrtPriceLimitX96",
1408
- "type": "uint160"
1409
- },
1410
- {
1411
- "internalType": "bytes",
1412
- "name": "data",
1413
- "type": "bytes"
1414
- }
1415
- ],
1416
- "name": "swap",
1417
- "outputs": [
1418
- {
1419
- "internalType": "int256",
1420
- "name": "amount0",
1421
- "type": "int256"
1422
- },
1423
- {
1424
- "internalType": "int256",
1425
- "name": "amount1",
1426
- "type": "int256"
1427
- }
1428
- ],
1429
- "stateMutability": "nonpayable",
1430
- "type": "function"
1431
- },
1432
- {
1433
- "inputs": [
1434
- {
1435
- "internalType": "int16",
1436
- "name": "tick",
1437
- "type": "int16"
1438
- }
1439
- ],
1440
- "name": "tickBitmap",
1441
- "outputs": [
1442
- {
1443
- "internalType": "uint256",
1444
- "name": "",
1445
- "type": "uint256"
1446
- }
1447
- ],
1448
- "stateMutability": "view",
1449
- "type": "function"
1450
- },
1451
- {
1452
- "inputs": [],
1453
- "name": "tickSpacing",
1454
- "outputs": [
1455
- {
1456
- "internalType": "int24",
1457
- "name": "",
1458
- "type": "int24"
1459
- }
1460
- ],
1461
- "stateMutability": "view",
1462
- "type": "function"
1463
- },
1464
- {
1465
- "inputs": [
1466
- {
1467
- "internalType": "int24",
1468
- "name": "tick",
1469
- "type": "int24"
1470
- }
1471
- ],
1472
- "name": "ticks",
1473
- "outputs": [
1474
- {
1475
- "internalType": "uint128",
1476
- "name": "liquidityGross",
1477
- "type": "uint128"
1478
- },
1479
- {
1480
- "internalType": "int128",
1481
- "name": "liquidityNet",
1482
- "type": "int128"
1483
- },
1484
- {
1485
- "internalType": "uint128",
1486
- "name": "boostedLiquidityGross",
1487
- "type": "uint128"
1488
- },
1489
- {
1490
- "internalType": "int128",
1491
- "name": "boostedLiquidityNet",
1492
- "type": "int128"
1493
- },
1494
- {
1495
- "internalType": "uint256",
1496
- "name": "feeGrowthOutside0X128",
1497
- "type": "uint256"
1498
- },
1499
- {
1500
- "internalType": "uint256",
1501
- "name": "feeGrowthOutside1X128",
1502
- "type": "uint256"
1503
- },
1504
- {
1505
- "internalType": "int56",
1506
- "name": "tickCumulativeOutside",
1507
- "type": "int56"
1508
- },
1509
- {
1510
- "internalType": "uint160",
1511
- "name": "secondsPerLiquidityOutsideX128",
1512
- "type": "uint160"
1513
- },
1514
- {
1515
- "internalType": "uint32",
1516
- "name": "secondsOutside",
1517
- "type": "uint32"
1518
- },
1519
- {
1520
- "internalType": "bool",
1521
- "name": "initialized",
1522
- "type": "bool"
1523
- }
1524
- ],
1525
- "stateMutability": "view",
1526
- "type": "function"
1527
- },
1528
- {
1529
- "inputs": [],
1530
- "name": "token0",
1531
- "outputs": [
1532
- {
1533
- "internalType": "address",
1534
- "name": "",
1535
- "type": "address"
1536
- }
1537
- ],
1538
- "stateMutability": "view",
1539
- "type": "function"
1540
- },
1541
- {
1542
- "inputs": [],
1543
- "name": "token1",
1544
- "outputs": [
1545
- {
1546
- "internalType": "address",
1547
- "name": "",
1548
- "type": "address"
1549
- }
1550
- ],
1551
- "stateMutability": "view",
1552
- "type": "function"
1553
- },
1554
- {
1555
- "inputs": [],
1556
- "name": "veRam",
1557
- "outputs": [
1558
- {
1559
- "internalType": "address",
1560
- "name": "",
1561
- "type": "address"
1562
- }
1563
- ],
1564
- "stateMutability": "view",
1565
- "type": "function"
1566
- },
1567
- {
1568
- "inputs": [],
1569
- "name": "voter",
1570
- "outputs": [
1571
- {
1572
- "internalType": "address",
1573
- "name": "",
1574
- "type": "address"
1575
- }
1576
- ],
1577
- "stateMutability": "view",
1578
- "type": "function"
1579
- }
1580
- ]