@black-market/sdk 0.6.3 → 0.7.0
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.
- package/README.md +28 -4
- package/dist/addresses.d.ts +1 -1
- package/dist/addresses.js +4 -4
- package/dist/launch.d.ts +61 -0
- package/dist/launch.d.ts.map +1 -1
- package/dist/launch.js +171 -6
- package/dist/launch.js.map +1 -1
- package/dist/lifecycle/abi.d.ts +1999 -253
- package/dist/lifecycle/abi.d.ts.map +1 -1
- package/dist/lifecycle/abi.js +43 -14
- package/dist/lifecycle/abi.js.map +1 -1
- package/dist/lifecycle/allocations.d.ts +11 -0
- package/dist/lifecycle/allocations.d.ts.map +1 -0
- package/dist/lifecycle/allocations.js +36 -0
- package/dist/lifecycle/allocations.js.map +1 -0
- package/dist/lifecycle/calibration.d.ts +19 -0
- package/dist/lifecycle/calibration.d.ts.map +1 -0
- package/dist/lifecycle/calibration.js +65 -0
- package/dist/lifecycle/calibration.js.map +1 -0
- package/dist/lifecycle/deployments/fixed-fee-pool-hook-v1-20261008.d.ts +11 -0
- package/dist/lifecycle/deployments/fixed-fee-pool-hook-v1-20261008.d.ts.map +1 -0
- package/dist/lifecycle/deployments/fixed-fee-pool-hook-v1-20261008.js +10 -0
- package/dist/lifecycle/deployments/fixed-fee-pool-hook-v1-20261008.js.map +1 -0
- package/dist/lifecycle/index.d.ts +4 -2
- package/dist/lifecycle/index.d.ts.map +1 -1
- package/dist/lifecycle/index.js +4 -2
- package/dist/lifecycle/index.js.map +1 -1
- package/dist/lifecycle/markets.d.ts +170 -6
- package/dist/lifecycle/markets.d.ts.map +1 -1
- package/dist/lifecycle/markets.js +164 -37
- package/dist/lifecycle/markets.js.map +1 -1
- package/dist/lifecycle/planner.d.ts +7 -14
- package/dist/lifecycle/planner.d.ts.map +1 -1
- package/dist/lifecycle/planner.js +355 -392
- package/dist/lifecycle/planner.js.map +1 -1
- package/dist/lifecycle/presets.d.ts +62 -0
- package/dist/lifecycle/presets.d.ts.map +1 -0
- package/dist/lifecycle/presets.js +195 -0
- package/dist/lifecycle/presets.js.map +1 -0
- package/dist/lifecycle/progress.d.ts +5 -1
- package/dist/lifecycle/progress.d.ts.map +1 -1
- package/dist/lifecycle/progress.js +286 -118
- package/dist/lifecycle/progress.js.map +1 -1
- package/dist/lifecycle/rpc.d.ts +13 -2
- package/dist/lifecycle/rpc.d.ts.map +1 -1
- package/dist/lifecycle/rpc.js +92 -8
- package/dist/lifecycle/rpc.js.map +1 -1
- package/dist/lifecycle/simulation.d.ts +14 -1
- package/dist/lifecycle/simulation.d.ts.map +1 -1
- package/dist/lifecycle/simulation.js +400 -100
- package/dist/lifecycle/simulation.js.map +1 -1
- package/dist/lifecycle/transactions.d.ts +6 -0
- package/dist/lifecycle/transactions.d.ts.map +1 -0
- package/dist/lifecycle/transactions.js +40 -0
- package/dist/lifecycle/transactions.js.map +1 -0
- package/dist/lifecycle/types.d.ts +39 -2
- package/dist/lifecycle/types.d.ts.map +1 -1
- package/dist/lifecycle/types.js.map +1 -1
- package/docs/launch-lifecycle.md +236 -39
- package/examples/README.md +108 -18
- package/examples/generate-lifecycle-commitment-fixture.mjs +3 -1
- package/examples/launch-example-support.mjs +1 -1
- package/examples/launch-example.mjs +73 -26
- package/examples/launch-lifecycle-smoke.mjs +13 -11
- package/examples/launch.mjs +12 -11
- package/examples/quickstart.mjs +1 -1
- package/package.json +1 -1
- package/src/addresses.ts +4 -4
- package/src/launch.ts +213 -6
- package/src/lifecycle/abi.ts +43 -14
- package/src/lifecycle/allocations.ts +35 -0
- package/src/lifecycle/calibration.ts +59 -0
- package/src/lifecycle/deployments/fixed-fee-pool-hook-v1-20261008.ts +11 -0
- package/src/lifecycle/index.ts +4 -2
- package/src/lifecycle/markets.ts +169 -35
- package/src/lifecycle/planner.ts +326 -321
- package/src/lifecycle/presets.ts +243 -0
- package/src/lifecycle/progress.ts +254 -102
- package/src/lifecycle/rpc.ts +97 -9
- package/src/lifecycle/simulation.ts +391 -94
- package/src/lifecycle/transactions.ts +34 -0
- package/src/lifecycle/types.ts +35 -3
package/dist/lifecycle/abi.d.ts
CHANGED
|
@@ -3840,6 +3840,7 @@ export declare const poolMarketAdapterV1Abi: readonly [{
|
|
|
3840
3840
|
readonly type: "address";
|
|
3841
3841
|
}];
|
|
3842
3842
|
}];
|
|
3843
|
+
/** Reviewed config5 holder with the exact 18-word PoolBoundHookParametersV1 tuple. */
|
|
3843
3844
|
export declare const poolHookDeployerV1Abi: readonly [{
|
|
3844
3845
|
readonly type: "constructor";
|
|
3845
3846
|
readonly stateMutability: "nonpayable";
|
|
@@ -3881,6 +3882,16 @@ export declare const poolHookDeployerV1Abi: readonly [{
|
|
|
3881
3882
|
readonly outputs: readonly [{
|
|
3882
3883
|
readonly type: "bytes32";
|
|
3883
3884
|
}];
|
|
3885
|
+
}, {
|
|
3886
|
+
readonly type: "function";
|
|
3887
|
+
readonly name: "validHookAddress";
|
|
3888
|
+
readonly stateMutability: "pure";
|
|
3889
|
+
readonly inputs: readonly [{
|
|
3890
|
+
readonly type: "address";
|
|
3891
|
+
}];
|
|
3892
|
+
readonly outputs: readonly [{
|
|
3893
|
+
readonly type: "bool";
|
|
3894
|
+
}];
|
|
3884
3895
|
}, {
|
|
3885
3896
|
readonly type: "function";
|
|
3886
3897
|
readonly name: "initCodeHash";
|
|
@@ -4016,16 +4027,6 @@ export declare const poolHookDeployerV1Abi: readonly [{
|
|
|
4016
4027
|
readonly outputs: readonly [{
|
|
4017
4028
|
readonly type: "address";
|
|
4018
4029
|
}];
|
|
4019
|
-
}, {
|
|
4020
|
-
readonly type: "function";
|
|
4021
|
-
readonly name: "validHookAddress";
|
|
4022
|
-
readonly stateMutability: "pure";
|
|
4023
|
-
readonly inputs: readonly [{
|
|
4024
|
-
readonly type: "address";
|
|
4025
|
-
}];
|
|
4026
|
-
readonly outputs: readonly [{
|
|
4027
|
-
readonly type: "bool";
|
|
4028
|
-
}];
|
|
4029
4030
|
}, {
|
|
4030
4031
|
readonly type: "function";
|
|
4031
4032
|
readonly name: "deploy";
|
|
@@ -4097,7 +4098,8 @@ export declare const poolHookDeployerV1Abi: readonly [{
|
|
|
4097
4098
|
readonly type: "address";
|
|
4098
4099
|
}];
|
|
4099
4100
|
}];
|
|
4100
|
-
|
|
4101
|
+
/** Config6 source holder with the exact 20-word PoolBoundHookParametersV2 tuple. */
|
|
4102
|
+
export declare const poolHookDeployerConfigV6Abi: readonly [{
|
|
4101
4103
|
readonly type: "constructor";
|
|
4102
4104
|
readonly stateMutability: "nonpayable";
|
|
4103
4105
|
readonly inputs: readonly [{
|
|
@@ -4140,195 +4142,63 @@ export declare const sharedHookDeployerV1Abi: readonly [{
|
|
|
4140
4142
|
}];
|
|
4141
4143
|
}, {
|
|
4142
4144
|
readonly type: "function";
|
|
4143
|
-
readonly name: "
|
|
4144
|
-
readonly stateMutability: "
|
|
4145
|
+
readonly name: "validHookAddress";
|
|
4146
|
+
readonly stateMutability: "pure";
|
|
4145
4147
|
readonly inputs: readonly [{
|
|
4146
4148
|
readonly type: "address";
|
|
4147
|
-
}, {
|
|
4148
|
-
readonly type: "address";
|
|
4149
|
-
}, {
|
|
4150
|
-
readonly type: "address";
|
|
4151
|
-
}, {
|
|
4152
|
-
readonly type: "bytes32";
|
|
4153
|
-
}];
|
|
4154
|
-
readonly outputs: readonly [{
|
|
4155
|
-
readonly type: "address";
|
|
4156
|
-
}];
|
|
4157
|
-
}];
|
|
4158
|
-
export declare const lifecycleV4PoolKeyComponents: readonly [{
|
|
4159
|
-
readonly name: "currency0";
|
|
4160
|
-
readonly type: "address";
|
|
4161
|
-
}, {
|
|
4162
|
-
readonly name: "currency1";
|
|
4163
|
-
readonly type: "address";
|
|
4164
|
-
}, {
|
|
4165
|
-
readonly name: "fee";
|
|
4166
|
-
readonly type: "uint24";
|
|
4167
|
-
}, {
|
|
4168
|
-
readonly name: "tickSpacing";
|
|
4169
|
-
readonly type: "int24";
|
|
4170
|
-
}, {
|
|
4171
|
-
readonly name: "hooks";
|
|
4172
|
-
readonly type: "address";
|
|
4173
|
-
}];
|
|
4174
|
-
export declare const lifecycleV4HookPoolConfigComponents: readonly [{
|
|
4175
|
-
readonly name: "collector";
|
|
4176
|
-
readonly type: "address";
|
|
4177
|
-
}, {
|
|
4178
|
-
readonly name: "liquidityLocker";
|
|
4179
|
-
readonly type: "address";
|
|
4180
|
-
}, {
|
|
4181
|
-
readonly name: "quoteCurrency";
|
|
4182
|
-
readonly type: "address";
|
|
4183
|
-
}, {
|
|
4184
|
-
readonly name: "feeMode";
|
|
4185
|
-
readonly type: "uint8";
|
|
4186
|
-
}, {
|
|
4187
|
-
readonly name: "hookFeePips";
|
|
4188
|
-
readonly type: "uint24";
|
|
4189
|
-
}, {
|
|
4190
|
-
readonly name: "protocolFeeDenominator";
|
|
4191
|
-
readonly type: "uint8";
|
|
4192
|
-
}, {
|
|
4193
|
-
readonly name: "treasury";
|
|
4194
|
-
readonly type: "address";
|
|
4195
|
-
}, {
|
|
4196
|
-
readonly name: "externalLiquidityDisabled";
|
|
4197
|
-
readonly type: "bool";
|
|
4198
|
-
}, {
|
|
4199
|
-
readonly name: "oracleConfigId";
|
|
4200
|
-
readonly type: "bytes32";
|
|
4201
|
-
}];
|
|
4202
|
-
export declare const lifecycleV4HookAbi: readonly [{
|
|
4203
|
-
readonly type: "function";
|
|
4204
|
-
readonly name: "poolManager";
|
|
4205
|
-
readonly stateMutability: "view";
|
|
4206
|
-
readonly inputs: readonly [];
|
|
4207
|
-
readonly outputs: readonly [{
|
|
4208
|
-
readonly type: "address";
|
|
4209
|
-
}];
|
|
4210
|
-
}, {
|
|
4211
|
-
readonly type: "function";
|
|
4212
|
-
readonly name: "registrar";
|
|
4213
|
-
readonly stateMutability: "view";
|
|
4214
|
-
readonly inputs: readonly [];
|
|
4215
|
-
readonly outputs: readonly [{
|
|
4216
|
-
readonly type: "address";
|
|
4217
|
-
}];
|
|
4218
|
-
}, {
|
|
4219
|
-
readonly type: "function";
|
|
4220
|
-
readonly name: "oracleFactory";
|
|
4221
|
-
readonly stateMutability: "view";
|
|
4222
|
-
readonly inputs: readonly [];
|
|
4223
|
-
readonly outputs: readonly [{
|
|
4224
|
-
readonly type: "address";
|
|
4225
|
-
}];
|
|
4226
|
-
}, {
|
|
4227
|
-
readonly type: "function";
|
|
4228
|
-
readonly name: "REQUIRED_HOOK_FLAGS";
|
|
4229
|
-
readonly stateMutability: "view";
|
|
4230
|
-
readonly inputs: readonly [];
|
|
4231
|
-
readonly outputs: readonly [{
|
|
4232
|
-
readonly type: "uint160";
|
|
4233
|
-
}];
|
|
4234
|
-
}, {
|
|
4235
|
-
readonly type: "function";
|
|
4236
|
-
readonly name: "ALL_HOOK_MASK";
|
|
4237
|
-
readonly stateMutability: "view";
|
|
4238
|
-
readonly inputs: readonly [];
|
|
4239
|
-
readonly outputs: readonly [{
|
|
4240
|
-
readonly type: "uint160";
|
|
4241
|
-
}];
|
|
4242
|
-
}, {
|
|
4243
|
-
readonly type: "function";
|
|
4244
|
-
readonly name: "registered";
|
|
4245
|
-
readonly stateMutability: "view";
|
|
4246
|
-
readonly inputs: readonly [{
|
|
4247
|
-
readonly type: "bytes32";
|
|
4248
|
-
}];
|
|
4249
|
-
readonly outputs: readonly [{
|
|
4250
|
-
readonly type: "bool";
|
|
4251
|
-
}];
|
|
4252
|
-
}, {
|
|
4253
|
-
readonly type: "function";
|
|
4254
|
-
readonly name: "initialized";
|
|
4255
|
-
readonly stateMutability: "view";
|
|
4256
|
-
readonly inputs: readonly [{
|
|
4257
|
-
readonly type: "bytes32";
|
|
4258
4149
|
}];
|
|
4259
4150
|
readonly outputs: readonly [{
|
|
4260
4151
|
readonly type: "bool";
|
|
4261
4152
|
}];
|
|
4262
4153
|
}, {
|
|
4263
4154
|
readonly type: "function";
|
|
4264
|
-
readonly name: "
|
|
4265
|
-
readonly stateMutability: "view";
|
|
4266
|
-
readonly inputs: readonly [{
|
|
4267
|
-
readonly type: "bytes32";
|
|
4268
|
-
}];
|
|
4269
|
-
readonly outputs: readonly [{
|
|
4270
|
-
readonly type: "uint256";
|
|
4271
|
-
}];
|
|
4272
|
-
}, {
|
|
4273
|
-
readonly type: "function";
|
|
4274
|
-
readonly name: "oracleInitializedAt";
|
|
4275
|
-
readonly stateMutability: "view";
|
|
4276
|
-
readonly inputs: readonly [{
|
|
4277
|
-
readonly type: "bytes32";
|
|
4278
|
-
}];
|
|
4279
|
-
readonly outputs: readonly [{
|
|
4280
|
-
readonly type: "uint256";
|
|
4281
|
-
}];
|
|
4282
|
-
}, {
|
|
4283
|
-
readonly type: "function";
|
|
4284
|
-
readonly name: "poolKey";
|
|
4155
|
+
readonly name: "initCodeHash";
|
|
4285
4156
|
readonly stateMutability: "view";
|
|
4286
4157
|
readonly inputs: readonly [{
|
|
4287
|
-
readonly
|
|
4288
|
-
}];
|
|
4289
|
-
readonly outputs: readonly [{
|
|
4158
|
+
readonly name: "parameters";
|
|
4290
4159
|
readonly type: "tuple";
|
|
4291
4160
|
readonly components: readonly [{
|
|
4292
|
-
readonly name: "
|
|
4161
|
+
readonly name: "poolManager";
|
|
4293
4162
|
readonly type: "address";
|
|
4294
4163
|
}, {
|
|
4295
|
-
readonly name: "
|
|
4164
|
+
readonly name: "registrar";
|
|
4296
4165
|
readonly type: "address";
|
|
4297
4166
|
}, {
|
|
4298
|
-
readonly name: "
|
|
4299
|
-
readonly type: "uint24";
|
|
4300
|
-
}, {
|
|
4301
|
-
readonly name: "tickSpacing";
|
|
4302
|
-
readonly type: "int24";
|
|
4303
|
-
}, {
|
|
4304
|
-
readonly name: "hooks";
|
|
4167
|
+
readonly name: "oracleFactory";
|
|
4305
4168
|
readonly type: "address";
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4308
|
-
}, {
|
|
4309
|
-
readonly type: "function";
|
|
4310
|
-
readonly name: "poolConfig";
|
|
4311
|
-
readonly stateMutability: "view";
|
|
4312
|
-
readonly inputs: readonly [{
|
|
4313
|
-
readonly type: "bytes32";
|
|
4314
|
-
}];
|
|
4315
|
-
readonly outputs: readonly [{
|
|
4316
|
-
readonly type: "tuple";
|
|
4317
|
-
readonly components: readonly [{
|
|
4318
|
-
readonly name: "collector";
|
|
4169
|
+
}, {
|
|
4170
|
+
readonly name: "core";
|
|
4319
4171
|
readonly type: "address";
|
|
4320
4172
|
}, {
|
|
4321
4173
|
readonly name: "liquidityLocker";
|
|
4322
4174
|
readonly type: "address";
|
|
4175
|
+
}, {
|
|
4176
|
+
readonly name: "token";
|
|
4177
|
+
readonly type: "address";
|
|
4323
4178
|
}, {
|
|
4324
4179
|
readonly name: "quoteCurrency";
|
|
4325
4180
|
readonly type: "address";
|
|
4326
4181
|
}, {
|
|
4327
|
-
readonly name: "
|
|
4328
|
-
readonly type: "
|
|
4182
|
+
readonly name: "lpFeePips";
|
|
4183
|
+
readonly type: "uint24";
|
|
4184
|
+
}, {
|
|
4185
|
+
readonly name: "tickSpacing";
|
|
4186
|
+
readonly type: "int24";
|
|
4187
|
+
}, {
|
|
4188
|
+
readonly name: "sqrtPriceX96";
|
|
4189
|
+
readonly type: "uint160";
|
|
4329
4190
|
}, {
|
|
4330
4191
|
readonly name: "hookFeePips";
|
|
4331
4192
|
readonly type: "uint24";
|
|
4193
|
+
}, {
|
|
4194
|
+
readonly name: "minimumHookFeePips";
|
|
4195
|
+
readonly type: "uint24";
|
|
4196
|
+
}, {
|
|
4197
|
+
readonly name: "feeSensitivityPipsSecondsPerTick";
|
|
4198
|
+
readonly type: "uint32";
|
|
4199
|
+
}, {
|
|
4200
|
+
readonly name: "feeMode";
|
|
4201
|
+
readonly type: "uint8";
|
|
4332
4202
|
}, {
|
|
4333
4203
|
readonly name: "protocolFeeDenominator";
|
|
4334
4204
|
readonly type: "uint8";
|
|
@@ -4341,49 +4211,1364 @@ export declare const lifecycleV4HookAbi: readonly [{
|
|
|
4341
4211
|
}, {
|
|
4342
4212
|
readonly name: "oracleConfigId";
|
|
4343
4213
|
readonly type: "bytes32";
|
|
4214
|
+
}, {
|
|
4215
|
+
readonly name: "marketCommitment";
|
|
4216
|
+
readonly type: "bytes32";
|
|
4217
|
+
}, {
|
|
4218
|
+
readonly name: "expectedPositionCount";
|
|
4219
|
+
readonly type: "uint32";
|
|
4344
4220
|
}];
|
|
4345
4221
|
}];
|
|
4222
|
+
readonly outputs: readonly [{
|
|
4223
|
+
readonly type: "bytes32";
|
|
4224
|
+
}];
|
|
4346
4225
|
}, {
|
|
4347
4226
|
readonly type: "function";
|
|
4348
|
-
readonly name: "
|
|
4349
|
-
readonly stateMutability: "
|
|
4227
|
+
readonly name: "predict";
|
|
4228
|
+
readonly stateMutability: "view";
|
|
4350
4229
|
readonly inputs: readonly [{
|
|
4230
|
+
readonly name: "parameters";
|
|
4351
4231
|
readonly type: "tuple";
|
|
4352
4232
|
readonly components: readonly [{
|
|
4353
|
-
readonly name: "
|
|
4233
|
+
readonly name: "poolManager";
|
|
4354
4234
|
readonly type: "address";
|
|
4355
4235
|
}, {
|
|
4356
|
-
readonly name: "
|
|
4236
|
+
readonly name: "registrar";
|
|
4357
4237
|
readonly type: "address";
|
|
4358
4238
|
}, {
|
|
4359
|
-
readonly name: "
|
|
4360
|
-
readonly type: "uint24";
|
|
4361
|
-
}, {
|
|
4362
|
-
readonly name: "tickSpacing";
|
|
4363
|
-
readonly type: "int24";
|
|
4364
|
-
}, {
|
|
4365
|
-
readonly name: "hooks";
|
|
4239
|
+
readonly name: "oracleFactory";
|
|
4366
4240
|
readonly type: "address";
|
|
4367
|
-
}
|
|
4368
|
-
|
|
4369
|
-
readonly type: "tuple";
|
|
4370
|
-
readonly components: readonly [{
|
|
4371
|
-
readonly name: "collector";
|
|
4241
|
+
}, {
|
|
4242
|
+
readonly name: "core";
|
|
4372
4243
|
readonly type: "address";
|
|
4373
4244
|
}, {
|
|
4374
4245
|
readonly name: "liquidityLocker";
|
|
4375
4246
|
readonly type: "address";
|
|
4247
|
+
}, {
|
|
4248
|
+
readonly name: "token";
|
|
4249
|
+
readonly type: "address";
|
|
4376
4250
|
}, {
|
|
4377
4251
|
readonly name: "quoteCurrency";
|
|
4378
4252
|
readonly type: "address";
|
|
4379
4253
|
}, {
|
|
4380
|
-
readonly name: "
|
|
4381
|
-
readonly type: "
|
|
4254
|
+
readonly name: "lpFeePips";
|
|
4255
|
+
readonly type: "uint24";
|
|
4256
|
+
}, {
|
|
4257
|
+
readonly name: "tickSpacing";
|
|
4258
|
+
readonly type: "int24";
|
|
4259
|
+
}, {
|
|
4260
|
+
readonly name: "sqrtPriceX96";
|
|
4261
|
+
readonly type: "uint160";
|
|
4382
4262
|
}, {
|
|
4383
4263
|
readonly name: "hookFeePips";
|
|
4384
4264
|
readonly type: "uint24";
|
|
4385
4265
|
}, {
|
|
4386
|
-
readonly name: "
|
|
4266
|
+
readonly name: "minimumHookFeePips";
|
|
4267
|
+
readonly type: "uint24";
|
|
4268
|
+
}, {
|
|
4269
|
+
readonly name: "feeSensitivityPipsSecondsPerTick";
|
|
4270
|
+
readonly type: "uint32";
|
|
4271
|
+
}, {
|
|
4272
|
+
readonly name: "feeMode";
|
|
4273
|
+
readonly type: "uint8";
|
|
4274
|
+
}, {
|
|
4275
|
+
readonly name: "protocolFeeDenominator";
|
|
4276
|
+
readonly type: "uint8";
|
|
4277
|
+
}, {
|
|
4278
|
+
readonly name: "treasury";
|
|
4279
|
+
readonly type: "address";
|
|
4280
|
+
}, {
|
|
4281
|
+
readonly name: "externalLiquidityDisabled";
|
|
4282
|
+
readonly type: "bool";
|
|
4283
|
+
}, {
|
|
4284
|
+
readonly name: "oracleConfigId";
|
|
4285
|
+
readonly type: "bytes32";
|
|
4286
|
+
}, {
|
|
4287
|
+
readonly name: "marketCommitment";
|
|
4288
|
+
readonly type: "bytes32";
|
|
4289
|
+
}, {
|
|
4290
|
+
readonly name: "expectedPositionCount";
|
|
4291
|
+
readonly type: "uint32";
|
|
4292
|
+
}];
|
|
4293
|
+
}, {
|
|
4294
|
+
readonly name: "salt";
|
|
4295
|
+
readonly type: "bytes32";
|
|
4296
|
+
}];
|
|
4297
|
+
readonly outputs: readonly [{
|
|
4298
|
+
readonly type: "address";
|
|
4299
|
+
}];
|
|
4300
|
+
}, {
|
|
4301
|
+
readonly type: "function";
|
|
4302
|
+
readonly name: "deploy";
|
|
4303
|
+
readonly stateMutability: "nonpayable";
|
|
4304
|
+
readonly inputs: readonly [{
|
|
4305
|
+
readonly name: "parameters";
|
|
4306
|
+
readonly type: "tuple";
|
|
4307
|
+
readonly components: readonly [{
|
|
4308
|
+
readonly name: "poolManager";
|
|
4309
|
+
readonly type: "address";
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly name: "registrar";
|
|
4312
|
+
readonly type: "address";
|
|
4313
|
+
}, {
|
|
4314
|
+
readonly name: "oracleFactory";
|
|
4315
|
+
readonly type: "address";
|
|
4316
|
+
}, {
|
|
4317
|
+
readonly name: "core";
|
|
4318
|
+
readonly type: "address";
|
|
4319
|
+
}, {
|
|
4320
|
+
readonly name: "liquidityLocker";
|
|
4321
|
+
readonly type: "address";
|
|
4322
|
+
}, {
|
|
4323
|
+
readonly name: "token";
|
|
4324
|
+
readonly type: "address";
|
|
4325
|
+
}, {
|
|
4326
|
+
readonly name: "quoteCurrency";
|
|
4327
|
+
readonly type: "address";
|
|
4328
|
+
}, {
|
|
4329
|
+
readonly name: "lpFeePips";
|
|
4330
|
+
readonly type: "uint24";
|
|
4331
|
+
}, {
|
|
4332
|
+
readonly name: "tickSpacing";
|
|
4333
|
+
readonly type: "int24";
|
|
4334
|
+
}, {
|
|
4335
|
+
readonly name: "sqrtPriceX96";
|
|
4336
|
+
readonly type: "uint160";
|
|
4337
|
+
}, {
|
|
4338
|
+
readonly name: "hookFeePips";
|
|
4339
|
+
readonly type: "uint24";
|
|
4340
|
+
}, {
|
|
4341
|
+
readonly name: "minimumHookFeePips";
|
|
4342
|
+
readonly type: "uint24";
|
|
4343
|
+
}, {
|
|
4344
|
+
readonly name: "feeSensitivityPipsSecondsPerTick";
|
|
4345
|
+
readonly type: "uint32";
|
|
4346
|
+
}, {
|
|
4347
|
+
readonly name: "feeMode";
|
|
4348
|
+
readonly type: "uint8";
|
|
4349
|
+
}, {
|
|
4350
|
+
readonly name: "protocolFeeDenominator";
|
|
4351
|
+
readonly type: "uint8";
|
|
4352
|
+
}, {
|
|
4353
|
+
readonly name: "treasury";
|
|
4354
|
+
readonly type: "address";
|
|
4355
|
+
}, {
|
|
4356
|
+
readonly name: "externalLiquidityDisabled";
|
|
4357
|
+
readonly type: "bool";
|
|
4358
|
+
}, {
|
|
4359
|
+
readonly name: "oracleConfigId";
|
|
4360
|
+
readonly type: "bytes32";
|
|
4361
|
+
}, {
|
|
4362
|
+
readonly name: "marketCommitment";
|
|
4363
|
+
readonly type: "bytes32";
|
|
4364
|
+
}, {
|
|
4365
|
+
readonly name: "expectedPositionCount";
|
|
4366
|
+
readonly type: "uint32";
|
|
4367
|
+
}];
|
|
4368
|
+
}, {
|
|
4369
|
+
readonly name: "salt";
|
|
4370
|
+
readonly type: "bytes32";
|
|
4371
|
+
}];
|
|
4372
|
+
readonly outputs: readonly [{
|
|
4373
|
+
readonly name: "hook";
|
|
4374
|
+
readonly type: "address";
|
|
4375
|
+
}];
|
|
4376
|
+
}];
|
|
4377
|
+
export declare const sharedHookDeployerV1Abi: readonly [{
|
|
4378
|
+
readonly type: "constructor";
|
|
4379
|
+
readonly stateMutability: "nonpayable";
|
|
4380
|
+
readonly inputs: readonly [{
|
|
4381
|
+
readonly name: "creationCode";
|
|
4382
|
+
readonly type: "bytes";
|
|
4383
|
+
}];
|
|
4384
|
+
}, {
|
|
4385
|
+
readonly type: "function";
|
|
4386
|
+
readonly name: "creationCodeHash";
|
|
4387
|
+
readonly stateMutability: "view";
|
|
4388
|
+
readonly inputs: readonly [];
|
|
4389
|
+
readonly outputs: readonly [{
|
|
4390
|
+
readonly type: "bytes32";
|
|
4391
|
+
}];
|
|
4392
|
+
}, {
|
|
4393
|
+
readonly type: "function";
|
|
4394
|
+
readonly name: "codeChunk0";
|
|
4395
|
+
readonly stateMutability: "view";
|
|
4396
|
+
readonly inputs: readonly [];
|
|
4397
|
+
readonly outputs: readonly [{
|
|
4398
|
+
readonly type: "address";
|
|
4399
|
+
}];
|
|
4400
|
+
}, {
|
|
4401
|
+
readonly type: "function";
|
|
4402
|
+
readonly name: "codeChunk1";
|
|
4403
|
+
readonly stateMutability: "view";
|
|
4404
|
+
readonly inputs: readonly [];
|
|
4405
|
+
readonly outputs: readonly [{
|
|
4406
|
+
readonly type: "address";
|
|
4407
|
+
}];
|
|
4408
|
+
}, {
|
|
4409
|
+
readonly type: "function";
|
|
4410
|
+
readonly name: "deployedCodeHash";
|
|
4411
|
+
readonly stateMutability: "view";
|
|
4412
|
+
readonly inputs: readonly [{
|
|
4413
|
+
readonly type: "address";
|
|
4414
|
+
}];
|
|
4415
|
+
readonly outputs: readonly [{
|
|
4416
|
+
readonly type: "bytes32";
|
|
4417
|
+
}];
|
|
4418
|
+
}, {
|
|
4419
|
+
readonly type: "function";
|
|
4420
|
+
readonly name: "predict";
|
|
4421
|
+
readonly stateMutability: "view";
|
|
4422
|
+
readonly inputs: readonly [{
|
|
4423
|
+
readonly type: "address";
|
|
4424
|
+
}, {
|
|
4425
|
+
readonly type: "address";
|
|
4426
|
+
}, {
|
|
4427
|
+
readonly type: "address";
|
|
4428
|
+
}, {
|
|
4429
|
+
readonly type: "bytes32";
|
|
4430
|
+
}];
|
|
4431
|
+
readonly outputs: readonly [{
|
|
4432
|
+
readonly type: "address";
|
|
4433
|
+
}];
|
|
4434
|
+
}];
|
|
4435
|
+
export declare const lifecycleV4PoolKeyComponents: readonly [{
|
|
4436
|
+
readonly name: "currency0";
|
|
4437
|
+
readonly type: "address";
|
|
4438
|
+
}, {
|
|
4439
|
+
readonly name: "currency1";
|
|
4440
|
+
readonly type: "address";
|
|
4441
|
+
}, {
|
|
4442
|
+
readonly name: "fee";
|
|
4443
|
+
readonly type: "uint24";
|
|
4444
|
+
}, {
|
|
4445
|
+
readonly name: "tickSpacing";
|
|
4446
|
+
readonly type: "int24";
|
|
4447
|
+
}, {
|
|
4448
|
+
readonly name: "hooks";
|
|
4449
|
+
readonly type: "address";
|
|
4450
|
+
}];
|
|
4451
|
+
export declare const lifecycleV4HookPoolConfigComponents: readonly [{
|
|
4452
|
+
readonly name: "collector";
|
|
4453
|
+
readonly type: "address";
|
|
4454
|
+
}, {
|
|
4455
|
+
readonly name: "liquidityLocker";
|
|
4456
|
+
readonly type: "address";
|
|
4457
|
+
}, {
|
|
4458
|
+
readonly name: "quoteCurrency";
|
|
4459
|
+
readonly type: "address";
|
|
4460
|
+
}, {
|
|
4461
|
+
readonly name: "feeMode";
|
|
4462
|
+
readonly type: "uint8";
|
|
4463
|
+
}, {
|
|
4464
|
+
readonly name: "hookFeePips";
|
|
4465
|
+
readonly type: "uint24";
|
|
4466
|
+
}, {
|
|
4467
|
+
readonly name: "protocolFeeDenominator";
|
|
4468
|
+
readonly type: "uint8";
|
|
4469
|
+
}, {
|
|
4470
|
+
readonly name: "treasury";
|
|
4471
|
+
readonly type: "address";
|
|
4472
|
+
}, {
|
|
4473
|
+
readonly name: "externalLiquidityDisabled";
|
|
4474
|
+
readonly type: "bool";
|
|
4475
|
+
}, {
|
|
4476
|
+
readonly name: "oracleConfigId";
|
|
4477
|
+
readonly type: "bytes32";
|
|
4478
|
+
}];
|
|
4479
|
+
export declare const lifecycleV4HookAbi: readonly [{
|
|
4480
|
+
readonly type: "function";
|
|
4481
|
+
readonly name: "poolManager";
|
|
4482
|
+
readonly stateMutability: "view";
|
|
4483
|
+
readonly inputs: readonly [];
|
|
4484
|
+
readonly outputs: readonly [{
|
|
4485
|
+
readonly type: "address";
|
|
4486
|
+
}];
|
|
4487
|
+
}, {
|
|
4488
|
+
readonly type: "function";
|
|
4489
|
+
readonly name: "registrar";
|
|
4490
|
+
readonly stateMutability: "view";
|
|
4491
|
+
readonly inputs: readonly [];
|
|
4492
|
+
readonly outputs: readonly [{
|
|
4493
|
+
readonly type: "address";
|
|
4494
|
+
}];
|
|
4495
|
+
}, {
|
|
4496
|
+
readonly type: "function";
|
|
4497
|
+
readonly name: "oracleFactory";
|
|
4498
|
+
readonly stateMutability: "view";
|
|
4499
|
+
readonly inputs: readonly [];
|
|
4500
|
+
readonly outputs: readonly [{
|
|
4501
|
+
readonly type: "address";
|
|
4502
|
+
}];
|
|
4503
|
+
}, {
|
|
4504
|
+
readonly type: "function";
|
|
4505
|
+
readonly name: "REQUIRED_HOOK_FLAGS";
|
|
4506
|
+
readonly stateMutability: "view";
|
|
4507
|
+
readonly inputs: readonly [];
|
|
4508
|
+
readonly outputs: readonly [{
|
|
4509
|
+
readonly type: "uint160";
|
|
4510
|
+
}];
|
|
4511
|
+
}, {
|
|
4512
|
+
readonly type: "function";
|
|
4513
|
+
readonly name: "ALL_HOOK_MASK";
|
|
4514
|
+
readonly stateMutability: "view";
|
|
4515
|
+
readonly inputs: readonly [];
|
|
4516
|
+
readonly outputs: readonly [{
|
|
4517
|
+
readonly type: "uint160";
|
|
4518
|
+
}];
|
|
4519
|
+
}, {
|
|
4520
|
+
readonly type: "function";
|
|
4521
|
+
readonly name: "registered";
|
|
4522
|
+
readonly stateMutability: "view";
|
|
4523
|
+
readonly inputs: readonly [{
|
|
4524
|
+
readonly type: "bytes32";
|
|
4525
|
+
}];
|
|
4526
|
+
readonly outputs: readonly [{
|
|
4527
|
+
readonly type: "bool";
|
|
4528
|
+
}];
|
|
4529
|
+
}, {
|
|
4530
|
+
readonly type: "function";
|
|
4531
|
+
readonly name: "initialized";
|
|
4532
|
+
readonly stateMutability: "view";
|
|
4533
|
+
readonly inputs: readonly [{
|
|
4534
|
+
readonly type: "bytes32";
|
|
4535
|
+
}];
|
|
4536
|
+
readonly outputs: readonly [{
|
|
4537
|
+
readonly type: "bool";
|
|
4538
|
+
}];
|
|
4539
|
+
}, {
|
|
4540
|
+
readonly type: "function";
|
|
4541
|
+
readonly name: "openingCompletedAt";
|
|
4542
|
+
readonly stateMutability: "view";
|
|
4543
|
+
readonly inputs: readonly [{
|
|
4544
|
+
readonly type: "bytes32";
|
|
4545
|
+
}];
|
|
4546
|
+
readonly outputs: readonly [{
|
|
4547
|
+
readonly type: "uint256";
|
|
4548
|
+
}];
|
|
4549
|
+
}, {
|
|
4550
|
+
readonly type: "function";
|
|
4551
|
+
readonly name: "oracleInitializedAt";
|
|
4552
|
+
readonly stateMutability: "view";
|
|
4553
|
+
readonly inputs: readonly [{
|
|
4554
|
+
readonly type: "bytes32";
|
|
4555
|
+
}];
|
|
4556
|
+
readonly outputs: readonly [{
|
|
4557
|
+
readonly type: "uint256";
|
|
4558
|
+
}];
|
|
4559
|
+
}, {
|
|
4560
|
+
readonly type: "function";
|
|
4561
|
+
readonly name: "poolKey";
|
|
4562
|
+
readonly stateMutability: "view";
|
|
4563
|
+
readonly inputs: readonly [{
|
|
4564
|
+
readonly type: "bytes32";
|
|
4565
|
+
}];
|
|
4566
|
+
readonly outputs: readonly [{
|
|
4567
|
+
readonly type: "tuple";
|
|
4568
|
+
readonly components: readonly [{
|
|
4569
|
+
readonly name: "currency0";
|
|
4570
|
+
readonly type: "address";
|
|
4571
|
+
}, {
|
|
4572
|
+
readonly name: "currency1";
|
|
4573
|
+
readonly type: "address";
|
|
4574
|
+
}, {
|
|
4575
|
+
readonly name: "fee";
|
|
4576
|
+
readonly type: "uint24";
|
|
4577
|
+
}, {
|
|
4578
|
+
readonly name: "tickSpacing";
|
|
4579
|
+
readonly type: "int24";
|
|
4580
|
+
}, {
|
|
4581
|
+
readonly name: "hooks";
|
|
4582
|
+
readonly type: "address";
|
|
4583
|
+
}];
|
|
4584
|
+
}];
|
|
4585
|
+
}, {
|
|
4586
|
+
readonly type: "function";
|
|
4587
|
+
readonly name: "poolConfig";
|
|
4588
|
+
readonly stateMutability: "view";
|
|
4589
|
+
readonly inputs: readonly [{
|
|
4590
|
+
readonly type: "bytes32";
|
|
4591
|
+
}];
|
|
4592
|
+
readonly outputs: readonly [{
|
|
4593
|
+
readonly type: "tuple";
|
|
4594
|
+
readonly components: readonly [{
|
|
4595
|
+
readonly name: "collector";
|
|
4596
|
+
readonly type: "address";
|
|
4597
|
+
}, {
|
|
4598
|
+
readonly name: "liquidityLocker";
|
|
4599
|
+
readonly type: "address";
|
|
4600
|
+
}, {
|
|
4601
|
+
readonly name: "quoteCurrency";
|
|
4602
|
+
readonly type: "address";
|
|
4603
|
+
}, {
|
|
4604
|
+
readonly name: "feeMode";
|
|
4605
|
+
readonly type: "uint8";
|
|
4606
|
+
}, {
|
|
4607
|
+
readonly name: "hookFeePips";
|
|
4608
|
+
readonly type: "uint24";
|
|
4609
|
+
}, {
|
|
4610
|
+
readonly name: "protocolFeeDenominator";
|
|
4611
|
+
readonly type: "uint8";
|
|
4612
|
+
}, {
|
|
4613
|
+
readonly name: "treasury";
|
|
4614
|
+
readonly type: "address";
|
|
4615
|
+
}, {
|
|
4616
|
+
readonly name: "externalLiquidityDisabled";
|
|
4617
|
+
readonly type: "bool";
|
|
4618
|
+
}, {
|
|
4619
|
+
readonly name: "oracleConfigId";
|
|
4620
|
+
readonly type: "bytes32";
|
|
4621
|
+
}];
|
|
4622
|
+
}];
|
|
4623
|
+
}, {
|
|
4624
|
+
readonly type: "function";
|
|
4625
|
+
readonly name: "registerPool";
|
|
4626
|
+
readonly stateMutability: "nonpayable";
|
|
4627
|
+
readonly inputs: readonly [{
|
|
4628
|
+
readonly type: "tuple";
|
|
4629
|
+
readonly components: readonly [{
|
|
4630
|
+
readonly name: "currency0";
|
|
4631
|
+
readonly type: "address";
|
|
4632
|
+
}, {
|
|
4633
|
+
readonly name: "currency1";
|
|
4634
|
+
readonly type: "address";
|
|
4635
|
+
}, {
|
|
4636
|
+
readonly name: "fee";
|
|
4637
|
+
readonly type: "uint24";
|
|
4638
|
+
}, {
|
|
4639
|
+
readonly name: "tickSpacing";
|
|
4640
|
+
readonly type: "int24";
|
|
4641
|
+
}, {
|
|
4642
|
+
readonly name: "hooks";
|
|
4643
|
+
readonly type: "address";
|
|
4644
|
+
}];
|
|
4645
|
+
}, {
|
|
4646
|
+
readonly type: "tuple";
|
|
4647
|
+
readonly components: readonly [{
|
|
4648
|
+
readonly name: "collector";
|
|
4649
|
+
readonly type: "address";
|
|
4650
|
+
}, {
|
|
4651
|
+
readonly name: "liquidityLocker";
|
|
4652
|
+
readonly type: "address";
|
|
4653
|
+
}, {
|
|
4654
|
+
readonly name: "quoteCurrency";
|
|
4655
|
+
readonly type: "address";
|
|
4656
|
+
}, {
|
|
4657
|
+
readonly name: "feeMode";
|
|
4658
|
+
readonly type: "uint8";
|
|
4659
|
+
}, {
|
|
4660
|
+
readonly name: "hookFeePips";
|
|
4661
|
+
readonly type: "uint24";
|
|
4662
|
+
}, {
|
|
4663
|
+
readonly name: "protocolFeeDenominator";
|
|
4664
|
+
readonly type: "uint8";
|
|
4665
|
+
}, {
|
|
4666
|
+
readonly name: "treasury";
|
|
4667
|
+
readonly type: "address";
|
|
4668
|
+
}, {
|
|
4669
|
+
readonly name: "externalLiquidityDisabled";
|
|
4670
|
+
readonly type: "bool";
|
|
4671
|
+
}, {
|
|
4672
|
+
readonly name: "oracleConfigId";
|
|
4673
|
+
readonly type: "bytes32";
|
|
4674
|
+
}];
|
|
4675
|
+
}];
|
|
4676
|
+
readonly outputs: readonly [];
|
|
4677
|
+
}, {
|
|
4678
|
+
readonly type: "function";
|
|
4679
|
+
readonly name: "completePoolOpening";
|
|
4680
|
+
readonly stateMutability: "nonpayable";
|
|
4681
|
+
readonly inputs: readonly [{
|
|
4682
|
+
readonly type: "tuple";
|
|
4683
|
+
readonly components: readonly [{
|
|
4684
|
+
readonly name: "currency0";
|
|
4685
|
+
readonly type: "address";
|
|
4686
|
+
}, {
|
|
4687
|
+
readonly name: "currency1";
|
|
4688
|
+
readonly type: "address";
|
|
4689
|
+
}, {
|
|
4690
|
+
readonly name: "fee";
|
|
4691
|
+
readonly type: "uint24";
|
|
4692
|
+
}, {
|
|
4693
|
+
readonly name: "tickSpacing";
|
|
4694
|
+
readonly type: "int24";
|
|
4695
|
+
}, {
|
|
4696
|
+
readonly name: "hooks";
|
|
4697
|
+
readonly type: "address";
|
|
4698
|
+
}];
|
|
4699
|
+
}];
|
|
4700
|
+
readonly outputs: readonly [];
|
|
4701
|
+
}, {
|
|
4702
|
+
readonly type: "function";
|
|
4703
|
+
readonly name: "validateCollector";
|
|
4704
|
+
readonly stateMutability: "view";
|
|
4705
|
+
readonly inputs: readonly [{
|
|
4706
|
+
readonly type: "tuple";
|
|
4707
|
+
readonly components: readonly [{
|
|
4708
|
+
readonly name: "currency0";
|
|
4709
|
+
readonly type: "address";
|
|
4710
|
+
}, {
|
|
4711
|
+
readonly name: "currency1";
|
|
4712
|
+
readonly type: "address";
|
|
4713
|
+
}, {
|
|
4714
|
+
readonly name: "fee";
|
|
4715
|
+
readonly type: "uint24";
|
|
4716
|
+
}, {
|
|
4717
|
+
readonly name: "tickSpacing";
|
|
4718
|
+
readonly type: "int24";
|
|
4719
|
+
}, {
|
|
4720
|
+
readonly name: "hooks";
|
|
4721
|
+
readonly type: "address";
|
|
4722
|
+
}];
|
|
4723
|
+
}, {
|
|
4724
|
+
readonly type: "address";
|
|
4725
|
+
}, {
|
|
4726
|
+
readonly type: "address";
|
|
4727
|
+
}];
|
|
4728
|
+
readonly outputs: readonly [];
|
|
4729
|
+
}, {
|
|
4730
|
+
readonly type: "function";
|
|
4731
|
+
readonly name: "collectFees";
|
|
4732
|
+
readonly stateMutability: "nonpayable";
|
|
4733
|
+
readonly inputs: readonly [{
|
|
4734
|
+
readonly type: "tuple";
|
|
4735
|
+
readonly components: readonly [{
|
|
4736
|
+
readonly name: "currency0";
|
|
4737
|
+
readonly type: "address";
|
|
4738
|
+
}, {
|
|
4739
|
+
readonly name: "currency1";
|
|
4740
|
+
readonly type: "address";
|
|
4741
|
+
}, {
|
|
4742
|
+
readonly name: "fee";
|
|
4743
|
+
readonly type: "uint24";
|
|
4744
|
+
}, {
|
|
4745
|
+
readonly name: "tickSpacing";
|
|
4746
|
+
readonly type: "int24";
|
|
4747
|
+
}, {
|
|
4748
|
+
readonly name: "hooks";
|
|
4749
|
+
readonly type: "address";
|
|
4750
|
+
}];
|
|
4751
|
+
}];
|
|
4752
|
+
readonly outputs: readonly [{
|
|
4753
|
+
readonly type: "uint256";
|
|
4754
|
+
}, {
|
|
4755
|
+
readonly type: "uint256";
|
|
4756
|
+
}];
|
|
4757
|
+
}, {
|
|
4758
|
+
readonly type: "function";
|
|
4759
|
+
readonly name: "validateOracleConfig";
|
|
4760
|
+
readonly stateMutability: "view";
|
|
4761
|
+
readonly inputs: readonly [{
|
|
4762
|
+
readonly type: "bytes32";
|
|
4763
|
+
}];
|
|
4764
|
+
readonly outputs: readonly [{
|
|
4765
|
+
readonly type: "uint24";
|
|
4766
|
+
}, {
|
|
4767
|
+
readonly type: "uint16";
|
|
4768
|
+
}];
|
|
4769
|
+
}, {
|
|
4770
|
+
readonly type: "function";
|
|
4771
|
+
readonly name: "observeTruncated";
|
|
4772
|
+
readonly stateMutability: "view";
|
|
4773
|
+
readonly inputs: readonly [{
|
|
4774
|
+
readonly type: "bytes32";
|
|
4775
|
+
}, {
|
|
4776
|
+
readonly type: "uint32[]";
|
|
4777
|
+
}];
|
|
4778
|
+
readonly outputs: readonly [{
|
|
4779
|
+
readonly type: "int56[]";
|
|
4780
|
+
}, {
|
|
4781
|
+
readonly type: "uint160[]";
|
|
4782
|
+
}];
|
|
4783
|
+
}, {
|
|
4784
|
+
readonly type: "function";
|
|
4785
|
+
readonly name: "increaseObservationCardinalityNext";
|
|
4786
|
+
readonly stateMutability: "nonpayable";
|
|
4787
|
+
readonly inputs: readonly [{
|
|
4788
|
+
readonly type: "bytes32";
|
|
4789
|
+
}, {
|
|
4790
|
+
readonly type: "uint16";
|
|
4791
|
+
}];
|
|
4792
|
+
readonly outputs: readonly [];
|
|
4793
|
+
}, {
|
|
4794
|
+
readonly type: "function";
|
|
4795
|
+
readonly name: "pendingFees";
|
|
4796
|
+
readonly stateMutability: "view";
|
|
4797
|
+
readonly inputs: readonly [{
|
|
4798
|
+
readonly type: "bytes32";
|
|
4799
|
+
}, {
|
|
4800
|
+
readonly type: "address";
|
|
4801
|
+
}];
|
|
4802
|
+
readonly outputs: readonly [{
|
|
4803
|
+
readonly type: "uint256";
|
|
4804
|
+
}];
|
|
4805
|
+
}, {
|
|
4806
|
+
readonly type: "function";
|
|
4807
|
+
readonly name: "settledFees";
|
|
4808
|
+
readonly stateMutability: "view";
|
|
4809
|
+
readonly inputs: readonly [{
|
|
4810
|
+
readonly type: "bytes32";
|
|
4811
|
+
}, {
|
|
4812
|
+
readonly type: "address";
|
|
4813
|
+
}];
|
|
4814
|
+
readonly outputs: readonly [{
|
|
4815
|
+
readonly type: "uint256";
|
|
4816
|
+
}];
|
|
4817
|
+
}];
|
|
4818
|
+
/** Reviewed config5 hook. No configurable minimum/sensitivity constructor or getters. */
|
|
4819
|
+
export declare const fixedFeePoolHookV1Abi: readonly [{
|
|
4820
|
+
readonly type: "constructor";
|
|
4821
|
+
readonly inputs: readonly [{
|
|
4822
|
+
readonly name: "parameters";
|
|
4823
|
+
readonly type: "tuple";
|
|
4824
|
+
readonly components: readonly [{
|
|
4825
|
+
readonly name: "poolManager";
|
|
4826
|
+
readonly type: "address";
|
|
4827
|
+
}, {
|
|
4828
|
+
readonly name: "registrar";
|
|
4829
|
+
readonly type: "address";
|
|
4830
|
+
}, {
|
|
4831
|
+
readonly name: "oracleFactory";
|
|
4832
|
+
readonly type: "address";
|
|
4833
|
+
}, {
|
|
4834
|
+
readonly name: "core";
|
|
4835
|
+
readonly type: "address";
|
|
4836
|
+
}, {
|
|
4837
|
+
readonly name: "liquidityLocker";
|
|
4838
|
+
readonly type: "address";
|
|
4839
|
+
}, {
|
|
4840
|
+
readonly name: "token";
|
|
4841
|
+
readonly type: "address";
|
|
4842
|
+
}, {
|
|
4843
|
+
readonly name: "quoteCurrency";
|
|
4844
|
+
readonly type: "address";
|
|
4845
|
+
}, {
|
|
4846
|
+
readonly name: "lpFeePips";
|
|
4847
|
+
readonly type: "uint24";
|
|
4848
|
+
}, {
|
|
4849
|
+
readonly name: "tickSpacing";
|
|
4850
|
+
readonly type: "int24";
|
|
4851
|
+
}, {
|
|
4852
|
+
readonly name: "sqrtPriceX96";
|
|
4853
|
+
readonly type: "uint160";
|
|
4854
|
+
}, {
|
|
4855
|
+
readonly name: "hookFeePips";
|
|
4856
|
+
readonly type: "uint24";
|
|
4857
|
+
}, {
|
|
4858
|
+
readonly name: "feeMode";
|
|
4859
|
+
readonly type: "uint8";
|
|
4860
|
+
}, {
|
|
4861
|
+
readonly name: "protocolFeeDenominator";
|
|
4862
|
+
readonly type: "uint8";
|
|
4863
|
+
}, {
|
|
4864
|
+
readonly name: "treasury";
|
|
4865
|
+
readonly type: "address";
|
|
4866
|
+
}, {
|
|
4867
|
+
readonly name: "externalLiquidityDisabled";
|
|
4868
|
+
readonly type: "bool";
|
|
4869
|
+
}, {
|
|
4870
|
+
readonly name: "oracleConfigId";
|
|
4871
|
+
readonly type: "bytes32";
|
|
4872
|
+
}, {
|
|
4873
|
+
readonly name: "marketCommitment";
|
|
4874
|
+
readonly type: "bytes32";
|
|
4875
|
+
}, {
|
|
4876
|
+
readonly name: "expectedPositionCount";
|
|
4877
|
+
readonly type: "uint32";
|
|
4878
|
+
}];
|
|
4879
|
+
}];
|
|
4880
|
+
readonly stateMutability: "nonpayable";
|
|
4881
|
+
}, {
|
|
4882
|
+
readonly type: "function";
|
|
4883
|
+
readonly name: "ALL_HOOK_MASK";
|
|
4884
|
+
readonly inputs: readonly [];
|
|
4885
|
+
readonly outputs: readonly [{
|
|
4886
|
+
readonly name: "";
|
|
4887
|
+
readonly type: "uint160";
|
|
4888
|
+
}];
|
|
4889
|
+
readonly stateMutability: "view";
|
|
4890
|
+
}, {
|
|
4891
|
+
readonly type: "function";
|
|
4892
|
+
readonly name: "MAX_ORACLE_CARDINALITY";
|
|
4893
|
+
readonly inputs: readonly [];
|
|
4894
|
+
readonly outputs: readonly [{
|
|
4895
|
+
readonly name: "";
|
|
4896
|
+
readonly type: "uint16";
|
|
4897
|
+
}];
|
|
4898
|
+
readonly stateMutability: "view";
|
|
4899
|
+
}, {
|
|
4900
|
+
readonly type: "function";
|
|
4901
|
+
readonly name: "PIPS_DENOMINATOR";
|
|
4902
|
+
readonly inputs: readonly [];
|
|
4903
|
+
readonly outputs: readonly [{
|
|
4904
|
+
readonly name: "";
|
|
4905
|
+
readonly type: "uint24";
|
|
4906
|
+
}];
|
|
4907
|
+
readonly stateMutability: "view";
|
|
4908
|
+
}, {
|
|
4909
|
+
readonly type: "function";
|
|
4910
|
+
readonly name: "REQUIRED_HOOK_FLAGS";
|
|
4911
|
+
readonly inputs: readonly [];
|
|
4912
|
+
readonly outputs: readonly [{
|
|
4913
|
+
readonly name: "";
|
|
4914
|
+
readonly type: "uint160";
|
|
4915
|
+
}];
|
|
4916
|
+
readonly stateMutability: "view";
|
|
4917
|
+
}, {
|
|
4918
|
+
readonly type: "function";
|
|
4919
|
+
readonly name: "afterDonate";
|
|
4920
|
+
readonly inputs: readonly [{
|
|
4921
|
+
readonly name: "";
|
|
4922
|
+
readonly type: "address";
|
|
4923
|
+
}, {
|
|
4924
|
+
readonly name: "key";
|
|
4925
|
+
readonly type: "tuple";
|
|
4926
|
+
readonly components: readonly [{
|
|
4927
|
+
readonly name: "currency0";
|
|
4928
|
+
readonly type: "address";
|
|
4929
|
+
}, {
|
|
4930
|
+
readonly name: "currency1";
|
|
4931
|
+
readonly type: "address";
|
|
4932
|
+
}, {
|
|
4933
|
+
readonly name: "fee";
|
|
4934
|
+
readonly type: "uint24";
|
|
4935
|
+
}, {
|
|
4936
|
+
readonly name: "tickSpacing";
|
|
4937
|
+
readonly type: "int24";
|
|
4938
|
+
}, {
|
|
4939
|
+
readonly name: "hooks";
|
|
4940
|
+
readonly type: "address";
|
|
4941
|
+
}];
|
|
4942
|
+
}, {
|
|
4943
|
+
readonly name: "";
|
|
4944
|
+
readonly type: "uint256";
|
|
4945
|
+
}, {
|
|
4946
|
+
readonly name: "";
|
|
4947
|
+
readonly type: "uint256";
|
|
4948
|
+
}, {
|
|
4949
|
+
readonly name: "";
|
|
4950
|
+
readonly type: "bytes";
|
|
4951
|
+
}];
|
|
4952
|
+
readonly outputs: readonly [{
|
|
4953
|
+
readonly name: "";
|
|
4954
|
+
readonly type: "bytes4";
|
|
4955
|
+
}];
|
|
4956
|
+
readonly stateMutability: "nonpayable";
|
|
4957
|
+
}, {
|
|
4958
|
+
readonly type: "function";
|
|
4959
|
+
readonly name: "afterInitialize";
|
|
4960
|
+
readonly inputs: readonly [{
|
|
4961
|
+
readonly name: "sender";
|
|
4962
|
+
readonly type: "address";
|
|
4963
|
+
}, {
|
|
4964
|
+
readonly name: "key";
|
|
4965
|
+
readonly type: "tuple";
|
|
4966
|
+
readonly components: readonly [{
|
|
4967
|
+
readonly name: "currency0";
|
|
4968
|
+
readonly type: "address";
|
|
4969
|
+
}, {
|
|
4970
|
+
readonly name: "currency1";
|
|
4971
|
+
readonly type: "address";
|
|
4972
|
+
}, {
|
|
4973
|
+
readonly name: "fee";
|
|
4974
|
+
readonly type: "uint24";
|
|
4975
|
+
}, {
|
|
4976
|
+
readonly name: "tickSpacing";
|
|
4977
|
+
readonly type: "int24";
|
|
4978
|
+
}, {
|
|
4979
|
+
readonly name: "hooks";
|
|
4980
|
+
readonly type: "address";
|
|
4981
|
+
}];
|
|
4982
|
+
}, {
|
|
4983
|
+
readonly name: "sqrtPriceX96";
|
|
4984
|
+
readonly type: "uint160";
|
|
4985
|
+
}, {
|
|
4986
|
+
readonly name: "tick";
|
|
4987
|
+
readonly type: "int24";
|
|
4988
|
+
}];
|
|
4989
|
+
readonly outputs: readonly [{
|
|
4990
|
+
readonly name: "";
|
|
4991
|
+
readonly type: "bytes4";
|
|
4992
|
+
}];
|
|
4993
|
+
readonly stateMutability: "nonpayable";
|
|
4994
|
+
}, {
|
|
4995
|
+
readonly type: "function";
|
|
4996
|
+
readonly name: "afterSwap";
|
|
4997
|
+
readonly inputs: readonly [{
|
|
4998
|
+
readonly name: "";
|
|
4999
|
+
readonly type: "address";
|
|
5000
|
+
}, {
|
|
5001
|
+
readonly name: "key";
|
|
5002
|
+
readonly type: "tuple";
|
|
5003
|
+
readonly components: readonly [{
|
|
5004
|
+
readonly name: "currency0";
|
|
5005
|
+
readonly type: "address";
|
|
5006
|
+
}, {
|
|
5007
|
+
readonly name: "currency1";
|
|
5008
|
+
readonly type: "address";
|
|
5009
|
+
}, {
|
|
5010
|
+
readonly name: "fee";
|
|
5011
|
+
readonly type: "uint24";
|
|
5012
|
+
}, {
|
|
5013
|
+
readonly name: "tickSpacing";
|
|
5014
|
+
readonly type: "int24";
|
|
5015
|
+
}, {
|
|
5016
|
+
readonly name: "hooks";
|
|
5017
|
+
readonly type: "address";
|
|
5018
|
+
}];
|
|
5019
|
+
}, {
|
|
5020
|
+
readonly name: "params";
|
|
5021
|
+
readonly type: "tuple";
|
|
5022
|
+
readonly components: readonly [{
|
|
5023
|
+
readonly name: "zeroForOne";
|
|
5024
|
+
readonly type: "bool";
|
|
5025
|
+
}, {
|
|
5026
|
+
readonly name: "amountSpecified";
|
|
5027
|
+
readonly type: "int256";
|
|
5028
|
+
}, {
|
|
5029
|
+
readonly name: "sqrtPriceLimitX96";
|
|
5030
|
+
readonly type: "uint160";
|
|
5031
|
+
}];
|
|
5032
|
+
}, {
|
|
5033
|
+
readonly name: "delta";
|
|
5034
|
+
readonly type: "int256";
|
|
5035
|
+
}, {
|
|
5036
|
+
readonly name: "";
|
|
5037
|
+
readonly type: "bytes";
|
|
5038
|
+
}];
|
|
5039
|
+
readonly outputs: readonly [{
|
|
5040
|
+
readonly name: "";
|
|
5041
|
+
readonly type: "bytes4";
|
|
5042
|
+
}, {
|
|
5043
|
+
readonly name: "";
|
|
5044
|
+
readonly type: "int128";
|
|
5045
|
+
}];
|
|
5046
|
+
readonly stateMutability: "nonpayable";
|
|
5047
|
+
}, {
|
|
5048
|
+
readonly type: "function";
|
|
5049
|
+
readonly name: "aggregateLiabilities";
|
|
5050
|
+
readonly inputs: readonly [{
|
|
5051
|
+
readonly name: "asset";
|
|
5052
|
+
readonly type: "address";
|
|
5053
|
+
}];
|
|
5054
|
+
readonly outputs: readonly [{
|
|
5055
|
+
readonly name: "";
|
|
5056
|
+
readonly type: "uint256";
|
|
5057
|
+
}];
|
|
5058
|
+
readonly stateMutability: "view";
|
|
5059
|
+
}, {
|
|
5060
|
+
readonly type: "function";
|
|
5061
|
+
readonly name: "aggregateManagerClaims";
|
|
5062
|
+
readonly inputs: readonly [{
|
|
5063
|
+
readonly name: "asset";
|
|
5064
|
+
readonly type: "address";
|
|
5065
|
+
}];
|
|
5066
|
+
readonly outputs: readonly [{
|
|
5067
|
+
readonly name: "";
|
|
5068
|
+
readonly type: "uint256";
|
|
5069
|
+
}];
|
|
5070
|
+
readonly stateMutability: "view";
|
|
5071
|
+
}, {
|
|
5072
|
+
readonly type: "function";
|
|
5073
|
+
readonly name: "beforeAddLiquidity";
|
|
5074
|
+
readonly inputs: readonly [{
|
|
5075
|
+
readonly name: "sender";
|
|
5076
|
+
readonly type: "address";
|
|
5077
|
+
}, {
|
|
5078
|
+
readonly name: "key";
|
|
5079
|
+
readonly type: "tuple";
|
|
5080
|
+
readonly components: readonly [{
|
|
5081
|
+
readonly name: "currency0";
|
|
5082
|
+
readonly type: "address";
|
|
5083
|
+
}, {
|
|
5084
|
+
readonly name: "currency1";
|
|
5085
|
+
readonly type: "address";
|
|
5086
|
+
}, {
|
|
5087
|
+
readonly name: "fee";
|
|
5088
|
+
readonly type: "uint24";
|
|
5089
|
+
}, {
|
|
5090
|
+
readonly name: "tickSpacing";
|
|
5091
|
+
readonly type: "int24";
|
|
5092
|
+
}, {
|
|
5093
|
+
readonly name: "hooks";
|
|
5094
|
+
readonly type: "address";
|
|
5095
|
+
}];
|
|
5096
|
+
}, {
|
|
5097
|
+
readonly name: "params";
|
|
5098
|
+
readonly type: "tuple";
|
|
5099
|
+
readonly components: readonly [{
|
|
5100
|
+
readonly name: "tickLower";
|
|
5101
|
+
readonly type: "int24";
|
|
5102
|
+
}, {
|
|
5103
|
+
readonly name: "tickUpper";
|
|
5104
|
+
readonly type: "int24";
|
|
5105
|
+
}, {
|
|
5106
|
+
readonly name: "liquidityDelta";
|
|
5107
|
+
readonly type: "int256";
|
|
5108
|
+
}, {
|
|
5109
|
+
readonly name: "salt";
|
|
5110
|
+
readonly type: "bytes32";
|
|
5111
|
+
}];
|
|
5112
|
+
}, {
|
|
5113
|
+
readonly name: "";
|
|
5114
|
+
readonly type: "bytes";
|
|
5115
|
+
}];
|
|
5116
|
+
readonly outputs: readonly [{
|
|
5117
|
+
readonly name: "";
|
|
5118
|
+
readonly type: "bytes4";
|
|
5119
|
+
}];
|
|
5120
|
+
readonly stateMutability: "nonpayable";
|
|
5121
|
+
}, {
|
|
5122
|
+
readonly type: "function";
|
|
5123
|
+
readonly name: "beforeDonate";
|
|
5124
|
+
readonly inputs: readonly [{
|
|
5125
|
+
readonly name: "";
|
|
5126
|
+
readonly type: "address";
|
|
5127
|
+
}, {
|
|
5128
|
+
readonly name: "key";
|
|
5129
|
+
readonly type: "tuple";
|
|
5130
|
+
readonly components: readonly [{
|
|
5131
|
+
readonly name: "currency0";
|
|
5132
|
+
readonly type: "address";
|
|
5133
|
+
}, {
|
|
5134
|
+
readonly name: "currency1";
|
|
5135
|
+
readonly type: "address";
|
|
5136
|
+
}, {
|
|
5137
|
+
readonly name: "fee";
|
|
5138
|
+
readonly type: "uint24";
|
|
5139
|
+
}, {
|
|
5140
|
+
readonly name: "tickSpacing";
|
|
5141
|
+
readonly type: "int24";
|
|
5142
|
+
}, {
|
|
5143
|
+
readonly name: "hooks";
|
|
5144
|
+
readonly type: "address";
|
|
5145
|
+
}];
|
|
5146
|
+
}, {
|
|
5147
|
+
readonly name: "amount0";
|
|
5148
|
+
readonly type: "uint256";
|
|
5149
|
+
}, {
|
|
5150
|
+
readonly name: "amount1";
|
|
5151
|
+
readonly type: "uint256";
|
|
5152
|
+
}, {
|
|
5153
|
+
readonly name: "";
|
|
5154
|
+
readonly type: "bytes";
|
|
5155
|
+
}];
|
|
5156
|
+
readonly outputs: readonly [{
|
|
5157
|
+
readonly name: "";
|
|
5158
|
+
readonly type: "bytes4";
|
|
5159
|
+
}];
|
|
5160
|
+
readonly stateMutability: "nonpayable";
|
|
5161
|
+
}, {
|
|
5162
|
+
readonly type: "function";
|
|
5163
|
+
readonly name: "beforeRemoveLiquidity";
|
|
5164
|
+
readonly inputs: readonly [{
|
|
5165
|
+
readonly name: "sender";
|
|
5166
|
+
readonly type: "address";
|
|
5167
|
+
}, {
|
|
5168
|
+
readonly name: "key";
|
|
5169
|
+
readonly type: "tuple";
|
|
5170
|
+
readonly components: readonly [{
|
|
5171
|
+
readonly name: "currency0";
|
|
5172
|
+
readonly type: "address";
|
|
5173
|
+
}, {
|
|
5174
|
+
readonly name: "currency1";
|
|
5175
|
+
readonly type: "address";
|
|
5176
|
+
}, {
|
|
5177
|
+
readonly name: "fee";
|
|
5178
|
+
readonly type: "uint24";
|
|
5179
|
+
}, {
|
|
5180
|
+
readonly name: "tickSpacing";
|
|
5181
|
+
readonly type: "int24";
|
|
5182
|
+
}, {
|
|
5183
|
+
readonly name: "hooks";
|
|
5184
|
+
readonly type: "address";
|
|
5185
|
+
}];
|
|
5186
|
+
}, {
|
|
5187
|
+
readonly name: "params";
|
|
5188
|
+
readonly type: "tuple";
|
|
5189
|
+
readonly components: readonly [{
|
|
5190
|
+
readonly name: "tickLower";
|
|
5191
|
+
readonly type: "int24";
|
|
5192
|
+
}, {
|
|
5193
|
+
readonly name: "tickUpper";
|
|
5194
|
+
readonly type: "int24";
|
|
5195
|
+
}, {
|
|
5196
|
+
readonly name: "liquidityDelta";
|
|
5197
|
+
readonly type: "int256";
|
|
5198
|
+
}, {
|
|
5199
|
+
readonly name: "salt";
|
|
5200
|
+
readonly type: "bytes32";
|
|
5201
|
+
}];
|
|
5202
|
+
}, {
|
|
5203
|
+
readonly name: "";
|
|
5204
|
+
readonly type: "bytes";
|
|
5205
|
+
}];
|
|
5206
|
+
readonly outputs: readonly [{
|
|
5207
|
+
readonly name: "";
|
|
5208
|
+
readonly type: "bytes4";
|
|
5209
|
+
}];
|
|
5210
|
+
readonly stateMutability: "nonpayable";
|
|
5211
|
+
}, {
|
|
5212
|
+
readonly type: "function";
|
|
5213
|
+
readonly name: "beforeSwap";
|
|
5214
|
+
readonly inputs: readonly [{
|
|
5215
|
+
readonly name: "";
|
|
5216
|
+
readonly type: "address";
|
|
5217
|
+
}, {
|
|
5218
|
+
readonly name: "key";
|
|
5219
|
+
readonly type: "tuple";
|
|
5220
|
+
readonly components: readonly [{
|
|
5221
|
+
readonly name: "currency0";
|
|
5222
|
+
readonly type: "address";
|
|
5223
|
+
}, {
|
|
5224
|
+
readonly name: "currency1";
|
|
5225
|
+
readonly type: "address";
|
|
5226
|
+
}, {
|
|
5227
|
+
readonly name: "fee";
|
|
5228
|
+
readonly type: "uint24";
|
|
5229
|
+
}, {
|
|
5230
|
+
readonly name: "tickSpacing";
|
|
5231
|
+
readonly type: "int24";
|
|
5232
|
+
}, {
|
|
5233
|
+
readonly name: "hooks";
|
|
5234
|
+
readonly type: "address";
|
|
5235
|
+
}];
|
|
5236
|
+
}, {
|
|
5237
|
+
readonly name: "params";
|
|
5238
|
+
readonly type: "tuple";
|
|
5239
|
+
readonly components: readonly [{
|
|
5240
|
+
readonly name: "zeroForOne";
|
|
5241
|
+
readonly type: "bool";
|
|
5242
|
+
}, {
|
|
5243
|
+
readonly name: "amountSpecified";
|
|
5244
|
+
readonly type: "int256";
|
|
5245
|
+
}, {
|
|
5246
|
+
readonly name: "sqrtPriceLimitX96";
|
|
5247
|
+
readonly type: "uint160";
|
|
5248
|
+
}];
|
|
5249
|
+
}, {
|
|
5250
|
+
readonly name: "";
|
|
5251
|
+
readonly type: "bytes";
|
|
5252
|
+
}];
|
|
5253
|
+
readonly outputs: readonly [{
|
|
5254
|
+
readonly name: "";
|
|
5255
|
+
readonly type: "bytes4";
|
|
5256
|
+
}, {
|
|
5257
|
+
readonly name: "";
|
|
5258
|
+
readonly type: "int256";
|
|
5259
|
+
}, {
|
|
5260
|
+
readonly name: "";
|
|
5261
|
+
readonly type: "uint24";
|
|
5262
|
+
}];
|
|
5263
|
+
readonly stateMutability: "nonpayable";
|
|
5264
|
+
}, {
|
|
5265
|
+
readonly type: "function";
|
|
5266
|
+
readonly name: "boundPoolId";
|
|
5267
|
+
readonly inputs: readonly [];
|
|
5268
|
+
readonly outputs: readonly [{
|
|
5269
|
+
readonly name: "";
|
|
5270
|
+
readonly type: "bytes32";
|
|
5271
|
+
}];
|
|
5272
|
+
readonly stateMutability: "view";
|
|
5273
|
+
}, {
|
|
5274
|
+
readonly type: "function";
|
|
5275
|
+
readonly name: "collectFees";
|
|
5276
|
+
readonly inputs: readonly [{
|
|
5277
|
+
readonly name: "key";
|
|
5278
|
+
readonly type: "tuple";
|
|
5279
|
+
readonly components: readonly [{
|
|
5280
|
+
readonly name: "currency0";
|
|
5281
|
+
readonly type: "address";
|
|
5282
|
+
}, {
|
|
5283
|
+
readonly name: "currency1";
|
|
5284
|
+
readonly type: "address";
|
|
5285
|
+
}, {
|
|
5286
|
+
readonly name: "fee";
|
|
5287
|
+
readonly type: "uint24";
|
|
5288
|
+
}, {
|
|
5289
|
+
readonly name: "tickSpacing";
|
|
5290
|
+
readonly type: "int24";
|
|
5291
|
+
}, {
|
|
5292
|
+
readonly name: "hooks";
|
|
5293
|
+
readonly type: "address";
|
|
5294
|
+
}];
|
|
5295
|
+
}];
|
|
5296
|
+
readonly outputs: readonly [{
|
|
5297
|
+
readonly name: "amount0";
|
|
5298
|
+
readonly type: "uint256";
|
|
5299
|
+
}, {
|
|
5300
|
+
readonly name: "amount1";
|
|
5301
|
+
readonly type: "uint256";
|
|
5302
|
+
}];
|
|
5303
|
+
readonly stateMutability: "nonpayable";
|
|
5304
|
+
}, {
|
|
5305
|
+
readonly type: "function";
|
|
5306
|
+
readonly name: "completePoolOpening";
|
|
5307
|
+
readonly inputs: readonly [{
|
|
5308
|
+
readonly name: "key";
|
|
5309
|
+
readonly type: "tuple";
|
|
5310
|
+
readonly components: readonly [{
|
|
5311
|
+
readonly name: "currency0";
|
|
5312
|
+
readonly type: "address";
|
|
5313
|
+
}, {
|
|
5314
|
+
readonly name: "currency1";
|
|
5315
|
+
readonly type: "address";
|
|
5316
|
+
}, {
|
|
5317
|
+
readonly name: "fee";
|
|
5318
|
+
readonly type: "uint24";
|
|
5319
|
+
}, {
|
|
5320
|
+
readonly name: "tickSpacing";
|
|
5321
|
+
readonly type: "int24";
|
|
5322
|
+
}, {
|
|
5323
|
+
readonly name: "hooks";
|
|
5324
|
+
readonly type: "address";
|
|
5325
|
+
}];
|
|
5326
|
+
}];
|
|
5327
|
+
readonly outputs: readonly [];
|
|
5328
|
+
readonly stateMutability: "nonpayable";
|
|
5329
|
+
}, {
|
|
5330
|
+
readonly type: "function";
|
|
5331
|
+
readonly name: "core";
|
|
5332
|
+
readonly inputs: readonly [];
|
|
5333
|
+
readonly outputs: readonly [{
|
|
5334
|
+
readonly name: "";
|
|
5335
|
+
readonly type: "address";
|
|
5336
|
+
}];
|
|
5337
|
+
readonly stateMutability: "view";
|
|
5338
|
+
}, {
|
|
5339
|
+
readonly type: "function";
|
|
5340
|
+
readonly name: "deploymentConfigHash";
|
|
5341
|
+
readonly inputs: readonly [];
|
|
5342
|
+
readonly outputs: readonly [{
|
|
5343
|
+
readonly name: "";
|
|
5344
|
+
readonly type: "bytes32";
|
|
5345
|
+
}];
|
|
5346
|
+
readonly stateMutability: "view";
|
|
5347
|
+
}, {
|
|
5348
|
+
readonly type: "function";
|
|
5349
|
+
readonly name: "expectedPositionCount";
|
|
5350
|
+
readonly inputs: readonly [];
|
|
5351
|
+
readonly outputs: readonly [{
|
|
5352
|
+
readonly name: "";
|
|
5353
|
+
readonly type: "uint32";
|
|
5354
|
+
}];
|
|
5355
|
+
readonly stateMutability: "view";
|
|
5356
|
+
}, {
|
|
5357
|
+
readonly type: "function";
|
|
5358
|
+
readonly name: "increaseObservationCardinalityNext";
|
|
5359
|
+
readonly inputs: readonly [{
|
|
5360
|
+
readonly name: "id";
|
|
5361
|
+
readonly type: "bytes32";
|
|
5362
|
+
}, {
|
|
5363
|
+
readonly name: "requested";
|
|
5364
|
+
readonly type: "uint16";
|
|
5365
|
+
}];
|
|
5366
|
+
readonly outputs: readonly [];
|
|
5367
|
+
readonly stateMutability: "nonpayable";
|
|
5368
|
+
}, {
|
|
5369
|
+
readonly type: "function";
|
|
5370
|
+
readonly name: "initialized";
|
|
5371
|
+
readonly inputs: readonly [{
|
|
5372
|
+
readonly name: "id";
|
|
5373
|
+
readonly type: "bytes32";
|
|
5374
|
+
}];
|
|
5375
|
+
readonly outputs: readonly [{
|
|
5376
|
+
readonly name: "";
|
|
5377
|
+
readonly type: "bool";
|
|
5378
|
+
}];
|
|
5379
|
+
readonly stateMutability: "view";
|
|
5380
|
+
}, {
|
|
5381
|
+
readonly type: "function";
|
|
5382
|
+
readonly name: "liquidityLocker";
|
|
5383
|
+
readonly inputs: readonly [];
|
|
5384
|
+
readonly outputs: readonly [{
|
|
5385
|
+
readonly name: "";
|
|
5386
|
+
readonly type: "address";
|
|
5387
|
+
}];
|
|
5388
|
+
readonly stateMutability: "view";
|
|
5389
|
+
}, {
|
|
5390
|
+
readonly type: "function";
|
|
5391
|
+
readonly name: "marketCommitment";
|
|
5392
|
+
readonly inputs: readonly [];
|
|
5393
|
+
readonly outputs: readonly [{
|
|
5394
|
+
readonly name: "";
|
|
5395
|
+
readonly type: "bytes32";
|
|
5396
|
+
}];
|
|
5397
|
+
readonly stateMutability: "view";
|
|
5398
|
+
}, {
|
|
5399
|
+
readonly type: "function";
|
|
5400
|
+
readonly name: "observations";
|
|
5401
|
+
readonly inputs: readonly [{
|
|
5402
|
+
readonly name: "id";
|
|
5403
|
+
readonly type: "bytes32";
|
|
5404
|
+
}, {
|
|
5405
|
+
readonly name: "index";
|
|
5406
|
+
readonly type: "uint256";
|
|
5407
|
+
}];
|
|
5408
|
+
readonly outputs: readonly [{
|
|
5409
|
+
readonly name: "blockTimestamp";
|
|
5410
|
+
readonly type: "uint32";
|
|
5411
|
+
}, {
|
|
5412
|
+
readonly name: "tickCumulative";
|
|
5413
|
+
readonly type: "int56";
|
|
5414
|
+
}, {
|
|
5415
|
+
readonly name: "secondsPerLiquidityCumulativeX128";
|
|
5416
|
+
readonly type: "uint160";
|
|
5417
|
+
}, {
|
|
5418
|
+
readonly name: "observationInitialized";
|
|
5419
|
+
readonly type: "bool";
|
|
5420
|
+
}];
|
|
5421
|
+
readonly stateMutability: "view";
|
|
5422
|
+
}, {
|
|
5423
|
+
readonly type: "function";
|
|
5424
|
+
readonly name: "observeTruncated";
|
|
5425
|
+
readonly inputs: readonly [{
|
|
5426
|
+
readonly name: "id";
|
|
5427
|
+
readonly type: "bytes32";
|
|
5428
|
+
}, {
|
|
5429
|
+
readonly name: "secondsAgos";
|
|
5430
|
+
readonly type: "uint32[]";
|
|
5431
|
+
}];
|
|
5432
|
+
readonly outputs: readonly [{
|
|
5433
|
+
readonly name: "tickCumulatives";
|
|
5434
|
+
readonly type: "int56[]";
|
|
5435
|
+
}, {
|
|
5436
|
+
readonly name: "secondsPerLiquidityCumulativeX128s";
|
|
5437
|
+
readonly type: "uint160[]";
|
|
5438
|
+
}];
|
|
5439
|
+
readonly stateMutability: "view";
|
|
5440
|
+
}, {
|
|
5441
|
+
readonly type: "function";
|
|
5442
|
+
readonly name: "openingCompletedAt";
|
|
5443
|
+
readonly inputs: readonly [{
|
|
5444
|
+
readonly name: "id";
|
|
5445
|
+
readonly type: "bytes32";
|
|
5446
|
+
}];
|
|
5447
|
+
readonly outputs: readonly [{
|
|
5448
|
+
readonly name: "";
|
|
5449
|
+
readonly type: "uint256";
|
|
5450
|
+
}];
|
|
5451
|
+
readonly stateMutability: "view";
|
|
5452
|
+
}, {
|
|
5453
|
+
readonly type: "function";
|
|
5454
|
+
readonly name: "openingSqrtPriceX96";
|
|
5455
|
+
readonly inputs: readonly [];
|
|
5456
|
+
readonly outputs: readonly [{
|
|
5457
|
+
readonly name: "";
|
|
5458
|
+
readonly type: "uint160";
|
|
5459
|
+
}];
|
|
5460
|
+
readonly stateMutability: "view";
|
|
5461
|
+
}, {
|
|
5462
|
+
readonly type: "function";
|
|
5463
|
+
readonly name: "oracleFactory";
|
|
5464
|
+
readonly inputs: readonly [];
|
|
5465
|
+
readonly outputs: readonly [{
|
|
5466
|
+
readonly name: "";
|
|
5467
|
+
readonly type: "address";
|
|
5468
|
+
}];
|
|
5469
|
+
readonly stateMutability: "view";
|
|
5470
|
+
}, {
|
|
5471
|
+
readonly type: "function";
|
|
5472
|
+
readonly name: "oracleInitializedAt";
|
|
5473
|
+
readonly inputs: readonly [{
|
|
5474
|
+
readonly name: "id";
|
|
5475
|
+
readonly type: "bytes32";
|
|
5476
|
+
}];
|
|
5477
|
+
readonly outputs: readonly [{
|
|
5478
|
+
readonly name: "";
|
|
5479
|
+
readonly type: "uint256";
|
|
5480
|
+
}];
|
|
5481
|
+
readonly stateMutability: "view";
|
|
5482
|
+
}, {
|
|
5483
|
+
readonly type: "function";
|
|
5484
|
+
readonly name: "oracleState";
|
|
5485
|
+
readonly inputs: readonly [{
|
|
5486
|
+
readonly name: "id";
|
|
5487
|
+
readonly type: "bytes32";
|
|
5488
|
+
}];
|
|
5489
|
+
readonly outputs: readonly [{
|
|
5490
|
+
readonly name: "index";
|
|
5491
|
+
readonly type: "uint16";
|
|
5492
|
+
}, {
|
|
5493
|
+
readonly name: "cardinality";
|
|
5494
|
+
readonly type: "uint16";
|
|
5495
|
+
}, {
|
|
5496
|
+
readonly name: "cardinalityNext";
|
|
5497
|
+
readonly type: "uint16";
|
|
5498
|
+
}, {
|
|
5499
|
+
readonly name: "tick";
|
|
5500
|
+
readonly type: "int24";
|
|
5501
|
+
}, {
|
|
5502
|
+
readonly name: "lastBlock";
|
|
5503
|
+
readonly type: "uint64";
|
|
5504
|
+
}, {
|
|
5505
|
+
readonly name: "initializedAt";
|
|
5506
|
+
readonly type: "uint64";
|
|
5507
|
+
}, {
|
|
5508
|
+
readonly name: "maxAbsTickMove";
|
|
5509
|
+
readonly type: "int24";
|
|
5510
|
+
}, {
|
|
5511
|
+
readonly name: "cardinalityCap";
|
|
5512
|
+
readonly type: "uint16";
|
|
5513
|
+
}];
|
|
5514
|
+
readonly stateMutability: "view";
|
|
5515
|
+
}, {
|
|
5516
|
+
readonly type: "function";
|
|
5517
|
+
readonly name: "pendingFees";
|
|
5518
|
+
readonly inputs: readonly [{
|
|
5519
|
+
readonly name: "id";
|
|
5520
|
+
readonly type: "bytes32";
|
|
5521
|
+
}, {
|
|
5522
|
+
readonly name: "asset";
|
|
5523
|
+
readonly type: "address";
|
|
5524
|
+
}];
|
|
5525
|
+
readonly outputs: readonly [{
|
|
5526
|
+
readonly name: "";
|
|
5527
|
+
readonly type: "uint256";
|
|
5528
|
+
}];
|
|
5529
|
+
readonly stateMutability: "view";
|
|
5530
|
+
}, {
|
|
5531
|
+
readonly type: "function";
|
|
5532
|
+
readonly name: "pendingTreasurySweeps";
|
|
5533
|
+
readonly inputs: readonly [{
|
|
5534
|
+
readonly name: "id";
|
|
5535
|
+
readonly type: "bytes32";
|
|
5536
|
+
}, {
|
|
5537
|
+
readonly name: "asset";
|
|
5538
|
+
readonly type: "address";
|
|
5539
|
+
}];
|
|
5540
|
+
readonly outputs: readonly [{
|
|
5541
|
+
readonly name: "";
|
|
5542
|
+
readonly type: "uint256";
|
|
5543
|
+
}];
|
|
5544
|
+
readonly stateMutability: "view";
|
|
5545
|
+
}, {
|
|
5546
|
+
readonly type: "function";
|
|
5547
|
+
readonly name: "poolConfig";
|
|
5548
|
+
readonly inputs: readonly [{
|
|
5549
|
+
readonly name: "id";
|
|
5550
|
+
readonly type: "bytes32";
|
|
5551
|
+
}];
|
|
5552
|
+
readonly outputs: readonly [{
|
|
5553
|
+
readonly name: "";
|
|
5554
|
+
readonly type: "tuple";
|
|
5555
|
+
readonly components: readonly [{
|
|
5556
|
+
readonly name: "collector";
|
|
5557
|
+
readonly type: "address";
|
|
5558
|
+
}, {
|
|
5559
|
+
readonly name: "liquidityLocker";
|
|
5560
|
+
readonly type: "address";
|
|
5561
|
+
}, {
|
|
5562
|
+
readonly name: "quoteCurrency";
|
|
5563
|
+
readonly type: "address";
|
|
5564
|
+
}, {
|
|
5565
|
+
readonly name: "feeMode";
|
|
5566
|
+
readonly type: "uint8";
|
|
5567
|
+
}, {
|
|
5568
|
+
readonly name: "hookFeePips";
|
|
5569
|
+
readonly type: "uint24";
|
|
5570
|
+
}, {
|
|
5571
|
+
readonly name: "protocolFeeDenominator";
|
|
4387
5572
|
readonly type: "uint8";
|
|
4388
5573
|
}, {
|
|
4389
5574
|
readonly name: "treasury";
|
|
@@ -4396,12 +5581,16 @@ export declare const lifecycleV4HookAbi: readonly [{
|
|
|
4396
5581
|
readonly type: "bytes32";
|
|
4397
5582
|
}];
|
|
4398
5583
|
}];
|
|
4399
|
-
readonly
|
|
5584
|
+
readonly stateMutability: "view";
|
|
4400
5585
|
}, {
|
|
4401
5586
|
readonly type: "function";
|
|
4402
|
-
readonly name: "
|
|
4403
|
-
readonly stateMutability: "nonpayable";
|
|
5587
|
+
readonly name: "poolKey";
|
|
4404
5588
|
readonly inputs: readonly [{
|
|
5589
|
+
readonly name: "id";
|
|
5590
|
+
readonly type: "bytes32";
|
|
5591
|
+
}];
|
|
5592
|
+
readonly outputs: readonly [{
|
|
5593
|
+
readonly name: "";
|
|
4405
5594
|
readonly type: "tuple";
|
|
4406
5595
|
readonly components: readonly [{
|
|
4407
5596
|
readonly name: "currency0";
|
|
@@ -4420,12 +5609,30 @@ export declare const lifecycleV4HookAbi: readonly [{
|
|
|
4420
5609
|
readonly type: "address";
|
|
4421
5610
|
}];
|
|
4422
5611
|
}];
|
|
4423
|
-
readonly
|
|
5612
|
+
readonly stateMutability: "view";
|
|
4424
5613
|
}, {
|
|
4425
5614
|
readonly type: "function";
|
|
4426
|
-
readonly name: "
|
|
5615
|
+
readonly name: "poolManager";
|
|
5616
|
+
readonly inputs: readonly [];
|
|
5617
|
+
readonly outputs: readonly [{
|
|
5618
|
+
readonly name: "";
|
|
5619
|
+
readonly type: "address";
|
|
5620
|
+
}];
|
|
5621
|
+
readonly stateMutability: "view";
|
|
5622
|
+
}, {
|
|
5623
|
+
readonly type: "function";
|
|
5624
|
+
readonly name: "pools";
|
|
5625
|
+
readonly inputs: readonly [];
|
|
5626
|
+
readonly outputs: readonly [{
|
|
5627
|
+
readonly name: "ids";
|
|
5628
|
+
readonly type: "bytes32[]";
|
|
5629
|
+
}];
|
|
4427
5630
|
readonly stateMutability: "view";
|
|
5631
|
+
}, {
|
|
5632
|
+
readonly type: "function";
|
|
5633
|
+
readonly name: "registerPool";
|
|
4428
5634
|
readonly inputs: readonly [{
|
|
5635
|
+
readonly name: "key";
|
|
4429
5636
|
readonly type: "tuple";
|
|
4430
5637
|
readonly components: readonly [{
|
|
4431
5638
|
readonly name: "currency0";
|
|
@@ -4444,16 +5651,101 @@ export declare const lifecycleV4HookAbi: readonly [{
|
|
|
4444
5651
|
readonly type: "address";
|
|
4445
5652
|
}];
|
|
4446
5653
|
}, {
|
|
5654
|
+
readonly name: "config";
|
|
5655
|
+
readonly type: "tuple";
|
|
5656
|
+
readonly components: readonly [{
|
|
5657
|
+
readonly name: "collector";
|
|
5658
|
+
readonly type: "address";
|
|
5659
|
+
}, {
|
|
5660
|
+
readonly name: "liquidityLocker";
|
|
5661
|
+
readonly type: "address";
|
|
5662
|
+
}, {
|
|
5663
|
+
readonly name: "quoteCurrency";
|
|
5664
|
+
readonly type: "address";
|
|
5665
|
+
}, {
|
|
5666
|
+
readonly name: "feeMode";
|
|
5667
|
+
readonly type: "uint8";
|
|
5668
|
+
}, {
|
|
5669
|
+
readonly name: "hookFeePips";
|
|
5670
|
+
readonly type: "uint24";
|
|
5671
|
+
}, {
|
|
5672
|
+
readonly name: "protocolFeeDenominator";
|
|
5673
|
+
readonly type: "uint8";
|
|
5674
|
+
}, {
|
|
5675
|
+
readonly name: "treasury";
|
|
5676
|
+
readonly type: "address";
|
|
5677
|
+
}, {
|
|
5678
|
+
readonly name: "externalLiquidityDisabled";
|
|
5679
|
+
readonly type: "bool";
|
|
5680
|
+
}, {
|
|
5681
|
+
readonly name: "oracleConfigId";
|
|
5682
|
+
readonly type: "bytes32";
|
|
5683
|
+
}];
|
|
5684
|
+
}];
|
|
5685
|
+
readonly outputs: readonly [];
|
|
5686
|
+
readonly stateMutability: "nonpayable";
|
|
5687
|
+
}, {
|
|
5688
|
+
readonly type: "function";
|
|
5689
|
+
readonly name: "registered";
|
|
5690
|
+
readonly inputs: readonly [{
|
|
5691
|
+
readonly name: "id";
|
|
5692
|
+
readonly type: "bytes32";
|
|
5693
|
+
}];
|
|
5694
|
+
readonly outputs: readonly [{
|
|
5695
|
+
readonly name: "";
|
|
5696
|
+
readonly type: "bool";
|
|
5697
|
+
}];
|
|
5698
|
+
readonly stateMutability: "view";
|
|
5699
|
+
}, {
|
|
5700
|
+
readonly type: "function";
|
|
5701
|
+
readonly name: "registrar";
|
|
5702
|
+
readonly inputs: readonly [];
|
|
5703
|
+
readonly outputs: readonly [{
|
|
5704
|
+
readonly name: "";
|
|
4447
5705
|
readonly type: "address";
|
|
5706
|
+
}];
|
|
5707
|
+
readonly stateMutability: "view";
|
|
5708
|
+
}, {
|
|
5709
|
+
readonly type: "function";
|
|
5710
|
+
readonly name: "settledFees";
|
|
5711
|
+
readonly inputs: readonly [{
|
|
5712
|
+
readonly name: "id";
|
|
5713
|
+
readonly type: "bytes32";
|
|
4448
5714
|
}, {
|
|
5715
|
+
readonly name: "asset";
|
|
4449
5716
|
readonly type: "address";
|
|
4450
5717
|
}];
|
|
4451
|
-
readonly outputs: readonly [
|
|
5718
|
+
readonly outputs: readonly [{
|
|
5719
|
+
readonly name: "";
|
|
5720
|
+
readonly type: "uint256";
|
|
5721
|
+
}];
|
|
5722
|
+
readonly stateMutability: "view";
|
|
4452
5723
|
}, {
|
|
4453
5724
|
readonly type: "function";
|
|
4454
|
-
readonly name: "
|
|
5725
|
+
readonly name: "token";
|
|
5726
|
+
readonly inputs: readonly [];
|
|
5727
|
+
readonly outputs: readonly [{
|
|
5728
|
+
readonly name: "";
|
|
5729
|
+
readonly type: "address";
|
|
5730
|
+
}];
|
|
5731
|
+
readonly stateMutability: "view";
|
|
5732
|
+
}, {
|
|
5733
|
+
readonly type: "function";
|
|
5734
|
+
readonly name: "unlockCallback";
|
|
5735
|
+
readonly inputs: readonly [{
|
|
5736
|
+
readonly name: "data";
|
|
5737
|
+
readonly type: "bytes";
|
|
5738
|
+
}];
|
|
5739
|
+
readonly outputs: readonly [{
|
|
5740
|
+
readonly name: "";
|
|
5741
|
+
readonly type: "bytes";
|
|
5742
|
+
}];
|
|
4455
5743
|
readonly stateMutability: "nonpayable";
|
|
5744
|
+
}, {
|
|
5745
|
+
readonly type: "function";
|
|
5746
|
+
readonly name: "validateCollector";
|
|
4456
5747
|
readonly inputs: readonly [{
|
|
5748
|
+
readonly name: "key";
|
|
4457
5749
|
readonly type: "tuple";
|
|
4458
5750
|
readonly components: readonly [{
|
|
4459
5751
|
readonly name: "currency0";
|
|
@@ -4471,76 +5763,220 @@ export declare const lifecycleV4HookAbi: readonly [{
|
|
|
4471
5763
|
readonly name: "hooks";
|
|
4472
5764
|
readonly type: "address";
|
|
4473
5765
|
}];
|
|
5766
|
+
}, {
|
|
5767
|
+
readonly name: "collector";
|
|
5768
|
+
readonly type: "address";
|
|
5769
|
+
}, {
|
|
5770
|
+
readonly name: "locker";
|
|
5771
|
+
readonly type: "address";
|
|
5772
|
+
}];
|
|
5773
|
+
readonly outputs: readonly [];
|
|
5774
|
+
readonly stateMutability: "view";
|
|
5775
|
+
}, {
|
|
5776
|
+
readonly type: "function";
|
|
5777
|
+
readonly name: "validateOracleConfig";
|
|
5778
|
+
readonly inputs: readonly [{
|
|
5779
|
+
readonly name: "oracleConfigId";
|
|
5780
|
+
readonly type: "bytes32";
|
|
5781
|
+
}];
|
|
5782
|
+
readonly outputs: readonly [{
|
|
5783
|
+
readonly name: "maxAbsTickMove";
|
|
5784
|
+
readonly type: "uint24";
|
|
5785
|
+
}, {
|
|
5786
|
+
readonly name: "cardinality";
|
|
5787
|
+
readonly type: "uint16";
|
|
5788
|
+
}];
|
|
5789
|
+
readonly stateMutability: "view";
|
|
5790
|
+
}, {
|
|
5791
|
+
readonly type: "event";
|
|
5792
|
+
readonly name: "FeeAccrued";
|
|
5793
|
+
readonly inputs: readonly [{
|
|
5794
|
+
readonly name: "poolId";
|
|
5795
|
+
readonly type: "bytes32";
|
|
5796
|
+
readonly indexed: true;
|
|
5797
|
+
}, {
|
|
5798
|
+
readonly name: "asset";
|
|
5799
|
+
readonly type: "address";
|
|
5800
|
+
readonly indexed: true;
|
|
5801
|
+
}, {
|
|
5802
|
+
readonly name: "gross";
|
|
5803
|
+
readonly type: "uint256";
|
|
5804
|
+
readonly indexed: false;
|
|
5805
|
+
}, {
|
|
5806
|
+
readonly name: "treasury";
|
|
5807
|
+
readonly type: "uint256";
|
|
5808
|
+
readonly indexed: false;
|
|
4474
5809
|
}];
|
|
4475
|
-
readonly
|
|
5810
|
+
readonly anonymous: false;
|
|
5811
|
+
}, {
|
|
5812
|
+
readonly type: "event";
|
|
5813
|
+
readonly name: "FeesCollected";
|
|
5814
|
+
readonly inputs: readonly [{
|
|
5815
|
+
readonly name: "poolId";
|
|
5816
|
+
readonly type: "bytes32";
|
|
5817
|
+
readonly indexed: true;
|
|
5818
|
+
}, {
|
|
5819
|
+
readonly name: "collector";
|
|
5820
|
+
readonly type: "address";
|
|
5821
|
+
readonly indexed: true;
|
|
5822
|
+
}, {
|
|
5823
|
+
readonly name: "amount0";
|
|
4476
5824
|
readonly type: "uint256";
|
|
5825
|
+
readonly indexed: false;
|
|
4477
5826
|
}, {
|
|
5827
|
+
readonly name: "amount1";
|
|
4478
5828
|
readonly type: "uint256";
|
|
5829
|
+
readonly indexed: false;
|
|
4479
5830
|
}];
|
|
5831
|
+
readonly anonymous: false;
|
|
4480
5832
|
}, {
|
|
4481
|
-
readonly type: "
|
|
4482
|
-
readonly name: "
|
|
4483
|
-
readonly stateMutability: "view";
|
|
5833
|
+
readonly type: "event";
|
|
5834
|
+
readonly name: "IncreaseObservationCardinalityNext";
|
|
4484
5835
|
readonly inputs: readonly [{
|
|
5836
|
+
readonly name: "poolId";
|
|
4485
5837
|
readonly type: "bytes32";
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
readonly
|
|
5838
|
+
readonly indexed: true;
|
|
5839
|
+
}, {
|
|
5840
|
+
readonly name: "cardinalityNextOld";
|
|
5841
|
+
readonly type: "uint16";
|
|
5842
|
+
readonly indexed: false;
|
|
4489
5843
|
}, {
|
|
5844
|
+
readonly name: "cardinalityNextNew";
|
|
4490
5845
|
readonly type: "uint16";
|
|
5846
|
+
readonly indexed: false;
|
|
4491
5847
|
}];
|
|
5848
|
+
readonly anonymous: false;
|
|
4492
5849
|
}, {
|
|
4493
|
-
readonly type: "
|
|
4494
|
-
readonly name: "
|
|
4495
|
-
readonly stateMutability: "view";
|
|
5850
|
+
readonly type: "event";
|
|
5851
|
+
readonly name: "LpFeesCheckpointed";
|
|
4496
5852
|
readonly inputs: readonly [{
|
|
5853
|
+
readonly name: "poolId";
|
|
4497
5854
|
readonly type: "bytes32";
|
|
5855
|
+
readonly indexed: true;
|
|
4498
5856
|
}, {
|
|
4499
|
-
readonly
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
readonly type: "int56[]";
|
|
5857
|
+
readonly name: "locker";
|
|
5858
|
+
readonly type: "address";
|
|
5859
|
+
readonly indexed: true;
|
|
4503
5860
|
}, {
|
|
4504
|
-
readonly
|
|
5861
|
+
readonly name: "amount0";
|
|
5862
|
+
readonly type: "uint256";
|
|
5863
|
+
readonly indexed: false;
|
|
5864
|
+
}, {
|
|
5865
|
+
readonly name: "amount1";
|
|
5866
|
+
readonly type: "uint256";
|
|
5867
|
+
readonly indexed: false;
|
|
4505
5868
|
}];
|
|
5869
|
+
readonly anonymous: false;
|
|
4506
5870
|
}, {
|
|
4507
|
-
readonly type: "
|
|
4508
|
-
readonly name: "
|
|
4509
|
-
readonly stateMutability: "nonpayable";
|
|
5871
|
+
readonly type: "event";
|
|
5872
|
+
readonly name: "OpeningCompleted";
|
|
4510
5873
|
readonly inputs: readonly [{
|
|
5874
|
+
readonly name: "poolId";
|
|
4511
5875
|
readonly type: "bytes32";
|
|
5876
|
+
readonly indexed: true;
|
|
4512
5877
|
}, {
|
|
4513
|
-
readonly
|
|
5878
|
+
readonly name: "completedAt";
|
|
5879
|
+
readonly type: "uint256";
|
|
5880
|
+
readonly indexed: true;
|
|
4514
5881
|
}];
|
|
4515
|
-
readonly
|
|
5882
|
+
readonly anonymous: false;
|
|
4516
5883
|
}, {
|
|
4517
|
-
readonly type: "
|
|
4518
|
-
readonly name: "
|
|
4519
|
-
readonly stateMutability: "view";
|
|
5884
|
+
readonly type: "event";
|
|
5885
|
+
readonly name: "PoolInitialized";
|
|
4520
5886
|
readonly inputs: readonly [{
|
|
5887
|
+
readonly name: "poolId";
|
|
4521
5888
|
readonly type: "bytes32";
|
|
4522
|
-
|
|
4523
|
-
readonly type: "address";
|
|
4524
|
-
}];
|
|
4525
|
-
readonly outputs: readonly [{
|
|
4526
|
-
readonly type: "uint256";
|
|
5889
|
+
readonly indexed: true;
|
|
4527
5890
|
}];
|
|
5891
|
+
readonly anonymous: false;
|
|
4528
5892
|
}, {
|
|
4529
|
-
readonly type: "
|
|
4530
|
-
readonly name: "
|
|
4531
|
-
readonly stateMutability: "view";
|
|
5893
|
+
readonly type: "event";
|
|
5894
|
+
readonly name: "PoolRegistered";
|
|
4532
5895
|
readonly inputs: readonly [{
|
|
5896
|
+
readonly name: "poolId";
|
|
4533
5897
|
readonly type: "bytes32";
|
|
5898
|
+
readonly indexed: true;
|
|
4534
5899
|
}, {
|
|
5900
|
+
readonly name: "collector";
|
|
4535
5901
|
readonly type: "address";
|
|
5902
|
+
readonly indexed: true;
|
|
5903
|
+
}, {
|
|
5904
|
+
readonly name: "locker";
|
|
5905
|
+
readonly type: "address";
|
|
5906
|
+
readonly indexed: true;
|
|
4536
5907
|
}];
|
|
4537
|
-
readonly
|
|
4538
|
-
|
|
4539
|
-
|
|
5908
|
+
readonly anonymous: false;
|
|
5909
|
+
}, {
|
|
5910
|
+
readonly type: "error";
|
|
5911
|
+
readonly name: "AlreadyRegistered";
|
|
5912
|
+
readonly inputs: readonly [];
|
|
5913
|
+
}, {
|
|
5914
|
+
readonly type: "error";
|
|
5915
|
+
readonly name: "ClaimMismatch";
|
|
5916
|
+
readonly inputs: readonly [];
|
|
5917
|
+
}, {
|
|
5918
|
+
readonly type: "error";
|
|
5919
|
+
readonly name: "ExternalLiquidityDisabled";
|
|
5920
|
+
readonly inputs: readonly [];
|
|
5921
|
+
}, {
|
|
5922
|
+
readonly type: "error";
|
|
5923
|
+
readonly name: "FeeSettlementRequired";
|
|
5924
|
+
readonly inputs: readonly [];
|
|
5925
|
+
}, {
|
|
5926
|
+
readonly type: "error";
|
|
5927
|
+
readonly name: "FeeTooLarge";
|
|
5928
|
+
readonly inputs: readonly [];
|
|
5929
|
+
}, {
|
|
5930
|
+
readonly type: "error";
|
|
5931
|
+
readonly name: "IncompleteFill";
|
|
5932
|
+
readonly inputs: readonly [];
|
|
5933
|
+
}, {
|
|
5934
|
+
readonly type: "error";
|
|
5935
|
+
readonly name: "InexactTransfer";
|
|
5936
|
+
readonly inputs: readonly [];
|
|
5937
|
+
}, {
|
|
5938
|
+
readonly type: "error";
|
|
5939
|
+
readonly name: "InvalidCallback";
|
|
5940
|
+
readonly inputs: readonly [];
|
|
5941
|
+
}, {
|
|
5942
|
+
readonly type: "error";
|
|
5943
|
+
readonly name: "InvalidConfiguration";
|
|
5944
|
+
readonly inputs: readonly [];
|
|
5945
|
+
}, {
|
|
5946
|
+
readonly type: "error";
|
|
5947
|
+
readonly name: "InvalidHookAddress";
|
|
5948
|
+
readonly inputs: readonly [];
|
|
5949
|
+
}, {
|
|
5950
|
+
readonly type: "error";
|
|
5951
|
+
readonly name: "InvalidObservationState";
|
|
5952
|
+
readonly inputs: readonly [];
|
|
5953
|
+
}, {
|
|
5954
|
+
readonly type: "error";
|
|
5955
|
+
readonly name: "InvalidPool";
|
|
5956
|
+
readonly inputs: readonly [];
|
|
5957
|
+
}, {
|
|
5958
|
+
readonly type: "error";
|
|
5959
|
+
readonly name: "ObservationTooOld";
|
|
5960
|
+
readonly inputs: readonly [];
|
|
5961
|
+
}, {
|
|
5962
|
+
readonly type: "error";
|
|
5963
|
+
readonly name: "OpeningAlreadyComplete";
|
|
5964
|
+
readonly inputs: readonly [];
|
|
5965
|
+
}, {
|
|
5966
|
+
readonly type: "error";
|
|
5967
|
+
readonly name: "OpeningNotComplete";
|
|
5968
|
+
readonly inputs: readonly [];
|
|
5969
|
+
}, {
|
|
5970
|
+
readonly type: "error";
|
|
5971
|
+
readonly name: "Reentrancy";
|
|
5972
|
+
readonly inputs: readonly [];
|
|
5973
|
+
}, {
|
|
5974
|
+
readonly type: "error";
|
|
5975
|
+
readonly name: "Unauthorized";
|
|
5976
|
+
readonly inputs: readonly [];
|
|
4540
5977
|
}];
|
|
4541
|
-
/**
|
|
4542
|
-
|
|
4543
|
-
export declare const fixedFeePoolHookV1Abi: readonly [{
|
|
5978
|
+
/** Config6 source ABI; usable only with its separately certified V2-constructor graph. */
|
|
5979
|
+
export declare const fixedFeePoolHookConfigV6Abi: readonly [{
|
|
4544
5980
|
readonly type: "constructor";
|
|
4545
5981
|
readonly inputs: readonly [{
|
|
4546
5982
|
readonly name: "parameters";
|
|
@@ -4578,6 +6014,12 @@ export declare const fixedFeePoolHookV1Abi: readonly [{
|
|
|
4578
6014
|
}, {
|
|
4579
6015
|
readonly name: "hookFeePips";
|
|
4580
6016
|
readonly type: "uint24";
|
|
6017
|
+
}, {
|
|
6018
|
+
readonly name: "minimumHookFeePips";
|
|
6019
|
+
readonly type: "uint24";
|
|
6020
|
+
}, {
|
|
6021
|
+
readonly name: "feeSensitivityPipsSecondsPerTick";
|
|
6022
|
+
readonly type: "uint32";
|
|
4581
6023
|
}, {
|
|
4582
6024
|
readonly name: "feeMode";
|
|
4583
6025
|
readonly type: "uint8";
|
|
@@ -5698,6 +7140,24 @@ export declare const fixedFeePoolHookV1Abi: readonly [{
|
|
|
5698
7140
|
readonly type: "error";
|
|
5699
7141
|
readonly name: "Unauthorized";
|
|
5700
7142
|
readonly inputs: readonly [];
|
|
7143
|
+
}, {
|
|
7144
|
+
readonly type: "function";
|
|
7145
|
+
readonly name: "minimumHookFeePips";
|
|
7146
|
+
readonly inputs: readonly [];
|
|
7147
|
+
readonly outputs: readonly [{
|
|
7148
|
+
readonly name: "";
|
|
7149
|
+
readonly type: "uint24";
|
|
7150
|
+
}];
|
|
7151
|
+
readonly stateMutability: "view";
|
|
7152
|
+
}, {
|
|
7153
|
+
readonly type: "function";
|
|
7154
|
+
readonly name: "feeSensitivityPipsSecondsPerTick";
|
|
7155
|
+
readonly inputs: readonly [];
|
|
7156
|
+
readonly outputs: readonly [{
|
|
7157
|
+
readonly name: "";
|
|
7158
|
+
readonly type: "uint32";
|
|
7159
|
+
}];
|
|
7160
|
+
readonly stateMutability: "view";
|
|
5701
7161
|
}];
|
|
5702
7162
|
export declare const lifecycleV4LockerAbi: readonly [{
|
|
5703
7163
|
readonly type: "function";
|
|
@@ -5705,42 +7165,218 @@ export declare const lifecycleV4LockerAbi: readonly [{
|
|
|
5705
7165
|
readonly stateMutability: "view";
|
|
5706
7166
|
readonly inputs: readonly [];
|
|
5707
7167
|
readonly outputs: readonly [{
|
|
5708
|
-
readonly type: "address";
|
|
7168
|
+
readonly type: "address";
|
|
7169
|
+
}];
|
|
7170
|
+
}, {
|
|
7171
|
+
readonly type: "function";
|
|
7172
|
+
readonly name: "launcher";
|
|
7173
|
+
readonly stateMutability: "view";
|
|
7174
|
+
readonly inputs: readonly [];
|
|
7175
|
+
readonly outputs: readonly [{
|
|
7176
|
+
readonly type: "address";
|
|
7177
|
+
}];
|
|
7178
|
+
}, {
|
|
7179
|
+
readonly type: "function";
|
|
7180
|
+
readonly name: "positionCount";
|
|
7181
|
+
readonly stateMutability: "view";
|
|
7182
|
+
readonly inputs: readonly [{
|
|
7183
|
+
readonly type: "bytes32";
|
|
7184
|
+
}];
|
|
7185
|
+
readonly outputs: readonly [{
|
|
7186
|
+
readonly type: "uint256";
|
|
7187
|
+
}];
|
|
7188
|
+
}, {
|
|
7189
|
+
readonly type: "function";
|
|
7190
|
+
readonly name: "isSealed";
|
|
7191
|
+
readonly stateMutability: "view";
|
|
7192
|
+
readonly inputs: readonly [{
|
|
7193
|
+
readonly type: "bytes32";
|
|
7194
|
+
}];
|
|
7195
|
+
readonly outputs: readonly [{
|
|
7196
|
+
readonly type: "bool";
|
|
7197
|
+
}];
|
|
7198
|
+
}];
|
|
7199
|
+
export declare const poolFeeCollectorFactoryV1Abi: readonly [{
|
|
7200
|
+
readonly type: "function";
|
|
7201
|
+
readonly name: "collectorDeployer";
|
|
7202
|
+
readonly stateMutability: "view";
|
|
7203
|
+
readonly inputs: readonly [];
|
|
7204
|
+
readonly outputs: readonly [{
|
|
7205
|
+
readonly type: "address";
|
|
7206
|
+
}];
|
|
7207
|
+
}, {
|
|
7208
|
+
readonly type: "function";
|
|
7209
|
+
readonly name: "decodeAndValidate";
|
|
7210
|
+
readonly stateMutability: "view";
|
|
7211
|
+
readonly inputs: readonly [{
|
|
7212
|
+
readonly type: "address";
|
|
7213
|
+
}, {
|
|
7214
|
+
readonly type: "address";
|
|
7215
|
+
}, {
|
|
7216
|
+
readonly type: "tuple";
|
|
7217
|
+
readonly components: readonly [{
|
|
7218
|
+
readonly name: "adapterId";
|
|
7219
|
+
readonly type: "bytes32";
|
|
7220
|
+
}, {
|
|
7221
|
+
readonly name: "profileId";
|
|
7222
|
+
readonly type: "bytes32";
|
|
7223
|
+
}, {
|
|
7224
|
+
readonly name: "quoteAsset";
|
|
7225
|
+
readonly type: "address";
|
|
7226
|
+
}, {
|
|
7227
|
+
readonly name: "tokenBudget";
|
|
7228
|
+
readonly type: "uint256";
|
|
7229
|
+
}, {
|
|
7230
|
+
readonly name: "configVersion";
|
|
7231
|
+
readonly type: "uint32";
|
|
7232
|
+
}, {
|
|
7233
|
+
readonly name: "config";
|
|
7234
|
+
readonly type: "bytes";
|
|
7235
|
+
}];
|
|
7236
|
+
}];
|
|
7237
|
+
readonly outputs: readonly [{
|
|
7238
|
+
readonly type: "tuple";
|
|
7239
|
+
readonly components: readonly [{
|
|
7240
|
+
readonly name: "version";
|
|
7241
|
+
readonly type: "uint16";
|
|
7242
|
+
}, {
|
|
7243
|
+
readonly name: "lpFeePips";
|
|
7244
|
+
readonly type: "uint24";
|
|
7245
|
+
}, {
|
|
7246
|
+
readonly name: "tickSpacing";
|
|
7247
|
+
readonly type: "int24";
|
|
7248
|
+
}, {
|
|
7249
|
+
readonly name: "sqrtPriceX96";
|
|
7250
|
+
readonly type: "uint160";
|
|
7251
|
+
}, {
|
|
7252
|
+
readonly name: "hookFeePips";
|
|
7253
|
+
readonly type: "uint24";
|
|
7254
|
+
}, {
|
|
7255
|
+
readonly name: "feeMode";
|
|
7256
|
+
readonly type: "uint8";
|
|
7257
|
+
}, {
|
|
7258
|
+
readonly name: "protocolFeeDenominator";
|
|
7259
|
+
readonly type: "uint8";
|
|
7260
|
+
}, {
|
|
7261
|
+
readonly name: "treasury";
|
|
7262
|
+
readonly type: "address";
|
|
7263
|
+
}, {
|
|
7264
|
+
readonly name: "externalLiquidityDisabled";
|
|
7265
|
+
readonly type: "bool";
|
|
7266
|
+
}, {
|
|
7267
|
+
readonly name: "oracleConfigId";
|
|
7268
|
+
readonly type: "bytes32";
|
|
7269
|
+
}, {
|
|
7270
|
+
readonly name: "profileId";
|
|
7271
|
+
readonly type: "bytes32";
|
|
7272
|
+
}, {
|
|
7273
|
+
readonly name: "termsDigest";
|
|
7274
|
+
readonly type: "bytes32";
|
|
7275
|
+
}, {
|
|
7276
|
+
readonly name: "developerBeneficiary";
|
|
7277
|
+
readonly type: "address";
|
|
7278
|
+
}, {
|
|
7279
|
+
readonly name: "developerFeeBps";
|
|
7280
|
+
readonly type: "uint16";
|
|
7281
|
+
}, {
|
|
7282
|
+
readonly name: "positions";
|
|
7283
|
+
readonly type: "tuple[]";
|
|
7284
|
+
readonly components: readonly [{
|
|
7285
|
+
readonly name: "tickLower";
|
|
7286
|
+
readonly type: "int24";
|
|
7287
|
+
}, {
|
|
7288
|
+
readonly name: "tickUpper";
|
|
7289
|
+
readonly type: "int24";
|
|
7290
|
+
}, {
|
|
7291
|
+
readonly name: "liquidity";
|
|
7292
|
+
readonly type: "uint128";
|
|
7293
|
+
}, {
|
|
7294
|
+
readonly name: "salt";
|
|
7295
|
+
readonly type: "bytes32";
|
|
7296
|
+
}, {
|
|
7297
|
+
readonly name: "maxTokenAmount";
|
|
7298
|
+
readonly type: "uint256";
|
|
7299
|
+
}];
|
|
7300
|
+
}];
|
|
5709
7301
|
}];
|
|
5710
7302
|
}, {
|
|
5711
7303
|
readonly type: "function";
|
|
5712
|
-
readonly name: "
|
|
7304
|
+
readonly name: "poolBoundDeploymentMetadata";
|
|
5713
7305
|
readonly stateMutability: "view";
|
|
5714
|
-
readonly inputs: readonly [
|
|
7306
|
+
readonly inputs: readonly [{
|
|
7307
|
+
readonly type: "address";
|
|
7308
|
+
}, {
|
|
7309
|
+
readonly type: "address";
|
|
7310
|
+
}, {
|
|
7311
|
+
readonly type: "tuple";
|
|
7312
|
+
readonly components: readonly [{
|
|
7313
|
+
readonly name: "adapterId";
|
|
7314
|
+
readonly type: "bytes32";
|
|
7315
|
+
}, {
|
|
7316
|
+
readonly name: "profileId";
|
|
7317
|
+
readonly type: "bytes32";
|
|
7318
|
+
}, {
|
|
7319
|
+
readonly name: "quoteAsset";
|
|
7320
|
+
readonly type: "address";
|
|
7321
|
+
}, {
|
|
7322
|
+
readonly name: "tokenBudget";
|
|
7323
|
+
readonly type: "uint256";
|
|
7324
|
+
}, {
|
|
7325
|
+
readonly name: "configVersion";
|
|
7326
|
+
readonly type: "uint32";
|
|
7327
|
+
}, {
|
|
7328
|
+
readonly name: "config";
|
|
7329
|
+
readonly type: "bytes";
|
|
7330
|
+
}];
|
|
7331
|
+
}];
|
|
5715
7332
|
readonly outputs: readonly [{
|
|
5716
7333
|
readonly type: "address";
|
|
7334
|
+
}, {
|
|
7335
|
+
readonly type: "bytes32";
|
|
7336
|
+
}, {
|
|
7337
|
+
readonly type: "bytes32";
|
|
7338
|
+
}, {
|
|
7339
|
+
readonly type: "address";
|
|
5717
7340
|
}];
|
|
5718
7341
|
}, {
|
|
5719
7342
|
readonly type: "function";
|
|
5720
|
-
readonly name: "
|
|
7343
|
+
readonly name: "dependencyDigest";
|
|
5721
7344
|
readonly stateMutability: "view";
|
|
5722
7345
|
readonly inputs: readonly [{
|
|
5723
|
-
readonly type: "
|
|
7346
|
+
readonly type: "address";
|
|
5724
7347
|
}];
|
|
5725
7348
|
readonly outputs: readonly [{
|
|
5726
|
-
readonly type: "
|
|
7349
|
+
readonly type: "bytes32";
|
|
5727
7350
|
}];
|
|
5728
7351
|
}, {
|
|
5729
7352
|
readonly type: "function";
|
|
5730
|
-
readonly name: "
|
|
5731
|
-
readonly stateMutability: "
|
|
7353
|
+
readonly name: "create";
|
|
7354
|
+
readonly stateMutability: "nonpayable";
|
|
5732
7355
|
readonly inputs: readonly [{
|
|
5733
|
-
readonly type: "
|
|
5734
|
-
}
|
|
5735
|
-
|
|
5736
|
-
|
|
7356
|
+
readonly type: "address";
|
|
7357
|
+
}, {
|
|
7358
|
+
readonly type: "address";
|
|
7359
|
+
}, {
|
|
7360
|
+
readonly type: "tuple";
|
|
7361
|
+
readonly components: readonly [{
|
|
7362
|
+
readonly name: "currency0";
|
|
7363
|
+
readonly type: "address";
|
|
7364
|
+
}, {
|
|
7365
|
+
readonly name: "currency1";
|
|
7366
|
+
readonly type: "address";
|
|
7367
|
+
}, {
|
|
7368
|
+
readonly name: "fee";
|
|
7369
|
+
readonly type: "uint24";
|
|
7370
|
+
}, {
|
|
7371
|
+
readonly name: "tickSpacing";
|
|
7372
|
+
readonly type: "int24";
|
|
7373
|
+
}, {
|
|
7374
|
+
readonly name: "hooks";
|
|
7375
|
+
readonly type: "address";
|
|
7376
|
+
}];
|
|
7377
|
+
}, {
|
|
7378
|
+
readonly type: "uint256";
|
|
5737
7379
|
}];
|
|
5738
|
-
}];
|
|
5739
|
-
export declare const poolFeeCollectorFactoryV1Abi: readonly [{
|
|
5740
|
-
readonly type: "function";
|
|
5741
|
-
readonly name: "collectorDeployer";
|
|
5742
|
-
readonly stateMutability: "view";
|
|
5743
|
-
readonly inputs: readonly [];
|
|
5744
7380
|
readonly outputs: readonly [{
|
|
5745
7381
|
readonly type: "address";
|
|
5746
7382
|
}];
|
|
@@ -5839,6 +7475,15 @@ export declare const poolFeeCollectorFactoryV1Abi: readonly [{
|
|
|
5839
7475
|
readonly name: "salt";
|
|
5840
7476
|
readonly type: "bytes32";
|
|
5841
7477
|
}];
|
|
7478
|
+
}];
|
|
7479
|
+
export declare const poolFeeCollectorFactoryConfigV6Abi: readonly [{
|
|
7480
|
+
readonly type: "function";
|
|
7481
|
+
readonly name: "collectorDeployer";
|
|
7482
|
+
readonly stateMutability: "view";
|
|
7483
|
+
readonly inputs: readonly [];
|
|
7484
|
+
readonly outputs: readonly [{
|
|
7485
|
+
readonly type: "address";
|
|
7486
|
+
}];
|
|
5842
7487
|
}, {
|
|
5843
7488
|
readonly type: "function";
|
|
5844
7489
|
readonly name: "decodeAndValidate";
|
|
@@ -6015,6 +7660,107 @@ export declare const poolFeeCollectorFactoryV1Abi: readonly [{
|
|
|
6015
7660
|
readonly outputs: readonly [{
|
|
6016
7661
|
readonly type: "address";
|
|
6017
7662
|
}];
|
|
7663
|
+
}, {
|
|
7664
|
+
readonly type: "function";
|
|
7665
|
+
readonly name: "poolBoundHookParameters";
|
|
7666
|
+
readonly stateMutability: "view";
|
|
7667
|
+
readonly inputs: readonly [{
|
|
7668
|
+
readonly name: "registrar";
|
|
7669
|
+
readonly type: "address";
|
|
7670
|
+
}, {
|
|
7671
|
+
readonly name: "token";
|
|
7672
|
+
readonly type: "address";
|
|
7673
|
+
}, {
|
|
7674
|
+
readonly name: "market";
|
|
7675
|
+
readonly type: "tuple";
|
|
7676
|
+
readonly components: readonly [{
|
|
7677
|
+
readonly name: "adapterId";
|
|
7678
|
+
readonly type: "bytes32";
|
|
7679
|
+
}, {
|
|
7680
|
+
readonly name: "profileId";
|
|
7681
|
+
readonly type: "bytes32";
|
|
7682
|
+
}, {
|
|
7683
|
+
readonly name: "quoteAsset";
|
|
7684
|
+
readonly type: "address";
|
|
7685
|
+
}, {
|
|
7686
|
+
readonly name: "tokenBudget";
|
|
7687
|
+
readonly type: "uint256";
|
|
7688
|
+
}, {
|
|
7689
|
+
readonly name: "configVersion";
|
|
7690
|
+
readonly type: "uint32";
|
|
7691
|
+
}, {
|
|
7692
|
+
readonly name: "config";
|
|
7693
|
+
readonly type: "bytes";
|
|
7694
|
+
}];
|
|
7695
|
+
}];
|
|
7696
|
+
readonly outputs: readonly [{
|
|
7697
|
+
readonly name: "parameters";
|
|
7698
|
+
readonly type: "tuple";
|
|
7699
|
+
readonly components: readonly [{
|
|
7700
|
+
readonly name: "poolManager";
|
|
7701
|
+
readonly type: "address";
|
|
7702
|
+
}, {
|
|
7703
|
+
readonly name: "registrar";
|
|
7704
|
+
readonly type: "address";
|
|
7705
|
+
}, {
|
|
7706
|
+
readonly name: "oracleFactory";
|
|
7707
|
+
readonly type: "address";
|
|
7708
|
+
}, {
|
|
7709
|
+
readonly name: "core";
|
|
7710
|
+
readonly type: "address";
|
|
7711
|
+
}, {
|
|
7712
|
+
readonly name: "liquidityLocker";
|
|
7713
|
+
readonly type: "address";
|
|
7714
|
+
}, {
|
|
7715
|
+
readonly name: "token";
|
|
7716
|
+
readonly type: "address";
|
|
7717
|
+
}, {
|
|
7718
|
+
readonly name: "quoteCurrency";
|
|
7719
|
+
readonly type: "address";
|
|
7720
|
+
}, {
|
|
7721
|
+
readonly name: "lpFeePips";
|
|
7722
|
+
readonly type: "uint24";
|
|
7723
|
+
}, {
|
|
7724
|
+
readonly name: "tickSpacing";
|
|
7725
|
+
readonly type: "int24";
|
|
7726
|
+
}, {
|
|
7727
|
+
readonly name: "sqrtPriceX96";
|
|
7728
|
+
readonly type: "uint160";
|
|
7729
|
+
}, {
|
|
7730
|
+
readonly name: "hookFeePips";
|
|
7731
|
+
readonly type: "uint24";
|
|
7732
|
+
}, {
|
|
7733
|
+
readonly name: "minimumHookFeePips";
|
|
7734
|
+
readonly type: "uint24";
|
|
7735
|
+
}, {
|
|
7736
|
+
readonly name: "feeSensitivityPipsSecondsPerTick";
|
|
7737
|
+
readonly type: "uint32";
|
|
7738
|
+
}, {
|
|
7739
|
+
readonly name: "feeMode";
|
|
7740
|
+
readonly type: "uint8";
|
|
7741
|
+
}, {
|
|
7742
|
+
readonly name: "protocolFeeDenominator";
|
|
7743
|
+
readonly type: "uint8";
|
|
7744
|
+
}, {
|
|
7745
|
+
readonly name: "treasury";
|
|
7746
|
+
readonly type: "address";
|
|
7747
|
+
}, {
|
|
7748
|
+
readonly name: "externalLiquidityDisabled";
|
|
7749
|
+
readonly type: "bool";
|
|
7750
|
+
}, {
|
|
7751
|
+
readonly name: "oracleConfigId";
|
|
7752
|
+
readonly type: "bytes32";
|
|
7753
|
+
}, {
|
|
7754
|
+
readonly name: "marketCommitment";
|
|
7755
|
+
readonly type: "bytes32";
|
|
7756
|
+
}, {
|
|
7757
|
+
readonly name: "expectedPositionCount";
|
|
7758
|
+
readonly type: "uint32";
|
|
7759
|
+
}];
|
|
7760
|
+
}, {
|
|
7761
|
+
readonly name: "salt";
|
|
7762
|
+
readonly type: "bytes32";
|
|
7763
|
+
}];
|
|
6018
7764
|
}];
|
|
6019
7765
|
export declare const lifecycleDirectoryAbi: readonly [{
|
|
6020
7766
|
readonly type: "function";
|