@zoralabs/protocol-deployments 0.7.2 → 0.7.6

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