@paraswap/dex-lib 2.37.1 → 2.37.2-current-fee-ramses-v2.2

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 (200) hide show
  1. package/.idea/aws.xml +17 -0
  2. package/.idea/codeStyles/Project.xml +19 -0
  3. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  4. package/.idea/misc.xml +6 -0
  5. package/.idea/modules.xml +8 -0
  6. package/.idea/paraswap-dex-lib.iml +9 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/build/abi/algebra/AlgebraPool.abi.json +727 -0
  9. package/build/abi/curve-v1/StableSwapFRXETH.json +889 -0
  10. package/build/abi/curve-v1/StableSwapWBETH.json +1223 -0
  11. package/build/abi/dexalot/DexalotMainnetRFQ.json +887 -0
  12. package/build/abi/ramses-v2/RamsesV2Pool.abi.json +1580 -0
  13. package/build/abi/sushiswap-v3/QuoterV2.json +267 -0
  14. package/build/abi/sushiswap-v3/RouterProcessor3.json +289 -0
  15. package/build/abi/uniswap-v3/UniswapV3Quoter.abi.json +193 -0
  16. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3QuoterV2.abi.json +285 -0
  17. package/build/abi/uniswap-v3/pancakeswap-v3/PancakeswapV3Router.abi.json +583 -0
  18. package/build/abi/wBETH.json +1527 -0
  19. package/build/abi/woo-fi/WooFeeManager.abi.json +318 -0
  20. package/build/abi/woo-fi/WooPP.abi.json +548 -0
  21. package/build/abi/woo-fi/Wooracle.abi.json +260 -0
  22. package/build/dex/aave-v3/tokens/arbitrum.json +50 -0
  23. package/build/dex/aave-v3/tokens/avalanche.json +74 -0
  24. package/build/dex/aave-v3/tokens/fantom.json +62 -0
  25. package/build/dex/aave-v3/tokens/optimism.json +50 -0
  26. package/build/dex/aave-v3/tokens/polygon.json +116 -0
  27. package/build/dex/algebra/algebra-pool.d.ts +46 -0
  28. package/build/dex/algebra/algebra-pool.js +336 -0
  29. package/build/dex/algebra/algebra-pool.js.map +1 -0
  30. package/build/dex/balancer-v2/LinearMath.d.ts +19 -0
  31. package/build/dex/balancer-v2/LinearMath.js +179 -0
  32. package/build/dex/balancer-v2/LinearMath.js.map +1 -0
  33. package/build/dex/balancer-v2/LinearPool.d.ts +47 -0
  34. package/build/dex/balancer-v2/LinearPool.js +324 -0
  35. package/build/dex/balancer-v2/LinearPool.js.map +1 -0
  36. package/build/dex/balancer-v2/PhantomStablePool.d.ts +47 -0
  37. package/build/dex/balancer-v2/PhantomStablePool.js +294 -0
  38. package/build/dex/balancer-v2/PhantomStablePool.js.map +1 -0
  39. package/build/dex/balancer-v2/StableMath.d.ts +9 -0
  40. package/build/dex/balancer-v2/StableMath.js +272 -0
  41. package/build/dex/balancer-v2/StableMath.js.map +1 -0
  42. package/build/dex/balancer-v2/balancer-v2-pool.d.ts +75 -0
  43. package/build/dex/balancer-v2/balancer-v2-pool.js +417 -0
  44. package/build/dex/balancer-v2/balancer-v2-pool.js.map +1 -0
  45. package/build/dex/curve-v1/pools/frxETHpool.d.ts +7 -0
  46. package/build/dex/curve-v1/pools/frxETHpool.js +27 -0
  47. package/build/dex/curve-v1/pools/frxETHpool.js.map +1 -0
  48. package/build/dex/curve-v1/pools/wbETHpool.d.ts +29 -0
  49. package/build/dex/curve-v1/pools/wbETHpool.js +408 -0
  50. package/build/dex/curve-v1/pools/wbETHpool.js.map +1 -0
  51. package/build/dex/dexalot/config.d.ts +4 -0
  52. package/build/dex/dexalot/config.js +18 -0
  53. package/build/dex/dexalot/config.js.map +1 -0
  54. package/build/dex/dexalot/constants.d.ts +15 -0
  55. package/build/dex/dexalot/constants.js +22 -0
  56. package/build/dex/dexalot/constants.js.map +1 -0
  57. package/build/dex/dexalot/dexalot.d.ts +69 -0
  58. package/build/dex/dexalot/dexalot.js +646 -0
  59. package/build/dex/dexalot/dexalot.js.map +1 -0
  60. package/build/dex/dexalot/rate-fetcher.d.ts +28 -0
  61. package/build/dex/dexalot/rate-fetcher.js +100 -0
  62. package/build/dex/dexalot/rate-fetcher.js.map +1 -0
  63. package/build/dex/dexalot/types.d.ts +114 -0
  64. package/build/dex/dexalot/types.js +12 -0
  65. package/build/dex/dexalot/types.js.map +1 -0
  66. package/build/dex/dexalot/validators.d.ts +5 -0
  67. package/build/dex/dexalot/validators.js +45 -0
  68. package/build/dex/dexalot/validators.js.map +1 -0
  69. package/build/dex/pancakeswap-v3/types.d.ts +14 -0
  70. package/build/dex/pancakeswap-v3/types.js +3 -0
  71. package/build/dex/pancakeswap-v3/types.js.map +1 -0
  72. package/build/dex/quickswap/camelot-v3.d.ts +6 -0
  73. package/build/dex/quickswap/camelot-v3.js +19 -0
  74. package/build/dex/quickswap/camelot-v3.js.map +1 -0
  75. package/build/dex/quickswap/zyberswap-v3.d.ts +6 -0
  76. package/build/dex/quickswap/zyberswap-v3.js +19 -0
  77. package/build/dex/quickswap/zyberswap-v3.js.map +1 -0
  78. package/build/dex/quickswap-v3.d.ts +21 -0
  79. package/build/dex/quickswap-v3.js +40 -0
  80. package/build/dex/quickswap-v3.js.map +1 -0
  81. package/build/dex/ramses-v2/config.d.ts +4 -0
  82. package/build/dex/ramses-v2/config.js +28 -0
  83. package/build/dex/ramses-v2/config.js.map +1 -0
  84. package/build/dex/ramses-v2/constants.d.ts +28 -0
  85. package/build/dex/ramses-v2/constants.js +35 -0
  86. package/build/dex/ramses-v2/constants.js.map +1 -0
  87. package/build/dex/ramses-v2/contract-math/BitMath.d.ts +4 -0
  88. package/build/dex/ramses-v2/contract-math/BitMath.js +93 -0
  89. package/build/dex/ramses-v2/contract-math/BitMath.js.map +1 -0
  90. package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +3 -0
  91. package/build/dex/ramses-v2/contract-math/FixedPoint128.js +8 -0
  92. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +1 -0
  93. package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +4 -0
  94. package/build/dex/ramses-v2/contract-math/FixedPoint96.js +9 -0
  95. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +1 -0
  96. package/build/dex/ramses-v2/contract-math/FullMath.d.ts +4 -0
  97. package/build/dex/ramses-v2/contract-math/FullMath.js +19 -0
  98. package/build/dex/ramses-v2/contract-math/FullMath.js.map +1 -0
  99. package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +3 -0
  100. package/build/dex/ramses-v2/contract-math/LiquidityMath.js +22 -0
  101. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +1 -0
  102. package/build/dex/ramses-v2/contract-math/Oracle.d.ts +10 -0
  103. package/build/dex/ramses-v2/contract-math/Oracle.js +133 -0
  104. package/build/dex/ramses-v2/contract-math/Oracle.js.map +1 -0
  105. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +10 -0
  106. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +91 -0
  107. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +1 -0
  108. package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +8 -0
  109. package/build/dex/ramses-v2/contract-math/SwapMath.js +70 -0
  110. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +1 -0
  111. package/build/dex/ramses-v2/contract-math/Tick.d.ts +7 -0
  112. package/build/dex/ramses-v2/contract-math/Tick.js +45 -0
  113. package/build/dex/ramses-v2/contract-math/Tick.js.map +1 -0
  114. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +8 -0
  115. package/build/dex/ramses-v2/contract-math/TickBitMap.js +87 -0
  116. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +1 -0
  117. package/build/dex/ramses-v2/contract-math/TickMath.d.ts +8 -0
  118. package/build/dex/ramses-v2/contract-math/TickMath.js +162 -0
  119. package/build/dex/ramses-v2/contract-math/TickMath.js.map +1 -0
  120. package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +3 -0
  121. package/build/dex/ramses-v2/contract-math/UnsafeMath.js +10 -0
  122. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +1 -0
  123. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +18 -0
  124. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +392 -0
  125. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +1 -0
  126. package/build/dex/ramses-v2/contract-math/utils.d.ts +3 -0
  127. package/build/dex/ramses-v2/contract-math/utils.js +16 -0
  128. package/build/dex/ramses-v2/contract-math/utils.js.map +1 -0
  129. package/build/dex/ramses-v2/ramses-v2-pool.d.ts +42 -0
  130. package/build/dex/ramses-v2/ramses-v2-pool.js +307 -0
  131. package/build/dex/ramses-v2/ramses-v2-pool.js.map +1 -0
  132. package/build/dex/ramses-v2/ramses-v2.d.ts +61 -0
  133. package/build/dex/ramses-v2/ramses-v2.js +690 -0
  134. package/build/dex/ramses-v2/ramses-v2.js.map +1 -0
  135. package/build/dex/ramses-v2/types.d.ts +154 -0
  136. package/build/dex/ramses-v2/types.js +9 -0
  137. package/build/dex/ramses-v2/types.js.map +1 -0
  138. package/build/dex/ramses-v2/utils.d.ts +6 -0
  139. package/build/dex/ramses-v2/utils.js +71 -0
  140. package/build/dex/ramses-v2/utils.js.map +1 -0
  141. package/build/dex/sushiswap-v3/config.d.ts +4 -0
  142. package/build/dex/sushiswap-v3/config.js +132 -0
  143. package/build/dex/sushiswap-v3/config.js.map +1 -0
  144. package/build/dex/sushiswap-v3/constants.d.ts +4 -0
  145. package/build/dex/sushiswap-v3/constants.js +32 -0
  146. package/build/dex/sushiswap-v3/constants.js.map +1 -0
  147. package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +56 -0
  148. package/build/dex/sushiswap-v3/sushiswap-v3-original.js +598 -0
  149. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +1 -0
  150. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +1 -0
  151. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +6 -0
  152. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +1 -0
  153. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +21 -0
  154. package/build/dex/sushiswap-v3/sushiswap-v3.js +58 -0
  155. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +1 -0
  156. package/build/dex/sushiswap-v3/token.d.ts +6 -0
  157. package/build/dex/sushiswap-v3/token.js +23 -0
  158. package/build/dex/sushiswap-v3/token.js.map +1 -0
  159. package/build/dex/sushiswap-v3/types.d.ts +15 -0
  160. package/build/dex/sushiswap-v3/types.js +18 -0
  161. package/build/dex/sushiswap-v3/types.js.map +1 -0
  162. package/build/dex/uniswap-v3/config.js +2 -0
  163. package/build/dex/uniswap-v3/config.js.map +1 -1
  164. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.d.ts +12 -0
  165. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js +23 -0
  166. package/build/dex/uniswap-v3/forks/pancakeswap-v3/pancakeswap-v3.js.map +1 -0
  167. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.d.ts +7 -0
  168. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.js +87 -0
  169. package/build/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.js.map +1 -0
  170. package/build/dex/uniswap-v3/types.d.ts +2 -0
  171. package/build/dex/uniswap-v3/types.js.map +1 -1
  172. package/build/dex/uniswap-v3/uniswap-v3-pool.d.ts +5 -4
  173. package/build/dex/uniswap-v3/uniswap-v3-pool.js.map +1 -1
  174. package/build/dex/uniswap-v3/uniswap-v3.js +5 -1
  175. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  176. package/build/dex/woo-fi/config.d.ts +4 -0
  177. package/build/dex/woo-fi/config.js +141 -0
  178. package/build/dex/woo-fi/config.js.map +1 -0
  179. package/build/dex/woo-fi/constants.d.ts +5 -0
  180. package/build/dex/woo-fi/constants.js +20 -0
  181. package/build/dex/woo-fi/constants.js.map +1 -0
  182. package/build/dex/woo-fi/types.d.ts +48 -0
  183. package/build/dex/woo-fi/types.js +3 -0
  184. package/build/dex/woo-fi/types.js.map +1 -0
  185. package/build/dex/woo-fi/woo-fi-decimal-math.d.ts +14 -0
  186. package/build/dex/woo-fi/woo-fi-decimal-math.js +42 -0
  187. package/build/dex/woo-fi/woo-fi-decimal-math.js.map +1 -0
  188. package/build/dex/woo-fi/woo-fi-math.d.ts +31 -0
  189. package/build/dex/woo-fi/woo-fi-math.js +300 -0
  190. package/build/dex/woo-fi/woo-fi-math.js.map +1 -0
  191. package/build/dex/woo-fi/woo-fi.d.ts +65 -0
  192. package/build/dex/woo-fi/woo-fi.js +480 -0
  193. package/build/dex/woo-fi/woo-fi.js.map +1 -0
  194. package/package.json +1 -1
  195. package/src/abi/ramses-v2/RamsesV2Pool.abi.json +1580 -0
  196. package/src/dex/uniswap-v3/config.ts +2 -0
  197. package/src/dex/uniswap-v3/forks/ramses-v2/ramses-v2-pool.ts +105 -0
  198. package/src/dex/uniswap-v3/types.ts +2 -0
  199. package/src/dex/uniswap-v3/uniswap-v3-pool.ts +3 -3
  200. package/src/dex/uniswap-v3/uniswap-v3.ts +23 -18
@@ -0,0 +1,1580 @@
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
+ ]