@zoralabs/protocol-deployments 0.7.2 → 0.7.5
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/.turbo/turbo-build$colon$js.log +19 -19
- package/CHANGELOG.md +36 -6
- package/dist/generated/sparks.d.ts +3 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +3990 -366
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +1313 -176
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1307 -176
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +3 -0
- package/src/generated/wagmi.ts +1334 -174
package/dist/index.cjs
CHANGED
|
@@ -2222,6 +2222,12 @@ __export(index_exports, {
|
|
|
2222
2222
|
uniswapV3SwapRouterABI: () => uniswapV3SwapRouterABI,
|
|
2223
2223
|
uniswapV3SwapRouterAddress: () => uniswapV3SwapRouterAddress,
|
|
2224
2224
|
uniswapV3SwapRouterConfig: () => uniswapV3SwapRouterConfig,
|
|
2225
|
+
uniswapV4PoolManagerABI: () => uniswapV4PoolManagerABI,
|
|
2226
|
+
uniswapV4PoolManagerAddress: () => uniswapV4PoolManagerAddress,
|
|
2227
|
+
uniswapV4PoolManagerConfig: () => uniswapV4PoolManagerConfig,
|
|
2228
|
+
universalRouterABI: () => universalRouterABI,
|
|
2229
|
+
universalRouterAddress: () => universalRouterAddress,
|
|
2230
|
+
universalRouterConfig: () => universalRouterConfig,
|
|
2225
2231
|
upgradeGateABI: () => upgradeGateABI,
|
|
2226
2232
|
upgradeGateAddress: () => upgradeGateAddress,
|
|
2227
2233
|
upgradeGateConfig: () => upgradeGateConfig,
|
|
@@ -4641,6 +4647,7 @@ var coinABI = [
|
|
|
4641
4647
|
],
|
|
4642
4648
|
name: "InvalidAccountNonce"
|
|
4643
4649
|
},
|
|
4650
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
4644
4651
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
4645
4652
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
4646
4653
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -4690,6 +4697,7 @@ var coinFactoryABI = [
|
|
|
4690
4697
|
inputs: [
|
|
4691
4698
|
{ name: "coinV4Impl_", internalType: "address", type: "address" },
|
|
4692
4699
|
{ name: "creatorCoinImpl_", internalType: "address", type: "address" },
|
|
4700
|
+
{ name: "trendCoinImpl_", internalType: "address", type: "address" },
|
|
4693
4701
|
{ name: "hook_", internalType: "address", type: "address" },
|
|
4694
4702
|
{ name: "zoraHookRegistry_", internalType: "address", type: "address" }
|
|
4695
4703
|
],
|
|
@@ -4862,6 +4870,20 @@ var coinFactoryABI = [
|
|
|
4862
4870
|
],
|
|
4863
4871
|
stateMutability: "payable"
|
|
4864
4872
|
},
|
|
4873
|
+
{
|
|
4874
|
+
type: "function",
|
|
4875
|
+
inputs: [
|
|
4876
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
4877
|
+
{ name: "postDeployHook", internalType: "address", type: "address" },
|
|
4878
|
+
{ name: "postDeployHookData", internalType: "bytes", type: "bytes" }
|
|
4879
|
+
],
|
|
4880
|
+
name: "deployTrendCoin",
|
|
4881
|
+
outputs: [
|
|
4882
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
4883
|
+
{ name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
|
|
4884
|
+
],
|
|
4885
|
+
stateMutability: "payable"
|
|
4886
|
+
},
|
|
4865
4887
|
{
|
|
4866
4888
|
type: "function",
|
|
4867
4889
|
inputs: [
|
|
@@ -4940,6 +4962,27 @@ var coinFactoryABI = [
|
|
|
4940
4962
|
outputs: [],
|
|
4941
4963
|
stateMutability: "nonpayable"
|
|
4942
4964
|
},
|
|
4965
|
+
{
|
|
4966
|
+
type: "function",
|
|
4967
|
+
inputs: [
|
|
4968
|
+
{ name: "currency", internalType: "address", type: "address" },
|
|
4969
|
+
{ name: "tickLower", internalType: "int24[]", type: "int24[]" },
|
|
4970
|
+
{ name: "tickUpper", internalType: "int24[]", type: "int24[]" },
|
|
4971
|
+
{
|
|
4972
|
+
name: "numDiscoveryPositions",
|
|
4973
|
+
internalType: "uint16[]",
|
|
4974
|
+
type: "uint16[]"
|
|
4975
|
+
},
|
|
4976
|
+
{
|
|
4977
|
+
name: "maxDiscoverySupplyShare",
|
|
4978
|
+
internalType: "uint256[]",
|
|
4979
|
+
type: "uint256[]"
|
|
4980
|
+
}
|
|
4981
|
+
],
|
|
4982
|
+
name: "setTrendCoinPoolConfig",
|
|
4983
|
+
outputs: [],
|
|
4984
|
+
stateMutability: "nonpayable"
|
|
4985
|
+
},
|
|
4943
4986
|
{
|
|
4944
4987
|
type: "function",
|
|
4945
4988
|
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
@@ -4947,6 +4990,27 @@ var coinFactoryABI = [
|
|
|
4947
4990
|
outputs: [],
|
|
4948
4991
|
stateMutability: "nonpayable"
|
|
4949
4992
|
},
|
|
4993
|
+
{
|
|
4994
|
+
type: "function",
|
|
4995
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
4996
|
+
name: "trendCoinAddress",
|
|
4997
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4998
|
+
stateMutability: "view"
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
type: "function",
|
|
5002
|
+
inputs: [],
|
|
5003
|
+
name: "trendCoinImpl",
|
|
5004
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5005
|
+
stateMutability: "view"
|
|
5006
|
+
},
|
|
5007
|
+
{
|
|
5008
|
+
type: "function",
|
|
5009
|
+
inputs: [],
|
|
5010
|
+
name: "trendCoinPoolConfig",
|
|
5011
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
5012
|
+
stateMutability: "view"
|
|
5013
|
+
},
|
|
4950
5014
|
{
|
|
4951
5015
|
type: "function",
|
|
4952
5016
|
inputs: [
|
|
@@ -5212,6 +5276,75 @@ var coinFactoryABI = [
|
|
|
5212
5276
|
],
|
|
5213
5277
|
name: "OwnershipTransferred"
|
|
5214
5278
|
},
|
|
5279
|
+
{
|
|
5280
|
+
type: "event",
|
|
5281
|
+
anonymous: false,
|
|
5282
|
+
inputs: [
|
|
5283
|
+
{
|
|
5284
|
+
name: "caller",
|
|
5285
|
+
internalType: "address",
|
|
5286
|
+
type: "address",
|
|
5287
|
+
indexed: true
|
|
5288
|
+
},
|
|
5289
|
+
{
|
|
5290
|
+
name: "symbol",
|
|
5291
|
+
internalType: "string",
|
|
5292
|
+
type: "string",
|
|
5293
|
+
indexed: false
|
|
5294
|
+
},
|
|
5295
|
+
{
|
|
5296
|
+
name: "coin",
|
|
5297
|
+
internalType: "address",
|
|
5298
|
+
type: "address",
|
|
5299
|
+
indexed: false
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
name: "poolKey",
|
|
5303
|
+
internalType: "struct PoolKey",
|
|
5304
|
+
type: "tuple",
|
|
5305
|
+
components: [
|
|
5306
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
5307
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
5308
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5309
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
5310
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
5311
|
+
],
|
|
5312
|
+
indexed: false
|
|
5313
|
+
},
|
|
5314
|
+
{
|
|
5315
|
+
name: "poolKeyHash",
|
|
5316
|
+
internalType: "bytes32",
|
|
5317
|
+
type: "bytes32",
|
|
5318
|
+
indexed: false
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
name: "poolConfig",
|
|
5322
|
+
internalType: "bytes",
|
|
5323
|
+
type: "bytes",
|
|
5324
|
+
indexed: false
|
|
5325
|
+
},
|
|
5326
|
+
{
|
|
5327
|
+
name: "version",
|
|
5328
|
+
internalType: "string",
|
|
5329
|
+
type: "string",
|
|
5330
|
+
indexed: false
|
|
5331
|
+
}
|
|
5332
|
+
],
|
|
5333
|
+
name: "TrendCoinCreated"
|
|
5334
|
+
},
|
|
5335
|
+
{
|
|
5336
|
+
type: "event",
|
|
5337
|
+
anonymous: false,
|
|
5338
|
+
inputs: [
|
|
5339
|
+
{
|
|
5340
|
+
name: "poolConfig",
|
|
5341
|
+
internalType: "bytes",
|
|
5342
|
+
type: "bytes",
|
|
5343
|
+
indexed: false
|
|
5344
|
+
}
|
|
5345
|
+
],
|
|
5346
|
+
name: "TrendCoinPoolConfigUpdated"
|
|
5347
|
+
},
|
|
5215
5348
|
{
|
|
5216
5349
|
type: "event",
|
|
5217
5350
|
anonymous: false,
|
|
@@ -5264,6 +5397,7 @@ var coinFactoryABI = [
|
|
|
5264
5397
|
],
|
|
5265
5398
|
name: "InvalidTickRangeMisordered"
|
|
5266
5399
|
},
|
|
5400
|
+
{ type: "error", inputs: [], name: "InvalidTickerCharacters" },
|
|
5267
5401
|
{
|
|
5268
5402
|
type: "error",
|
|
5269
5403
|
inputs: [
|
|
@@ -5285,6 +5419,12 @@ var coinFactoryABI = [
|
|
|
5285
5419
|
name: "OwnableUnauthorizedAccount"
|
|
5286
5420
|
},
|
|
5287
5421
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
5422
|
+
{
|
|
5423
|
+
type: "error",
|
|
5424
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
5425
|
+
name: "TickerAlreadyUsed"
|
|
5426
|
+
},
|
|
5427
|
+
{ type: "error", inputs: [], name: "TrendCoinPoolConfigNotSet" },
|
|
5288
5428
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
5289
5429
|
{
|
|
5290
5430
|
type: "error",
|
|
@@ -5299,6 +5439,7 @@ var coinFactoryABI = [
|
|
|
5299
5439
|
],
|
|
5300
5440
|
name: "UpgradeToMismatchedContractName"
|
|
5301
5441
|
},
|
|
5442
|
+
{ type: "error", inputs: [], name: "UseSpecificTrendCoinInitialize" },
|
|
5302
5443
|
{ type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
|
|
5303
5444
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
|
|
5304
5445
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
@@ -5406,6 +5547,7 @@ var coinFactoryABI = [
|
|
|
5406
5547
|
],
|
|
5407
5548
|
name: "InvalidAccountNonce"
|
|
5408
5549
|
},
|
|
5550
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
5409
5551
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
5410
5552
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
5411
5553
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -8743,6 +8885,7 @@ var devCoinFactoryABI = [
|
|
|
8743
8885
|
inputs: [
|
|
8744
8886
|
{ name: "coinV4Impl_", internalType: "address", type: "address" },
|
|
8745
8887
|
{ name: "creatorCoinImpl_", internalType: "address", type: "address" },
|
|
8888
|
+
{ name: "trendCoinImpl_", internalType: "address", type: "address" },
|
|
8746
8889
|
{ name: "hook_", internalType: "address", type: "address" },
|
|
8747
8890
|
{ name: "zoraHookRegistry_", internalType: "address", type: "address" }
|
|
8748
8891
|
],
|
|
@@ -8915,6 +9058,20 @@ var devCoinFactoryABI = [
|
|
|
8915
9058
|
],
|
|
8916
9059
|
stateMutability: "payable"
|
|
8917
9060
|
},
|
|
9061
|
+
{
|
|
9062
|
+
type: "function",
|
|
9063
|
+
inputs: [
|
|
9064
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
9065
|
+
{ name: "postDeployHook", internalType: "address", type: "address" },
|
|
9066
|
+
{ name: "postDeployHookData", internalType: "bytes", type: "bytes" }
|
|
9067
|
+
],
|
|
9068
|
+
name: "deployTrendCoin",
|
|
9069
|
+
outputs: [
|
|
9070
|
+
{ name: "coin", internalType: "address", type: "address" },
|
|
9071
|
+
{ name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
|
|
9072
|
+
],
|
|
9073
|
+
stateMutability: "payable"
|
|
9074
|
+
},
|
|
8918
9075
|
{
|
|
8919
9076
|
type: "function",
|
|
8920
9077
|
inputs: [
|
|
@@ -8993,6 +9150,27 @@ var devCoinFactoryABI = [
|
|
|
8993
9150
|
outputs: [],
|
|
8994
9151
|
stateMutability: "nonpayable"
|
|
8995
9152
|
},
|
|
9153
|
+
{
|
|
9154
|
+
type: "function",
|
|
9155
|
+
inputs: [
|
|
9156
|
+
{ name: "currency", internalType: "address", type: "address" },
|
|
9157
|
+
{ name: "tickLower", internalType: "int24[]", type: "int24[]" },
|
|
9158
|
+
{ name: "tickUpper", internalType: "int24[]", type: "int24[]" },
|
|
9159
|
+
{
|
|
9160
|
+
name: "numDiscoveryPositions",
|
|
9161
|
+
internalType: "uint16[]",
|
|
9162
|
+
type: "uint16[]"
|
|
9163
|
+
},
|
|
9164
|
+
{
|
|
9165
|
+
name: "maxDiscoverySupplyShare",
|
|
9166
|
+
internalType: "uint256[]",
|
|
9167
|
+
type: "uint256[]"
|
|
9168
|
+
}
|
|
9169
|
+
],
|
|
9170
|
+
name: "setTrendCoinPoolConfig",
|
|
9171
|
+
outputs: [],
|
|
9172
|
+
stateMutability: "nonpayable"
|
|
9173
|
+
},
|
|
8996
9174
|
{
|
|
8997
9175
|
type: "function",
|
|
8998
9176
|
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
@@ -9000,6 +9178,27 @@ var devCoinFactoryABI = [
|
|
|
9000
9178
|
outputs: [],
|
|
9001
9179
|
stateMutability: "nonpayable"
|
|
9002
9180
|
},
|
|
9181
|
+
{
|
|
9182
|
+
type: "function",
|
|
9183
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
9184
|
+
name: "trendCoinAddress",
|
|
9185
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9186
|
+
stateMutability: "view"
|
|
9187
|
+
},
|
|
9188
|
+
{
|
|
9189
|
+
type: "function",
|
|
9190
|
+
inputs: [],
|
|
9191
|
+
name: "trendCoinImpl",
|
|
9192
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
9193
|
+
stateMutability: "view"
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
type: "function",
|
|
9197
|
+
inputs: [],
|
|
9198
|
+
name: "trendCoinPoolConfig",
|
|
9199
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
9200
|
+
stateMutability: "view"
|
|
9201
|
+
},
|
|
9003
9202
|
{
|
|
9004
9203
|
type: "function",
|
|
9005
9204
|
inputs: [
|
|
@@ -9265,6 +9464,75 @@ var devCoinFactoryABI = [
|
|
|
9265
9464
|
],
|
|
9266
9465
|
name: "OwnershipTransferred"
|
|
9267
9466
|
},
|
|
9467
|
+
{
|
|
9468
|
+
type: "event",
|
|
9469
|
+
anonymous: false,
|
|
9470
|
+
inputs: [
|
|
9471
|
+
{
|
|
9472
|
+
name: "caller",
|
|
9473
|
+
internalType: "address",
|
|
9474
|
+
type: "address",
|
|
9475
|
+
indexed: true
|
|
9476
|
+
},
|
|
9477
|
+
{
|
|
9478
|
+
name: "symbol",
|
|
9479
|
+
internalType: "string",
|
|
9480
|
+
type: "string",
|
|
9481
|
+
indexed: false
|
|
9482
|
+
},
|
|
9483
|
+
{
|
|
9484
|
+
name: "coin",
|
|
9485
|
+
internalType: "address",
|
|
9486
|
+
type: "address",
|
|
9487
|
+
indexed: false
|
|
9488
|
+
},
|
|
9489
|
+
{
|
|
9490
|
+
name: "poolKey",
|
|
9491
|
+
internalType: "struct PoolKey",
|
|
9492
|
+
type: "tuple",
|
|
9493
|
+
components: [
|
|
9494
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
9495
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
9496
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
9497
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
9498
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
9499
|
+
],
|
|
9500
|
+
indexed: false
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
name: "poolKeyHash",
|
|
9504
|
+
internalType: "bytes32",
|
|
9505
|
+
type: "bytes32",
|
|
9506
|
+
indexed: false
|
|
9507
|
+
},
|
|
9508
|
+
{
|
|
9509
|
+
name: "poolConfig",
|
|
9510
|
+
internalType: "bytes",
|
|
9511
|
+
type: "bytes",
|
|
9512
|
+
indexed: false
|
|
9513
|
+
},
|
|
9514
|
+
{
|
|
9515
|
+
name: "version",
|
|
9516
|
+
internalType: "string",
|
|
9517
|
+
type: "string",
|
|
9518
|
+
indexed: false
|
|
9519
|
+
}
|
|
9520
|
+
],
|
|
9521
|
+
name: "TrendCoinCreated"
|
|
9522
|
+
},
|
|
9523
|
+
{
|
|
9524
|
+
type: "event",
|
|
9525
|
+
anonymous: false,
|
|
9526
|
+
inputs: [
|
|
9527
|
+
{
|
|
9528
|
+
name: "poolConfig",
|
|
9529
|
+
internalType: "bytes",
|
|
9530
|
+
type: "bytes",
|
|
9531
|
+
indexed: false
|
|
9532
|
+
}
|
|
9533
|
+
],
|
|
9534
|
+
name: "TrendCoinPoolConfigUpdated"
|
|
9535
|
+
},
|
|
9268
9536
|
{
|
|
9269
9537
|
type: "event",
|
|
9270
9538
|
anonymous: false,
|
|
@@ -9317,6 +9585,7 @@ var devCoinFactoryABI = [
|
|
|
9317
9585
|
],
|
|
9318
9586
|
name: "InvalidTickRangeMisordered"
|
|
9319
9587
|
},
|
|
9588
|
+
{ type: "error", inputs: [], name: "InvalidTickerCharacters" },
|
|
9320
9589
|
{
|
|
9321
9590
|
type: "error",
|
|
9322
9591
|
inputs: [
|
|
@@ -9338,6 +9607,12 @@ var devCoinFactoryABI = [
|
|
|
9338
9607
|
name: "OwnableUnauthorizedAccount"
|
|
9339
9608
|
},
|
|
9340
9609
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
9610
|
+
{
|
|
9611
|
+
type: "error",
|
|
9612
|
+
inputs: [{ name: "symbol", internalType: "string", type: "string" }],
|
|
9613
|
+
name: "TickerAlreadyUsed"
|
|
9614
|
+
},
|
|
9615
|
+
{ type: "error", inputs: [], name: "TrendCoinPoolConfigNotSet" },
|
|
9341
9616
|
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
9342
9617
|
{
|
|
9343
9618
|
type: "error",
|
|
@@ -9352,6 +9627,7 @@ var devCoinFactoryABI = [
|
|
|
9352
9627
|
],
|
|
9353
9628
|
name: "UpgradeToMismatchedContractName"
|
|
9354
9629
|
},
|
|
9630
|
+
{ type: "error", inputs: [], name: "UseSpecificTrendCoinInitialize" },
|
|
9355
9631
|
{ type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
|
|
9356
9632
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
|
|
9357
9633
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
@@ -9459,6 +9735,7 @@ var devCoinFactoryABI = [
|
|
|
9459
9735
|
],
|
|
9460
9736
|
name: "InvalidAccountNonce"
|
|
9461
9737
|
},
|
|
9738
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
9462
9739
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
9463
9740
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
9464
9741
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -10252,6 +10529,7 @@ var devZoraLimitOrderBookABI = [
|
|
|
10252
10529
|
],
|
|
10253
10530
|
name: "InvalidAccountNonce"
|
|
10254
10531
|
},
|
|
10532
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
10255
10533
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
10256
10534
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
10257
10535
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -10361,7 +10639,40 @@ var devZoraLimitOrderBookABI = [
|
|
|
10361
10639
|
name: "UpgradePathNotRegistered"
|
|
10362
10640
|
},
|
|
10363
10641
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
10364
|
-
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
|
|
10642
|
+
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
10643
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
10644
|
+
{
|
|
10645
|
+
type: "error",
|
|
10646
|
+
inputs: [
|
|
10647
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
10648
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
10649
|
+
],
|
|
10650
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
10651
|
+
},
|
|
10652
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
10653
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
10654
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
10655
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
10656
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
10657
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
10658
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
10659
|
+
{
|
|
10660
|
+
type: "error",
|
|
10661
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
10662
|
+
name: "ProtocolFeeTooLarge"
|
|
10663
|
+
},
|
|
10664
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
10665
|
+
{
|
|
10666
|
+
type: "error",
|
|
10667
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
10668
|
+
name: "TickSpacingTooLarge"
|
|
10669
|
+
},
|
|
10670
|
+
{
|
|
10671
|
+
type: "error",
|
|
10672
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
10673
|
+
name: "TickSpacingTooSmall"
|
|
10674
|
+
},
|
|
10675
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
|
|
10365
10676
|
];
|
|
10366
10677
|
var devZoraLimitOrderBookAddress = {
|
|
10367
10678
|
8453: "0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5"
|
|
@@ -10735,9 +11046,68 @@ var devZoraRouterABI = [
|
|
|
10735
11046
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
10736
11047
|
{ type: "error", inputs: [], name: "ZeroSwapDelta" },
|
|
10737
11048
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
10738
|
-
{ type: "error", inputs: [], name: "
|
|
10739
|
-
{ type: "error", inputs: [], name: "
|
|
10740
|
-
{
|
|
11049
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
11050
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
11051
|
+
{
|
|
11052
|
+
type: "error",
|
|
11053
|
+
inputs: [
|
|
11054
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
11055
|
+
{ name: "expectedCoin", internalType: "address", type: "address" },
|
|
11056
|
+
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
11057
|
+
],
|
|
11058
|
+
name: "CoinMismatch"
|
|
11059
|
+
},
|
|
11060
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
11061
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
11062
|
+
{
|
|
11063
|
+
type: "error",
|
|
11064
|
+
inputs: [
|
|
11065
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
11066
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
11067
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
11068
|
+
],
|
|
11069
|
+
name: "InvalidFillWindow"
|
|
11070
|
+
},
|
|
11071
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
11072
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
11073
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
11074
|
+
{
|
|
11075
|
+
type: "error",
|
|
11076
|
+
inputs: [
|
|
11077
|
+
{ name: "withdrawn", internalType: "uint256", type: "uint256" },
|
|
11078
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
11079
|
+
],
|
|
11080
|
+
name: "MinAmountNotReached"
|
|
11081
|
+
},
|
|
11082
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
11083
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
11084
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
11085
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
11086
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
11087
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
11088
|
+
{
|
|
11089
|
+
type: "error",
|
|
11090
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
11091
|
+
name: "OwnableInvalidOwner"
|
|
11092
|
+
},
|
|
11093
|
+
{
|
|
11094
|
+
type: "error",
|
|
11095
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
11096
|
+
name: "OwnableUnauthorizedAccount"
|
|
11097
|
+
},
|
|
11098
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
11099
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
11100
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
11101
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
11102
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
11103
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
11104
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
11105
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
11106
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
11107
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
11108
|
+
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
11109
|
+
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
11110
|
+
{
|
|
10741
11111
|
type: "error",
|
|
10742
11112
|
inputs: [],
|
|
10743
11113
|
name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
|
|
@@ -10820,6 +11190,7 @@ var devZoraRouterABI = [
|
|
|
10820
11190
|
],
|
|
10821
11191
|
name: "InvalidAccountNonce"
|
|
10822
11192
|
},
|
|
11193
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
10823
11194
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
10824
11195
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
10825
11196
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -10930,65 +11301,51 @@ var devZoraRouterABI = [
|
|
|
10930
11301
|
},
|
|
10931
11302
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
10932
11303
|
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
10933
|
-
{ type: "error", inputs: [], name: "
|
|
10934
|
-
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
10935
|
-
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
11304
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
10936
11305
|
{
|
|
10937
11306
|
type: "error",
|
|
10938
11307
|
inputs: [
|
|
10939
|
-
{ name: "
|
|
10940
|
-
{ name: "
|
|
10941
|
-
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
11308
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
11309
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
10942
11310
|
],
|
|
10943
|
-
name: "
|
|
11311
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
10944
11312
|
},
|
|
10945
|
-
{ type: "error", inputs: [], name: "
|
|
10946
|
-
{ type: "error", inputs: [], name: "
|
|
11313
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
11314
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
11315
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
11316
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
11317
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
11318
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
11319
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
10947
11320
|
{
|
|
10948
11321
|
type: "error",
|
|
10949
|
-
inputs: [
|
|
10950
|
-
|
|
10951
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
10952
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
10953
|
-
],
|
|
10954
|
-
name: "InvalidFillWindow"
|
|
11322
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
11323
|
+
name: "ProtocolFeeTooLarge"
|
|
10955
11324
|
},
|
|
10956
|
-
{ type: "error", inputs: [], name: "
|
|
10957
|
-
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
10958
|
-
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
11325
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
10959
11326
|
{
|
|
10960
11327
|
type: "error",
|
|
10961
|
-
inputs: [
|
|
10962
|
-
|
|
10963
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
10964
|
-
],
|
|
10965
|
-
name: "MinAmountNotReached"
|
|
11328
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
11329
|
+
name: "TickSpacingTooLarge"
|
|
10966
11330
|
},
|
|
10967
|
-
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
10968
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
10969
|
-
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
10970
|
-
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
10971
|
-
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
10972
|
-
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
10973
11331
|
{
|
|
10974
11332
|
type: "error",
|
|
10975
|
-
inputs: [{ name: "
|
|
10976
|
-
name: "
|
|
11333
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
11334
|
+
name: "TickSpacingTooSmall"
|
|
10977
11335
|
},
|
|
11336
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" },
|
|
11337
|
+
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
10978
11338
|
{
|
|
10979
11339
|
type: "error",
|
|
10980
|
-
inputs: [
|
|
10981
|
-
|
|
11340
|
+
inputs: [
|
|
11341
|
+
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
11342
|
+
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
11343
|
+
],
|
|
11344
|
+
name: "ExecutionFailed"
|
|
10982
11345
|
},
|
|
10983
|
-
{ type: "error", inputs: [], name: "
|
|
10984
|
-
{ type: "error", inputs: [], name: "
|
|
10985
|
-
{ type: "error", inputs: [], name: "
|
|
10986
|
-
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
10987
|
-
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
10988
|
-
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
10989
|
-
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
10990
|
-
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
10991
|
-
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
11346
|
+
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
11347
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
11348
|
+
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
10992
11349
|
];
|
|
10993
11350
|
var devZoraRouterAddress = {
|
|
10994
11351
|
8453: "0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8"
|
|
@@ -14567,113 +14924,804 @@ var uniswapV3SwapRouterABI = [
|
|
|
14567
14924
|
]
|
|
14568
14925
|
}
|
|
14569
14926
|
],
|
|
14570
|
-
name: "exactInput",
|
|
14571
|
-
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14572
|
-
stateMutability: "payable"
|
|
14927
|
+
name: "exactInput",
|
|
14928
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14929
|
+
stateMutability: "payable"
|
|
14930
|
+
},
|
|
14931
|
+
{
|
|
14932
|
+
type: "function",
|
|
14933
|
+
inputs: [
|
|
14934
|
+
{
|
|
14935
|
+
name: "params",
|
|
14936
|
+
internalType: "struct ISwapRouter.ExactInputSingleParams",
|
|
14937
|
+
type: "tuple",
|
|
14938
|
+
components: [
|
|
14939
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
14940
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
14941
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14942
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
14943
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
14944
|
+
{
|
|
14945
|
+
name: "amountOutMinimum",
|
|
14946
|
+
internalType: "uint256",
|
|
14947
|
+
type: "uint256"
|
|
14948
|
+
},
|
|
14949
|
+
{
|
|
14950
|
+
name: "sqrtPriceLimitX96",
|
|
14951
|
+
internalType: "uint160",
|
|
14952
|
+
type: "uint160"
|
|
14953
|
+
}
|
|
14954
|
+
]
|
|
14955
|
+
}
|
|
14956
|
+
],
|
|
14957
|
+
name: "exactInputSingle",
|
|
14958
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14959
|
+
stateMutability: "payable"
|
|
14960
|
+
},
|
|
14961
|
+
{
|
|
14962
|
+
type: "function",
|
|
14963
|
+
inputs: [
|
|
14964
|
+
{
|
|
14965
|
+
name: "params",
|
|
14966
|
+
internalType: "struct ISwapRouter.ExactOutputParams",
|
|
14967
|
+
type: "tuple",
|
|
14968
|
+
components: [
|
|
14969
|
+
{ name: "path", internalType: "bytes", type: "bytes" },
|
|
14970
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
14971
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14972
|
+
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" }
|
|
14973
|
+
]
|
|
14974
|
+
}
|
|
14975
|
+
],
|
|
14976
|
+
name: "exactOutput",
|
|
14977
|
+
outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
|
|
14978
|
+
stateMutability: "payable"
|
|
14979
|
+
},
|
|
14980
|
+
{
|
|
14981
|
+
type: "function",
|
|
14982
|
+
inputs: [
|
|
14983
|
+
{
|
|
14984
|
+
name: "params",
|
|
14985
|
+
internalType: "struct ISwapRouter.ExactOutputSingleParams",
|
|
14986
|
+
type: "tuple",
|
|
14987
|
+
components: [
|
|
14988
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
14989
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
14990
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14991
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
14992
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14993
|
+
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" },
|
|
14994
|
+
{
|
|
14995
|
+
name: "sqrtPriceLimitX96",
|
|
14996
|
+
internalType: "uint160",
|
|
14997
|
+
type: "uint160"
|
|
14998
|
+
}
|
|
14999
|
+
]
|
|
15000
|
+
}
|
|
15001
|
+
],
|
|
15002
|
+
name: "exactOutputSingle",
|
|
15003
|
+
outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
|
|
15004
|
+
stateMutability: "payable"
|
|
15005
|
+
},
|
|
15006
|
+
{
|
|
15007
|
+
type: "function",
|
|
15008
|
+
inputs: [
|
|
15009
|
+
{ name: "amount0Delta", internalType: "int256", type: "int256" },
|
|
15010
|
+
{ name: "amount1Delta", internalType: "int256", type: "int256" },
|
|
15011
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15012
|
+
],
|
|
15013
|
+
name: "uniswapV3SwapCallback",
|
|
15014
|
+
outputs: [],
|
|
15015
|
+
stateMutability: "nonpayable"
|
|
15016
|
+
}
|
|
15017
|
+
];
|
|
15018
|
+
var uniswapV3SwapRouterAddress = {
|
|
15019
|
+
1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
15020
|
+
10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
15021
|
+
8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
15022
|
+
42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
15023
|
+
81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
|
|
15024
|
+
84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
15025
|
+
421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
|
|
15026
|
+
7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
|
|
15027
|
+
11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
|
|
15028
|
+
11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
15029
|
+
999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
|
|
15030
|
+
};
|
|
15031
|
+
var uniswapV3SwapRouterConfig = {
|
|
15032
|
+
address: uniswapV3SwapRouterAddress,
|
|
15033
|
+
abi: uniswapV3SwapRouterABI
|
|
15034
|
+
};
|
|
15035
|
+
var uniswapV4PoolManagerABI = [
|
|
15036
|
+
{
|
|
15037
|
+
type: "function",
|
|
15038
|
+
inputs: [
|
|
15039
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15040
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
15041
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
15042
|
+
],
|
|
15043
|
+
name: "allowance",
|
|
15044
|
+
outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
|
|
15045
|
+
stateMutability: "view"
|
|
15046
|
+
},
|
|
15047
|
+
{
|
|
15048
|
+
type: "function",
|
|
15049
|
+
inputs: [
|
|
15050
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
15051
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15052
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15053
|
+
],
|
|
15054
|
+
name: "approve",
|
|
15055
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15056
|
+
stateMutability: "nonpayable"
|
|
15057
|
+
},
|
|
15058
|
+
{
|
|
15059
|
+
type: "function",
|
|
15060
|
+
inputs: [
|
|
15061
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15062
|
+
{ name: "id", internalType: "uint256", type: "uint256" }
|
|
15063
|
+
],
|
|
15064
|
+
name: "balanceOf",
|
|
15065
|
+
outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
|
|
15066
|
+
stateMutability: "view"
|
|
15067
|
+
},
|
|
15068
|
+
{
|
|
15069
|
+
type: "function",
|
|
15070
|
+
inputs: [
|
|
15071
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
15072
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15073
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15074
|
+
],
|
|
15075
|
+
name: "burn",
|
|
15076
|
+
outputs: [],
|
|
15077
|
+
stateMutability: "nonpayable"
|
|
15078
|
+
},
|
|
15079
|
+
{
|
|
15080
|
+
type: "function",
|
|
15081
|
+
inputs: [
|
|
15082
|
+
{ name: "currency", internalType: "Currency", type: "address" },
|
|
15083
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15084
|
+
],
|
|
15085
|
+
name: "clear",
|
|
15086
|
+
outputs: [],
|
|
15087
|
+
stateMutability: "nonpayable"
|
|
15088
|
+
},
|
|
15089
|
+
{
|
|
15090
|
+
type: "function",
|
|
15091
|
+
inputs: [
|
|
15092
|
+
{ name: "recipient", internalType: "address", type: "address" },
|
|
15093
|
+
{ name: "currency", internalType: "Currency", type: "address" },
|
|
15094
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15095
|
+
],
|
|
15096
|
+
name: "collectProtocolFees",
|
|
15097
|
+
outputs: [
|
|
15098
|
+
{ name: "amountCollected", internalType: "uint256", type: "uint256" }
|
|
15099
|
+
],
|
|
15100
|
+
stateMutability: "nonpayable"
|
|
15101
|
+
},
|
|
15102
|
+
{
|
|
15103
|
+
type: "function",
|
|
15104
|
+
inputs: [
|
|
15105
|
+
{
|
|
15106
|
+
name: "key",
|
|
15107
|
+
internalType: "struct PoolKey",
|
|
15108
|
+
type: "tuple",
|
|
15109
|
+
components: [
|
|
15110
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15111
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15112
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15113
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15114
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15115
|
+
]
|
|
15116
|
+
},
|
|
15117
|
+
{ name: "amount0", internalType: "uint256", type: "uint256" },
|
|
15118
|
+
{ name: "amount1", internalType: "uint256", type: "uint256" },
|
|
15119
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
15120
|
+
],
|
|
15121
|
+
name: "donate",
|
|
15122
|
+
outputs: [{ name: "", internalType: "BalanceDelta", type: "int256" }],
|
|
15123
|
+
stateMutability: "nonpayable"
|
|
15124
|
+
},
|
|
15125
|
+
{
|
|
15126
|
+
type: "function",
|
|
15127
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
15128
|
+
name: "extsload",
|
|
15129
|
+
outputs: [{ name: "value", internalType: "bytes32", type: "bytes32" }],
|
|
15130
|
+
stateMutability: "view"
|
|
15131
|
+
},
|
|
15132
|
+
{
|
|
15133
|
+
type: "function",
|
|
15134
|
+
inputs: [
|
|
15135
|
+
{ name: "startSlot", internalType: "bytes32", type: "bytes32" },
|
|
15136
|
+
{ name: "nSlots", internalType: "uint256", type: "uint256" }
|
|
15137
|
+
],
|
|
15138
|
+
name: "extsload",
|
|
15139
|
+
outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15140
|
+
stateMutability: "view"
|
|
15141
|
+
},
|
|
15142
|
+
{
|
|
15143
|
+
type: "function",
|
|
15144
|
+
inputs: [{ name: "slots", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15145
|
+
name: "extsload",
|
|
15146
|
+
outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15147
|
+
stateMutability: "view"
|
|
15148
|
+
},
|
|
15149
|
+
{
|
|
15150
|
+
type: "function",
|
|
15151
|
+
inputs: [{ name: "slots", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15152
|
+
name: "exttload",
|
|
15153
|
+
outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
|
|
15154
|
+
stateMutability: "view"
|
|
15155
|
+
},
|
|
15156
|
+
{
|
|
15157
|
+
type: "function",
|
|
15158
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
15159
|
+
name: "exttload",
|
|
15160
|
+
outputs: [{ name: "value", internalType: "bytes32", type: "bytes32" }],
|
|
15161
|
+
stateMutability: "view"
|
|
15162
|
+
},
|
|
15163
|
+
{
|
|
15164
|
+
type: "function",
|
|
15165
|
+
inputs: [
|
|
15166
|
+
{
|
|
15167
|
+
name: "key",
|
|
15168
|
+
internalType: "struct PoolKey",
|
|
15169
|
+
type: "tuple",
|
|
15170
|
+
components: [
|
|
15171
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15172
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15173
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15174
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15175
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15176
|
+
]
|
|
15177
|
+
},
|
|
15178
|
+
{ name: "sqrtPriceX96", internalType: "uint160", type: "uint160" }
|
|
15179
|
+
],
|
|
15180
|
+
name: "initialize",
|
|
15181
|
+
outputs: [{ name: "tick", internalType: "int24", type: "int24" }],
|
|
15182
|
+
stateMutability: "nonpayable"
|
|
15183
|
+
},
|
|
15184
|
+
{
|
|
15185
|
+
type: "function",
|
|
15186
|
+
inputs: [
|
|
15187
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
15188
|
+
{ name: "spender", internalType: "address", type: "address" }
|
|
15189
|
+
],
|
|
15190
|
+
name: "isOperator",
|
|
15191
|
+
outputs: [{ name: "approved", internalType: "bool", type: "bool" }],
|
|
15192
|
+
stateMutability: "view"
|
|
15193
|
+
},
|
|
15194
|
+
{
|
|
15195
|
+
type: "function",
|
|
15196
|
+
inputs: [
|
|
15197
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15198
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15199
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15200
|
+
],
|
|
15201
|
+
name: "mint",
|
|
15202
|
+
outputs: [],
|
|
15203
|
+
stateMutability: "nonpayable"
|
|
15204
|
+
},
|
|
15205
|
+
{
|
|
15206
|
+
type: "function",
|
|
15207
|
+
inputs: [
|
|
15208
|
+
{
|
|
15209
|
+
name: "key",
|
|
15210
|
+
internalType: "struct PoolKey",
|
|
15211
|
+
type: "tuple",
|
|
15212
|
+
components: [
|
|
15213
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15214
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15215
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15216
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15217
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15218
|
+
]
|
|
15219
|
+
},
|
|
15220
|
+
{
|
|
15221
|
+
name: "params",
|
|
15222
|
+
internalType: "struct ModifyLiquidityParams",
|
|
15223
|
+
type: "tuple",
|
|
15224
|
+
components: [
|
|
15225
|
+
{ name: "tickLower", internalType: "int24", type: "int24" },
|
|
15226
|
+
{ name: "tickUpper", internalType: "int24", type: "int24" },
|
|
15227
|
+
{ name: "liquidityDelta", internalType: "int256", type: "int256" },
|
|
15228
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" }
|
|
15229
|
+
]
|
|
15230
|
+
},
|
|
15231
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
15232
|
+
],
|
|
15233
|
+
name: "modifyLiquidity",
|
|
15234
|
+
outputs: [
|
|
15235
|
+
{ name: "callerDelta", internalType: "BalanceDelta", type: "int256" },
|
|
15236
|
+
{ name: "feesAccrued", internalType: "BalanceDelta", type: "int256" }
|
|
15237
|
+
],
|
|
15238
|
+
stateMutability: "nonpayable"
|
|
15239
|
+
},
|
|
15240
|
+
{
|
|
15241
|
+
type: "function",
|
|
15242
|
+
inputs: [],
|
|
15243
|
+
name: "protocolFeeController",
|
|
15244
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
15245
|
+
stateMutability: "view"
|
|
15246
|
+
},
|
|
15247
|
+
{
|
|
15248
|
+
type: "function",
|
|
15249
|
+
inputs: [{ name: "currency", internalType: "Currency", type: "address" }],
|
|
15250
|
+
name: "protocolFeesAccrued",
|
|
15251
|
+
outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
|
|
15252
|
+
stateMutability: "view"
|
|
15253
|
+
},
|
|
15254
|
+
{
|
|
15255
|
+
type: "function",
|
|
15256
|
+
inputs: [
|
|
15257
|
+
{ name: "operator", internalType: "address", type: "address" },
|
|
15258
|
+
{ name: "approved", internalType: "bool", type: "bool" }
|
|
15259
|
+
],
|
|
15260
|
+
name: "setOperator",
|
|
15261
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15262
|
+
stateMutability: "nonpayable"
|
|
15263
|
+
},
|
|
15264
|
+
{
|
|
15265
|
+
type: "function",
|
|
15266
|
+
inputs: [
|
|
15267
|
+
{
|
|
15268
|
+
name: "key",
|
|
15269
|
+
internalType: "struct PoolKey",
|
|
15270
|
+
type: "tuple",
|
|
15271
|
+
components: [
|
|
15272
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15273
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15274
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15275
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15276
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15277
|
+
]
|
|
15278
|
+
},
|
|
15279
|
+
{ name: "newProtocolFee", internalType: "uint24", type: "uint24" }
|
|
15280
|
+
],
|
|
15281
|
+
name: "setProtocolFee",
|
|
15282
|
+
outputs: [],
|
|
15283
|
+
stateMutability: "nonpayable"
|
|
15284
|
+
},
|
|
15285
|
+
{
|
|
15286
|
+
type: "function",
|
|
15287
|
+
inputs: [{ name: "controller", internalType: "address", type: "address" }],
|
|
15288
|
+
name: "setProtocolFeeController",
|
|
15289
|
+
outputs: [],
|
|
15290
|
+
stateMutability: "nonpayable"
|
|
15291
|
+
},
|
|
15292
|
+
{
|
|
15293
|
+
type: "function",
|
|
15294
|
+
inputs: [],
|
|
15295
|
+
name: "settle",
|
|
15296
|
+
outputs: [{ name: "paid", internalType: "uint256", type: "uint256" }],
|
|
15297
|
+
stateMutability: "payable"
|
|
15298
|
+
},
|
|
15299
|
+
{
|
|
15300
|
+
type: "function",
|
|
15301
|
+
inputs: [{ name: "recipient", internalType: "address", type: "address" }],
|
|
15302
|
+
name: "settleFor",
|
|
15303
|
+
outputs: [{ name: "paid", internalType: "uint256", type: "uint256" }],
|
|
15304
|
+
stateMutability: "payable"
|
|
15305
|
+
},
|
|
15306
|
+
{
|
|
15307
|
+
type: "function",
|
|
15308
|
+
inputs: [
|
|
15309
|
+
{
|
|
15310
|
+
name: "key",
|
|
15311
|
+
internalType: "struct PoolKey",
|
|
15312
|
+
type: "tuple",
|
|
15313
|
+
components: [
|
|
15314
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15315
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15316
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15317
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15318
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15319
|
+
]
|
|
15320
|
+
},
|
|
15321
|
+
{
|
|
15322
|
+
name: "params",
|
|
15323
|
+
internalType: "struct SwapParams",
|
|
15324
|
+
type: "tuple",
|
|
15325
|
+
components: [
|
|
15326
|
+
{ name: "zeroForOne", internalType: "bool", type: "bool" },
|
|
15327
|
+
{ name: "amountSpecified", internalType: "int256", type: "int256" },
|
|
15328
|
+
{
|
|
15329
|
+
name: "sqrtPriceLimitX96",
|
|
15330
|
+
internalType: "uint160",
|
|
15331
|
+
type: "uint160"
|
|
15332
|
+
}
|
|
15333
|
+
]
|
|
15334
|
+
},
|
|
15335
|
+
{ name: "hookData", internalType: "bytes", type: "bytes" }
|
|
15336
|
+
],
|
|
15337
|
+
name: "swap",
|
|
15338
|
+
outputs: [
|
|
15339
|
+
{ name: "swapDelta", internalType: "BalanceDelta", type: "int256" }
|
|
15340
|
+
],
|
|
15341
|
+
stateMutability: "nonpayable"
|
|
15342
|
+
},
|
|
15343
|
+
{
|
|
15344
|
+
type: "function",
|
|
15345
|
+
inputs: [{ name: "currency", internalType: "Currency", type: "address" }],
|
|
15346
|
+
name: "sync",
|
|
15347
|
+
outputs: [],
|
|
15348
|
+
stateMutability: "nonpayable"
|
|
15349
|
+
},
|
|
15350
|
+
{
|
|
15351
|
+
type: "function",
|
|
15352
|
+
inputs: [
|
|
15353
|
+
{ name: "currency", internalType: "Currency", type: "address" },
|
|
15354
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
15355
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15356
|
+
],
|
|
15357
|
+
name: "take",
|
|
15358
|
+
outputs: [],
|
|
15359
|
+
stateMutability: "nonpayable"
|
|
15360
|
+
},
|
|
15361
|
+
{
|
|
15362
|
+
type: "function",
|
|
15363
|
+
inputs: [
|
|
15364
|
+
{ name: "receiver", internalType: "address", type: "address" },
|
|
15365
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15366
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15367
|
+
],
|
|
15368
|
+
name: "transfer",
|
|
15369
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15370
|
+
stateMutability: "nonpayable"
|
|
15371
|
+
},
|
|
15372
|
+
{
|
|
15373
|
+
type: "function",
|
|
15374
|
+
inputs: [
|
|
15375
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
15376
|
+
{ name: "receiver", internalType: "address", type: "address" },
|
|
15377
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
15378
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
15379
|
+
],
|
|
15380
|
+
name: "transferFrom",
|
|
15381
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
15382
|
+
stateMutability: "nonpayable"
|
|
15383
|
+
},
|
|
15384
|
+
{
|
|
15385
|
+
type: "function",
|
|
15386
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
15387
|
+
name: "unlock",
|
|
15388
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
15389
|
+
stateMutability: "nonpayable"
|
|
15390
|
+
},
|
|
15391
|
+
{
|
|
15392
|
+
type: "function",
|
|
15393
|
+
inputs: [
|
|
15394
|
+
{
|
|
15395
|
+
name: "key",
|
|
15396
|
+
internalType: "struct PoolKey",
|
|
15397
|
+
type: "tuple",
|
|
15398
|
+
components: [
|
|
15399
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
15400
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
15401
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
15402
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
15403
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
15404
|
+
]
|
|
15405
|
+
},
|
|
15406
|
+
{ name: "newDynamicLPFee", internalType: "uint24", type: "uint24" }
|
|
15407
|
+
],
|
|
15408
|
+
name: "updateDynamicLPFee",
|
|
15409
|
+
outputs: [],
|
|
15410
|
+
stateMutability: "nonpayable"
|
|
15411
|
+
},
|
|
15412
|
+
{
|
|
15413
|
+
type: "event",
|
|
15414
|
+
anonymous: false,
|
|
15415
|
+
inputs: [
|
|
15416
|
+
{
|
|
15417
|
+
name: "owner",
|
|
15418
|
+
internalType: "address",
|
|
15419
|
+
type: "address",
|
|
15420
|
+
indexed: true
|
|
15421
|
+
},
|
|
15422
|
+
{
|
|
15423
|
+
name: "spender",
|
|
15424
|
+
internalType: "address",
|
|
15425
|
+
type: "address",
|
|
15426
|
+
indexed: true
|
|
15427
|
+
},
|
|
15428
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true },
|
|
15429
|
+
{
|
|
15430
|
+
name: "amount",
|
|
15431
|
+
internalType: "uint256",
|
|
15432
|
+
type: "uint256",
|
|
15433
|
+
indexed: false
|
|
15434
|
+
}
|
|
15435
|
+
],
|
|
15436
|
+
name: "Approval"
|
|
15437
|
+
},
|
|
15438
|
+
{
|
|
15439
|
+
type: "event",
|
|
15440
|
+
anonymous: false,
|
|
15441
|
+
inputs: [
|
|
15442
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15443
|
+
{
|
|
15444
|
+
name: "sender",
|
|
15445
|
+
internalType: "address",
|
|
15446
|
+
type: "address",
|
|
15447
|
+
indexed: true
|
|
15448
|
+
},
|
|
15449
|
+
{
|
|
15450
|
+
name: "amount0",
|
|
15451
|
+
internalType: "uint256",
|
|
15452
|
+
type: "uint256",
|
|
15453
|
+
indexed: false
|
|
15454
|
+
},
|
|
15455
|
+
{
|
|
15456
|
+
name: "amount1",
|
|
15457
|
+
internalType: "uint256",
|
|
15458
|
+
type: "uint256",
|
|
15459
|
+
indexed: false
|
|
15460
|
+
}
|
|
15461
|
+
],
|
|
15462
|
+
name: "Donate"
|
|
15463
|
+
},
|
|
15464
|
+
{
|
|
15465
|
+
type: "event",
|
|
15466
|
+
anonymous: false,
|
|
15467
|
+
inputs: [
|
|
15468
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15469
|
+
{
|
|
15470
|
+
name: "currency0",
|
|
15471
|
+
internalType: "Currency",
|
|
15472
|
+
type: "address",
|
|
15473
|
+
indexed: true
|
|
15474
|
+
},
|
|
15475
|
+
{
|
|
15476
|
+
name: "currency1",
|
|
15477
|
+
internalType: "Currency",
|
|
15478
|
+
type: "address",
|
|
15479
|
+
indexed: true
|
|
15480
|
+
},
|
|
15481
|
+
{ name: "fee", internalType: "uint24", type: "uint24", indexed: false },
|
|
15482
|
+
{
|
|
15483
|
+
name: "tickSpacing",
|
|
15484
|
+
internalType: "int24",
|
|
15485
|
+
type: "int24",
|
|
15486
|
+
indexed: false
|
|
15487
|
+
},
|
|
15488
|
+
{
|
|
15489
|
+
name: "hooks",
|
|
15490
|
+
internalType: "contract IHooks",
|
|
15491
|
+
type: "address",
|
|
15492
|
+
indexed: false
|
|
15493
|
+
},
|
|
15494
|
+
{
|
|
15495
|
+
name: "sqrtPriceX96",
|
|
15496
|
+
internalType: "uint160",
|
|
15497
|
+
type: "uint160",
|
|
15498
|
+
indexed: false
|
|
15499
|
+
},
|
|
15500
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false }
|
|
15501
|
+
],
|
|
15502
|
+
name: "Initialize"
|
|
15503
|
+
},
|
|
15504
|
+
{
|
|
15505
|
+
type: "event",
|
|
15506
|
+
anonymous: false,
|
|
15507
|
+
inputs: [
|
|
15508
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15509
|
+
{
|
|
15510
|
+
name: "sender",
|
|
15511
|
+
internalType: "address",
|
|
15512
|
+
type: "address",
|
|
15513
|
+
indexed: true
|
|
15514
|
+
},
|
|
15515
|
+
{
|
|
15516
|
+
name: "tickLower",
|
|
15517
|
+
internalType: "int24",
|
|
15518
|
+
type: "int24",
|
|
15519
|
+
indexed: false
|
|
15520
|
+
},
|
|
15521
|
+
{
|
|
15522
|
+
name: "tickUpper",
|
|
15523
|
+
internalType: "int24",
|
|
15524
|
+
type: "int24",
|
|
15525
|
+
indexed: false
|
|
15526
|
+
},
|
|
15527
|
+
{
|
|
15528
|
+
name: "liquidityDelta",
|
|
15529
|
+
internalType: "int256",
|
|
15530
|
+
type: "int256",
|
|
15531
|
+
indexed: false
|
|
15532
|
+
},
|
|
15533
|
+
{
|
|
15534
|
+
name: "salt",
|
|
15535
|
+
internalType: "bytes32",
|
|
15536
|
+
type: "bytes32",
|
|
15537
|
+
indexed: false
|
|
15538
|
+
}
|
|
15539
|
+
],
|
|
15540
|
+
name: "ModifyLiquidity"
|
|
15541
|
+
},
|
|
15542
|
+
{
|
|
15543
|
+
type: "event",
|
|
15544
|
+
anonymous: false,
|
|
15545
|
+
inputs: [
|
|
15546
|
+
{
|
|
15547
|
+
name: "owner",
|
|
15548
|
+
internalType: "address",
|
|
15549
|
+
type: "address",
|
|
15550
|
+
indexed: true
|
|
15551
|
+
},
|
|
15552
|
+
{
|
|
15553
|
+
name: "operator",
|
|
15554
|
+
internalType: "address",
|
|
15555
|
+
type: "address",
|
|
15556
|
+
indexed: true
|
|
15557
|
+
},
|
|
15558
|
+
{ name: "approved", internalType: "bool", type: "bool", indexed: false }
|
|
15559
|
+
],
|
|
15560
|
+
name: "OperatorSet"
|
|
15561
|
+
},
|
|
15562
|
+
{
|
|
15563
|
+
type: "event",
|
|
15564
|
+
anonymous: false,
|
|
15565
|
+
inputs: [
|
|
15566
|
+
{
|
|
15567
|
+
name: "protocolFeeController",
|
|
15568
|
+
internalType: "address",
|
|
15569
|
+
type: "address",
|
|
15570
|
+
indexed: true
|
|
15571
|
+
}
|
|
15572
|
+
],
|
|
15573
|
+
name: "ProtocolFeeControllerUpdated"
|
|
15574
|
+
},
|
|
15575
|
+
{
|
|
15576
|
+
type: "event",
|
|
15577
|
+
anonymous: false,
|
|
15578
|
+
inputs: [
|
|
15579
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15580
|
+
{
|
|
15581
|
+
name: "protocolFee",
|
|
15582
|
+
internalType: "uint24",
|
|
15583
|
+
type: "uint24",
|
|
15584
|
+
indexed: false
|
|
15585
|
+
}
|
|
15586
|
+
],
|
|
15587
|
+
name: "ProtocolFeeUpdated"
|
|
15588
|
+
},
|
|
15589
|
+
{
|
|
15590
|
+
type: "event",
|
|
15591
|
+
anonymous: false,
|
|
15592
|
+
inputs: [
|
|
15593
|
+
{ name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
|
|
15594
|
+
{
|
|
15595
|
+
name: "sender",
|
|
15596
|
+
internalType: "address",
|
|
15597
|
+
type: "address",
|
|
15598
|
+
indexed: true
|
|
15599
|
+
},
|
|
15600
|
+
{
|
|
15601
|
+
name: "amount0",
|
|
15602
|
+
internalType: "int128",
|
|
15603
|
+
type: "int128",
|
|
15604
|
+
indexed: false
|
|
15605
|
+
},
|
|
15606
|
+
{
|
|
15607
|
+
name: "amount1",
|
|
15608
|
+
internalType: "int128",
|
|
15609
|
+
type: "int128",
|
|
15610
|
+
indexed: false
|
|
15611
|
+
},
|
|
15612
|
+
{
|
|
15613
|
+
name: "sqrtPriceX96",
|
|
15614
|
+
internalType: "uint160",
|
|
15615
|
+
type: "uint160",
|
|
15616
|
+
indexed: false
|
|
15617
|
+
},
|
|
15618
|
+
{
|
|
15619
|
+
name: "liquidity",
|
|
15620
|
+
internalType: "uint128",
|
|
15621
|
+
type: "uint128",
|
|
15622
|
+
indexed: false
|
|
15623
|
+
},
|
|
15624
|
+
{ name: "tick", internalType: "int24", type: "int24", indexed: false },
|
|
15625
|
+
{ name: "fee", internalType: "uint24", type: "uint24", indexed: false }
|
|
15626
|
+
],
|
|
15627
|
+
name: "Swap"
|
|
14573
15628
|
},
|
|
14574
15629
|
{
|
|
14575
|
-
type: "
|
|
15630
|
+
type: "event",
|
|
15631
|
+
anonymous: false,
|
|
14576
15632
|
inputs: [
|
|
14577
15633
|
{
|
|
14578
|
-
name: "
|
|
14579
|
-
internalType: "
|
|
14580
|
-
type: "
|
|
14581
|
-
|
|
14582
|
-
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
},
|
|
14592
|
-
{
|
|
14593
|
-
name: "sqrtPriceLimitX96",
|
|
14594
|
-
internalType: "uint160",
|
|
14595
|
-
type: "uint160"
|
|
14596
|
-
}
|
|
14597
|
-
]
|
|
15634
|
+
name: "caller",
|
|
15635
|
+
internalType: "address",
|
|
15636
|
+
type: "address",
|
|
15637
|
+
indexed: false
|
|
15638
|
+
},
|
|
15639
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
15640
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
15641
|
+
{ name: "id", internalType: "uint256", type: "uint256", indexed: true },
|
|
15642
|
+
{
|
|
15643
|
+
name: "amount",
|
|
15644
|
+
internalType: "uint256",
|
|
15645
|
+
type: "uint256",
|
|
15646
|
+
indexed: false
|
|
14598
15647
|
}
|
|
14599
15648
|
],
|
|
14600
|
-
name: "
|
|
14601
|
-
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
14602
|
-
stateMutability: "payable"
|
|
15649
|
+
name: "Transfer"
|
|
14603
15650
|
},
|
|
15651
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
14604
15652
|
{
|
|
14605
|
-
type: "
|
|
15653
|
+
type: "error",
|
|
14606
15654
|
inputs: [
|
|
14607
|
-
{
|
|
14608
|
-
|
|
14609
|
-
internalType: "struct ISwapRouter.ExactOutputParams",
|
|
14610
|
-
type: "tuple",
|
|
14611
|
-
components: [
|
|
14612
|
-
{ name: "path", internalType: "bytes", type: "bytes" },
|
|
14613
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
14614
|
-
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14615
|
-
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" }
|
|
14616
|
-
]
|
|
14617
|
-
}
|
|
15655
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
15656
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
14618
15657
|
],
|
|
14619
|
-
name: "
|
|
14620
|
-
|
|
14621
|
-
|
|
15658
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
15659
|
+
},
|
|
15660
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
15661
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
15662
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
15663
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
15664
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
15665
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
15666
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
15667
|
+
{
|
|
15668
|
+
type: "error",
|
|
15669
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
15670
|
+
name: "ProtocolFeeTooLarge"
|
|
15671
|
+
},
|
|
15672
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
15673
|
+
{
|
|
15674
|
+
type: "error",
|
|
15675
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
15676
|
+
name: "TickSpacingTooLarge"
|
|
15677
|
+
},
|
|
15678
|
+
{
|
|
15679
|
+
type: "error",
|
|
15680
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
15681
|
+
name: "TickSpacingTooSmall"
|
|
14622
15682
|
},
|
|
15683
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
|
|
15684
|
+
];
|
|
15685
|
+
var uniswapV4PoolManagerAddress = {
|
|
15686
|
+
8453: "0x498581fF718922c3f8e6A244956aF099B2652b2b",
|
|
15687
|
+
84532: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408"
|
|
15688
|
+
};
|
|
15689
|
+
var uniswapV4PoolManagerConfig = {
|
|
15690
|
+
address: uniswapV4PoolManagerAddress,
|
|
15691
|
+
abi: uniswapV4PoolManagerABI
|
|
15692
|
+
};
|
|
15693
|
+
var universalRouterABI = [
|
|
14623
15694
|
{
|
|
14624
15695
|
type: "function",
|
|
14625
15696
|
inputs: [
|
|
14626
|
-
{
|
|
14627
|
-
|
|
14628
|
-
|
|
14629
|
-
type: "tuple",
|
|
14630
|
-
components: [
|
|
14631
|
-
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
14632
|
-
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
14633
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
14634
|
-
{ name: "recipient", internalType: "address", type: "address" },
|
|
14635
|
-
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
14636
|
-
{ name: "amountInMaximum", internalType: "uint256", type: "uint256" },
|
|
14637
|
-
{
|
|
14638
|
-
name: "sqrtPriceLimitX96",
|
|
14639
|
-
internalType: "uint160",
|
|
14640
|
-
type: "uint160"
|
|
14641
|
-
}
|
|
14642
|
-
]
|
|
14643
|
-
}
|
|
15697
|
+
{ name: "commands", internalType: "bytes", type: "bytes" },
|
|
15698
|
+
{ name: "inputs", internalType: "bytes[]", type: "bytes[]" },
|
|
15699
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
14644
15700
|
],
|
|
14645
|
-
name: "
|
|
14646
|
-
outputs: [
|
|
15701
|
+
name: "execute",
|
|
15702
|
+
outputs: [],
|
|
14647
15703
|
stateMutability: "payable"
|
|
14648
15704
|
},
|
|
15705
|
+
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
14649
15706
|
{
|
|
14650
|
-
type: "
|
|
15707
|
+
type: "error",
|
|
14651
15708
|
inputs: [
|
|
14652
|
-
{ name: "
|
|
14653
|
-
{ name: "
|
|
14654
|
-
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
15709
|
+
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
15710
|
+
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
14655
15711
|
],
|
|
14656
|
-
name: "
|
|
14657
|
-
|
|
14658
|
-
|
|
14659
|
-
}
|
|
15712
|
+
name: "ExecutionFailed"
|
|
15713
|
+
},
|
|
15714
|
+
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
15715
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
15716
|
+
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
14660
15717
|
];
|
|
14661
|
-
var
|
|
14662
|
-
|
|
14663
|
-
|
|
14664
|
-
8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
14665
|
-
42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
|
|
14666
|
-
81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
|
|
14667
|
-
84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
14668
|
-
421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
|
|
14669
|
-
7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
|
|
14670
|
-
11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
|
|
14671
|
-
11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
14672
|
-
999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
|
|
15718
|
+
var universalRouterAddress = {
|
|
15719
|
+
8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
15720
|
+
84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
|
|
14673
15721
|
};
|
|
14674
|
-
var
|
|
14675
|
-
address:
|
|
14676
|
-
abi:
|
|
15722
|
+
var universalRouterConfig = {
|
|
15723
|
+
address: universalRouterAddress,
|
|
15724
|
+
abi: universalRouterABI
|
|
14677
15725
|
};
|
|
14678
15726
|
var upgradeGateABI = [
|
|
14679
15727
|
{ type: "constructor", inputs: [], stateMutability: "nonpayable" },
|
|
@@ -19733,6 +20781,7 @@ var zoraLimitOrderBookABI = [
|
|
|
19733
20781
|
],
|
|
19734
20782
|
name: "InvalidAccountNonce"
|
|
19735
20783
|
},
|
|
20784
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
19736
20785
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
19737
20786
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
19738
20787
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -19842,10 +20891,43 @@ var zoraLimitOrderBookABI = [
|
|
|
19842
20891
|
name: "UpgradePathNotRegistered"
|
|
19843
20892
|
},
|
|
19844
20893
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
19845
|
-
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
|
|
20894
|
+
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
20895
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
20896
|
+
{
|
|
20897
|
+
type: "error",
|
|
20898
|
+
inputs: [
|
|
20899
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
20900
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
20901
|
+
],
|
|
20902
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
20903
|
+
},
|
|
20904
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
20905
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
20906
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
20907
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
20908
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
20909
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
20910
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
20911
|
+
{
|
|
20912
|
+
type: "error",
|
|
20913
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
20914
|
+
name: "ProtocolFeeTooLarge"
|
|
20915
|
+
},
|
|
20916
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
20917
|
+
{
|
|
20918
|
+
type: "error",
|
|
20919
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
20920
|
+
name: "TickSpacingTooLarge"
|
|
20921
|
+
},
|
|
20922
|
+
{
|
|
20923
|
+
type: "error",
|
|
20924
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
20925
|
+
name: "TickSpacingTooSmall"
|
|
20926
|
+
},
|
|
20927
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
|
|
19846
20928
|
];
|
|
19847
20929
|
var zoraLimitOrderBookAddress = {
|
|
19848
|
-
8453: "
|
|
20930
|
+
8453: "0x7777777C783bAD88daCaf9A19E04238341E4497B"
|
|
19849
20931
|
};
|
|
19850
20932
|
var zoraLimitOrderBookConfig = {
|
|
19851
20933
|
address: zoraLimitOrderBookAddress,
|
|
@@ -21881,6 +22963,65 @@ var zoraRouterABI = [
|
|
|
21881
22963
|
{ type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
|
|
21882
22964
|
{ type: "error", inputs: [], name: "ZeroSwapDelta" },
|
|
21883
22965
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
22966
|
+
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
22967
|
+
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
22968
|
+
{
|
|
22969
|
+
type: "error",
|
|
22970
|
+
inputs: [
|
|
22971
|
+
{ name: "orderId", internalType: "bytes32", type: "bytes32" },
|
|
22972
|
+
{ name: "expectedCoin", internalType: "address", type: "address" },
|
|
22973
|
+
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
22974
|
+
],
|
|
22975
|
+
name: "CoinMismatch"
|
|
22976
|
+
},
|
|
22977
|
+
{ type: "error", inputs: [], name: "InsufficientForwardedFunds" },
|
|
22978
|
+
{ type: "error", inputs: [], name: "InsufficientTransferFunds" },
|
|
22979
|
+
{
|
|
22980
|
+
type: "error",
|
|
22981
|
+
inputs: [
|
|
22982
|
+
{ name: "startTick", internalType: "int24", type: "int24" },
|
|
22983
|
+
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
22984
|
+
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
22985
|
+
],
|
|
22986
|
+
name: "InvalidFillWindow"
|
|
22987
|
+
},
|
|
22988
|
+
{ type: "error", inputs: [], name: "InvalidOrder" },
|
|
22989
|
+
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
22990
|
+
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
22991
|
+
{
|
|
22992
|
+
type: "error",
|
|
22993
|
+
inputs: [
|
|
22994
|
+
{ name: "withdrawn", internalType: "uint256", type: "uint256" },
|
|
22995
|
+
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
22996
|
+
],
|
|
22997
|
+
name: "MinAmountNotReached"
|
|
22998
|
+
},
|
|
22999
|
+
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
23000
|
+
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
23001
|
+
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
23002
|
+
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
23003
|
+
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
23004
|
+
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
23005
|
+
{
|
|
23006
|
+
type: "error",
|
|
23007
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
23008
|
+
name: "OwnableInvalidOwner"
|
|
23009
|
+
},
|
|
23010
|
+
{
|
|
23011
|
+
type: "error",
|
|
23012
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
23013
|
+
name: "OwnableUnauthorizedAccount"
|
|
23014
|
+
},
|
|
23015
|
+
{ type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
|
|
23016
|
+
{ type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
|
|
23017
|
+
{ type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
|
|
23018
|
+
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
23019
|
+
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
23020
|
+
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
23021
|
+
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
23022
|
+
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
23023
|
+
{ type: "error", inputs: [], name: "ZeroRealizedOrder" },
|
|
23024
|
+
{ type: "error", inputs: [], name: "AddressZero" },
|
|
21884
23025
|
{ type: "error", inputs: [], name: "AlreadyOwner" },
|
|
21885
23026
|
{ type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
|
|
21886
23027
|
{
|
|
@@ -21966,6 +23107,7 @@ var zoraRouterABI = [
|
|
|
21966
23107
|
],
|
|
21967
23108
|
name: "InvalidAccountNonce"
|
|
21968
23109
|
},
|
|
23110
|
+
{ type: "error", inputs: [], name: "InvalidCurrency" },
|
|
21969
23111
|
{ type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
|
|
21970
23112
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
21971
23113
|
{ type: "error", inputs: [], name: "InvalidMarketType" },
|
|
@@ -22076,68 +23218,54 @@ var zoraRouterABI = [
|
|
|
22076
23218
|
},
|
|
22077
23219
|
{ type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
|
|
22078
23220
|
{ type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
|
|
22079
|
-
{ type: "error", inputs: [], name: "
|
|
22080
|
-
{ type: "error", inputs: [], name: "ArrayLengthMismatch" },
|
|
22081
|
-
{ type: "error", inputs: [], name: "CallerNotPermitted" },
|
|
23221
|
+
{ type: "error", inputs: [], name: "AlreadyUnlocked" },
|
|
22082
23222
|
{
|
|
22083
23223
|
type: "error",
|
|
22084
23224
|
inputs: [
|
|
22085
|
-
{ name: "
|
|
22086
|
-
{ name: "
|
|
22087
|
-
{ name: "actualCoin", internalType: "address", type: "address" }
|
|
23225
|
+
{ name: "currency0", internalType: "address", type: "address" },
|
|
23226
|
+
{ name: "currency1", internalType: "address", type: "address" }
|
|
22088
23227
|
],
|
|
22089
|
-
name: "
|
|
23228
|
+
name: "CurrenciesOutOfOrderOrEqual"
|
|
22090
23229
|
},
|
|
22091
|
-
{ type: "error", inputs: [], name: "
|
|
22092
|
-
{ type: "error", inputs: [], name: "
|
|
23230
|
+
{ type: "error", inputs: [], name: "CurrencyNotSettled" },
|
|
23231
|
+
{ type: "error", inputs: [], name: "InvalidCaller" },
|
|
23232
|
+
{ type: "error", inputs: [], name: "ManagerLocked" },
|
|
23233
|
+
{ type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
|
|
23234
|
+
{ type: "error", inputs: [], name: "NonzeroNativeValue" },
|
|
23235
|
+
{ type: "error", inputs: [], name: "PoolNotInitialized" },
|
|
23236
|
+
{ type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
|
|
22093
23237
|
{
|
|
22094
23238
|
type: "error",
|
|
22095
|
-
inputs: [
|
|
22096
|
-
|
|
22097
|
-
{ name: "endTick", internalType: "int24", type: "int24" },
|
|
22098
|
-
{ name: "isCurrency0", internalType: "bool", type: "bool" }
|
|
22099
|
-
],
|
|
22100
|
-
name: "InvalidFillWindow"
|
|
23239
|
+
inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
|
|
23240
|
+
name: "ProtocolFeeTooLarge"
|
|
22101
23241
|
},
|
|
22102
|
-
{ type: "error", inputs: [], name: "
|
|
22103
|
-
{ type: "error", inputs: [], name: "InvalidPoolKey" },
|
|
22104
|
-
{ type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
|
|
23242
|
+
{ type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
|
|
22105
23243
|
{
|
|
22106
23244
|
type: "error",
|
|
22107
|
-
inputs: [
|
|
22108
|
-
|
|
22109
|
-
{ name: "minAmountOut", internalType: "uint256", type: "uint256" }
|
|
22110
|
-
],
|
|
22111
|
-
name: "MinAmountNotReached"
|
|
23245
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
23246
|
+
name: "TickSpacingTooLarge"
|
|
22112
23247
|
},
|
|
22113
|
-
{ type: "error", inputs: [], name: "NativeValueMismatch" },
|
|
22114
|
-
{ type: "error", inputs: [], name: "NotPoolManager" },
|
|
22115
|
-
{ type: "error", inputs: [], name: "OnlyZoraHook" },
|
|
22116
|
-
{ type: "error", inputs: [], name: "OrderClosed" },
|
|
22117
|
-
{ type: "error", inputs: [], name: "OrderFillable" },
|
|
22118
|
-
{ type: "error", inputs: [], name: "OrderNotMaker" },
|
|
22119
23248
|
{
|
|
22120
23249
|
type: "error",
|
|
22121
|
-
inputs: [{ name: "
|
|
22122
|
-
name: "
|
|
23250
|
+
inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
|
|
23251
|
+
name: "TickSpacingTooSmall"
|
|
22123
23252
|
},
|
|
23253
|
+
{ type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" },
|
|
23254
|
+
{ type: "error", inputs: [], name: "ETHNotAccepted" },
|
|
22124
23255
|
{
|
|
22125
23256
|
type: "error",
|
|
22126
|
-
inputs: [
|
|
22127
|
-
|
|
23257
|
+
inputs: [
|
|
23258
|
+
{ name: "commandIndex", internalType: "uint256", type: "uint256" },
|
|
23259
|
+
{ name: "message", internalType: "bytes", type: "bytes" }
|
|
23260
|
+
],
|
|
23261
|
+
name: "ExecutionFailed"
|
|
22128
23262
|
},
|
|
22129
|
-
{ type: "error", inputs: [], name: "
|
|
22130
|
-
{ type: "error", inputs: [], name: "
|
|
22131
|
-
{ type: "error", inputs: [], name: "
|
|
22132
|
-
{ type: "error", inputs: [], name: "UnknownCallback" },
|
|
22133
|
-
{ type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
|
|
22134
|
-
{ type: "error", inputs: [], name: "WethTransferFailed" },
|
|
22135
|
-
{ type: "error", inputs: [], name: "ZeroMaker" },
|
|
22136
|
-
{ type: "error", inputs: [], name: "ZeroOrderSize" },
|
|
22137
|
-
{ type: "error", inputs: [], name: "ZeroRealizedOrder" }
|
|
23263
|
+
{ type: "error", inputs: [], name: "InvalidEthSender" },
|
|
23264
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
23265
|
+
{ type: "error", inputs: [], name: "TransactionDeadlinePassed" }
|
|
22138
23266
|
];
|
|
22139
23267
|
var zoraRouterAddress = {
|
|
22140
|
-
8453: "
|
|
23268
|
+
8453: "0x77777777Eb762Cf86F634763e79d17dE44330887"
|
|
22141
23269
|
};
|
|
22142
23270
|
var zoraRouterConfig = {
|
|
22143
23271
|
address: zoraRouterAddress,
|
|
@@ -25003,6 +26131,7 @@ var chainConfigs2 = {
|
|
|
25003
26131
|
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
25004
26132
|
PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
25005
26133
|
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
26134
|
+
METADATA_MANAGER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
25006
26135
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
25007
26136
|
UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
25008
26137
|
UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
@@ -25031,6 +26160,7 @@ var chainConfigs2 = {
|
|
|
25031
26160
|
DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
|
|
25032
26161
|
PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
25033
26162
|
ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
26163
|
+
METADATA_MANAGER: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
25034
26164
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
25035
26165
|
UNISWAP_V4_POOL_MANAGER: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
|
|
25036
26166
|
UNISWAP_V4_POSITION_MANAGER: "0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80",
|
|
@@ -25080,6 +26210,7 @@ var chainConfigs2 = {
|
|
|
25080
26210
|
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
25081
26211
|
PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
|
|
25082
26212
|
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
26213
|
+
METADATA_MANAGER: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
|
|
25083
26214
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
25084
26215
|
UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
25085
26216
|
UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
@@ -25242,6 +26373,12 @@ var addresses2 = {
|
|
|
25242
26373
|
uniswapV3SwapRouterABI,
|
|
25243
26374
|
uniswapV3SwapRouterAddress,
|
|
25244
26375
|
uniswapV3SwapRouterConfig,
|
|
26376
|
+
uniswapV4PoolManagerABI,
|
|
26377
|
+
uniswapV4PoolManagerAddress,
|
|
26378
|
+
uniswapV4PoolManagerConfig,
|
|
26379
|
+
universalRouterABI,
|
|
26380
|
+
universalRouterAddress,
|
|
26381
|
+
universalRouterConfig,
|
|
25245
26382
|
upgradeGateABI,
|
|
25246
26383
|
upgradeGateAddress,
|
|
25247
26384
|
upgradeGateConfig,
|