@alephium/powfi-sdk 0.0.1-rc.1

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 (146) hide show
  1. package/README.md +4 -0
  2. package/clmm/artifacts/BitmapWord.ral.json +125 -0
  3. package/clmm/artifacts/BitmapWordDeployer.ral.json +31 -0
  4. package/clmm/artifacts/CreateConfig.ral.json +37 -0
  5. package/clmm/artifacts/CreateLiquidPool.ral.json +55 -0
  6. package/clmm/artifacts/DexAccount.ral.json +110 -0
  7. package/clmm/artifacts/LiquidityAmountsTest.ral.json +161 -0
  8. package/clmm/artifacts/LiquidityManagmentTest.ral.json +384 -0
  9. package/clmm/artifacts/Pool.ral.json +1530 -0
  10. package/clmm/artifacts/PoolConfig.ral.json +31 -0
  11. package/clmm/artifacts/PoolFactory.ral.json +300 -0
  12. package/clmm/artifacts/PoolRouterDemo.ral.json +49 -0
  13. package/clmm/artifacts/PoolUser.ral.json +89 -0
  14. package/clmm/artifacts/Position.ral.json +183 -0
  15. package/clmm/artifacts/PositionManager.ral.json +416 -0
  16. package/clmm/artifacts/SwapWithoutAccount.ral.json +46 -0
  17. package/clmm/artifacts/TestToken.ral.json +68 -0
  18. package/clmm/artifacts/Tick.ral.json +161 -0
  19. package/clmm/artifacts/TickBitmapTest.ral.json +220 -0
  20. package/clmm/artifacts/constants.ral.json +81 -0
  21. package/clmm/artifacts/structs.ral.json +335 -0
  22. package/clmm/artifacts/ts/BitmapWord.ts +337 -0
  23. package/clmm/artifacts/ts/BitmapWordDeployer.ts +164 -0
  24. package/clmm/artifacts/ts/DexAccount.ts +330 -0
  25. package/clmm/artifacts/ts/LiquidityAmountsTest.ts +464 -0
  26. package/clmm/artifacts/ts/LiquidityManagmentTest.ts +859 -0
  27. package/clmm/artifacts/ts/Pool.ts +2535 -0
  28. package/clmm/artifacts/ts/PoolConfig.ts +179 -0
  29. package/clmm/artifacts/ts/PoolFactory.ts +640 -0
  30. package/clmm/artifacts/ts/PoolUser.ts +237 -0
  31. package/clmm/artifacts/ts/Position.ts +440 -0
  32. package/clmm/artifacts/ts/PositionManager.ts +929 -0
  33. package/clmm/artifacts/ts/TestToken.ts +277 -0
  34. package/clmm/artifacts/ts/Tick.ts +351 -0
  35. package/clmm/artifacts/ts/TickBitmapTest.ts +512 -0
  36. package/clmm/artifacts/ts/constants.ts +17 -0
  37. package/clmm/artifacts/ts/contracts.ts +26 -0
  38. package/clmm/artifacts/ts/deployments.ts +160 -0
  39. package/clmm/artifacts/ts/index.ts +20 -0
  40. package/clmm/artifacts/ts/scripts.ts +76 -0
  41. package/clmm/artifacts/ts/types.ts +105 -0
  42. package/clmm/deployments/.deployments.devnet.json +350 -0
  43. package/clmm/deployments/.deployments.testnet.json +350 -0
  44. package/cpmm/artifacts/dex/DexAccount.ral.json +110 -0
  45. package/cpmm/artifacts/dex/Router.ral.json +361 -0
  46. package/cpmm/artifacts/dex/TokenPair.ral.json +512 -0
  47. package/cpmm/artifacts/dex/TokenPairFactory.ral.json +297 -0
  48. package/cpmm/artifacts/examples/ExampleOracleSimple.ral.json +192 -0
  49. package/cpmm/artifacts/examples/FeeCollectorFactoryImpl.ral.json +185 -0
  50. package/cpmm/artifacts/examples/FeeCollectorPerTokenPairImpl.ral.json +216 -0
  51. package/cpmm/artifacts/examples/FullMathTest.ral.json +123 -0
  52. package/cpmm/artifacts/scripts/AddLiquidity.ral.json +46 -0
  53. package/cpmm/artifacts/scripts/Burn.ral.json +31 -0
  54. package/cpmm/artifacts/scripts/CollectFee.ral.json +25 -0
  55. package/cpmm/artifacts/scripts/CreatePair.ral.json +37 -0
  56. package/cpmm/artifacts/scripts/CreatePairAndAddLiquidity.ral.json +43 -0
  57. package/cpmm/artifacts/scripts/EnableFeeCollector.ral.json +28 -0
  58. package/cpmm/artifacts/scripts/Mint.ral.json +34 -0
  59. package/cpmm/artifacts/scripts/RemoveLiquidity.ral.json +43 -0
  60. package/cpmm/artifacts/scripts/SetFeeCollectorFactory.ral.json +28 -0
  61. package/cpmm/artifacts/scripts/Swap.ral.json +46 -0
  62. package/cpmm/artifacts/scripts/SwapMaxIn.ral.json +46 -0
  63. package/cpmm/artifacts/scripts/SwapMinOut.ral.json +46 -0
  64. package/cpmm/artifacts/test/GetToken.ral.json +31 -0
  65. package/cpmm/artifacts/test/MathTest.ral.json +49 -0
  66. package/cpmm/artifacts/test/TestToken.ral.json +87 -0
  67. package/cpmm/artifacts/ts/DexAccount.ts +329 -0
  68. package/cpmm/artifacts/ts/ExampleOracleSimple.ts +383 -0
  69. package/cpmm/artifacts/ts/FeeCollectorFactoryImpl.ts +227 -0
  70. package/cpmm/artifacts/ts/FeeCollectorPerTokenPairImpl.ts +327 -0
  71. package/cpmm/artifacts/ts/FullMathTest.ts +251 -0
  72. package/cpmm/artifacts/ts/MathTest.ts +183 -0
  73. package/cpmm/artifacts/ts/Router.ts +554 -0
  74. package/cpmm/artifacts/ts/TestToken.ts +312 -0
  75. package/cpmm/artifacts/ts/TokenPair.ts +947 -0
  76. package/cpmm/artifacts/ts/TokenPairFactory.ts +501 -0
  77. package/cpmm/artifacts/ts/contracts.ts +26 -0
  78. package/cpmm/artifacts/ts/deployments.ts +109 -0
  79. package/cpmm/artifacts/ts/index.ts +16 -0
  80. package/cpmm/artifacts/ts/scripts.ts +142 -0
  81. package/cpmm/deployments/.deployments.devnet.json +77 -0
  82. package/cpmm/deployments/.deployments.testnet.json +79 -0
  83. package/lib/index.d.mts +8800 -0
  84. package/lib/index.d.ts +8800 -0
  85. package/lib/index.js +21769 -0
  86. package/lib/index.js.map +1 -0
  87. package/lib/index.mjs +22118 -0
  88. package/lib/index.mjs.map +1 -0
  89. package/package.json +80 -0
  90. package/src/clmm/clmm.ts +607 -0
  91. package/src/clmm/constants.ts +7 -0
  92. package/src/clmm/index.ts +6 -0
  93. package/src/clmm/liquidity.ts +163 -0
  94. package/src/clmm/pool.ts +154 -0
  95. package/src/clmm/tick.ts +335 -0
  96. package/src/clmm/types.ts +155 -0
  97. package/src/common/constants.ts +1 -0
  98. package/src/common/error.ts +46 -0
  99. package/src/common/index.ts +7 -0
  100. package/src/common/logger.ts +82 -0
  101. package/src/common/math.ts +88 -0
  102. package/src/common/numeric.ts +64 -0
  103. package/src/common/types.ts +49 -0
  104. package/src/common/utils.ts +3 -0
  105. package/src/cpmm/constants.ts +2 -0
  106. package/src/cpmm/cpmm.ts +631 -0
  107. package/src/cpmm/index.ts +3 -0
  108. package/src/cpmm/types.ts +113 -0
  109. package/src/index.ts +25 -0
  110. package/src/moduleBase.ts +64 -0
  111. package/src/staking/index.ts +4 -0
  112. package/src/staking/settings.ts +38 -0
  113. package/src/staking/staking.ts +277 -0
  114. package/src/staking/types.ts +15 -0
  115. package/src/staking/utils.ts +25 -0
  116. package/src/token/index.ts +1 -0
  117. package/src/token/token.ts +163 -0
  118. package/src/zeta.ts +105 -0
  119. package/staking/artifacts/AlphStakeAndLock.ral.json +31 -0
  120. package/staking/artifacts/AlphUnstakeVault.ral.json +151 -0
  121. package/staking/artifacts/XAlphStakeVault.ral.json +559 -0
  122. package/staking/artifacts/XAlphToken.ral.json +404 -0
  123. package/staking/artifacts/XAlphUnlockAndStartUnstake.ral.json +31 -0
  124. package/staking/artifacts/examples/GovernanceDemo.ral.json +282 -0
  125. package/staking/artifacts/examples/RewardSharingVault.ral.json +253 -0
  126. package/staking/artifacts/structs.ral.json +47 -0
  127. package/staking/artifacts/ts/AlphUnstakeVault.ts +354 -0
  128. package/staking/artifacts/ts/FullMathTest.ts +175 -0
  129. package/staking/artifacts/ts/GovernanceDemo.ts +726 -0
  130. package/staking/artifacts/ts/RewardSharingVault.ts +559 -0
  131. package/staking/artifacts/ts/TestDynamicArrayByteVec32.ts +431 -0
  132. package/staking/artifacts/ts/TestDynamicSortedArrayForU256.ts +516 -0
  133. package/staking/artifacts/ts/TestMerkleProof.ts +343 -0
  134. package/staking/artifacts/ts/XAlphStakeVault.ts +1120 -0
  135. package/staking/artifacts/ts/XAlphToken.ts +835 -0
  136. package/staking/artifacts/ts/contracts.ts +26 -0
  137. package/staking/artifacts/ts/deployments.ts +109 -0
  138. package/staking/artifacts/ts/index.ts +15 -0
  139. package/staking/artifacts/ts/scripts.ts +35 -0
  140. package/staking/artifacts/ts/types.ts +19 -0
  141. package/staking/artifacts/utils/FullMathTest.ral.json +57 -0
  142. package/staking/artifacts/utils/TestDynamicArrayByteVec32.ral.json +165 -0
  143. package/staking/artifacts/utils/TestDynamicSortedArrayForU256.ral.json +189 -0
  144. package/staking/artifacts/utils/TestMerkleProof.ral.json +134 -0
  145. package/staking/deployments/.deployments.devnet.json +77 -0
  146. package/staking/deployments/.deployments.testnet.json +78 -0
@@ -0,0 +1,384 @@
1
+ {
2
+ "version": "v4.3.0",
3
+ "name": "LiquidityManagmentTest",
4
+ "bytecode": "010e409a40c840ec413e416c424e4271427b429042a642bc42d746564a5201030b16044051d39b20ce13ce00160116024416030009170b160516060e0f160b012e170e170d170c160c160d160e160716080003170f160b160416051606000b171016001610a5171116001601a5171216001602a5171316007a7a16011612a316021613a316101611a31600160416051606160f110e160b01251715171416141609347a4c04181615160a341343527b160f16141615160b0201000304010dd3b8a5f4fb1600160113c9010000000000000000000000000005170316021603160116002b000502010003030108d364be47fc160213c901000000000000000000000000160116002b00050201000507014027d345f12d7a16001601324c061601160216030001024a1c16001602314c13160016021603000117051601160016040002170616051606314c0216054a011606024a0516011602160400020201000304010ed374e08b3b160213c9010000000000000000000000002c160116002b160100051703160316002d020000030901408d160016010c0d3687170316001601371704160316043616031604314c020d4a010c36170516050c2f4c04160416022d02160216053313415f7b160016011602871706160516061604334c020d4a010c361705160416063617040c1602361602381707160216072d1702160416072d17040c16073616072d0d351707160416051607373917040f1602370e3a170816080e16021608373637170816080e16021608373637170816080e16021608373637170816080e16021608373637170816080e16021608373637170816080e16021608373637170816041608370200000304011216001601160200051703160016011602870c334c0416030d2a0216030200000101010316004002000003040109160016020007cc17031601160344020000030401091600160116020008170316001603cc02010003030108d37afb14100d1600160116021304640201000405010ad35b19984c160116021603000a170416001604cc020000010301413816000c3f264c061600057c203d4a0216003d1701160112800d89e83d321340ca7b16010d380c304c0213ccfffcb933bd6fad37aa2d162d1a5940014a0113cd0100000000000000000000000000000000170216010e380c304c06160213ccfff97272373d413259a46990580e213a2c1340803c4a0116021702160110380c304c06160213ccfff2e50f5f656932ef12357cf3c7fdcc2c1340803c4a011602170216011308380c304c06160213ccffe5caca7e10e4e61c3624eaa0941cd02c1340803c4a011602170216011310380c304c06160213ccffcb9843d60f6159c9db58835c9266442c1340803c4a011602170216011320380c304c06160213ccff973b41fa98c081472e6896dfb254c02c1340803c4a01160217021601134040380c304c06160213ccff2ea16466c96a3843ec78b326b528612c1340803c4a01160217021601134080380c304c06160213ccfe5dee046a99a2a811c461f1969c30532c1340803c4a01160217021601134100380c304c06160213ccfcbe86c7900a88aedcffc83b479aa3a42c1340803c4a01160217021601134200380c304c06160213ccf987a7253ac413176f2b074cf7815e542c1340803c4a01160217021601134400380c304c06160213ccf3392b0822b70005940c7a398e4b70f32c1340803c4a01160217021601134800380c304c06160213cce7159475a2c29b7443b29c7fa6e889d92c1340803c4a01160217021601135000380c304c06160213ccd097f3bdfd2022b8845ad8f792aa58252c1340803c4a01160217021601136000380c304c06160213cca9f746462d870fdf8a65dc1f90e061e52c1340803c4a011602170216011380004000380c304c06160213cc70d869a156d2a1b890bb3df62baf32f72c1340803c4a011602170216011380008000380c304c06160213cc31be135f97d08fd981231505542fcfa62c1340803c4a011602170216011380010000380c304c06160213cc09aa508b5b7a84e1c677de54f3e99bc92c1340803c4a011602170216011380020000380c304c06160213cb5d6af8dedb81196699c329225ee6042c1340803c4a011602170216011380040000380c304c06160213ca2216e584f5fa1ea926041bedfe982c1340803c4a011602170216011380080000380c304c06160213c8048a170391f7dc42444e8fa22c1340803c4a0116021702160005284c060c0d3616022d4a0116021702160213c1010000000091020100010b0141f2d3c6eb44f3160013c101000276a3347a4c0418160013d0fffd8963efd1fc6a506488495d951d5263988d26311340c97b160013203b1701160117020c1703160213cd01000000000000000000000000000000000d2b334c08160313408039170316021340803c1702160213c50100000000000000000d2b334c08160313404039170316021340403c1702160213c101000000000d2b334c0816031320391703160213203c17021602138000ffff334c0816031310391703160213103c170216021340ff334c0816031308391703160213083c17021602130f334c081603103917031602103c170216020f334c0816030e39170316020e3c170216020d334c0416030d3917031603134080344c071601160313407f2b3c17024a06160113407f16032b3b17021603134080314c0e0c0d3613407f2b16032a0c0d361340403c384a0316031340802b1340403b17040c1705160216022c13407f3c170216021340803c170516041605133f3b391704160216053c1702160216022c13407f3c170216021340803c170516041605133e3b391704160216053c1702160216022c13407f3c170216021340803c170516041605133d3b391704160216053c1702160216022c13407f3c170216021340803c170516041605133c3b391704160216053c1702160216022c13407f3c170216021340803c170516041605133b3b391704160216053c1702160216022c13407f3c170216021340803c170516041605133a3b391704160216053c1702160216022c13407f3c170216021340803c17051604160513393b391704160216053c1702160216022c13407f3c170216021340803c17051604160513383b391704160216053c1702160216022c13407f3c170216021340803c17051604160513373b391704160216053c1702160216022c13407f3c170216021340803c17051604160513363b391704160216053c1702160216022c13407f3c170216021340803c17051604160513353b391704160216053c1702160216022c13407f3c170216021340803c17051604160513343b391704160216053c1702160216022c13407f3c170216021340803c17051604160513333b391704160216053c1702160216022c13407f3c170216021340803c17051604160513323b391704160413c63627a301d71055774c85371706160613dcfffffffffffffffffffffffffffffffffd709b7e5480fba5a50fed5e62ffc556351340803c1707160613ccdb2df09e81959a81455e260799a0632f351340803c170816071380800000314c0316073f4a0616071380ffffff383f128100000020170916081380800000314c0316083f4a0616081380ffffff383f128100000020170a1609160a244c031609024a0a160a000c1600324c03160a024a02160902",
5
+ "codeHash": "8824caa1efe83247812dfa7f32a80ae3d4603937df2b062437581ac421fa817d",
6
+ "fieldsSig": {
7
+ "names": [
8
+ "parent"
9
+ ],
10
+ "types": [
11
+ "PoolFactory"
12
+ ],
13
+ "isMutable": [
14
+ false
15
+ ]
16
+ },
17
+ "eventsSig": [],
18
+ "functions": [
19
+ {
20
+ "name": "addLiquidity",
21
+ "paramNames": [
22
+ "payer",
23
+ "p"
24
+ ],
25
+ "paramTypes": [
26
+ "Address",
27
+ "ModifyLiquidityParams"
28
+ ],
29
+ "paramIsMutable": [
30
+ false,
31
+ false
32
+ ],
33
+ "returnTypes": [
34
+ "U256",
35
+ "U256",
36
+ "U256",
37
+ "Pool"
38
+ ]
39
+ },
40
+ {
41
+ "name": "getLiquidityForAmount0",
42
+ "paramNames": [
43
+ "sqrtRatioAX96",
44
+ "sqrtRatioBX96",
45
+ "amount0"
46
+ ],
47
+ "paramTypes": [
48
+ "U256",
49
+ "U256",
50
+ "U256"
51
+ ],
52
+ "paramIsMutable": [
53
+ false,
54
+ false,
55
+ false
56
+ ],
57
+ "returnTypes": [
58
+ "U256"
59
+ ]
60
+ },
61
+ {
62
+ "name": "getLiquidityForAmount1",
63
+ "paramNames": [
64
+ "sqrtRatioAX96",
65
+ "sqrtRatioBX96",
66
+ "amount1"
67
+ ],
68
+ "paramTypes": [
69
+ "U256",
70
+ "U256",
71
+ "U256"
72
+ ],
73
+ "paramIsMutable": [
74
+ false,
75
+ false,
76
+ false
77
+ ],
78
+ "returnTypes": [
79
+ "U256"
80
+ ]
81
+ },
82
+ {
83
+ "name": "getLiquidityForAmounts",
84
+ "paramNames": [
85
+ "sqrtRatioX96",
86
+ "sqrtRatioAX96",
87
+ "sqrtRatioBX96",
88
+ "amount0",
89
+ "amount1"
90
+ ],
91
+ "paramTypes": [
92
+ "U256",
93
+ "U256",
94
+ "U256",
95
+ "U256",
96
+ "U256"
97
+ ],
98
+ "paramIsMutable": [
99
+ false,
100
+ false,
101
+ false,
102
+ false,
103
+ false
104
+ ],
105
+ "returnTypes": [
106
+ "U256"
107
+ ]
108
+ },
109
+ {
110
+ "name": "getAmount0ForLiquidity",
111
+ "paramNames": [
112
+ "sqrtRatioAX96",
113
+ "sqrtRatioBX96",
114
+ "liquidity"
115
+ ],
116
+ "paramTypes": [
117
+ "U256",
118
+ "U256",
119
+ "U256"
120
+ ],
121
+ "paramIsMutable": [
122
+ false,
123
+ false,
124
+ false
125
+ ],
126
+ "returnTypes": [
127
+ "U256"
128
+ ]
129
+ },
130
+ {
131
+ "name": "mulDiv",
132
+ "paramNames": [
133
+ "a",
134
+ "b",
135
+ "denominator"
136
+ ],
137
+ "paramTypes": [
138
+ "U256",
139
+ "U256",
140
+ "U256"
141
+ ],
142
+ "paramIsMutable": [
143
+ false,
144
+ false,
145
+ true
146
+ ],
147
+ "returnTypes": [
148
+ "U256"
149
+ ]
150
+ },
151
+ {
152
+ "name": "mulDivRoundingUp",
153
+ "paramNames": [
154
+ "a",
155
+ "b",
156
+ "denominator"
157
+ ],
158
+ "paramTypes": [
159
+ "U256",
160
+ "U256",
161
+ "U256"
162
+ ],
163
+ "paramIsMutable": [
164
+ false,
165
+ false,
166
+ false
167
+ ],
168
+ "returnTypes": [
169
+ "U256"
170
+ ]
171
+ },
172
+ {
173
+ "name": "configPath",
174
+ "paramNames": [
175
+ "configIndex_"
176
+ ],
177
+ "paramTypes": [
178
+ "U256"
179
+ ],
180
+ "paramIsMutable": [
181
+ false
182
+ ],
183
+ "returnTypes": [
184
+ "ByteVec"
185
+ ]
186
+ },
187
+ {
188
+ "name": "poolPath",
189
+ "paramNames": [
190
+ "factory",
191
+ "tokens",
192
+ "configIndex_"
193
+ ],
194
+ "paramTypes": [
195
+ "PoolFactory",
196
+ "ByteVec",
197
+ "U256"
198
+ ],
199
+ "paramIsMutable": [
200
+ false,
201
+ false,
202
+ false
203
+ ],
204
+ "returnTypes": [
205
+ "ByteVec"
206
+ ]
207
+ },
208
+ {
209
+ "name": "poolContractId",
210
+ "paramNames": [
211
+ "factory",
212
+ "tokens",
213
+ "configIndex_"
214
+ ],
215
+ "paramTypes": [
216
+ "PoolFactory",
217
+ "ByteVec",
218
+ "U256"
219
+ ],
220
+ "paramIsMutable": [
221
+ false,
222
+ false,
223
+ false
224
+ ],
225
+ "returnTypes": [
226
+ "ByteVec"
227
+ ]
228
+ },
229
+ {
230
+ "name": "positionPath",
231
+ "paramNames": [
232
+ "o",
233
+ "tickLower",
234
+ "tickUpper"
235
+ ],
236
+ "paramTypes": [
237
+ "Address",
238
+ "I256",
239
+ "I256"
240
+ ],
241
+ "paramIsMutable": [
242
+ false,
243
+ false,
244
+ false
245
+ ],
246
+ "returnTypes": [
247
+ "ByteVec"
248
+ ]
249
+ },
250
+ {
251
+ "name": "positionContractId",
252
+ "paramNames": [
253
+ "pool",
254
+ "o",
255
+ "tickLower",
256
+ "tickUpper"
257
+ ],
258
+ "paramTypes": [
259
+ "Pool",
260
+ "Address",
261
+ "I256",
262
+ "I256"
263
+ ],
264
+ "paramIsMutable": [
265
+ false,
266
+ false,
267
+ false,
268
+ false
269
+ ],
270
+ "returnTypes": [
271
+ "ByteVec"
272
+ ]
273
+ },
274
+ {
275
+ "name": "getSqrtRatioAtTick",
276
+ "paramNames": [
277
+ "tick"
278
+ ],
279
+ "paramTypes": [
280
+ "I256"
281
+ ],
282
+ "paramIsMutable": [
283
+ false
284
+ ],
285
+ "returnTypes": [
286
+ "U256"
287
+ ]
288
+ },
289
+ {
290
+ "name": "getTickAtSqrtRatio",
291
+ "paramNames": [
292
+ "sqrtPriceX96"
293
+ ],
294
+ "paramTypes": [
295
+ "U256"
296
+ ],
297
+ "paramIsMutable": [
298
+ false
299
+ ],
300
+ "returnTypes": [
301
+ "I256"
302
+ ]
303
+ }
304
+ ],
305
+ "constants": [],
306
+ "enums": [
307
+ {
308
+ "name": "LiquidityManagmentError",
309
+ "fields": [
310
+ {
311
+ "name": "MintSlippage",
312
+ "value": {
313
+ "type": "U256",
314
+ "value": "850"
315
+ }
316
+ },
317
+ {
318
+ "name": "BurnSlippage",
319
+ "value": {
320
+ "type": "U256",
321
+ "value": "851"
322
+ }
323
+ }
324
+ ]
325
+ },
326
+ {
327
+ "name": "FullMathError",
328
+ "fields": [
329
+ {
330
+ "name": "MulDivOverflow",
331
+ "value": {
332
+ "type": "U256",
333
+ "value": "351"
334
+ }
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "name": "PathPrefixes",
340
+ "fields": [
341
+ {
342
+ "name": "Tick",
343
+ "value": {
344
+ "type": "U256",
345
+ "value": "0"
346
+ }
347
+ },
348
+ {
349
+ "name": "Position",
350
+ "value": {
351
+ "type": "U256",
352
+ "value": "1"
353
+ }
354
+ },
355
+ {
356
+ "name": "Word",
357
+ "value": {
358
+ "type": "U256",
359
+ "value": "2"
360
+ }
361
+ }
362
+ ]
363
+ },
364
+ {
365
+ "name": "TickMathError",
366
+ "fields": [
367
+ {
368
+ "name": "SqrtPriceX96OutOfBounds",
369
+ "value": {
370
+ "type": "U256",
371
+ "value": "201"
372
+ }
373
+ },
374
+ {
375
+ "name": "TickOutOfBounds",
376
+ "value": {
377
+ "type": "U256",
378
+ "value": "202"
379
+ }
380
+ }
381
+ ]
382
+ }
383
+ ]
384
+ }