@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.
@@ -2442,6 +2442,7 @@ export const coinABI = [
2442
2442
  ],
2443
2443
  name: 'InvalidAccountNonce',
2444
2444
  },
2445
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
2445
2446
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
2446
2447
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
2447
2448
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -2500,6 +2501,7 @@ export const coinFactoryABI = [
2500
2501
  inputs: [
2501
2502
  { name: 'coinV4Impl_', internalType: 'address', type: 'address' },
2502
2503
  { name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
2504
+ { name: 'trendCoinImpl_', internalType: 'address', type: 'address' },
2503
2505
  { name: 'hook_', internalType: 'address', type: 'address' },
2504
2506
  { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
2505
2507
  ],
@@ -2672,6 +2674,20 @@ export const coinFactoryABI = [
2672
2674
  ],
2673
2675
  stateMutability: 'payable',
2674
2676
  },
2677
+ {
2678
+ type: 'function',
2679
+ inputs: [
2680
+ { name: 'symbol', internalType: 'string', type: 'string' },
2681
+ { name: 'postDeployHook', internalType: 'address', type: 'address' },
2682
+ { name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
2683
+ ],
2684
+ name: 'deployTrendCoin',
2685
+ outputs: [
2686
+ { name: 'coin', internalType: 'address', type: 'address' },
2687
+ { name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
2688
+ ],
2689
+ stateMutability: 'payable',
2690
+ },
2675
2691
  {
2676
2692
  type: 'function',
2677
2693
  inputs: [
@@ -2750,6 +2766,27 @@ export const coinFactoryABI = [
2750
2766
  outputs: [],
2751
2767
  stateMutability: 'nonpayable',
2752
2768
  },
2769
+ {
2770
+ type: 'function',
2771
+ inputs: [
2772
+ { name: 'currency', internalType: 'address', type: 'address' },
2773
+ { name: 'tickLower', internalType: 'int24[]', type: 'int24[]' },
2774
+ { name: 'tickUpper', internalType: 'int24[]', type: 'int24[]' },
2775
+ {
2776
+ name: 'numDiscoveryPositions',
2777
+ internalType: 'uint16[]',
2778
+ type: 'uint16[]',
2779
+ },
2780
+ {
2781
+ name: 'maxDiscoverySupplyShare',
2782
+ internalType: 'uint256[]',
2783
+ type: 'uint256[]',
2784
+ },
2785
+ ],
2786
+ name: 'setTrendCoinPoolConfig',
2787
+ outputs: [],
2788
+ stateMutability: 'nonpayable',
2789
+ },
2753
2790
  {
2754
2791
  type: 'function',
2755
2792
  inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
@@ -2757,6 +2794,27 @@ export const coinFactoryABI = [
2757
2794
  outputs: [],
2758
2795
  stateMutability: 'nonpayable',
2759
2796
  },
2797
+ {
2798
+ type: 'function',
2799
+ inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
2800
+ name: 'trendCoinAddress',
2801
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2802
+ stateMutability: 'view',
2803
+ },
2804
+ {
2805
+ type: 'function',
2806
+ inputs: [],
2807
+ name: 'trendCoinImpl',
2808
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
2809
+ stateMutability: 'view',
2810
+ },
2811
+ {
2812
+ type: 'function',
2813
+ inputs: [],
2814
+ name: 'trendCoinPoolConfig',
2815
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
2816
+ stateMutability: 'view',
2817
+ },
2760
2818
  {
2761
2819
  type: 'function',
2762
2820
  inputs: [
@@ -3022,6 +3080,75 @@ export const coinFactoryABI = [
3022
3080
  ],
3023
3081
  name: 'OwnershipTransferred',
3024
3082
  },
3083
+ {
3084
+ type: 'event',
3085
+ anonymous: false,
3086
+ inputs: [
3087
+ {
3088
+ name: 'caller',
3089
+ internalType: 'address',
3090
+ type: 'address',
3091
+ indexed: true,
3092
+ },
3093
+ {
3094
+ name: 'symbol',
3095
+ internalType: 'string',
3096
+ type: 'string',
3097
+ indexed: false,
3098
+ },
3099
+ {
3100
+ name: 'coin',
3101
+ internalType: 'address',
3102
+ type: 'address',
3103
+ indexed: false,
3104
+ },
3105
+ {
3106
+ name: 'poolKey',
3107
+ internalType: 'struct PoolKey',
3108
+ type: 'tuple',
3109
+ components: [
3110
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
3111
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
3112
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
3113
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
3114
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
3115
+ ],
3116
+ indexed: false,
3117
+ },
3118
+ {
3119
+ name: 'poolKeyHash',
3120
+ internalType: 'bytes32',
3121
+ type: 'bytes32',
3122
+ indexed: false,
3123
+ },
3124
+ {
3125
+ name: 'poolConfig',
3126
+ internalType: 'bytes',
3127
+ type: 'bytes',
3128
+ indexed: false,
3129
+ },
3130
+ {
3131
+ name: 'version',
3132
+ internalType: 'string',
3133
+ type: 'string',
3134
+ indexed: false,
3135
+ },
3136
+ ],
3137
+ name: 'TrendCoinCreated',
3138
+ },
3139
+ {
3140
+ type: 'event',
3141
+ anonymous: false,
3142
+ inputs: [
3143
+ {
3144
+ name: 'poolConfig',
3145
+ internalType: 'bytes',
3146
+ type: 'bytes',
3147
+ indexed: false,
3148
+ },
3149
+ ],
3150
+ name: 'TrendCoinPoolConfigUpdated',
3151
+ },
3025
3152
  {
3026
3153
  type: 'event',
3027
3154
  anonymous: false,
@@ -3074,6 +3201,7 @@ export const coinFactoryABI = [
3074
3201
  ],
3075
3202
  name: 'InvalidTickRangeMisordered',
3076
3203
  },
3204
+ { type: 'error', inputs: [], name: 'InvalidTickerCharacters' },
3077
3205
  {
3078
3206
  type: 'error',
3079
3207
  inputs: [
@@ -3095,6 +3223,12 @@ export const coinFactoryABI = [
3095
3223
  name: 'OwnableUnauthorizedAccount',
3096
3224
  },
3097
3225
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
3226
+ {
3227
+ type: 'error',
3228
+ inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
3229
+ name: 'TickerAlreadyUsed',
3230
+ },
3231
+ { type: 'error', inputs: [], name: 'TrendCoinPoolConfigNotSet' },
3098
3232
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
3099
3233
  {
3100
3234
  type: 'error',
@@ -3109,6 +3243,7 @@ export const coinFactoryABI = [
3109
3243
  ],
3110
3244
  name: 'UpgradeToMismatchedContractName',
3111
3245
  },
3246
+ { type: 'error', inputs: [], name: 'UseSpecificTrendCoinInitialize' },
3112
3247
  { type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
3113
3248
  { type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
3114
3249
  { type: 'error', inputs: [], name: 'AddressZero' },
@@ -3216,6 +3351,7 @@ export const coinFactoryABI = [
3216
3351
  ],
3217
3352
  name: 'InvalidAccountNonce',
3218
3353
  },
3354
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
3219
3355
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
3220
3356
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
3221
3357
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -6665,6 +6801,7 @@ export const devCoinFactoryABI = [
6665
6801
  inputs: [
6666
6802
  { name: 'coinV4Impl_', internalType: 'address', type: 'address' },
6667
6803
  { name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
6804
+ { name: 'trendCoinImpl_', internalType: 'address', type: 'address' },
6668
6805
  { name: 'hook_', internalType: 'address', type: 'address' },
6669
6806
  { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
6670
6807
  ],
@@ -6837,6 +6974,20 @@ export const devCoinFactoryABI = [
6837
6974
  ],
6838
6975
  stateMutability: 'payable',
6839
6976
  },
6977
+ {
6978
+ type: 'function',
6979
+ inputs: [
6980
+ { name: 'symbol', internalType: 'string', type: 'string' },
6981
+ { name: 'postDeployHook', internalType: 'address', type: 'address' },
6982
+ { name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
6983
+ ],
6984
+ name: 'deployTrendCoin',
6985
+ outputs: [
6986
+ { name: 'coin', internalType: 'address', type: 'address' },
6987
+ { name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
6988
+ ],
6989
+ stateMutability: 'payable',
6990
+ },
6840
6991
  {
6841
6992
  type: 'function',
6842
6993
  inputs: [
@@ -6915,6 +7066,27 @@ export const devCoinFactoryABI = [
6915
7066
  outputs: [],
6916
7067
  stateMutability: 'nonpayable',
6917
7068
  },
7069
+ {
7070
+ type: 'function',
7071
+ inputs: [
7072
+ { name: 'currency', internalType: 'address', type: 'address' },
7073
+ { name: 'tickLower', internalType: 'int24[]', type: 'int24[]' },
7074
+ { name: 'tickUpper', internalType: 'int24[]', type: 'int24[]' },
7075
+ {
7076
+ name: 'numDiscoveryPositions',
7077
+ internalType: 'uint16[]',
7078
+ type: 'uint16[]',
7079
+ },
7080
+ {
7081
+ name: 'maxDiscoverySupplyShare',
7082
+ internalType: 'uint256[]',
7083
+ type: 'uint256[]',
7084
+ },
7085
+ ],
7086
+ name: 'setTrendCoinPoolConfig',
7087
+ outputs: [],
7088
+ stateMutability: 'nonpayable',
7089
+ },
6918
7090
  {
6919
7091
  type: 'function',
6920
7092
  inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
@@ -6922,6 +7094,27 @@ export const devCoinFactoryABI = [
6922
7094
  outputs: [],
6923
7095
  stateMutability: 'nonpayable',
6924
7096
  },
7097
+ {
7098
+ type: 'function',
7099
+ inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
7100
+ name: 'trendCoinAddress',
7101
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7102
+ stateMutability: 'view',
7103
+ },
7104
+ {
7105
+ type: 'function',
7106
+ inputs: [],
7107
+ name: 'trendCoinImpl',
7108
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7109
+ stateMutability: 'view',
7110
+ },
7111
+ {
7112
+ type: 'function',
7113
+ inputs: [],
7114
+ name: 'trendCoinPoolConfig',
7115
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
7116
+ stateMutability: 'view',
7117
+ },
6925
7118
  {
6926
7119
  type: 'function',
6927
7120
  inputs: [
@@ -7187,6 +7380,75 @@ export const devCoinFactoryABI = [
7187
7380
  ],
7188
7381
  name: 'OwnershipTransferred',
7189
7382
  },
7383
+ {
7384
+ type: 'event',
7385
+ anonymous: false,
7386
+ inputs: [
7387
+ {
7388
+ name: 'caller',
7389
+ internalType: 'address',
7390
+ type: 'address',
7391
+ indexed: true,
7392
+ },
7393
+ {
7394
+ name: 'symbol',
7395
+ internalType: 'string',
7396
+ type: 'string',
7397
+ indexed: false,
7398
+ },
7399
+ {
7400
+ name: 'coin',
7401
+ internalType: 'address',
7402
+ type: 'address',
7403
+ indexed: false,
7404
+ },
7405
+ {
7406
+ name: 'poolKey',
7407
+ internalType: 'struct PoolKey',
7408
+ type: 'tuple',
7409
+ components: [
7410
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7411
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7412
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7413
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7414
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7415
+ ],
7416
+ indexed: false,
7417
+ },
7418
+ {
7419
+ name: 'poolKeyHash',
7420
+ internalType: 'bytes32',
7421
+ type: 'bytes32',
7422
+ indexed: false,
7423
+ },
7424
+ {
7425
+ name: 'poolConfig',
7426
+ internalType: 'bytes',
7427
+ type: 'bytes',
7428
+ indexed: false,
7429
+ },
7430
+ {
7431
+ name: 'version',
7432
+ internalType: 'string',
7433
+ type: 'string',
7434
+ indexed: false,
7435
+ },
7436
+ ],
7437
+ name: 'TrendCoinCreated',
7438
+ },
7439
+ {
7440
+ type: 'event',
7441
+ anonymous: false,
7442
+ inputs: [
7443
+ {
7444
+ name: 'poolConfig',
7445
+ internalType: 'bytes',
7446
+ type: 'bytes',
7447
+ indexed: false,
7448
+ },
7449
+ ],
7450
+ name: 'TrendCoinPoolConfigUpdated',
7451
+ },
7190
7452
  {
7191
7453
  type: 'event',
7192
7454
  anonymous: false,
@@ -7239,6 +7501,7 @@ export const devCoinFactoryABI = [
7239
7501
  ],
7240
7502
  name: 'InvalidTickRangeMisordered',
7241
7503
  },
7504
+ { type: 'error', inputs: [], name: 'InvalidTickerCharacters' },
7242
7505
  {
7243
7506
  type: 'error',
7244
7507
  inputs: [
@@ -7260,6 +7523,12 @@ export const devCoinFactoryABI = [
7260
7523
  name: 'OwnableUnauthorizedAccount',
7261
7524
  },
7262
7525
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
7526
+ {
7527
+ type: 'error',
7528
+ inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
7529
+ name: 'TickerAlreadyUsed',
7530
+ },
7531
+ { type: 'error', inputs: [], name: 'TrendCoinPoolConfigNotSet' },
7263
7532
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
7264
7533
  {
7265
7534
  type: 'error',
@@ -7274,6 +7543,7 @@ export const devCoinFactoryABI = [
7274
7543
  ],
7275
7544
  name: 'UpgradeToMismatchedContractName',
7276
7545
  },
7546
+ { type: 'error', inputs: [], name: 'UseSpecificTrendCoinInitialize' },
7277
7547
  { type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
7278
7548
  { type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
7279
7549
  { type: 'error', inputs: [], name: 'AddressZero' },
@@ -7381,6 +7651,7 @@ export const devCoinFactoryABI = [
7381
7651
  ],
7382
7652
  name: 'InvalidAccountNonce',
7383
7653
  },
7654
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
7384
7655
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
7385
7656
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
7386
7657
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -8190,6 +8461,7 @@ export const devZoraLimitOrderBookABI = [
8190
8461
  ],
8191
8462
  name: 'InvalidAccountNonce',
8192
8463
  },
8464
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
8193
8465
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
8194
8466
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
8195
8467
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -8300,6 +8572,39 @@ export const devZoraLimitOrderBookABI = [
8300
8572
  },
8301
8573
  { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
8302
8574
  { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
8575
+ { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
8576
+ {
8577
+ type: 'error',
8578
+ inputs: [
8579
+ { name: 'currency0', internalType: 'address', type: 'address' },
8580
+ { name: 'currency1', internalType: 'address', type: 'address' },
8581
+ ],
8582
+ name: 'CurrenciesOutOfOrderOrEqual',
8583
+ },
8584
+ { type: 'error', inputs: [], name: 'CurrencyNotSettled' },
8585
+ { type: 'error', inputs: [], name: 'InvalidCaller' },
8586
+ { type: 'error', inputs: [], name: 'ManagerLocked' },
8587
+ { type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
8588
+ { type: 'error', inputs: [], name: 'NonzeroNativeValue' },
8589
+ { type: 'error', inputs: [], name: 'PoolNotInitialized' },
8590
+ { type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
8591
+ {
8592
+ type: 'error',
8593
+ inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
8594
+ name: 'ProtocolFeeTooLarge',
8595
+ },
8596
+ { type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
8597
+ {
8598
+ type: 'error',
8599
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
8600
+ name: 'TickSpacingTooLarge',
8601
+ },
8602
+ {
8603
+ type: 'error',
8604
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
8605
+ name: 'TickSpacingTooSmall',
8606
+ },
8607
+ { type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
8303
8608
  ] as const
8304
8609
 
8305
8610
  /**
@@ -8689,8 +8994,67 @@ export const devZoraRouterABI = [
8689
8994
  { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
8690
8995
  { type: 'error', inputs: [], name: 'ZeroSwapDelta' },
8691
8996
  { type: 'error', inputs: [], name: 'AddressZero' },
8692
- { type: 'error', inputs: [], name: 'AlreadyOwner' },
8693
- { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
8997
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
8998
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
8999
+ {
9000
+ type: 'error',
9001
+ inputs: [
9002
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
9003
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
9004
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
9005
+ ],
9006
+ name: 'CoinMismatch',
9007
+ },
9008
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
9009
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
9010
+ {
9011
+ type: 'error',
9012
+ inputs: [
9013
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
9014
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
9015
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
9016
+ ],
9017
+ name: 'InvalidFillWindow',
9018
+ },
9019
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
9020
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
9021
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
9022
+ {
9023
+ type: 'error',
9024
+ inputs: [
9025
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
9026
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
9027
+ ],
9028
+ name: 'MinAmountNotReached',
9029
+ },
9030
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
9031
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
9032
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
9033
+ { type: 'error', inputs: [], name: 'OrderClosed' },
9034
+ { type: 'error', inputs: [], name: 'OrderFillable' },
9035
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
9036
+ {
9037
+ type: 'error',
9038
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
9039
+ name: 'OwnableInvalidOwner',
9040
+ },
9041
+ {
9042
+ type: 'error',
9043
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
9044
+ name: 'OwnableUnauthorizedAccount',
9045
+ },
9046
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
9047
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
9048
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
9049
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
9050
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
9051
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
9052
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
9053
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
9054
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
9055
+ { type: 'error', inputs: [], name: 'AddressZero' },
9056
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
9057
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
8694
9058
  {
8695
9059
  type: 'error',
8696
9060
  inputs: [],
@@ -8774,6 +9138,7 @@ export const devZoraRouterABI = [
8774
9138
  ],
8775
9139
  name: 'InvalidAccountNonce',
8776
9140
  },
9141
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
8777
9142
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
8778
9143
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
8779
9144
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -8884,65 +9249,51 @@ export const devZoraRouterABI = [
8884
9249
  },
8885
9250
  { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
8886
9251
  { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
8887
- { type: 'error', inputs: [], name: 'AddressZero' },
8888
- { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
8889
- { type: 'error', inputs: [], name: 'CallerNotPermitted' },
9252
+ { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
8890
9253
  {
8891
9254
  type: 'error',
8892
9255
  inputs: [
8893
- { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
8894
- { name: 'expectedCoin', internalType: 'address', type: 'address' },
8895
- { name: 'actualCoin', internalType: 'address', type: 'address' },
9256
+ { name: 'currency0', internalType: 'address', type: 'address' },
9257
+ { name: 'currency1', internalType: 'address', type: 'address' },
8896
9258
  ],
8897
- name: 'CoinMismatch',
9259
+ name: 'CurrenciesOutOfOrderOrEqual',
8898
9260
  },
8899
- { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
8900
- { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
9261
+ { type: 'error', inputs: [], name: 'CurrencyNotSettled' },
9262
+ { type: 'error', inputs: [], name: 'InvalidCaller' },
9263
+ { type: 'error', inputs: [], name: 'ManagerLocked' },
9264
+ { type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
9265
+ { type: 'error', inputs: [], name: 'NonzeroNativeValue' },
9266
+ { type: 'error', inputs: [], name: 'PoolNotInitialized' },
9267
+ { type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
8901
9268
  {
8902
9269
  type: 'error',
8903
- inputs: [
8904
- { name: 'startTick', internalType: 'int24', type: 'int24' },
8905
- { name: 'endTick', internalType: 'int24', type: 'int24' },
8906
- { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
8907
- ],
8908
- name: 'InvalidFillWindow',
9270
+ inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
9271
+ name: 'ProtocolFeeTooLarge',
8909
9272
  },
8910
- { type: 'error', inputs: [], name: 'InvalidOrder' },
8911
- { type: 'error', inputs: [], name: 'InvalidPoolKey' },
8912
- { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
9273
+ { type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
8913
9274
  {
8914
9275
  type: 'error',
8915
- inputs: [
8916
- { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
8917
- { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
8918
- ],
8919
- name: 'MinAmountNotReached',
9276
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
9277
+ name: 'TickSpacingTooLarge',
8920
9278
  },
8921
- { type: 'error', inputs: [], name: 'NativeValueMismatch' },
8922
- { type: 'error', inputs: [], name: 'NotPoolManager' },
8923
- { type: 'error', inputs: [], name: 'OnlyZoraHook' },
8924
- { type: 'error', inputs: [], name: 'OrderClosed' },
8925
- { type: 'error', inputs: [], name: 'OrderFillable' },
8926
- { type: 'error', inputs: [], name: 'OrderNotMaker' },
8927
9279
  {
8928
9280
  type: 'error',
8929
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8930
- name: 'OwnableInvalidOwner',
9281
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
9282
+ name: 'TickSpacingTooSmall',
8931
9283
  },
9284
+ { type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
9285
+ { type: 'error', inputs: [], name: 'ETHNotAccepted' },
8932
9286
  {
8933
9287
  type: 'error',
8934
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8935
- name: 'OwnableUnauthorizedAccount',
9288
+ inputs: [
9289
+ { name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
9290
+ { name: 'message', internalType: 'bytes', type: 'bytes' },
9291
+ ],
9292
+ name: 'ExecutionFailed',
8936
9293
  },
8937
- { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8938
- { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
8939
- { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
8940
- { type: 'error', inputs: [], name: 'UnknownCallback' },
8941
- { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
8942
- { type: 'error', inputs: [], name: 'WethTransferFailed' },
8943
- { type: 'error', inputs: [], name: 'ZeroMaker' },
8944
- { type: 'error', inputs: [], name: 'ZeroOrderSize' },
8945
- { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
9294
+ { type: 'error', inputs: [], name: 'InvalidEthSender' },
9295
+ { type: 'error', inputs: [], name: 'LengthMismatch' },
9296
+ { type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
8946
9297
  ] as const
8947
9298
 
8948
9299
  /**
@@ -12876,111 +13227,840 @@ export const uniswapV3SwapRouterABI = [
12876
13227
  ],
12877
13228
  },
12878
13229
  ],
12879
- name: 'exactInputSingle',
12880
- outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
12881
- stateMutability: 'payable',
13230
+ name: 'exactInputSingle',
13231
+ outputs: [{ name: 'amountOut', internalType: 'uint256', type: 'uint256' }],
13232
+ stateMutability: 'payable',
13233
+ },
13234
+ {
13235
+ type: 'function',
13236
+ inputs: [
13237
+ {
13238
+ name: 'params',
13239
+ internalType: 'struct ISwapRouter.ExactOutputParams',
13240
+ type: 'tuple',
13241
+ components: [
13242
+ { name: 'path', internalType: 'bytes', type: 'bytes' },
13243
+ { name: 'recipient', internalType: 'address', type: 'address' },
13244
+ { name: 'amountOut', internalType: 'uint256', type: 'uint256' },
13245
+ { name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
13246
+ ],
13247
+ },
13248
+ ],
13249
+ name: 'exactOutput',
13250
+ outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
13251
+ stateMutability: 'payable',
13252
+ },
13253
+ {
13254
+ type: 'function',
13255
+ inputs: [
13256
+ {
13257
+ name: 'params',
13258
+ internalType: 'struct ISwapRouter.ExactOutputSingleParams',
13259
+ type: 'tuple',
13260
+ components: [
13261
+ { name: 'tokenIn', internalType: 'address', type: 'address' },
13262
+ { name: 'tokenOut', internalType: 'address', type: 'address' },
13263
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
13264
+ { name: 'recipient', internalType: 'address', type: 'address' },
13265
+ { name: 'amountOut', internalType: 'uint256', type: 'uint256' },
13266
+ { name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
13267
+ {
13268
+ name: 'sqrtPriceLimitX96',
13269
+ internalType: 'uint160',
13270
+ type: 'uint160',
13271
+ },
13272
+ ],
13273
+ },
13274
+ ],
13275
+ name: 'exactOutputSingle',
13276
+ outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
13277
+ stateMutability: 'payable',
13278
+ },
13279
+ {
13280
+ type: 'function',
13281
+ inputs: [
13282
+ { name: 'amount0Delta', internalType: 'int256', type: 'int256' },
13283
+ { name: 'amount1Delta', internalType: 'int256', type: 'int256' },
13284
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
13285
+ ],
13286
+ name: 'uniswapV3SwapCallback',
13287
+ outputs: [],
13288
+ stateMutability: 'nonpayable',
13289
+ },
13290
+ ] as const
13291
+
13292
+ /**
13293
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
13294
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
13295
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
13296
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
13297
+ * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
13298
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
13299
+ * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
13300
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
13301
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
13302
+ * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
13303
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
13304
+ */
13305
+ export const uniswapV3SwapRouterAddress = {
13306
+ 1: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
13307
+ 10: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
13308
+ 8453: '0x2626664c2603336E57B271c5C0b26F421741e481',
13309
+ 42161: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
13310
+ 81457: '0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66',
13311
+ 84532: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
13312
+ 421614: '0x101F443B4d1b059569D643917553c771E1b9663E',
13313
+ 7777777: '0x7De04c96BE5159c3b5CeffC82aa176dc81281557',
13314
+ 11155111: '0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E',
13315
+ 11155420: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
13316
+ 999999999: '0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a',
13317
+ } as const
13318
+
13319
+ /**
13320
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
13321
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
13322
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
13323
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
13324
+ * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
13325
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
13326
+ * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
13327
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
13328
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
13329
+ * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
13330
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
13331
+ */
13332
+ export const uniswapV3SwapRouterConfig = {
13333
+ address: uniswapV3SwapRouterAddress,
13334
+ abi: uniswapV3SwapRouterABI,
13335
+ } as const
13336
+
13337
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
13338
+ // UniswapV4PoolManager
13339
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
13340
+
13341
+ /**
13342
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x498581ff718922c3f8e6a244956af099b2652b2b)
13343
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408)
13344
+ */
13345
+ export const uniswapV4PoolManagerABI = [
13346
+ {
13347
+ type: 'function',
13348
+ inputs: [
13349
+ { name: 'owner', internalType: 'address', type: 'address' },
13350
+ { name: 'spender', internalType: 'address', type: 'address' },
13351
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
13352
+ ],
13353
+ name: 'allowance',
13354
+ outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
13355
+ stateMutability: 'view',
13356
+ },
13357
+ {
13358
+ type: 'function',
13359
+ inputs: [
13360
+ { name: 'spender', internalType: 'address', type: 'address' },
13361
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
13362
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13363
+ ],
13364
+ name: 'approve',
13365
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
13366
+ stateMutability: 'nonpayable',
13367
+ },
13368
+ {
13369
+ type: 'function',
13370
+ inputs: [
13371
+ { name: 'owner', internalType: 'address', type: 'address' },
13372
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
13373
+ ],
13374
+ name: 'balanceOf',
13375
+ outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
13376
+ stateMutability: 'view',
13377
+ },
13378
+ {
13379
+ type: 'function',
13380
+ inputs: [
13381
+ { name: 'from', internalType: 'address', type: 'address' },
13382
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
13383
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13384
+ ],
13385
+ name: 'burn',
13386
+ outputs: [],
13387
+ stateMutability: 'nonpayable',
13388
+ },
13389
+ {
13390
+ type: 'function',
13391
+ inputs: [
13392
+ { name: 'currency', internalType: 'Currency', type: 'address' },
13393
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13394
+ ],
13395
+ name: 'clear',
13396
+ outputs: [],
13397
+ stateMutability: 'nonpayable',
13398
+ },
13399
+ {
13400
+ type: 'function',
13401
+ inputs: [
13402
+ { name: 'recipient', internalType: 'address', type: 'address' },
13403
+ { name: 'currency', internalType: 'Currency', type: 'address' },
13404
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13405
+ ],
13406
+ name: 'collectProtocolFees',
13407
+ outputs: [
13408
+ { name: 'amountCollected', internalType: 'uint256', type: 'uint256' },
13409
+ ],
13410
+ stateMutability: 'nonpayable',
13411
+ },
13412
+ {
13413
+ type: 'function',
13414
+ inputs: [
13415
+ {
13416
+ name: 'key',
13417
+ internalType: 'struct PoolKey',
13418
+ type: 'tuple',
13419
+ components: [
13420
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
13421
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
13422
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
13423
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
13424
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
13425
+ ],
13426
+ },
13427
+ { name: 'amount0', internalType: 'uint256', type: 'uint256' },
13428
+ { name: 'amount1', internalType: 'uint256', type: 'uint256' },
13429
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
13430
+ ],
13431
+ name: 'donate',
13432
+ outputs: [{ name: '', internalType: 'BalanceDelta', type: 'int256' }],
13433
+ stateMutability: 'nonpayable',
13434
+ },
13435
+ {
13436
+ type: 'function',
13437
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
13438
+ name: 'extsload',
13439
+ outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }],
13440
+ stateMutability: 'view',
13441
+ },
13442
+ {
13443
+ type: 'function',
13444
+ inputs: [
13445
+ { name: 'startSlot', internalType: 'bytes32', type: 'bytes32' },
13446
+ { name: 'nSlots', internalType: 'uint256', type: 'uint256' },
13447
+ ],
13448
+ name: 'extsload',
13449
+ outputs: [{ name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }],
13450
+ stateMutability: 'view',
13451
+ },
13452
+ {
13453
+ type: 'function',
13454
+ inputs: [{ name: 'slots', internalType: 'bytes32[]', type: 'bytes32[]' }],
13455
+ name: 'extsload',
13456
+ outputs: [{ name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }],
13457
+ stateMutability: 'view',
13458
+ },
13459
+ {
13460
+ type: 'function',
13461
+ inputs: [{ name: 'slots', internalType: 'bytes32[]', type: 'bytes32[]' }],
13462
+ name: 'exttload',
13463
+ outputs: [{ name: 'values', internalType: 'bytes32[]', type: 'bytes32[]' }],
13464
+ stateMutability: 'view',
13465
+ },
13466
+ {
13467
+ type: 'function',
13468
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
13469
+ name: 'exttload',
13470
+ outputs: [{ name: 'value', internalType: 'bytes32', type: 'bytes32' }],
13471
+ stateMutability: 'view',
13472
+ },
13473
+ {
13474
+ type: 'function',
13475
+ inputs: [
13476
+ {
13477
+ name: 'key',
13478
+ internalType: 'struct PoolKey',
13479
+ type: 'tuple',
13480
+ components: [
13481
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
13482
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
13483
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
13484
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
13485
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
13486
+ ],
13487
+ },
13488
+ { name: 'sqrtPriceX96', internalType: 'uint160', type: 'uint160' },
13489
+ ],
13490
+ name: 'initialize',
13491
+ outputs: [{ name: 'tick', internalType: 'int24', type: 'int24' }],
13492
+ stateMutability: 'nonpayable',
13493
+ },
13494
+ {
13495
+ type: 'function',
13496
+ inputs: [
13497
+ { name: 'owner', internalType: 'address', type: 'address' },
13498
+ { name: 'spender', internalType: 'address', type: 'address' },
13499
+ ],
13500
+ name: 'isOperator',
13501
+ outputs: [{ name: 'approved', internalType: 'bool', type: 'bool' }],
13502
+ stateMutability: 'view',
13503
+ },
13504
+ {
13505
+ type: 'function',
13506
+ inputs: [
13507
+ { name: 'to', internalType: 'address', type: 'address' },
13508
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
13509
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13510
+ ],
13511
+ name: 'mint',
13512
+ outputs: [],
13513
+ stateMutability: 'nonpayable',
13514
+ },
13515
+ {
13516
+ type: 'function',
13517
+ inputs: [
13518
+ {
13519
+ name: 'key',
13520
+ internalType: 'struct PoolKey',
13521
+ type: 'tuple',
13522
+ components: [
13523
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
13524
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
13525
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
13526
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
13527
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
13528
+ ],
13529
+ },
13530
+ {
13531
+ name: 'params',
13532
+ internalType: 'struct ModifyLiquidityParams',
13533
+ type: 'tuple',
13534
+ components: [
13535
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
13536
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
13537
+ { name: 'liquidityDelta', internalType: 'int256', type: 'int256' },
13538
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
13539
+ ],
13540
+ },
13541
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
13542
+ ],
13543
+ name: 'modifyLiquidity',
13544
+ outputs: [
13545
+ { name: 'callerDelta', internalType: 'BalanceDelta', type: 'int256' },
13546
+ { name: 'feesAccrued', internalType: 'BalanceDelta', type: 'int256' },
13547
+ ],
13548
+ stateMutability: 'nonpayable',
13549
+ },
13550
+ {
13551
+ type: 'function',
13552
+ inputs: [],
13553
+ name: 'protocolFeeController',
13554
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
13555
+ stateMutability: 'view',
13556
+ },
13557
+ {
13558
+ type: 'function',
13559
+ inputs: [{ name: 'currency', internalType: 'Currency', type: 'address' }],
13560
+ name: 'protocolFeesAccrued',
13561
+ outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
13562
+ stateMutability: 'view',
13563
+ },
13564
+ {
13565
+ type: 'function',
13566
+ inputs: [
13567
+ { name: 'operator', internalType: 'address', type: 'address' },
13568
+ { name: 'approved', internalType: 'bool', type: 'bool' },
13569
+ ],
13570
+ name: 'setOperator',
13571
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
13572
+ stateMutability: 'nonpayable',
13573
+ },
13574
+ {
13575
+ type: 'function',
13576
+ inputs: [
13577
+ {
13578
+ name: 'key',
13579
+ internalType: 'struct PoolKey',
13580
+ type: 'tuple',
13581
+ components: [
13582
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
13583
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
13584
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
13585
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
13586
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
13587
+ ],
13588
+ },
13589
+ { name: 'newProtocolFee', internalType: 'uint24', type: 'uint24' },
13590
+ ],
13591
+ name: 'setProtocolFee',
13592
+ outputs: [],
13593
+ stateMutability: 'nonpayable',
13594
+ },
13595
+ {
13596
+ type: 'function',
13597
+ inputs: [{ name: 'controller', internalType: 'address', type: 'address' }],
13598
+ name: 'setProtocolFeeController',
13599
+ outputs: [],
13600
+ stateMutability: 'nonpayable',
13601
+ },
13602
+ {
13603
+ type: 'function',
13604
+ inputs: [],
13605
+ name: 'settle',
13606
+ outputs: [{ name: 'paid', internalType: 'uint256', type: 'uint256' }],
13607
+ stateMutability: 'payable',
13608
+ },
13609
+ {
13610
+ type: 'function',
13611
+ inputs: [{ name: 'recipient', internalType: 'address', type: 'address' }],
13612
+ name: 'settleFor',
13613
+ outputs: [{ name: 'paid', internalType: 'uint256', type: 'uint256' }],
13614
+ stateMutability: 'payable',
13615
+ },
13616
+ {
13617
+ type: 'function',
13618
+ inputs: [
13619
+ {
13620
+ name: 'key',
13621
+ internalType: 'struct PoolKey',
13622
+ type: 'tuple',
13623
+ components: [
13624
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
13625
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
13626
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
13627
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
13628
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
13629
+ ],
13630
+ },
13631
+ {
13632
+ name: 'params',
13633
+ internalType: 'struct SwapParams',
13634
+ type: 'tuple',
13635
+ components: [
13636
+ { name: 'zeroForOne', internalType: 'bool', type: 'bool' },
13637
+ { name: 'amountSpecified', internalType: 'int256', type: 'int256' },
13638
+ {
13639
+ name: 'sqrtPriceLimitX96',
13640
+ internalType: 'uint160',
13641
+ type: 'uint160',
13642
+ },
13643
+ ],
13644
+ },
13645
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
13646
+ ],
13647
+ name: 'swap',
13648
+ outputs: [
13649
+ { name: 'swapDelta', internalType: 'BalanceDelta', type: 'int256' },
13650
+ ],
13651
+ stateMutability: 'nonpayable',
13652
+ },
13653
+ {
13654
+ type: 'function',
13655
+ inputs: [{ name: 'currency', internalType: 'Currency', type: 'address' }],
13656
+ name: 'sync',
13657
+ outputs: [],
13658
+ stateMutability: 'nonpayable',
13659
+ },
13660
+ {
13661
+ type: 'function',
13662
+ inputs: [
13663
+ { name: 'currency', internalType: 'Currency', type: 'address' },
13664
+ { name: 'to', internalType: 'address', type: 'address' },
13665
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13666
+ ],
13667
+ name: 'take',
13668
+ outputs: [],
13669
+ stateMutability: 'nonpayable',
13670
+ },
13671
+ {
13672
+ type: 'function',
13673
+ inputs: [
13674
+ { name: 'receiver', internalType: 'address', type: 'address' },
13675
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
13676
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13677
+ ],
13678
+ name: 'transfer',
13679
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
13680
+ stateMutability: 'nonpayable',
13681
+ },
13682
+ {
13683
+ type: 'function',
13684
+ inputs: [
13685
+ { name: 'sender', internalType: 'address', type: 'address' },
13686
+ { name: 'receiver', internalType: 'address', type: 'address' },
13687
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
13688
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
13689
+ ],
13690
+ name: 'transferFrom',
13691
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
13692
+ stateMutability: 'nonpayable',
13693
+ },
13694
+ {
13695
+ type: 'function',
13696
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
13697
+ name: 'unlock',
13698
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
13699
+ stateMutability: 'nonpayable',
13700
+ },
13701
+ {
13702
+ type: 'function',
13703
+ inputs: [
13704
+ {
13705
+ name: 'key',
13706
+ internalType: 'struct PoolKey',
13707
+ type: 'tuple',
13708
+ components: [
13709
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
13710
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
13711
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
13712
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
13713
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
13714
+ ],
13715
+ },
13716
+ { name: 'newDynamicLPFee', internalType: 'uint24', type: 'uint24' },
13717
+ ],
13718
+ name: 'updateDynamicLPFee',
13719
+ outputs: [],
13720
+ stateMutability: 'nonpayable',
13721
+ },
13722
+ {
13723
+ type: 'event',
13724
+ anonymous: false,
13725
+ inputs: [
13726
+ {
13727
+ name: 'owner',
13728
+ internalType: 'address',
13729
+ type: 'address',
13730
+ indexed: true,
13731
+ },
13732
+ {
13733
+ name: 'spender',
13734
+ internalType: 'address',
13735
+ type: 'address',
13736
+ indexed: true,
13737
+ },
13738
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
13739
+ {
13740
+ name: 'amount',
13741
+ internalType: 'uint256',
13742
+ type: 'uint256',
13743
+ indexed: false,
13744
+ },
13745
+ ],
13746
+ name: 'Approval',
13747
+ },
13748
+ {
13749
+ type: 'event',
13750
+ anonymous: false,
13751
+ inputs: [
13752
+ { name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
13753
+ {
13754
+ name: 'sender',
13755
+ internalType: 'address',
13756
+ type: 'address',
13757
+ indexed: true,
13758
+ },
13759
+ {
13760
+ name: 'amount0',
13761
+ internalType: 'uint256',
13762
+ type: 'uint256',
13763
+ indexed: false,
13764
+ },
13765
+ {
13766
+ name: 'amount1',
13767
+ internalType: 'uint256',
13768
+ type: 'uint256',
13769
+ indexed: false,
13770
+ },
13771
+ ],
13772
+ name: 'Donate',
13773
+ },
13774
+ {
13775
+ type: 'event',
13776
+ anonymous: false,
13777
+ inputs: [
13778
+ { name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
13779
+ {
13780
+ name: 'currency0',
13781
+ internalType: 'Currency',
13782
+ type: 'address',
13783
+ indexed: true,
13784
+ },
13785
+ {
13786
+ name: 'currency1',
13787
+ internalType: 'Currency',
13788
+ type: 'address',
13789
+ indexed: true,
13790
+ },
13791
+ { name: 'fee', internalType: 'uint24', type: 'uint24', indexed: false },
13792
+ {
13793
+ name: 'tickSpacing',
13794
+ internalType: 'int24',
13795
+ type: 'int24',
13796
+ indexed: false,
13797
+ },
13798
+ {
13799
+ name: 'hooks',
13800
+ internalType: 'contract IHooks',
13801
+ type: 'address',
13802
+ indexed: false,
13803
+ },
13804
+ {
13805
+ name: 'sqrtPriceX96',
13806
+ internalType: 'uint160',
13807
+ type: 'uint160',
13808
+ indexed: false,
13809
+ },
13810
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
13811
+ ],
13812
+ name: 'Initialize',
13813
+ },
13814
+ {
13815
+ type: 'event',
13816
+ anonymous: false,
13817
+ inputs: [
13818
+ { name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
13819
+ {
13820
+ name: 'sender',
13821
+ internalType: 'address',
13822
+ type: 'address',
13823
+ indexed: true,
13824
+ },
13825
+ {
13826
+ name: 'tickLower',
13827
+ internalType: 'int24',
13828
+ type: 'int24',
13829
+ indexed: false,
13830
+ },
13831
+ {
13832
+ name: 'tickUpper',
13833
+ internalType: 'int24',
13834
+ type: 'int24',
13835
+ indexed: false,
13836
+ },
13837
+ {
13838
+ name: 'liquidityDelta',
13839
+ internalType: 'int256',
13840
+ type: 'int256',
13841
+ indexed: false,
13842
+ },
13843
+ {
13844
+ name: 'salt',
13845
+ internalType: 'bytes32',
13846
+ type: 'bytes32',
13847
+ indexed: false,
13848
+ },
13849
+ ],
13850
+ name: 'ModifyLiquidity',
13851
+ },
13852
+ {
13853
+ type: 'event',
13854
+ anonymous: false,
13855
+ inputs: [
13856
+ {
13857
+ name: 'owner',
13858
+ internalType: 'address',
13859
+ type: 'address',
13860
+ indexed: true,
13861
+ },
13862
+ {
13863
+ name: 'operator',
13864
+ internalType: 'address',
13865
+ type: 'address',
13866
+ indexed: true,
13867
+ },
13868
+ { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
13869
+ ],
13870
+ name: 'OperatorSet',
13871
+ },
13872
+ {
13873
+ type: 'event',
13874
+ anonymous: false,
13875
+ inputs: [
13876
+ {
13877
+ name: 'protocolFeeController',
13878
+ internalType: 'address',
13879
+ type: 'address',
13880
+ indexed: true,
13881
+ },
13882
+ ],
13883
+ name: 'ProtocolFeeControllerUpdated',
13884
+ },
13885
+ {
13886
+ type: 'event',
13887
+ anonymous: false,
13888
+ inputs: [
13889
+ { name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
13890
+ {
13891
+ name: 'protocolFee',
13892
+ internalType: 'uint24',
13893
+ type: 'uint24',
13894
+ indexed: false,
13895
+ },
13896
+ ],
13897
+ name: 'ProtocolFeeUpdated',
13898
+ },
13899
+ {
13900
+ type: 'event',
13901
+ anonymous: false,
13902
+ inputs: [
13903
+ { name: 'id', internalType: 'PoolId', type: 'bytes32', indexed: true },
13904
+ {
13905
+ name: 'sender',
13906
+ internalType: 'address',
13907
+ type: 'address',
13908
+ indexed: true,
13909
+ },
13910
+ {
13911
+ name: 'amount0',
13912
+ internalType: 'int128',
13913
+ type: 'int128',
13914
+ indexed: false,
13915
+ },
13916
+ {
13917
+ name: 'amount1',
13918
+ internalType: 'int128',
13919
+ type: 'int128',
13920
+ indexed: false,
13921
+ },
13922
+ {
13923
+ name: 'sqrtPriceX96',
13924
+ internalType: 'uint160',
13925
+ type: 'uint160',
13926
+ indexed: false,
13927
+ },
13928
+ {
13929
+ name: 'liquidity',
13930
+ internalType: 'uint128',
13931
+ type: 'uint128',
13932
+ indexed: false,
13933
+ },
13934
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
13935
+ { name: 'fee', internalType: 'uint24', type: 'uint24', indexed: false },
13936
+ ],
13937
+ name: 'Swap',
12882
13938
  },
12883
13939
  {
12884
- type: 'function',
13940
+ type: 'event',
13941
+ anonymous: false,
12885
13942
  inputs: [
12886
13943
  {
12887
- name: 'params',
12888
- internalType: 'struct ISwapRouter.ExactOutputParams',
12889
- type: 'tuple',
12890
- components: [
12891
- { name: 'path', internalType: 'bytes', type: 'bytes' },
12892
- { name: 'recipient', internalType: 'address', type: 'address' },
12893
- { name: 'amountOut', internalType: 'uint256', type: 'uint256' },
12894
- { name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
12895
- ],
13944
+ name: 'caller',
13945
+ internalType: 'address',
13946
+ type: 'address',
13947
+ indexed: false,
13948
+ },
13949
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
13950
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
13951
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
13952
+ {
13953
+ name: 'amount',
13954
+ internalType: 'uint256',
13955
+ type: 'uint256',
13956
+ indexed: false,
12896
13957
  },
12897
13958
  ],
12898
- name: 'exactOutput',
12899
- outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
12900
- stateMutability: 'payable',
13959
+ name: 'Transfer',
12901
13960
  },
13961
+ { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
12902
13962
  {
12903
- type: 'function',
13963
+ type: 'error',
12904
13964
  inputs: [
12905
- {
12906
- name: 'params',
12907
- internalType: 'struct ISwapRouter.ExactOutputSingleParams',
12908
- type: 'tuple',
12909
- components: [
12910
- { name: 'tokenIn', internalType: 'address', type: 'address' },
12911
- { name: 'tokenOut', internalType: 'address', type: 'address' },
12912
- { name: 'fee', internalType: 'uint24', type: 'uint24' },
12913
- { name: 'recipient', internalType: 'address', type: 'address' },
12914
- { name: 'amountOut', internalType: 'uint256', type: 'uint256' },
12915
- { name: 'amountInMaximum', internalType: 'uint256', type: 'uint256' },
12916
- {
12917
- name: 'sqrtPriceLimitX96',
12918
- internalType: 'uint160',
12919
- type: 'uint160',
12920
- },
12921
- ],
12922
- },
13965
+ { name: 'currency0', internalType: 'address', type: 'address' },
13966
+ { name: 'currency1', internalType: 'address', type: 'address' },
12923
13967
  ],
12924
- name: 'exactOutputSingle',
12925
- outputs: [{ name: 'amountIn', internalType: 'uint256', type: 'uint256' }],
12926
- stateMutability: 'payable',
13968
+ name: 'CurrenciesOutOfOrderOrEqual',
13969
+ },
13970
+ { type: 'error', inputs: [], name: 'CurrencyNotSettled' },
13971
+ { type: 'error', inputs: [], name: 'InvalidCaller' },
13972
+ { type: 'error', inputs: [], name: 'ManagerLocked' },
13973
+ { type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
13974
+ { type: 'error', inputs: [], name: 'NonzeroNativeValue' },
13975
+ { type: 'error', inputs: [], name: 'PoolNotInitialized' },
13976
+ { type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
13977
+ {
13978
+ type: 'error',
13979
+ inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
13980
+ name: 'ProtocolFeeTooLarge',
13981
+ },
13982
+ { type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
13983
+ {
13984
+ type: 'error',
13985
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
13986
+ name: 'TickSpacingTooLarge',
12927
13987
  },
13988
+ {
13989
+ type: 'error',
13990
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
13991
+ name: 'TickSpacingTooSmall',
13992
+ },
13993
+ { type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
13994
+ ] as const
13995
+
13996
+ /**
13997
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x498581ff718922c3f8e6a244956af099b2652b2b)
13998
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408)
13999
+ */
14000
+ export const uniswapV4PoolManagerAddress = {
14001
+ 8453: '0x498581fF718922c3f8e6A244956aF099B2652b2b',
14002
+ 84532: '0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408',
14003
+ } as const
14004
+
14005
+ /**
14006
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x498581ff718922c3f8e6a244956af099b2652b2b)
14007
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408)
14008
+ */
14009
+ export const uniswapV4PoolManagerConfig = {
14010
+ address: uniswapV4PoolManagerAddress,
14011
+ abi: uniswapV4PoolManagerABI,
14012
+ } as const
14013
+
14014
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
14015
+ // UniversalRouter
14016
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
14017
+
14018
+ /**
14019
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
14020
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
14021
+ */
14022
+ export const universalRouterABI = [
12928
14023
  {
12929
14024
  type: 'function',
12930
14025
  inputs: [
12931
- { name: 'amount0Delta', internalType: 'int256', type: 'int256' },
12932
- { name: 'amount1Delta', internalType: 'int256', type: 'int256' },
12933
- { name: 'data', internalType: 'bytes', type: 'bytes' },
14026
+ { name: 'commands', internalType: 'bytes', type: 'bytes' },
14027
+ { name: 'inputs', internalType: 'bytes[]', type: 'bytes[]' },
14028
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
12934
14029
  ],
12935
- name: 'uniswapV3SwapCallback',
14030
+ name: 'execute',
12936
14031
  outputs: [],
12937
- stateMutability: 'nonpayable',
14032
+ stateMutability: 'payable',
14033
+ },
14034
+ { type: 'error', inputs: [], name: 'ETHNotAccepted' },
14035
+ {
14036
+ type: 'error',
14037
+ inputs: [
14038
+ { name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
14039
+ { name: 'message', internalType: 'bytes', type: 'bytes' },
14040
+ ],
14041
+ name: 'ExecutionFailed',
12938
14042
  },
14043
+ { type: 'error', inputs: [], name: 'InvalidEthSender' },
14044
+ { type: 'error', inputs: [], name: 'LengthMismatch' },
14045
+ { type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
12939
14046
  ] as const
12940
14047
 
12941
14048
  /**
12942
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
12943
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
12944
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
12945
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
12946
- * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
12947
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
12948
- * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
12949
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
12950
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
12951
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
12952
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
14049
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
14050
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
12953
14051
  */
12954
- export const uniswapV3SwapRouterAddress = {
12955
- 1: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
12956
- 10: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
12957
- 8453: '0x2626664c2603336E57B271c5C0b26F421741e481',
12958
- 42161: '0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45',
12959
- 81457: '0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66',
12960
- 84532: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
12961
- 421614: '0x101F443B4d1b059569D643917553c771E1b9663E',
12962
- 7777777: '0x7De04c96BE5159c3b5CeffC82aa176dc81281557',
12963
- 11155111: '0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E',
12964
- 11155420: '0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4',
12965
- 999999999: '0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a',
14052
+ export const universalRouterAddress = {
14053
+ 8453: '0x6fF5693b99212Da76ad316178A184AB56D299b43',
14054
+ 84532: '0x492E6456D9528771018DeB9E87ef7750EF184104',
12966
14055
  } as const
12967
14056
 
12968
14057
  /**
12969
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
12970
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
12971
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x2626664c2603336E57B271c5C0b26F421741e481)
12972
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45)
12973
- * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x549FEB8c9bd4c12Ad2AB27022dA12492aC452B66)
12974
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
12975
- * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x101F443B4d1b059569D643917553c771E1b9663E)
12976
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7De04c96BE5159c3b5CeffC82aa176dc81281557)
12977
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E)
12978
- * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4)
12979
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
14058
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
14059
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
12980
14060
  */
12981
- export const uniswapV3SwapRouterConfig = {
12982
- address: uniswapV3SwapRouterAddress,
12983
- abi: uniswapV3SwapRouterABI,
14061
+ export const universalRouterConfig = {
14062
+ address: universalRouterAddress,
14063
+ abi: universalRouterABI,
12984
14064
  } as const
12985
14065
 
12986
14066
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -17791,7 +18871,7 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
17791
18871
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
17792
18872
 
17793
18873
  /**
17794
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777A5906659b67CE61511489Ae76DA63920f)
18874
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C783bAD88daCaf9A19E04238341E4497B)
17795
18875
  */
17796
18876
  export const zoraLimitOrderBookABI = [
17797
18877
  {
@@ -18409,6 +19489,7 @@ export const zoraLimitOrderBookABI = [
18409
19489
  ],
18410
19490
  name: 'InvalidAccountNonce',
18411
19491
  },
19492
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
18412
19493
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
18413
19494
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
18414
19495
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -18519,17 +19600,50 @@ export const zoraLimitOrderBookABI = [
18519
19600
  },
18520
19601
  { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
18521
19602
  { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
19603
+ { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
19604
+ {
19605
+ type: 'error',
19606
+ inputs: [
19607
+ { name: 'currency0', internalType: 'address', type: 'address' },
19608
+ { name: 'currency1', internalType: 'address', type: 'address' },
19609
+ ],
19610
+ name: 'CurrenciesOutOfOrderOrEqual',
19611
+ },
19612
+ { type: 'error', inputs: [], name: 'CurrencyNotSettled' },
19613
+ { type: 'error', inputs: [], name: 'InvalidCaller' },
19614
+ { type: 'error', inputs: [], name: 'ManagerLocked' },
19615
+ { type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
19616
+ { type: 'error', inputs: [], name: 'NonzeroNativeValue' },
19617
+ { type: 'error', inputs: [], name: 'PoolNotInitialized' },
19618
+ { type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
19619
+ {
19620
+ type: 'error',
19621
+ inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
19622
+ name: 'ProtocolFeeTooLarge',
19623
+ },
19624
+ { type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
19625
+ {
19626
+ type: 'error',
19627
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
19628
+ name: 'TickSpacingTooLarge',
19629
+ },
19630
+ {
19631
+ type: 'error',
19632
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
19633
+ name: 'TickSpacingTooSmall',
19634
+ },
19635
+ { type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
18522
19636
  ] as const
18523
19637
 
18524
19638
  /**
18525
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777A5906659b67CE61511489Ae76DA63920f)
19639
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C783bAD88daCaf9A19E04238341E4497B)
18526
19640
  */
18527
19641
  export const zoraLimitOrderBookAddress = {
18528
- 8453: '0x7777777A5906659b67CE61511489Ae76DA63920f',
19642
+ 8453: '0x7777777C783bAD88daCaf9A19E04238341E4497B',
18529
19643
  } as const
18530
19644
 
18531
19645
  /**
18532
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777A5906659b67CE61511489Ae76DA63920f)
19646
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777C783bAD88daCaf9A19E04238341E4497B)
18533
19647
  */
18534
19648
  export const zoraLimitOrderBookConfig = {
18535
19649
  address: zoraLimitOrderBookAddress,
@@ -20244,7 +21358,7 @@ export const zoraMintsManagerImplConfig = {
20244
21358
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20245
21359
 
20246
21360
  /**
20247
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2)
21361
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x77777777Eb762Cf86F634763e79d17dE44330887)
20248
21362
  */
20249
21363
  export const zoraRouterABI = [
20250
21364
  {
@@ -20611,6 +21725,65 @@ export const zoraRouterABI = [
20611
21725
  { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
20612
21726
  { type: 'error', inputs: [], name: 'ZeroSwapDelta' },
20613
21727
  { type: 'error', inputs: [], name: 'AddressZero' },
21728
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
21729
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
21730
+ {
21731
+ type: 'error',
21732
+ inputs: [
21733
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
21734
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
21735
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
21736
+ ],
21737
+ name: 'CoinMismatch',
21738
+ },
21739
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
21740
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
21741
+ {
21742
+ type: 'error',
21743
+ inputs: [
21744
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
21745
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
21746
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
21747
+ ],
21748
+ name: 'InvalidFillWindow',
21749
+ },
21750
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
21751
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
21752
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
21753
+ {
21754
+ type: 'error',
21755
+ inputs: [
21756
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
21757
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
21758
+ ],
21759
+ name: 'MinAmountNotReached',
21760
+ },
21761
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
21762
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
21763
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
21764
+ { type: 'error', inputs: [], name: 'OrderClosed' },
21765
+ { type: 'error', inputs: [], name: 'OrderFillable' },
21766
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
21767
+ {
21768
+ type: 'error',
21769
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
21770
+ name: 'OwnableInvalidOwner',
21771
+ },
21772
+ {
21773
+ type: 'error',
21774
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
21775
+ name: 'OwnableUnauthorizedAccount',
21776
+ },
21777
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
21778
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
21779
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
21780
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
21781
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
21782
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
21783
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
21784
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
21785
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
21786
+ { type: 'error', inputs: [], name: 'AddressZero' },
20614
21787
  { type: 'error', inputs: [], name: 'AlreadyOwner' },
20615
21788
  { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
20616
21789
  {
@@ -20696,6 +21869,7 @@ export const zoraRouterABI = [
20696
21869
  ],
20697
21870
  name: 'InvalidAccountNonce',
20698
21871
  },
21872
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
20699
21873
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
20700
21874
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
20701
21875
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -20806,76 +21980,62 @@ export const zoraRouterABI = [
20806
21980
  },
20807
21981
  { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
20808
21982
  { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
20809
- { type: 'error', inputs: [], name: 'AddressZero' },
20810
- { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
20811
- { type: 'error', inputs: [], name: 'CallerNotPermitted' },
21983
+ { type: 'error', inputs: [], name: 'AlreadyUnlocked' },
20812
21984
  {
20813
21985
  type: 'error',
20814
21986
  inputs: [
20815
- { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
20816
- { name: 'expectedCoin', internalType: 'address', type: 'address' },
20817
- { name: 'actualCoin', internalType: 'address', type: 'address' },
21987
+ { name: 'currency0', internalType: 'address', type: 'address' },
21988
+ { name: 'currency1', internalType: 'address', type: 'address' },
20818
21989
  ],
20819
- name: 'CoinMismatch',
21990
+ name: 'CurrenciesOutOfOrderOrEqual',
20820
21991
  },
20821
- { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
20822
- { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
21992
+ { type: 'error', inputs: [], name: 'CurrencyNotSettled' },
21993
+ { type: 'error', inputs: [], name: 'InvalidCaller' },
21994
+ { type: 'error', inputs: [], name: 'ManagerLocked' },
21995
+ { type: 'error', inputs: [], name: 'MustClearExactPositiveDelta' },
21996
+ { type: 'error', inputs: [], name: 'NonzeroNativeValue' },
21997
+ { type: 'error', inputs: [], name: 'PoolNotInitialized' },
21998
+ { type: 'error', inputs: [], name: 'ProtocolFeeCurrencySynced' },
20823
21999
  {
20824
22000
  type: 'error',
20825
- inputs: [
20826
- { name: 'startTick', internalType: 'int24', type: 'int24' },
20827
- { name: 'endTick', internalType: 'int24', type: 'int24' },
20828
- { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
20829
- ],
20830
- name: 'InvalidFillWindow',
22001
+ inputs: [{ name: 'fee', internalType: 'uint24', type: 'uint24' }],
22002
+ name: 'ProtocolFeeTooLarge',
20831
22003
  },
20832
- { type: 'error', inputs: [], name: 'InvalidOrder' },
20833
- { type: 'error', inputs: [], name: 'InvalidPoolKey' },
20834
- { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
22004
+ { type: 'error', inputs: [], name: 'SwapAmountCannotBeZero' },
20835
22005
  {
20836
22006
  type: 'error',
20837
- inputs: [
20838
- { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
20839
- { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
20840
- ],
20841
- name: 'MinAmountNotReached',
22007
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
22008
+ name: 'TickSpacingTooLarge',
20842
22009
  },
20843
- { type: 'error', inputs: [], name: 'NativeValueMismatch' },
20844
- { type: 'error', inputs: [], name: 'NotPoolManager' },
20845
- { type: 'error', inputs: [], name: 'OnlyZoraHook' },
20846
- { type: 'error', inputs: [], name: 'OrderClosed' },
20847
- { type: 'error', inputs: [], name: 'OrderFillable' },
20848
- { type: 'error', inputs: [], name: 'OrderNotMaker' },
20849
22010
  {
20850
22011
  type: 'error',
20851
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
20852
- name: 'OwnableInvalidOwner',
22012
+ inputs: [{ name: 'tickSpacing', internalType: 'int24', type: 'int24' }],
22013
+ name: 'TickSpacingTooSmall',
20853
22014
  },
22015
+ { type: 'error', inputs: [], name: 'UnauthorizedDynamicLPFeeUpdate' },
22016
+ { type: 'error', inputs: [], name: 'ETHNotAccepted' },
20854
22017
  {
20855
22018
  type: 'error',
20856
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
20857
- name: 'OwnableUnauthorizedAccount',
22019
+ inputs: [
22020
+ { name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
22021
+ { name: 'message', internalType: 'bytes', type: 'bytes' },
22022
+ ],
22023
+ name: 'ExecutionFailed',
20858
22024
  },
20859
- { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
20860
- { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
20861
- { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
20862
- { type: 'error', inputs: [], name: 'UnknownCallback' },
20863
- { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
20864
- { type: 'error', inputs: [], name: 'WethTransferFailed' },
20865
- { type: 'error', inputs: [], name: 'ZeroMaker' },
20866
- { type: 'error', inputs: [], name: 'ZeroOrderSize' },
20867
- { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
22025
+ { type: 'error', inputs: [], name: 'InvalidEthSender' },
22026
+ { type: 'error', inputs: [], name: 'LengthMismatch' },
22027
+ { type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
20868
22028
  ] as const
20869
22029
 
20870
22030
  /**
20871
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2)
22031
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x77777777Eb762Cf86F634763e79d17dE44330887)
20872
22032
  */
20873
22033
  export const zoraRouterAddress = {
20874
- 8453: '0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2',
22034
+ 8453: '0x77777777Eb762Cf86F634763e79d17dE44330887',
20875
22035
  } as const
20876
22036
 
20877
22037
  /**
20878
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2)
22038
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x77777777Eb762Cf86F634763e79d17dE44330887)
20879
22039
  */
20880
22040
  export const zoraRouterConfig = {
20881
22041
  address: zoraRouterAddress,