@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,220 @@
1
+ {
2
+ "version": "v4.3.0",
3
+ "name": "TickBitmapTest",
4
+ "bytecode": "02091e4050406c409f410041164131415941680000010101120e16007a7a1241003a7a05294b033a904a023a221302640200000105011b1600000017011601cb17021602c54c02160202b21301640c130164170417031601ce0016031604c11816020200000103010d1600000017011601cb17021602c54c02160202ce000200000103001e1600ce0123052413412d7b16007a7ace013a7a05294b033a904a023a22170116010001170216010d0c160201020000020602403016007a7ace013a7a05294b033a904a023a2216014c02054a01061f170216020002170316021601ce010f0e1603010317051704160412bff27618264c0212bff276181704160412800d89e8284c0212800d89e817041604160502010003030108d37afb14100d1600160116021304640201000405010ad35b19984c1601160216030005170416001604cc02010303060113d3b7624ae716011602130264130064170417031600d1a2b116031604af1705160502010001010003d3a2f62a8d16000003",
5
+ "codeHash": "5cb6cce5c5b8adb88a18a993227d51465e3e54b5a34936cafc51100725724b54",
6
+ "fieldsSig": {
7
+ "names": [
8
+ "wordTemplate",
9
+ "tickSpacing"
10
+ ],
11
+ "types": [
12
+ "ByteVec",
13
+ "I256"
14
+ ],
15
+ "isMutable": [
16
+ false,
17
+ false
18
+ ]
19
+ },
20
+ "eventsSig": [],
21
+ "functions": [
22
+ {
23
+ "name": "wordPath",
24
+ "paramNames": [
25
+ "compressed"
26
+ ],
27
+ "paramTypes": [
28
+ "I256"
29
+ ],
30
+ "paramIsMutable": [
31
+ false
32
+ ],
33
+ "returnTypes": [
34
+ "ByteVec"
35
+ ]
36
+ },
37
+ {
38
+ "name": "getWord",
39
+ "paramNames": [
40
+ "compressed"
41
+ ],
42
+ "paramTypes": [
43
+ "I256"
44
+ ],
45
+ "paramIsMutable": [
46
+ false
47
+ ],
48
+ "returnTypes": [
49
+ "BitmapWord"
50
+ ]
51
+ },
52
+ {
53
+ "name": "getWordOrTemplate",
54
+ "paramNames": [
55
+ "compressed"
56
+ ],
57
+ "paramTypes": [
58
+ "I256"
59
+ ],
60
+ "paramIsMutable": [
61
+ false
62
+ ],
63
+ "returnTypes": [
64
+ "BitmapWord"
65
+ ]
66
+ },
67
+ {
68
+ "name": "flipTick",
69
+ "paramNames": [
70
+ "tick"
71
+ ],
72
+ "paramTypes": [
73
+ "I256"
74
+ ],
75
+ "paramIsMutable": [
76
+ false
77
+ ],
78
+ "returnTypes": []
79
+ },
80
+ {
81
+ "name": "nextInitializedTickWithinOneWord",
82
+ "paramNames": [
83
+ "tick",
84
+ "zeroForOne"
85
+ ],
86
+ "paramTypes": [
87
+ "I256",
88
+ "Bool"
89
+ ],
90
+ "paramIsMutable": [
91
+ false,
92
+ false
93
+ ],
94
+ "returnTypes": [
95
+ "I256",
96
+ "Bool"
97
+ ]
98
+ },
99
+ {
100
+ "name": "positionPath",
101
+ "paramNames": [
102
+ "o",
103
+ "tickLower",
104
+ "tickUpper"
105
+ ],
106
+ "paramTypes": [
107
+ "Address",
108
+ "I256",
109
+ "I256"
110
+ ],
111
+ "paramIsMutable": [
112
+ false,
113
+ false,
114
+ false
115
+ ],
116
+ "returnTypes": [
117
+ "ByteVec"
118
+ ]
119
+ },
120
+ {
121
+ "name": "positionContractId",
122
+ "paramNames": [
123
+ "pool",
124
+ "o",
125
+ "tickLower",
126
+ "tickUpper"
127
+ ],
128
+ "paramTypes": [
129
+ "Pool",
130
+ "Address",
131
+ "I256",
132
+ "I256"
133
+ ],
134
+ "paramIsMutable": [
135
+ false,
136
+ false,
137
+ false,
138
+ false
139
+ ],
140
+ "returnTypes": [
141
+ "ByteVec"
142
+ ]
143
+ },
144
+ {
145
+ "name": "deploy",
146
+ "paramNames": [
147
+ "payer",
148
+ "word",
149
+ "ts"
150
+ ],
151
+ "paramTypes": [
152
+ "Address",
153
+ "BitmapWord",
154
+ "I256"
155
+ ],
156
+ "paramIsMutable": [
157
+ false,
158
+ false,
159
+ false
160
+ ],
161
+ "returnTypes": [
162
+ "TickBitmapTest"
163
+ ]
164
+ },
165
+ {
166
+ "name": "flipTick_",
167
+ "paramNames": [
168
+ "tick"
169
+ ],
170
+ "paramTypes": [
171
+ "I256"
172
+ ],
173
+ "paramIsMutable": [
174
+ false
175
+ ],
176
+ "returnTypes": []
177
+ }
178
+ ],
179
+ "constants": [],
180
+ "enums": [
181
+ {
182
+ "name": "TickBitmapError",
183
+ "fields": [
184
+ {
185
+ "name": "TickNotAligned",
186
+ "value": {
187
+ "type": "U256",
188
+ "value": "301"
189
+ }
190
+ }
191
+ ]
192
+ },
193
+ {
194
+ "name": "PathPrefixes",
195
+ "fields": [
196
+ {
197
+ "name": "Tick",
198
+ "value": {
199
+ "type": "U256",
200
+ "value": "0"
201
+ }
202
+ },
203
+ {
204
+ "name": "Position",
205
+ "value": {
206
+ "type": "U256",
207
+ "value": "1"
208
+ }
209
+ },
210
+ {
211
+ "name": "Word",
212
+ "value": {
213
+ "type": "U256",
214
+ "value": "2"
215
+ }
216
+ }
217
+ ]
218
+ }
219
+ ]
220
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "constants": [
3
+ {
4
+ "name": "MIN_TICK",
5
+ "value": {
6
+ "type": "I256",
7
+ "value": "-887272"
8
+ }
9
+ },
10
+ {
11
+ "name": "MAX_TICK",
12
+ "value": {
13
+ "type": "I256",
14
+ "value": "887272"
15
+ }
16
+ },
17
+ {
18
+ "name": "MIN_SQRT_RATIO",
19
+ "value": {
20
+ "type": "U256",
21
+ "value": "4295128739"
22
+ }
23
+ },
24
+ {
25
+ "name": "MAX_SQRT_RATIO",
26
+ "value": {
27
+ "type": "U256",
28
+ "value": "1461446703485210103287273052203988822378723970342"
29
+ }
30
+ },
31
+ {
32
+ "name": "Q128",
33
+ "value": {
34
+ "type": "U256",
35
+ "value": "340282366920938463463374607431768211456"
36
+ }
37
+ },
38
+ {
39
+ "name": "U128_MAX",
40
+ "value": {
41
+ "type": "U256",
42
+ "value": "340282366920938463463374607431768211455"
43
+ }
44
+ },
45
+ {
46
+ "name": "Q64",
47
+ "value": {
48
+ "type": "U256",
49
+ "value": "18446744073709551616"
50
+ }
51
+ },
52
+ {
53
+ "name": "Q32",
54
+ "value": {
55
+ "type": "U256",
56
+ "value": "4294967296"
57
+ }
58
+ },
59
+ {
60
+ "name": "Q96",
61
+ "value": {
62
+ "type": "U256",
63
+ "value": "79228162514264337593543950336"
64
+ }
65
+ },
66
+ {
67
+ "name": "Q160",
68
+ "value": {
69
+ "type": "U256",
70
+ "value": "1461501637330902918203684832716283019655932542976"
71
+ }
72
+ },
73
+ {
74
+ "name": "MAX_REWARDS",
75
+ "value": {
76
+ "type": "U256",
77
+ "value": "3"
78
+ }
79
+ }
80
+ ]
81
+ }
@@ -0,0 +1,335 @@
1
+ [
2
+ {
3
+ "name": "ModifyLiquidityParams",
4
+ "fieldNames": [
5
+ "token0",
6
+ "token1",
7
+ "configIndex",
8
+ "owner",
9
+ "tickLower",
10
+ "tickUpper",
11
+ "amount0Desired",
12
+ "amount1Desired",
13
+ "amount0Min",
14
+ "amount1Min"
15
+ ],
16
+ "fieldTypes": [
17
+ "ByteVec",
18
+ "ByteVec",
19
+ "U256",
20
+ "Address",
21
+ "I256",
22
+ "I256",
23
+ "U256",
24
+ "U256",
25
+ "U256",
26
+ "U256"
27
+ ],
28
+ "isMutable": [
29
+ false,
30
+ false,
31
+ false,
32
+ false,
33
+ false,
34
+ false,
35
+ false,
36
+ false,
37
+ false,
38
+ false
39
+ ]
40
+ },
41
+ {
42
+ "name": "Slot0",
43
+ "fieldNames": [
44
+ "sqrtPriceX96",
45
+ "tick",
46
+ "feeProtocol"
47
+ ],
48
+ "fieldTypes": [
49
+ "U256",
50
+ "I256",
51
+ "U256"
52
+ ],
53
+ "isMutable": [
54
+ true,
55
+ true,
56
+ true
57
+ ]
58
+ },
59
+ {
60
+ "name": "SwapParams",
61
+ "fieldNames": [
62
+ "payer",
63
+ "recipient",
64
+ "token",
65
+ "payToken",
66
+ "toPay",
67
+ "withdrawToken",
68
+ "toWithdraw",
69
+ "data"
70
+ ],
71
+ "fieldTypes": [
72
+ "Address",
73
+ "Address",
74
+ "ByteVec",
75
+ "ByteVec",
76
+ "U256",
77
+ "ByteVec",
78
+ "U256",
79
+ "ByteVec"
80
+ ],
81
+ "isMutable": [
82
+ false,
83
+ false,
84
+ false,
85
+ false,
86
+ false,
87
+ false,
88
+ false,
89
+ false
90
+ ]
91
+ },
92
+ {
93
+ "name": "ModifyPositionParams",
94
+ "fieldNames": [
95
+ "owner",
96
+ "tickLower",
97
+ "tickUpper",
98
+ "liquidityDelta"
99
+ ],
100
+ "fieldTypes": [
101
+ "Address",
102
+ "I256",
103
+ "I256",
104
+ "I256"
105
+ ],
106
+ "isMutable": [
107
+ false,
108
+ false,
109
+ false,
110
+ false
111
+ ]
112
+ },
113
+ {
114
+ "name": "SwapCache",
115
+ "fieldNames": [
116
+ "liquidityStart",
117
+ "feeProtocol"
118
+ ],
119
+ "fieldTypes": [
120
+ "U256",
121
+ "U256"
122
+ ],
123
+ "isMutable": [
124
+ false,
125
+ false
126
+ ]
127
+ },
128
+ {
129
+ "name": "SwapState",
130
+ "fieldNames": [
131
+ "amountSpecifiedRemaining",
132
+ "amountCalculated",
133
+ "sqrtPriceX96",
134
+ "tick",
135
+ "feeGrowthGlobalX128",
136
+ "liquidity",
137
+ "protocolFee"
138
+ ],
139
+ "fieldTypes": [
140
+ "I256",
141
+ "I256",
142
+ "U256",
143
+ "I256",
144
+ "U256",
145
+ "U256",
146
+ "U256"
147
+ ],
148
+ "isMutable": [
149
+ true,
150
+ true,
151
+ true,
152
+ true,
153
+ true,
154
+ true,
155
+ true
156
+ ]
157
+ },
158
+ {
159
+ "name": "StepComputations",
160
+ "fieldNames": [
161
+ "sqrtPriceStartX96",
162
+ "tickNext",
163
+ "initialized",
164
+ "sqrtPriceNextX96",
165
+ "amountIn",
166
+ "amountOut",
167
+ "feeAmount"
168
+ ],
169
+ "fieldTypes": [
170
+ "U256",
171
+ "I256",
172
+ "Bool",
173
+ "U256",
174
+ "U256",
175
+ "U256",
176
+ "U256"
177
+ ],
178
+ "isMutable": [
179
+ true,
180
+ true,
181
+ true,
182
+ true,
183
+ true,
184
+ true,
185
+ true
186
+ ]
187
+ },
188
+ {
189
+ "name": "Reward",
190
+ "fieldNames": [
191
+ "nextOpenTime",
192
+ "endTime",
193
+ "amount"
194
+ ],
195
+ "fieldTypes": [
196
+ "U256",
197
+ "U256",
198
+ "U256"
199
+ ],
200
+ "isMutable": [
201
+ true,
202
+ true,
203
+ true
204
+ ]
205
+ },
206
+ {
207
+ "name": "ProtocolFees",
208
+ "fieldNames": [
209
+ "token0",
210
+ "token1"
211
+ ],
212
+ "fieldTypes": [
213
+ "U256",
214
+ "U256"
215
+ ],
216
+ "isMutable": [
217
+ true,
218
+ true
219
+ ]
220
+ },
221
+ {
222
+ "name": "PositionInfo",
223
+ "fieldNames": [
224
+ "amount0",
225
+ "amount1",
226
+ "fees",
227
+ "avgValue",
228
+ "avgFees",
229
+ "avgTime"
230
+ ],
231
+ "fieldTypes": [
232
+ "I256",
233
+ "I256",
234
+ "[U256;3]",
235
+ "U256",
236
+ "U256",
237
+ "U256"
238
+ ],
239
+ "isMutable": [
240
+ false,
241
+ false,
242
+ false,
243
+ false,
244
+ false,
245
+ false
246
+ ]
247
+ },
248
+ {
249
+ "name": "Config",
250
+ "fieldNames": [
251
+ "tickSpacing",
252
+ "fee",
253
+ "feeProtocol"
254
+ ],
255
+ "fieldTypes": [
256
+ "I256",
257
+ "U256",
258
+ "U256"
259
+ ],
260
+ "isMutable": [
261
+ false,
262
+ false,
263
+ false
264
+ ]
265
+ },
266
+ {
267
+ "name": "DecreaseLiquidityParams",
268
+ "fieldNames": [
269
+ "token0",
270
+ "token1",
271
+ "configIndex",
272
+ "owner",
273
+ "tickLower",
274
+ "tickUpper",
275
+ "amount0Min",
276
+ "amount1Min"
277
+ ],
278
+ "fieldTypes": [
279
+ "ByteVec",
280
+ "ByteVec",
281
+ "U256",
282
+ "Address",
283
+ "I256",
284
+ "I256",
285
+ "U256",
286
+ "U256"
287
+ ],
288
+ "isMutable": [
289
+ false,
290
+ false,
291
+ false,
292
+ false,
293
+ false,
294
+ false,
295
+ false,
296
+ false
297
+ ]
298
+ },
299
+ {
300
+ "name": "CollectParams",
301
+ "fieldNames": [
302
+ "token0",
303
+ "token1",
304
+ "configIndex",
305
+ "owner",
306
+ "recipient",
307
+ "tickLower",
308
+ "tickUpper",
309
+ "amount0Max",
310
+ "amount1Max"
311
+ ],
312
+ "fieldTypes": [
313
+ "ByteVec",
314
+ "ByteVec",
315
+ "U256",
316
+ "Address",
317
+ "Address",
318
+ "I256",
319
+ "I256",
320
+ "U256",
321
+ "U256"
322
+ ],
323
+ "isMutable": [
324
+ false,
325
+ false,
326
+ false,
327
+ false,
328
+ false,
329
+ false,
330
+ false,
331
+ false,
332
+ false
333
+ ]
334
+ }
335
+ ]