@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/dist/index.js CHANGED
@@ -2381,6 +2381,7 @@ var coinABI = [
2381
2381
  ],
2382
2382
  name: "InvalidAccountNonce"
2383
2383
  },
2384
+ { type: "error", inputs: [], name: "InvalidCurrency" },
2384
2385
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
2385
2386
  { type: "error", inputs: [], name: "InvalidInitialization" },
2386
2387
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -2430,6 +2431,7 @@ var coinFactoryABI = [
2430
2431
  inputs: [
2431
2432
  { name: "coinV4Impl_", internalType: "address", type: "address" },
2432
2433
  { name: "creatorCoinImpl_", internalType: "address", type: "address" },
2434
+ { name: "trendCoinImpl_", internalType: "address", type: "address" },
2433
2435
  { name: "hook_", internalType: "address", type: "address" },
2434
2436
  { name: "zoraHookRegistry_", internalType: "address", type: "address" }
2435
2437
  ],
@@ -2602,6 +2604,20 @@ var coinFactoryABI = [
2602
2604
  ],
2603
2605
  stateMutability: "payable"
2604
2606
  },
2607
+ {
2608
+ type: "function",
2609
+ inputs: [
2610
+ { name: "symbol", internalType: "string", type: "string" },
2611
+ { name: "postDeployHook", internalType: "address", type: "address" },
2612
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" }
2613
+ ],
2614
+ name: "deployTrendCoin",
2615
+ outputs: [
2616
+ { name: "coin", internalType: "address", type: "address" },
2617
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
2618
+ ],
2619
+ stateMutability: "payable"
2620
+ },
2605
2621
  {
2606
2622
  type: "function",
2607
2623
  inputs: [
@@ -2680,6 +2696,27 @@ var coinFactoryABI = [
2680
2696
  outputs: [],
2681
2697
  stateMutability: "nonpayable"
2682
2698
  },
2699
+ {
2700
+ type: "function",
2701
+ inputs: [
2702
+ { name: "currency", internalType: "address", type: "address" },
2703
+ { name: "tickLower", internalType: "int24[]", type: "int24[]" },
2704
+ { name: "tickUpper", internalType: "int24[]", type: "int24[]" },
2705
+ {
2706
+ name: "numDiscoveryPositions",
2707
+ internalType: "uint16[]",
2708
+ type: "uint16[]"
2709
+ },
2710
+ {
2711
+ name: "maxDiscoverySupplyShare",
2712
+ internalType: "uint256[]",
2713
+ type: "uint256[]"
2714
+ }
2715
+ ],
2716
+ name: "setTrendCoinPoolConfig",
2717
+ outputs: [],
2718
+ stateMutability: "nonpayable"
2719
+ },
2683
2720
  {
2684
2721
  type: "function",
2685
2722
  inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
@@ -2687,6 +2724,27 @@ var coinFactoryABI = [
2687
2724
  outputs: [],
2688
2725
  stateMutability: "nonpayable"
2689
2726
  },
2727
+ {
2728
+ type: "function",
2729
+ inputs: [{ name: "symbol", internalType: "string", type: "string" }],
2730
+ name: "trendCoinAddress",
2731
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2732
+ stateMutability: "view"
2733
+ },
2734
+ {
2735
+ type: "function",
2736
+ inputs: [],
2737
+ name: "trendCoinImpl",
2738
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2739
+ stateMutability: "view"
2740
+ },
2741
+ {
2742
+ type: "function",
2743
+ inputs: [],
2744
+ name: "trendCoinPoolConfig",
2745
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
2746
+ stateMutability: "view"
2747
+ },
2690
2748
  {
2691
2749
  type: "function",
2692
2750
  inputs: [
@@ -2952,6 +3010,75 @@ var coinFactoryABI = [
2952
3010
  ],
2953
3011
  name: "OwnershipTransferred"
2954
3012
  },
3013
+ {
3014
+ type: "event",
3015
+ anonymous: false,
3016
+ inputs: [
3017
+ {
3018
+ name: "caller",
3019
+ internalType: "address",
3020
+ type: "address",
3021
+ indexed: true
3022
+ },
3023
+ {
3024
+ name: "symbol",
3025
+ internalType: "string",
3026
+ type: "string",
3027
+ indexed: false
3028
+ },
3029
+ {
3030
+ name: "coin",
3031
+ internalType: "address",
3032
+ type: "address",
3033
+ indexed: false
3034
+ },
3035
+ {
3036
+ name: "poolKey",
3037
+ internalType: "struct PoolKey",
3038
+ type: "tuple",
3039
+ components: [
3040
+ { name: "currency0", internalType: "Currency", type: "address" },
3041
+ { name: "currency1", internalType: "Currency", type: "address" },
3042
+ { name: "fee", internalType: "uint24", type: "uint24" },
3043
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3044
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3045
+ ],
3046
+ indexed: false
3047
+ },
3048
+ {
3049
+ name: "poolKeyHash",
3050
+ internalType: "bytes32",
3051
+ type: "bytes32",
3052
+ indexed: false
3053
+ },
3054
+ {
3055
+ name: "poolConfig",
3056
+ internalType: "bytes",
3057
+ type: "bytes",
3058
+ indexed: false
3059
+ },
3060
+ {
3061
+ name: "version",
3062
+ internalType: "string",
3063
+ type: "string",
3064
+ indexed: false
3065
+ }
3066
+ ],
3067
+ name: "TrendCoinCreated"
3068
+ },
3069
+ {
3070
+ type: "event",
3071
+ anonymous: false,
3072
+ inputs: [
3073
+ {
3074
+ name: "poolConfig",
3075
+ internalType: "bytes",
3076
+ type: "bytes",
3077
+ indexed: false
3078
+ }
3079
+ ],
3080
+ name: "TrendCoinPoolConfigUpdated"
3081
+ },
2955
3082
  {
2956
3083
  type: "event",
2957
3084
  anonymous: false,
@@ -3004,6 +3131,7 @@ var coinFactoryABI = [
3004
3131
  ],
3005
3132
  name: "InvalidTickRangeMisordered"
3006
3133
  },
3134
+ { type: "error", inputs: [], name: "InvalidTickerCharacters" },
3007
3135
  {
3008
3136
  type: "error",
3009
3137
  inputs: [
@@ -3025,6 +3153,12 @@ var coinFactoryABI = [
3025
3153
  name: "OwnableUnauthorizedAccount"
3026
3154
  },
3027
3155
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3156
+ {
3157
+ type: "error",
3158
+ inputs: [{ name: "symbol", internalType: "string", type: "string" }],
3159
+ name: "TickerAlreadyUsed"
3160
+ },
3161
+ { type: "error", inputs: [], name: "TrendCoinPoolConfigNotSet" },
3028
3162
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3029
3163
  {
3030
3164
  type: "error",
@@ -3039,6 +3173,7 @@ var coinFactoryABI = [
3039
3173
  ],
3040
3174
  name: "UpgradeToMismatchedContractName"
3041
3175
  },
3176
+ { type: "error", inputs: [], name: "UseSpecificTrendCoinInitialize" },
3042
3177
  { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
3043
3178
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
3044
3179
  { type: "error", inputs: [], name: "AddressZero" },
@@ -3146,6 +3281,7 @@ var coinFactoryABI = [
3146
3281
  ],
3147
3282
  name: "InvalidAccountNonce"
3148
3283
  },
3284
+ { type: "error", inputs: [], name: "InvalidCurrency" },
3149
3285
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
3150
3286
  { type: "error", inputs: [], name: "InvalidInitialization" },
3151
3287
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -6483,6 +6619,7 @@ var devCoinFactoryABI = [
6483
6619
  inputs: [
6484
6620
  { name: "coinV4Impl_", internalType: "address", type: "address" },
6485
6621
  { name: "creatorCoinImpl_", internalType: "address", type: "address" },
6622
+ { name: "trendCoinImpl_", internalType: "address", type: "address" },
6486
6623
  { name: "hook_", internalType: "address", type: "address" },
6487
6624
  { name: "zoraHookRegistry_", internalType: "address", type: "address" }
6488
6625
  ],
@@ -6655,6 +6792,20 @@ var devCoinFactoryABI = [
6655
6792
  ],
6656
6793
  stateMutability: "payable"
6657
6794
  },
6795
+ {
6796
+ type: "function",
6797
+ inputs: [
6798
+ { name: "symbol", internalType: "string", type: "string" },
6799
+ { name: "postDeployHook", internalType: "address", type: "address" },
6800
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" }
6801
+ ],
6802
+ name: "deployTrendCoin",
6803
+ outputs: [
6804
+ { name: "coin", internalType: "address", type: "address" },
6805
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
6806
+ ],
6807
+ stateMutability: "payable"
6808
+ },
6658
6809
  {
6659
6810
  type: "function",
6660
6811
  inputs: [
@@ -6733,6 +6884,27 @@ var devCoinFactoryABI = [
6733
6884
  outputs: [],
6734
6885
  stateMutability: "nonpayable"
6735
6886
  },
6887
+ {
6888
+ type: "function",
6889
+ inputs: [
6890
+ { name: "currency", internalType: "address", type: "address" },
6891
+ { name: "tickLower", internalType: "int24[]", type: "int24[]" },
6892
+ { name: "tickUpper", internalType: "int24[]", type: "int24[]" },
6893
+ {
6894
+ name: "numDiscoveryPositions",
6895
+ internalType: "uint16[]",
6896
+ type: "uint16[]"
6897
+ },
6898
+ {
6899
+ name: "maxDiscoverySupplyShare",
6900
+ internalType: "uint256[]",
6901
+ type: "uint256[]"
6902
+ }
6903
+ ],
6904
+ name: "setTrendCoinPoolConfig",
6905
+ outputs: [],
6906
+ stateMutability: "nonpayable"
6907
+ },
6736
6908
  {
6737
6909
  type: "function",
6738
6910
  inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
@@ -6740,6 +6912,27 @@ var devCoinFactoryABI = [
6740
6912
  outputs: [],
6741
6913
  stateMutability: "nonpayable"
6742
6914
  },
6915
+ {
6916
+ type: "function",
6917
+ inputs: [{ name: "symbol", internalType: "string", type: "string" }],
6918
+ name: "trendCoinAddress",
6919
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6920
+ stateMutability: "view"
6921
+ },
6922
+ {
6923
+ type: "function",
6924
+ inputs: [],
6925
+ name: "trendCoinImpl",
6926
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6927
+ stateMutability: "view"
6928
+ },
6929
+ {
6930
+ type: "function",
6931
+ inputs: [],
6932
+ name: "trendCoinPoolConfig",
6933
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
6934
+ stateMutability: "view"
6935
+ },
6743
6936
  {
6744
6937
  type: "function",
6745
6938
  inputs: [
@@ -7005,6 +7198,75 @@ var devCoinFactoryABI = [
7005
7198
  ],
7006
7199
  name: "OwnershipTransferred"
7007
7200
  },
7201
+ {
7202
+ type: "event",
7203
+ anonymous: false,
7204
+ inputs: [
7205
+ {
7206
+ name: "caller",
7207
+ internalType: "address",
7208
+ type: "address",
7209
+ indexed: true
7210
+ },
7211
+ {
7212
+ name: "symbol",
7213
+ internalType: "string",
7214
+ type: "string",
7215
+ indexed: false
7216
+ },
7217
+ {
7218
+ name: "coin",
7219
+ internalType: "address",
7220
+ type: "address",
7221
+ indexed: false
7222
+ },
7223
+ {
7224
+ name: "poolKey",
7225
+ internalType: "struct PoolKey",
7226
+ type: "tuple",
7227
+ components: [
7228
+ { name: "currency0", internalType: "Currency", type: "address" },
7229
+ { name: "currency1", internalType: "Currency", type: "address" },
7230
+ { name: "fee", internalType: "uint24", type: "uint24" },
7231
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
7232
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
7233
+ ],
7234
+ indexed: false
7235
+ },
7236
+ {
7237
+ name: "poolKeyHash",
7238
+ internalType: "bytes32",
7239
+ type: "bytes32",
7240
+ indexed: false
7241
+ },
7242
+ {
7243
+ name: "poolConfig",
7244
+ internalType: "bytes",
7245
+ type: "bytes",
7246
+ indexed: false
7247
+ },
7248
+ {
7249
+ name: "version",
7250
+ internalType: "string",
7251
+ type: "string",
7252
+ indexed: false
7253
+ }
7254
+ ],
7255
+ name: "TrendCoinCreated"
7256
+ },
7257
+ {
7258
+ type: "event",
7259
+ anonymous: false,
7260
+ inputs: [
7261
+ {
7262
+ name: "poolConfig",
7263
+ internalType: "bytes",
7264
+ type: "bytes",
7265
+ indexed: false
7266
+ }
7267
+ ],
7268
+ name: "TrendCoinPoolConfigUpdated"
7269
+ },
7008
7270
  {
7009
7271
  type: "event",
7010
7272
  anonymous: false,
@@ -7057,6 +7319,7 @@ var devCoinFactoryABI = [
7057
7319
  ],
7058
7320
  name: "InvalidTickRangeMisordered"
7059
7321
  },
7322
+ { type: "error", inputs: [], name: "InvalidTickerCharacters" },
7060
7323
  {
7061
7324
  type: "error",
7062
7325
  inputs: [
@@ -7078,6 +7341,12 @@ var devCoinFactoryABI = [
7078
7341
  name: "OwnableUnauthorizedAccount"
7079
7342
  },
7080
7343
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
7344
+ {
7345
+ type: "error",
7346
+ inputs: [{ name: "symbol", internalType: "string", type: "string" }],
7347
+ name: "TickerAlreadyUsed"
7348
+ },
7349
+ { type: "error", inputs: [], name: "TrendCoinPoolConfigNotSet" },
7081
7350
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
7082
7351
  {
7083
7352
  type: "error",
@@ -7092,6 +7361,7 @@ var devCoinFactoryABI = [
7092
7361
  ],
7093
7362
  name: "UpgradeToMismatchedContractName"
7094
7363
  },
7364
+ { type: "error", inputs: [], name: "UseSpecificTrendCoinInitialize" },
7095
7365
  { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
7096
7366
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
7097
7367
  { type: "error", inputs: [], name: "AddressZero" },
@@ -7199,6 +7469,7 @@ var devCoinFactoryABI = [
7199
7469
  ],
7200
7470
  name: "InvalidAccountNonce"
7201
7471
  },
7472
+ { type: "error", inputs: [], name: "InvalidCurrency" },
7202
7473
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
7203
7474
  { type: "error", inputs: [], name: "InvalidInitialization" },
7204
7475
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -7992,6 +8263,7 @@ var devZoraLimitOrderBookABI = [
7992
8263
  ],
7993
8264
  name: "InvalidAccountNonce"
7994
8265
  },
8266
+ { type: "error", inputs: [], name: "InvalidCurrency" },
7995
8267
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
7996
8268
  { type: "error", inputs: [], name: "InvalidInitialization" },
7997
8269
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -8101,7 +8373,40 @@ var devZoraLimitOrderBookABI = [
8101
8373
  name: "UpgradePathNotRegistered"
8102
8374
  },
8103
8375
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
8104
- { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
8376
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
8377
+ { type: "error", inputs: [], name: "AlreadyUnlocked" },
8378
+ {
8379
+ type: "error",
8380
+ inputs: [
8381
+ { name: "currency0", internalType: "address", type: "address" },
8382
+ { name: "currency1", internalType: "address", type: "address" }
8383
+ ],
8384
+ name: "CurrenciesOutOfOrderOrEqual"
8385
+ },
8386
+ { type: "error", inputs: [], name: "CurrencyNotSettled" },
8387
+ { type: "error", inputs: [], name: "InvalidCaller" },
8388
+ { type: "error", inputs: [], name: "ManagerLocked" },
8389
+ { type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
8390
+ { type: "error", inputs: [], name: "NonzeroNativeValue" },
8391
+ { type: "error", inputs: [], name: "PoolNotInitialized" },
8392
+ { type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
8393
+ {
8394
+ type: "error",
8395
+ inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
8396
+ name: "ProtocolFeeTooLarge"
8397
+ },
8398
+ { type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
8399
+ {
8400
+ type: "error",
8401
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
8402
+ name: "TickSpacingTooLarge"
8403
+ },
8404
+ {
8405
+ type: "error",
8406
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
8407
+ name: "TickSpacingTooSmall"
8408
+ },
8409
+ { type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
8105
8410
  ];
8106
8411
  var devZoraLimitOrderBookAddress = {
8107
8412
  8453: "0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5"
@@ -8475,9 +8780,68 @@ var devZoraRouterABI = [
8475
8780
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
8476
8781
  { type: "error", inputs: [], name: "ZeroSwapDelta" },
8477
8782
  { type: "error", inputs: [], name: "AddressZero" },
8478
- { type: "error", inputs: [], name: "AlreadyOwner" },
8479
- { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
8480
- {
8783
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
8784
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
8785
+ {
8786
+ type: "error",
8787
+ inputs: [
8788
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
8789
+ { name: "expectedCoin", internalType: "address", type: "address" },
8790
+ { name: "actualCoin", internalType: "address", type: "address" }
8791
+ ],
8792
+ name: "CoinMismatch"
8793
+ },
8794
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
8795
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
8796
+ {
8797
+ type: "error",
8798
+ inputs: [
8799
+ { name: "startTick", internalType: "int24", type: "int24" },
8800
+ { name: "endTick", internalType: "int24", type: "int24" },
8801
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
8802
+ ],
8803
+ name: "InvalidFillWindow"
8804
+ },
8805
+ { type: "error", inputs: [], name: "InvalidOrder" },
8806
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
8807
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
8808
+ {
8809
+ type: "error",
8810
+ inputs: [
8811
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
8812
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
8813
+ ],
8814
+ name: "MinAmountNotReached"
8815
+ },
8816
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
8817
+ { type: "error", inputs: [], name: "NotPoolManager" },
8818
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
8819
+ { type: "error", inputs: [], name: "OrderClosed" },
8820
+ { type: "error", inputs: [], name: "OrderFillable" },
8821
+ { type: "error", inputs: [], name: "OrderNotMaker" },
8822
+ {
8823
+ type: "error",
8824
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
8825
+ name: "OwnableInvalidOwner"
8826
+ },
8827
+ {
8828
+ type: "error",
8829
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
8830
+ name: "OwnableUnauthorizedAccount"
8831
+ },
8832
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
8833
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
8834
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
8835
+ { type: "error", inputs: [], name: "UnknownCallback" },
8836
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
8837
+ { type: "error", inputs: [], name: "WethTransferFailed" },
8838
+ { type: "error", inputs: [], name: "ZeroMaker" },
8839
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
8840
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
8841
+ { type: "error", inputs: [], name: "AddressZero" },
8842
+ { type: "error", inputs: [], name: "AlreadyOwner" },
8843
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
8844
+ {
8481
8845
  type: "error",
8482
8846
  inputs: [],
8483
8847
  name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
@@ -8560,6 +8924,7 @@ var devZoraRouterABI = [
8560
8924
  ],
8561
8925
  name: "InvalidAccountNonce"
8562
8926
  },
8927
+ { type: "error", inputs: [], name: "InvalidCurrency" },
8563
8928
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
8564
8929
  { type: "error", inputs: [], name: "InvalidInitialization" },
8565
8930
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -8670,65 +9035,51 @@ var devZoraRouterABI = [
8670
9035
  },
8671
9036
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
8672
9037
  { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
8673
- { type: "error", inputs: [], name: "AddressZero" },
8674
- { type: "error", inputs: [], name: "ArrayLengthMismatch" },
8675
- { type: "error", inputs: [], name: "CallerNotPermitted" },
9038
+ { type: "error", inputs: [], name: "AlreadyUnlocked" },
8676
9039
  {
8677
9040
  type: "error",
8678
9041
  inputs: [
8679
- { name: "orderId", internalType: "bytes32", type: "bytes32" },
8680
- { name: "expectedCoin", internalType: "address", type: "address" },
8681
- { name: "actualCoin", internalType: "address", type: "address" }
9042
+ { name: "currency0", internalType: "address", type: "address" },
9043
+ { name: "currency1", internalType: "address", type: "address" }
8682
9044
  ],
8683
- name: "CoinMismatch"
9045
+ name: "CurrenciesOutOfOrderOrEqual"
8684
9046
  },
8685
- { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
8686
- { type: "error", inputs: [], name: "InsufficientTransferFunds" },
9047
+ { type: "error", inputs: [], name: "CurrencyNotSettled" },
9048
+ { type: "error", inputs: [], name: "InvalidCaller" },
9049
+ { type: "error", inputs: [], name: "ManagerLocked" },
9050
+ { type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
9051
+ { type: "error", inputs: [], name: "NonzeroNativeValue" },
9052
+ { type: "error", inputs: [], name: "PoolNotInitialized" },
9053
+ { type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
8687
9054
  {
8688
9055
  type: "error",
8689
- inputs: [
8690
- { name: "startTick", internalType: "int24", type: "int24" },
8691
- { name: "endTick", internalType: "int24", type: "int24" },
8692
- { name: "isCurrency0", internalType: "bool", type: "bool" }
8693
- ],
8694
- name: "InvalidFillWindow"
9056
+ inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
9057
+ name: "ProtocolFeeTooLarge"
8695
9058
  },
8696
- { type: "error", inputs: [], name: "InvalidOrder" },
8697
- { type: "error", inputs: [], name: "InvalidPoolKey" },
8698
- { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
9059
+ { type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
8699
9060
  {
8700
9061
  type: "error",
8701
- inputs: [
8702
- { name: "withdrawn", internalType: "uint256", type: "uint256" },
8703
- { name: "minAmountOut", internalType: "uint256", type: "uint256" }
8704
- ],
8705
- name: "MinAmountNotReached"
9062
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
9063
+ name: "TickSpacingTooLarge"
8706
9064
  },
8707
- { type: "error", inputs: [], name: "NativeValueMismatch" },
8708
- { type: "error", inputs: [], name: "NotPoolManager" },
8709
- { type: "error", inputs: [], name: "OnlyZoraHook" },
8710
- { type: "error", inputs: [], name: "OrderClosed" },
8711
- { type: "error", inputs: [], name: "OrderFillable" },
8712
- { type: "error", inputs: [], name: "OrderNotMaker" },
8713
9065
  {
8714
9066
  type: "error",
8715
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
8716
- name: "OwnableInvalidOwner"
9067
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
9068
+ name: "TickSpacingTooSmall"
8717
9069
  },
9070
+ { type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" },
9071
+ { type: "error", inputs: [], name: "ETHNotAccepted" },
8718
9072
  {
8719
9073
  type: "error",
8720
- inputs: [{ name: "account", internalType: "address", type: "address" }],
8721
- name: "OwnableUnauthorizedAccount"
9074
+ inputs: [
9075
+ { name: "commandIndex", internalType: "uint256", type: "uint256" },
9076
+ { name: "message", internalType: "bytes", type: "bytes" }
9077
+ ],
9078
+ name: "ExecutionFailed"
8722
9079
  },
8723
- { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
8724
- { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
8725
- { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
8726
- { type: "error", inputs: [], name: "UnknownCallback" },
8727
- { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
8728
- { type: "error", inputs: [], name: "WethTransferFailed" },
8729
- { type: "error", inputs: [], name: "ZeroMaker" },
8730
- { type: "error", inputs: [], name: "ZeroOrderSize" },
8731
- { type: "error", inputs: [], name: "ZeroRealizedOrder" }
9080
+ { type: "error", inputs: [], name: "InvalidEthSender" },
9081
+ { type: "error", inputs: [], name: "LengthMismatch" },
9082
+ { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
8732
9083
  ];
8733
9084
  var devZoraRouterAddress = {
8734
9085
  8453: "0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8"
@@ -12307,113 +12658,804 @@ var uniswapV3SwapRouterABI = [
12307
12658
  ]
12308
12659
  }
12309
12660
  ],
12310
- name: "exactInput",
12311
- outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
12312
- stateMutability: "payable"
12661
+ name: "exactInput",
12662
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
12663
+ stateMutability: "payable"
12664
+ },
12665
+ {
12666
+ type: "function",
12667
+ inputs: [
12668
+ {
12669
+ name: "params",
12670
+ internalType: "struct ISwapRouter.ExactInputSingleParams",
12671
+ type: "tuple",
12672
+ components: [
12673
+ { name: "tokenIn", internalType: "address", type: "address" },
12674
+ { name: "tokenOut", internalType: "address", type: "address" },
12675
+ { name: "fee", internalType: "uint24", type: "uint24" },
12676
+ { name: "recipient", internalType: "address", type: "address" },
12677
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
12678
+ {
12679
+ name: "amountOutMinimum",
12680
+ internalType: "uint256",
12681
+ type: "uint256"
12682
+ },
12683
+ {
12684
+ name: "sqrtPriceLimitX96",
12685
+ internalType: "uint160",
12686
+ type: "uint160"
12687
+ }
12688
+ ]
12689
+ }
12690
+ ],
12691
+ name: "exactInputSingle",
12692
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
12693
+ stateMutability: "payable"
12694
+ },
12695
+ {
12696
+ type: "function",
12697
+ inputs: [
12698
+ {
12699
+ name: "params",
12700
+ internalType: "struct ISwapRouter.ExactOutputParams",
12701
+ type: "tuple",
12702
+ components: [
12703
+ { name: "path", internalType: "bytes", type: "bytes" },
12704
+ { name: "recipient", internalType: "address", type: "address" },
12705
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
12706
+ { name: "amountInMaximum", internalType: "uint256", type: "uint256" }
12707
+ ]
12708
+ }
12709
+ ],
12710
+ name: "exactOutput",
12711
+ outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
12712
+ stateMutability: "payable"
12713
+ },
12714
+ {
12715
+ type: "function",
12716
+ inputs: [
12717
+ {
12718
+ name: "params",
12719
+ internalType: "struct ISwapRouter.ExactOutputSingleParams",
12720
+ type: "tuple",
12721
+ components: [
12722
+ { name: "tokenIn", internalType: "address", type: "address" },
12723
+ { name: "tokenOut", internalType: "address", type: "address" },
12724
+ { name: "fee", internalType: "uint24", type: "uint24" },
12725
+ { name: "recipient", internalType: "address", type: "address" },
12726
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
12727
+ { name: "amountInMaximum", internalType: "uint256", type: "uint256" },
12728
+ {
12729
+ name: "sqrtPriceLimitX96",
12730
+ internalType: "uint160",
12731
+ type: "uint160"
12732
+ }
12733
+ ]
12734
+ }
12735
+ ],
12736
+ name: "exactOutputSingle",
12737
+ outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
12738
+ stateMutability: "payable"
12739
+ },
12740
+ {
12741
+ type: "function",
12742
+ inputs: [
12743
+ { name: "amount0Delta", internalType: "int256", type: "int256" },
12744
+ { name: "amount1Delta", internalType: "int256", type: "int256" },
12745
+ { name: "data", internalType: "bytes", type: "bytes" }
12746
+ ],
12747
+ name: "uniswapV3SwapCallback",
12748
+ outputs: [],
12749
+ stateMutability: "nonpayable"
12750
+ }
12751
+ ];
12752
+ var uniswapV3SwapRouterAddress = {
12753
+ 1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
12754
+ 10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
12755
+ 8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
12756
+ 42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
12757
+ 81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
12758
+ 84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
12759
+ 421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
12760
+ 7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
12761
+ 11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
12762
+ 11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
12763
+ 999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
12764
+ };
12765
+ var uniswapV3SwapRouterConfig = {
12766
+ address: uniswapV3SwapRouterAddress,
12767
+ abi: uniswapV3SwapRouterABI
12768
+ };
12769
+ var uniswapV4PoolManagerABI = [
12770
+ {
12771
+ type: "function",
12772
+ inputs: [
12773
+ { name: "owner", internalType: "address", type: "address" },
12774
+ { name: "spender", internalType: "address", type: "address" },
12775
+ { name: "id", internalType: "uint256", type: "uint256" }
12776
+ ],
12777
+ name: "allowance",
12778
+ outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
12779
+ stateMutability: "view"
12780
+ },
12781
+ {
12782
+ type: "function",
12783
+ inputs: [
12784
+ { name: "spender", internalType: "address", type: "address" },
12785
+ { name: "id", internalType: "uint256", type: "uint256" },
12786
+ { name: "amount", internalType: "uint256", type: "uint256" }
12787
+ ],
12788
+ name: "approve",
12789
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
12790
+ stateMutability: "nonpayable"
12791
+ },
12792
+ {
12793
+ type: "function",
12794
+ inputs: [
12795
+ { name: "owner", internalType: "address", type: "address" },
12796
+ { name: "id", internalType: "uint256", type: "uint256" }
12797
+ ],
12798
+ name: "balanceOf",
12799
+ outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
12800
+ stateMutability: "view"
12801
+ },
12802
+ {
12803
+ type: "function",
12804
+ inputs: [
12805
+ { name: "from", internalType: "address", type: "address" },
12806
+ { name: "id", internalType: "uint256", type: "uint256" },
12807
+ { name: "amount", internalType: "uint256", type: "uint256" }
12808
+ ],
12809
+ name: "burn",
12810
+ outputs: [],
12811
+ stateMutability: "nonpayable"
12812
+ },
12813
+ {
12814
+ type: "function",
12815
+ inputs: [
12816
+ { name: "currency", internalType: "Currency", type: "address" },
12817
+ { name: "amount", internalType: "uint256", type: "uint256" }
12818
+ ],
12819
+ name: "clear",
12820
+ outputs: [],
12821
+ stateMutability: "nonpayable"
12822
+ },
12823
+ {
12824
+ type: "function",
12825
+ inputs: [
12826
+ { name: "recipient", internalType: "address", type: "address" },
12827
+ { name: "currency", internalType: "Currency", type: "address" },
12828
+ { name: "amount", internalType: "uint256", type: "uint256" }
12829
+ ],
12830
+ name: "collectProtocolFees",
12831
+ outputs: [
12832
+ { name: "amountCollected", internalType: "uint256", type: "uint256" }
12833
+ ],
12834
+ stateMutability: "nonpayable"
12835
+ },
12836
+ {
12837
+ type: "function",
12838
+ inputs: [
12839
+ {
12840
+ name: "key",
12841
+ internalType: "struct PoolKey",
12842
+ type: "tuple",
12843
+ components: [
12844
+ { name: "currency0", internalType: "Currency", type: "address" },
12845
+ { name: "currency1", internalType: "Currency", type: "address" },
12846
+ { name: "fee", internalType: "uint24", type: "uint24" },
12847
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
12848
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
12849
+ ]
12850
+ },
12851
+ { name: "amount0", internalType: "uint256", type: "uint256" },
12852
+ { name: "amount1", internalType: "uint256", type: "uint256" },
12853
+ { name: "hookData", internalType: "bytes", type: "bytes" }
12854
+ ],
12855
+ name: "donate",
12856
+ outputs: [{ name: "", internalType: "BalanceDelta", type: "int256" }],
12857
+ stateMutability: "nonpayable"
12858
+ },
12859
+ {
12860
+ type: "function",
12861
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
12862
+ name: "extsload",
12863
+ outputs: [{ name: "value", internalType: "bytes32", type: "bytes32" }],
12864
+ stateMutability: "view"
12865
+ },
12866
+ {
12867
+ type: "function",
12868
+ inputs: [
12869
+ { name: "startSlot", internalType: "bytes32", type: "bytes32" },
12870
+ { name: "nSlots", internalType: "uint256", type: "uint256" }
12871
+ ],
12872
+ name: "extsload",
12873
+ outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
12874
+ stateMutability: "view"
12875
+ },
12876
+ {
12877
+ type: "function",
12878
+ inputs: [{ name: "slots", internalType: "bytes32[]", type: "bytes32[]" }],
12879
+ name: "extsload",
12880
+ outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
12881
+ stateMutability: "view"
12882
+ },
12883
+ {
12884
+ type: "function",
12885
+ inputs: [{ name: "slots", internalType: "bytes32[]", type: "bytes32[]" }],
12886
+ name: "exttload",
12887
+ outputs: [{ name: "values", internalType: "bytes32[]", type: "bytes32[]" }],
12888
+ stateMutability: "view"
12889
+ },
12890
+ {
12891
+ type: "function",
12892
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
12893
+ name: "exttload",
12894
+ outputs: [{ name: "value", internalType: "bytes32", type: "bytes32" }],
12895
+ stateMutability: "view"
12896
+ },
12897
+ {
12898
+ type: "function",
12899
+ inputs: [
12900
+ {
12901
+ name: "key",
12902
+ internalType: "struct PoolKey",
12903
+ type: "tuple",
12904
+ components: [
12905
+ { name: "currency0", internalType: "Currency", type: "address" },
12906
+ { name: "currency1", internalType: "Currency", type: "address" },
12907
+ { name: "fee", internalType: "uint24", type: "uint24" },
12908
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
12909
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
12910
+ ]
12911
+ },
12912
+ { name: "sqrtPriceX96", internalType: "uint160", type: "uint160" }
12913
+ ],
12914
+ name: "initialize",
12915
+ outputs: [{ name: "tick", internalType: "int24", type: "int24" }],
12916
+ stateMutability: "nonpayable"
12917
+ },
12918
+ {
12919
+ type: "function",
12920
+ inputs: [
12921
+ { name: "owner", internalType: "address", type: "address" },
12922
+ { name: "spender", internalType: "address", type: "address" }
12923
+ ],
12924
+ name: "isOperator",
12925
+ outputs: [{ name: "approved", internalType: "bool", type: "bool" }],
12926
+ stateMutability: "view"
12927
+ },
12928
+ {
12929
+ type: "function",
12930
+ inputs: [
12931
+ { name: "to", internalType: "address", type: "address" },
12932
+ { name: "id", internalType: "uint256", type: "uint256" },
12933
+ { name: "amount", internalType: "uint256", type: "uint256" }
12934
+ ],
12935
+ name: "mint",
12936
+ outputs: [],
12937
+ stateMutability: "nonpayable"
12938
+ },
12939
+ {
12940
+ type: "function",
12941
+ inputs: [
12942
+ {
12943
+ name: "key",
12944
+ internalType: "struct PoolKey",
12945
+ type: "tuple",
12946
+ components: [
12947
+ { name: "currency0", internalType: "Currency", type: "address" },
12948
+ { name: "currency1", internalType: "Currency", type: "address" },
12949
+ { name: "fee", internalType: "uint24", type: "uint24" },
12950
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
12951
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
12952
+ ]
12953
+ },
12954
+ {
12955
+ name: "params",
12956
+ internalType: "struct ModifyLiquidityParams",
12957
+ type: "tuple",
12958
+ components: [
12959
+ { name: "tickLower", internalType: "int24", type: "int24" },
12960
+ { name: "tickUpper", internalType: "int24", type: "int24" },
12961
+ { name: "liquidityDelta", internalType: "int256", type: "int256" },
12962
+ { name: "salt", internalType: "bytes32", type: "bytes32" }
12963
+ ]
12964
+ },
12965
+ { name: "hookData", internalType: "bytes", type: "bytes" }
12966
+ ],
12967
+ name: "modifyLiquidity",
12968
+ outputs: [
12969
+ { name: "callerDelta", internalType: "BalanceDelta", type: "int256" },
12970
+ { name: "feesAccrued", internalType: "BalanceDelta", type: "int256" }
12971
+ ],
12972
+ stateMutability: "nonpayable"
12973
+ },
12974
+ {
12975
+ type: "function",
12976
+ inputs: [],
12977
+ name: "protocolFeeController",
12978
+ outputs: [{ name: "", internalType: "address", type: "address" }],
12979
+ stateMutability: "view"
12980
+ },
12981
+ {
12982
+ type: "function",
12983
+ inputs: [{ name: "currency", internalType: "Currency", type: "address" }],
12984
+ name: "protocolFeesAccrued",
12985
+ outputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
12986
+ stateMutability: "view"
12987
+ },
12988
+ {
12989
+ type: "function",
12990
+ inputs: [
12991
+ { name: "operator", internalType: "address", type: "address" },
12992
+ { name: "approved", internalType: "bool", type: "bool" }
12993
+ ],
12994
+ name: "setOperator",
12995
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
12996
+ stateMutability: "nonpayable"
12997
+ },
12998
+ {
12999
+ type: "function",
13000
+ inputs: [
13001
+ {
13002
+ name: "key",
13003
+ internalType: "struct PoolKey",
13004
+ type: "tuple",
13005
+ components: [
13006
+ { name: "currency0", internalType: "Currency", type: "address" },
13007
+ { name: "currency1", internalType: "Currency", type: "address" },
13008
+ { name: "fee", internalType: "uint24", type: "uint24" },
13009
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
13010
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
13011
+ ]
13012
+ },
13013
+ { name: "newProtocolFee", internalType: "uint24", type: "uint24" }
13014
+ ],
13015
+ name: "setProtocolFee",
13016
+ outputs: [],
13017
+ stateMutability: "nonpayable"
13018
+ },
13019
+ {
13020
+ type: "function",
13021
+ inputs: [{ name: "controller", internalType: "address", type: "address" }],
13022
+ name: "setProtocolFeeController",
13023
+ outputs: [],
13024
+ stateMutability: "nonpayable"
13025
+ },
13026
+ {
13027
+ type: "function",
13028
+ inputs: [],
13029
+ name: "settle",
13030
+ outputs: [{ name: "paid", internalType: "uint256", type: "uint256" }],
13031
+ stateMutability: "payable"
13032
+ },
13033
+ {
13034
+ type: "function",
13035
+ inputs: [{ name: "recipient", internalType: "address", type: "address" }],
13036
+ name: "settleFor",
13037
+ outputs: [{ name: "paid", internalType: "uint256", type: "uint256" }],
13038
+ stateMutability: "payable"
13039
+ },
13040
+ {
13041
+ type: "function",
13042
+ inputs: [
13043
+ {
13044
+ name: "key",
13045
+ internalType: "struct PoolKey",
13046
+ type: "tuple",
13047
+ components: [
13048
+ { name: "currency0", internalType: "Currency", type: "address" },
13049
+ { name: "currency1", internalType: "Currency", type: "address" },
13050
+ { name: "fee", internalType: "uint24", type: "uint24" },
13051
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
13052
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
13053
+ ]
13054
+ },
13055
+ {
13056
+ name: "params",
13057
+ internalType: "struct SwapParams",
13058
+ type: "tuple",
13059
+ components: [
13060
+ { name: "zeroForOne", internalType: "bool", type: "bool" },
13061
+ { name: "amountSpecified", internalType: "int256", type: "int256" },
13062
+ {
13063
+ name: "sqrtPriceLimitX96",
13064
+ internalType: "uint160",
13065
+ type: "uint160"
13066
+ }
13067
+ ]
13068
+ },
13069
+ { name: "hookData", internalType: "bytes", type: "bytes" }
13070
+ ],
13071
+ name: "swap",
13072
+ outputs: [
13073
+ { name: "swapDelta", internalType: "BalanceDelta", type: "int256" }
13074
+ ],
13075
+ stateMutability: "nonpayable"
13076
+ },
13077
+ {
13078
+ type: "function",
13079
+ inputs: [{ name: "currency", internalType: "Currency", type: "address" }],
13080
+ name: "sync",
13081
+ outputs: [],
13082
+ stateMutability: "nonpayable"
13083
+ },
13084
+ {
13085
+ type: "function",
13086
+ inputs: [
13087
+ { name: "currency", internalType: "Currency", type: "address" },
13088
+ { name: "to", internalType: "address", type: "address" },
13089
+ { name: "amount", internalType: "uint256", type: "uint256" }
13090
+ ],
13091
+ name: "take",
13092
+ outputs: [],
13093
+ stateMutability: "nonpayable"
13094
+ },
13095
+ {
13096
+ type: "function",
13097
+ inputs: [
13098
+ { name: "receiver", internalType: "address", type: "address" },
13099
+ { name: "id", internalType: "uint256", type: "uint256" },
13100
+ { name: "amount", internalType: "uint256", type: "uint256" }
13101
+ ],
13102
+ name: "transfer",
13103
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
13104
+ stateMutability: "nonpayable"
13105
+ },
13106
+ {
13107
+ type: "function",
13108
+ inputs: [
13109
+ { name: "sender", internalType: "address", type: "address" },
13110
+ { name: "receiver", internalType: "address", type: "address" },
13111
+ { name: "id", internalType: "uint256", type: "uint256" },
13112
+ { name: "amount", internalType: "uint256", type: "uint256" }
13113
+ ],
13114
+ name: "transferFrom",
13115
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
13116
+ stateMutability: "nonpayable"
13117
+ },
13118
+ {
13119
+ type: "function",
13120
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
13121
+ name: "unlock",
13122
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
13123
+ stateMutability: "nonpayable"
13124
+ },
13125
+ {
13126
+ type: "function",
13127
+ inputs: [
13128
+ {
13129
+ name: "key",
13130
+ internalType: "struct PoolKey",
13131
+ type: "tuple",
13132
+ components: [
13133
+ { name: "currency0", internalType: "Currency", type: "address" },
13134
+ { name: "currency1", internalType: "Currency", type: "address" },
13135
+ { name: "fee", internalType: "uint24", type: "uint24" },
13136
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
13137
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
13138
+ ]
13139
+ },
13140
+ { name: "newDynamicLPFee", internalType: "uint24", type: "uint24" }
13141
+ ],
13142
+ name: "updateDynamicLPFee",
13143
+ outputs: [],
13144
+ stateMutability: "nonpayable"
13145
+ },
13146
+ {
13147
+ type: "event",
13148
+ anonymous: false,
13149
+ inputs: [
13150
+ {
13151
+ name: "owner",
13152
+ internalType: "address",
13153
+ type: "address",
13154
+ indexed: true
13155
+ },
13156
+ {
13157
+ name: "spender",
13158
+ internalType: "address",
13159
+ type: "address",
13160
+ indexed: true
13161
+ },
13162
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true },
13163
+ {
13164
+ name: "amount",
13165
+ internalType: "uint256",
13166
+ type: "uint256",
13167
+ indexed: false
13168
+ }
13169
+ ],
13170
+ name: "Approval"
13171
+ },
13172
+ {
13173
+ type: "event",
13174
+ anonymous: false,
13175
+ inputs: [
13176
+ { name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
13177
+ {
13178
+ name: "sender",
13179
+ internalType: "address",
13180
+ type: "address",
13181
+ indexed: true
13182
+ },
13183
+ {
13184
+ name: "amount0",
13185
+ internalType: "uint256",
13186
+ type: "uint256",
13187
+ indexed: false
13188
+ },
13189
+ {
13190
+ name: "amount1",
13191
+ internalType: "uint256",
13192
+ type: "uint256",
13193
+ indexed: false
13194
+ }
13195
+ ],
13196
+ name: "Donate"
13197
+ },
13198
+ {
13199
+ type: "event",
13200
+ anonymous: false,
13201
+ inputs: [
13202
+ { name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
13203
+ {
13204
+ name: "currency0",
13205
+ internalType: "Currency",
13206
+ type: "address",
13207
+ indexed: true
13208
+ },
13209
+ {
13210
+ name: "currency1",
13211
+ internalType: "Currency",
13212
+ type: "address",
13213
+ indexed: true
13214
+ },
13215
+ { name: "fee", internalType: "uint24", type: "uint24", indexed: false },
13216
+ {
13217
+ name: "tickSpacing",
13218
+ internalType: "int24",
13219
+ type: "int24",
13220
+ indexed: false
13221
+ },
13222
+ {
13223
+ name: "hooks",
13224
+ internalType: "contract IHooks",
13225
+ type: "address",
13226
+ indexed: false
13227
+ },
13228
+ {
13229
+ name: "sqrtPriceX96",
13230
+ internalType: "uint160",
13231
+ type: "uint160",
13232
+ indexed: false
13233
+ },
13234
+ { name: "tick", internalType: "int24", type: "int24", indexed: false }
13235
+ ],
13236
+ name: "Initialize"
13237
+ },
13238
+ {
13239
+ type: "event",
13240
+ anonymous: false,
13241
+ inputs: [
13242
+ { name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
13243
+ {
13244
+ name: "sender",
13245
+ internalType: "address",
13246
+ type: "address",
13247
+ indexed: true
13248
+ },
13249
+ {
13250
+ name: "tickLower",
13251
+ internalType: "int24",
13252
+ type: "int24",
13253
+ indexed: false
13254
+ },
13255
+ {
13256
+ name: "tickUpper",
13257
+ internalType: "int24",
13258
+ type: "int24",
13259
+ indexed: false
13260
+ },
13261
+ {
13262
+ name: "liquidityDelta",
13263
+ internalType: "int256",
13264
+ type: "int256",
13265
+ indexed: false
13266
+ },
13267
+ {
13268
+ name: "salt",
13269
+ internalType: "bytes32",
13270
+ type: "bytes32",
13271
+ indexed: false
13272
+ }
13273
+ ],
13274
+ name: "ModifyLiquidity"
13275
+ },
13276
+ {
13277
+ type: "event",
13278
+ anonymous: false,
13279
+ inputs: [
13280
+ {
13281
+ name: "owner",
13282
+ internalType: "address",
13283
+ type: "address",
13284
+ indexed: true
13285
+ },
13286
+ {
13287
+ name: "operator",
13288
+ internalType: "address",
13289
+ type: "address",
13290
+ indexed: true
13291
+ },
13292
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
13293
+ ],
13294
+ name: "OperatorSet"
13295
+ },
13296
+ {
13297
+ type: "event",
13298
+ anonymous: false,
13299
+ inputs: [
13300
+ {
13301
+ name: "protocolFeeController",
13302
+ internalType: "address",
13303
+ type: "address",
13304
+ indexed: true
13305
+ }
13306
+ ],
13307
+ name: "ProtocolFeeControllerUpdated"
13308
+ },
13309
+ {
13310
+ type: "event",
13311
+ anonymous: false,
13312
+ inputs: [
13313
+ { name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
13314
+ {
13315
+ name: "protocolFee",
13316
+ internalType: "uint24",
13317
+ type: "uint24",
13318
+ indexed: false
13319
+ }
13320
+ ],
13321
+ name: "ProtocolFeeUpdated"
13322
+ },
13323
+ {
13324
+ type: "event",
13325
+ anonymous: false,
13326
+ inputs: [
13327
+ { name: "id", internalType: "PoolId", type: "bytes32", indexed: true },
13328
+ {
13329
+ name: "sender",
13330
+ internalType: "address",
13331
+ type: "address",
13332
+ indexed: true
13333
+ },
13334
+ {
13335
+ name: "amount0",
13336
+ internalType: "int128",
13337
+ type: "int128",
13338
+ indexed: false
13339
+ },
13340
+ {
13341
+ name: "amount1",
13342
+ internalType: "int128",
13343
+ type: "int128",
13344
+ indexed: false
13345
+ },
13346
+ {
13347
+ name: "sqrtPriceX96",
13348
+ internalType: "uint160",
13349
+ type: "uint160",
13350
+ indexed: false
13351
+ },
13352
+ {
13353
+ name: "liquidity",
13354
+ internalType: "uint128",
13355
+ type: "uint128",
13356
+ indexed: false
13357
+ },
13358
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
13359
+ { name: "fee", internalType: "uint24", type: "uint24", indexed: false }
13360
+ ],
13361
+ name: "Swap"
12313
13362
  },
12314
13363
  {
12315
- type: "function",
13364
+ type: "event",
13365
+ anonymous: false,
12316
13366
  inputs: [
12317
13367
  {
12318
- name: "params",
12319
- internalType: "struct ISwapRouter.ExactInputSingleParams",
12320
- type: "tuple",
12321
- components: [
12322
- { name: "tokenIn", internalType: "address", type: "address" },
12323
- { name: "tokenOut", internalType: "address", type: "address" },
12324
- { name: "fee", internalType: "uint24", type: "uint24" },
12325
- { name: "recipient", internalType: "address", type: "address" },
12326
- { name: "amountIn", internalType: "uint256", type: "uint256" },
12327
- {
12328
- name: "amountOutMinimum",
12329
- internalType: "uint256",
12330
- type: "uint256"
12331
- },
12332
- {
12333
- name: "sqrtPriceLimitX96",
12334
- internalType: "uint160",
12335
- type: "uint160"
12336
- }
12337
- ]
13368
+ name: "caller",
13369
+ internalType: "address",
13370
+ type: "address",
13371
+ indexed: false
13372
+ },
13373
+ { name: "from", internalType: "address", type: "address", indexed: true },
13374
+ { name: "to", internalType: "address", type: "address", indexed: true },
13375
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true },
13376
+ {
13377
+ name: "amount",
13378
+ internalType: "uint256",
13379
+ type: "uint256",
13380
+ indexed: false
12338
13381
  }
12339
13382
  ],
12340
- name: "exactInputSingle",
12341
- outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
12342
- stateMutability: "payable"
13383
+ name: "Transfer"
12343
13384
  },
13385
+ { type: "error", inputs: [], name: "AlreadyUnlocked" },
12344
13386
  {
12345
- type: "function",
13387
+ type: "error",
12346
13388
  inputs: [
12347
- {
12348
- name: "params",
12349
- internalType: "struct ISwapRouter.ExactOutputParams",
12350
- type: "tuple",
12351
- components: [
12352
- { name: "path", internalType: "bytes", type: "bytes" },
12353
- { name: "recipient", internalType: "address", type: "address" },
12354
- { name: "amountOut", internalType: "uint256", type: "uint256" },
12355
- { name: "amountInMaximum", internalType: "uint256", type: "uint256" }
12356
- ]
12357
- }
13389
+ { name: "currency0", internalType: "address", type: "address" },
13390
+ { name: "currency1", internalType: "address", type: "address" }
12358
13391
  ],
12359
- name: "exactOutput",
12360
- outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
12361
- stateMutability: "payable"
13392
+ name: "CurrenciesOutOfOrderOrEqual"
13393
+ },
13394
+ { type: "error", inputs: [], name: "CurrencyNotSettled" },
13395
+ { type: "error", inputs: [], name: "InvalidCaller" },
13396
+ { type: "error", inputs: [], name: "ManagerLocked" },
13397
+ { type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
13398
+ { type: "error", inputs: [], name: "NonzeroNativeValue" },
13399
+ { type: "error", inputs: [], name: "PoolNotInitialized" },
13400
+ { type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
13401
+ {
13402
+ type: "error",
13403
+ inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
13404
+ name: "ProtocolFeeTooLarge"
13405
+ },
13406
+ { type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
13407
+ {
13408
+ type: "error",
13409
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
13410
+ name: "TickSpacingTooLarge"
13411
+ },
13412
+ {
13413
+ type: "error",
13414
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
13415
+ name: "TickSpacingTooSmall"
12362
13416
  },
13417
+ { type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
13418
+ ];
13419
+ var uniswapV4PoolManagerAddress = {
13420
+ 8453: "0x498581fF718922c3f8e6A244956aF099B2652b2b",
13421
+ 84532: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408"
13422
+ };
13423
+ var uniswapV4PoolManagerConfig = {
13424
+ address: uniswapV4PoolManagerAddress,
13425
+ abi: uniswapV4PoolManagerABI
13426
+ };
13427
+ var universalRouterABI = [
12363
13428
  {
12364
13429
  type: "function",
12365
13430
  inputs: [
12366
- {
12367
- name: "params",
12368
- internalType: "struct ISwapRouter.ExactOutputSingleParams",
12369
- type: "tuple",
12370
- components: [
12371
- { name: "tokenIn", internalType: "address", type: "address" },
12372
- { name: "tokenOut", internalType: "address", type: "address" },
12373
- { name: "fee", internalType: "uint24", type: "uint24" },
12374
- { name: "recipient", internalType: "address", type: "address" },
12375
- { name: "amountOut", internalType: "uint256", type: "uint256" },
12376
- { name: "amountInMaximum", internalType: "uint256", type: "uint256" },
12377
- {
12378
- name: "sqrtPriceLimitX96",
12379
- internalType: "uint160",
12380
- type: "uint160"
12381
- }
12382
- ]
12383
- }
13431
+ { name: "commands", internalType: "bytes", type: "bytes" },
13432
+ { name: "inputs", internalType: "bytes[]", type: "bytes[]" },
13433
+ { name: "deadline", internalType: "uint256", type: "uint256" }
12384
13434
  ],
12385
- name: "exactOutputSingle",
12386
- outputs: [{ name: "amountIn", internalType: "uint256", type: "uint256" }],
13435
+ name: "execute",
13436
+ outputs: [],
12387
13437
  stateMutability: "payable"
12388
13438
  },
13439
+ { type: "error", inputs: [], name: "ETHNotAccepted" },
12389
13440
  {
12390
- type: "function",
13441
+ type: "error",
12391
13442
  inputs: [
12392
- { name: "amount0Delta", internalType: "int256", type: "int256" },
12393
- { name: "amount1Delta", internalType: "int256", type: "int256" },
12394
- { name: "data", internalType: "bytes", type: "bytes" }
13443
+ { name: "commandIndex", internalType: "uint256", type: "uint256" },
13444
+ { name: "message", internalType: "bytes", type: "bytes" }
12395
13445
  ],
12396
- name: "uniswapV3SwapCallback",
12397
- outputs: [],
12398
- stateMutability: "nonpayable"
12399
- }
13446
+ name: "ExecutionFailed"
13447
+ },
13448
+ { type: "error", inputs: [], name: "InvalidEthSender" },
13449
+ { type: "error", inputs: [], name: "LengthMismatch" },
13450
+ { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
12400
13451
  ];
12401
- var uniswapV3SwapRouterAddress = {
12402
- 1: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
12403
- 10: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
12404
- 8453: "0x2626664c2603336E57B271c5C0b26F421741e481",
12405
- 42161: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
12406
- 81457: "0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66",
12407
- 84532: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
12408
- 421614: "0x101F443B4d1b059569D643917553c771E1b9663E",
12409
- 7777777: "0x7De04c96BE5159c3b5CeffC82aa176dc81281557",
12410
- 11155111: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
12411
- 11155420: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
12412
- 999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a"
13452
+ var universalRouterAddress = {
13453
+ 8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
13454
+ 84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
12413
13455
  };
12414
- var uniswapV3SwapRouterConfig = {
12415
- address: uniswapV3SwapRouterAddress,
12416
- abi: uniswapV3SwapRouterABI
13456
+ var universalRouterConfig = {
13457
+ address: universalRouterAddress,
13458
+ abi: universalRouterABI
12417
13459
  };
12418
13460
  var upgradeGateABI = [
12419
13461
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
@@ -17473,6 +18515,7 @@ var zoraLimitOrderBookABI = [
17473
18515
  ],
17474
18516
  name: "InvalidAccountNonce"
17475
18517
  },
18518
+ { type: "error", inputs: [], name: "InvalidCurrency" },
17476
18519
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
17477
18520
  { type: "error", inputs: [], name: "InvalidInitialization" },
17478
18521
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -17582,10 +18625,43 @@ var zoraLimitOrderBookABI = [
17582
18625
  name: "UpgradePathNotRegistered"
17583
18626
  },
17584
18627
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
17585
- { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
18628
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
18629
+ { type: "error", inputs: [], name: "AlreadyUnlocked" },
18630
+ {
18631
+ type: "error",
18632
+ inputs: [
18633
+ { name: "currency0", internalType: "address", type: "address" },
18634
+ { name: "currency1", internalType: "address", type: "address" }
18635
+ ],
18636
+ name: "CurrenciesOutOfOrderOrEqual"
18637
+ },
18638
+ { type: "error", inputs: [], name: "CurrencyNotSettled" },
18639
+ { type: "error", inputs: [], name: "InvalidCaller" },
18640
+ { type: "error", inputs: [], name: "ManagerLocked" },
18641
+ { type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
18642
+ { type: "error", inputs: [], name: "NonzeroNativeValue" },
18643
+ { type: "error", inputs: [], name: "PoolNotInitialized" },
18644
+ { type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
18645
+ {
18646
+ type: "error",
18647
+ inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
18648
+ name: "ProtocolFeeTooLarge"
18649
+ },
18650
+ { type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
18651
+ {
18652
+ type: "error",
18653
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
18654
+ name: "TickSpacingTooLarge"
18655
+ },
18656
+ {
18657
+ type: "error",
18658
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
18659
+ name: "TickSpacingTooSmall"
18660
+ },
18661
+ { type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" }
17586
18662
  ];
17587
18663
  var zoraLimitOrderBookAddress = {
17588
- 8453: "0x7777777A5906659b67CE61511489Ae76DA63920f"
18664
+ 8453: "0x7777777C783bAD88daCaf9A19E04238341E4497B"
17589
18665
  };
17590
18666
  var zoraLimitOrderBookConfig = {
17591
18667
  address: zoraLimitOrderBookAddress,
@@ -19621,6 +20697,65 @@ var zoraRouterABI = [
19621
20697
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
19622
20698
  { type: "error", inputs: [], name: "ZeroSwapDelta" },
19623
20699
  { type: "error", inputs: [], name: "AddressZero" },
20700
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
20701
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
20702
+ {
20703
+ type: "error",
20704
+ inputs: [
20705
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
20706
+ { name: "expectedCoin", internalType: "address", type: "address" },
20707
+ { name: "actualCoin", internalType: "address", type: "address" }
20708
+ ],
20709
+ name: "CoinMismatch"
20710
+ },
20711
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
20712
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
20713
+ {
20714
+ type: "error",
20715
+ inputs: [
20716
+ { name: "startTick", internalType: "int24", type: "int24" },
20717
+ { name: "endTick", internalType: "int24", type: "int24" },
20718
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
20719
+ ],
20720
+ name: "InvalidFillWindow"
20721
+ },
20722
+ { type: "error", inputs: [], name: "InvalidOrder" },
20723
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
20724
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
20725
+ {
20726
+ type: "error",
20727
+ inputs: [
20728
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
20729
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
20730
+ ],
20731
+ name: "MinAmountNotReached"
20732
+ },
20733
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
20734
+ { type: "error", inputs: [], name: "NotPoolManager" },
20735
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
20736
+ { type: "error", inputs: [], name: "OrderClosed" },
20737
+ { type: "error", inputs: [], name: "OrderFillable" },
20738
+ { type: "error", inputs: [], name: "OrderNotMaker" },
20739
+ {
20740
+ type: "error",
20741
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
20742
+ name: "OwnableInvalidOwner"
20743
+ },
20744
+ {
20745
+ type: "error",
20746
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
20747
+ name: "OwnableUnauthorizedAccount"
20748
+ },
20749
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
20750
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
20751
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
20752
+ { type: "error", inputs: [], name: "UnknownCallback" },
20753
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
20754
+ { type: "error", inputs: [], name: "WethTransferFailed" },
20755
+ { type: "error", inputs: [], name: "ZeroMaker" },
20756
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
20757
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
20758
+ { type: "error", inputs: [], name: "AddressZero" },
19624
20759
  { type: "error", inputs: [], name: "AlreadyOwner" },
19625
20760
  { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
19626
20761
  {
@@ -19706,6 +20841,7 @@ var zoraRouterABI = [
19706
20841
  ],
19707
20842
  name: "InvalidAccountNonce"
19708
20843
  },
20844
+ { type: "error", inputs: [], name: "InvalidCurrency" },
19709
20845
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
19710
20846
  { type: "error", inputs: [], name: "InvalidInitialization" },
19711
20847
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -19816,68 +20952,54 @@ var zoraRouterABI = [
19816
20952
  },
19817
20953
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
19818
20954
  { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
19819
- { type: "error", inputs: [], name: "AddressZero" },
19820
- { type: "error", inputs: [], name: "ArrayLengthMismatch" },
19821
- { type: "error", inputs: [], name: "CallerNotPermitted" },
20955
+ { type: "error", inputs: [], name: "AlreadyUnlocked" },
19822
20956
  {
19823
20957
  type: "error",
19824
20958
  inputs: [
19825
- { name: "orderId", internalType: "bytes32", type: "bytes32" },
19826
- { name: "expectedCoin", internalType: "address", type: "address" },
19827
- { name: "actualCoin", internalType: "address", type: "address" }
20959
+ { name: "currency0", internalType: "address", type: "address" },
20960
+ { name: "currency1", internalType: "address", type: "address" }
19828
20961
  ],
19829
- name: "CoinMismatch"
20962
+ name: "CurrenciesOutOfOrderOrEqual"
19830
20963
  },
19831
- { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
19832
- { type: "error", inputs: [], name: "InsufficientTransferFunds" },
20964
+ { type: "error", inputs: [], name: "CurrencyNotSettled" },
20965
+ { type: "error", inputs: [], name: "InvalidCaller" },
20966
+ { type: "error", inputs: [], name: "ManagerLocked" },
20967
+ { type: "error", inputs: [], name: "MustClearExactPositiveDelta" },
20968
+ { type: "error", inputs: [], name: "NonzeroNativeValue" },
20969
+ { type: "error", inputs: [], name: "PoolNotInitialized" },
20970
+ { type: "error", inputs: [], name: "ProtocolFeeCurrencySynced" },
19833
20971
  {
19834
20972
  type: "error",
19835
- inputs: [
19836
- { name: "startTick", internalType: "int24", type: "int24" },
19837
- { name: "endTick", internalType: "int24", type: "int24" },
19838
- { name: "isCurrency0", internalType: "bool", type: "bool" }
19839
- ],
19840
- name: "InvalidFillWindow"
20973
+ inputs: [{ name: "fee", internalType: "uint24", type: "uint24" }],
20974
+ name: "ProtocolFeeTooLarge"
19841
20975
  },
19842
- { type: "error", inputs: [], name: "InvalidOrder" },
19843
- { type: "error", inputs: [], name: "InvalidPoolKey" },
19844
- { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
20976
+ { type: "error", inputs: [], name: "SwapAmountCannotBeZero" },
19845
20977
  {
19846
20978
  type: "error",
19847
- inputs: [
19848
- { name: "withdrawn", internalType: "uint256", type: "uint256" },
19849
- { name: "minAmountOut", internalType: "uint256", type: "uint256" }
19850
- ],
19851
- name: "MinAmountNotReached"
20979
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
20980
+ name: "TickSpacingTooLarge"
19852
20981
  },
19853
- { type: "error", inputs: [], name: "NativeValueMismatch" },
19854
- { type: "error", inputs: [], name: "NotPoolManager" },
19855
- { type: "error", inputs: [], name: "OnlyZoraHook" },
19856
- { type: "error", inputs: [], name: "OrderClosed" },
19857
- { type: "error", inputs: [], name: "OrderFillable" },
19858
- { type: "error", inputs: [], name: "OrderNotMaker" },
19859
20982
  {
19860
20983
  type: "error",
19861
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
19862
- name: "OwnableInvalidOwner"
20984
+ inputs: [{ name: "tickSpacing", internalType: "int24", type: "int24" }],
20985
+ name: "TickSpacingTooSmall"
19863
20986
  },
20987
+ { type: "error", inputs: [], name: "UnauthorizedDynamicLPFeeUpdate" },
20988
+ { type: "error", inputs: [], name: "ETHNotAccepted" },
19864
20989
  {
19865
20990
  type: "error",
19866
- inputs: [{ name: "account", internalType: "address", type: "address" }],
19867
- name: "OwnableUnauthorizedAccount"
20991
+ inputs: [
20992
+ { name: "commandIndex", internalType: "uint256", type: "uint256" },
20993
+ { name: "message", internalType: "bytes", type: "bytes" }
20994
+ ],
20995
+ name: "ExecutionFailed"
19868
20996
  },
19869
- { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
19870
- { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
19871
- { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
19872
- { type: "error", inputs: [], name: "UnknownCallback" },
19873
- { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
19874
- { type: "error", inputs: [], name: "WethTransferFailed" },
19875
- { type: "error", inputs: [], name: "ZeroMaker" },
19876
- { type: "error", inputs: [], name: "ZeroOrderSize" },
19877
- { type: "error", inputs: [], name: "ZeroRealizedOrder" }
20997
+ { type: "error", inputs: [], name: "InvalidEthSender" },
20998
+ { type: "error", inputs: [], name: "LengthMismatch" },
20999
+ { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
19878
21000
  ];
19879
21001
  var zoraRouterAddress = {
19880
- 8453: "0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2"
21002
+ 8453: "0x77777777Eb762Cf86F634763e79d17dE44330887"
19881
21003
  };
19882
21004
  var zoraRouterConfig = {
19883
21005
  address: zoraRouterAddress,
@@ -22734,6 +23856,7 @@ var chainConfigs2 = {
22734
23856
  DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
22735
23857
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
22736
23858
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
23859
+ METADATA_MANAGER: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
22737
23860
  WETH: "0x4200000000000000000000000000000000000006",
22738
23861
  UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
22739
23862
  UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
@@ -22762,6 +23885,7 @@ var chainConfigs2 = {
22762
23885
  DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
22763
23886
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
22764
23887
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
23888
+ METADATA_MANAGER: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
22765
23889
  WETH: "0x4200000000000000000000000000000000000006",
22766
23890
  UNISWAP_V4_POOL_MANAGER: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
22767
23891
  UNISWAP_V4_POSITION_MANAGER: "0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80",
@@ -22811,6 +23935,7 @@ var chainConfigs2 = {
22811
23935
  DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
22812
23936
  PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
22813
23937
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
23938
+ METADATA_MANAGER: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
22814
23939
  WETH: "0x4200000000000000000000000000000000000006",
22815
23940
  UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
22816
23941
  UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
@@ -22972,6 +24097,12 @@ export {
22972
24097
  uniswapV3SwapRouterABI,
22973
24098
  uniswapV3SwapRouterAddress,
22974
24099
  uniswapV3SwapRouterConfig,
24100
+ uniswapV4PoolManagerABI,
24101
+ uniswapV4PoolManagerAddress,
24102
+ uniswapV4PoolManagerConfig,
24103
+ universalRouterABI,
24104
+ universalRouterAddress,
24105
+ universalRouterConfig,
22975
24106
  upgradeGateABI,
22976
24107
  upgradeGateAddress,
22977
24108
  upgradeGateConfig,