@zoralabs/protocol-deployments 0.6.6-TRENDS.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1485,6 +1485,16 @@ export const coinABI = [
1485
1485
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
1486
1486
  stateMutability: 'pure',
1487
1487
  },
1488
+ {
1489
+ type: 'function',
1490
+ inputs: [],
1491
+ name: 'creationInfo',
1492
+ outputs: [
1493
+ { name: 'creationTimestamp', internalType: 'uint256', type: 'uint256' },
1494
+ { name: 'isDeploying', internalType: 'bool', type: 'bool' },
1495
+ ],
1496
+ stateMutability: 'view',
1497
+ },
1488
1498
  {
1489
1499
  type: 'function',
1490
1500
  inputs: [],
@@ -2432,7 +2442,6 @@ export const coinABI = [
2432
2442
  ],
2433
2443
  name: 'InvalidAccountNonce',
2434
2444
  },
2435
- { type: 'error', inputs: [], name: 'InvalidCurrency' },
2436
2445
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
2437
2446
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
2438
2447
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -2491,7 +2500,6 @@ export const coinFactoryABI = [
2491
2500
  inputs: [
2492
2501
  { name: 'coinV4Impl_', internalType: 'address', type: 'address' },
2493
2502
  { name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
2494
- { name: 'trendCoinImpl_', internalType: 'address', type: 'address' },
2495
2503
  { name: 'hook_', internalType: 'address', type: 'address' },
2496
2504
  { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
2497
2505
  ],
@@ -2664,20 +2672,6 @@ export const coinFactoryABI = [
2664
2672
  ],
2665
2673
  stateMutability: 'payable',
2666
2674
  },
2667
- {
2668
- type: 'function',
2669
- inputs: [
2670
- { name: 'symbol', internalType: 'string', type: 'string' },
2671
- { name: 'postDeployHook', internalType: 'address', type: 'address' },
2672
- { name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
2673
- ],
2674
- name: 'deployTrendCoin',
2675
- outputs: [
2676
- { name: 'coin', internalType: 'address', type: 'address' },
2677
- { name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
2678
- ],
2679
- stateMutability: 'payable',
2680
- },
2681
2675
  {
2682
2676
  type: 'function',
2683
2677
  inputs: [
@@ -2763,20 +2757,6 @@ export const coinFactoryABI = [
2763
2757
  outputs: [],
2764
2758
  stateMutability: 'nonpayable',
2765
2759
  },
2766
- {
2767
- type: 'function',
2768
- inputs: [{ name: 'symbol', internalType: 'string', type: 'string' }],
2769
- name: 'trendCoinAddress',
2770
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
2771
- stateMutability: 'view',
2772
- },
2773
- {
2774
- type: 'function',
2775
- inputs: [],
2776
- name: 'trendCoinImpl',
2777
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
2778
- stateMutability: 'view',
2779
- },
2780
2760
  {
2781
2761
  type: 'function',
2782
2762
  inputs: [
@@ -2912,12 +2892,6 @@ export const coinFactoryABI = [
2912
2892
  type: 'bytes32',
2913
2893
  indexed: false,
2914
2894
  },
2915
- {
2916
- name: 'poolConfig',
2917
- internalType: 'bytes',
2918
- type: 'bytes',
2919
- indexed: false,
2920
- },
2921
2895
  {
2922
2896
  name: 'version',
2923
2897
  internalType: 'string',
@@ -2988,12 +2962,6 @@ export const coinFactoryABI = [
2988
2962
  type: 'bytes32',
2989
2963
  indexed: false,
2990
2964
  },
2991
- {
2992
- name: 'poolConfig',
2993
- internalType: 'bytes',
2994
- type: 'bytes',
2995
- indexed: false,
2996
- },
2997
2965
  {
2998
2966
  name: 'version',
2999
2967
  internalType: 'string',
@@ -3054,62 +3022,6 @@ export const coinFactoryABI = [
3054
3022
  ],
3055
3023
  name: 'OwnershipTransferred',
3056
3024
  },
3057
- {
3058
- type: 'event',
3059
- anonymous: false,
3060
- inputs: [
3061
- {
3062
- name: 'caller',
3063
- internalType: 'address',
3064
- type: 'address',
3065
- indexed: true,
3066
- },
3067
- {
3068
- name: 'symbol',
3069
- internalType: 'string',
3070
- type: 'string',
3071
- indexed: false,
3072
- },
3073
- {
3074
- name: 'coin',
3075
- internalType: 'address',
3076
- type: 'address',
3077
- indexed: false,
3078
- },
3079
- {
3080
- name: 'poolKey',
3081
- internalType: 'struct PoolKey',
3082
- type: 'tuple',
3083
- components: [
3084
- { name: 'currency0', internalType: 'Currency', type: 'address' },
3085
- { name: 'currency1', internalType: 'Currency', type: 'address' },
3086
- { name: 'fee', internalType: 'uint24', type: 'uint24' },
3087
- { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
3088
- { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
3089
- ],
3090
- indexed: false,
3091
- },
3092
- {
3093
- name: 'poolKeyHash',
3094
- internalType: 'bytes32',
3095
- type: 'bytes32',
3096
- indexed: false,
3097
- },
3098
- {
3099
- name: 'poolConfig',
3100
- internalType: 'bytes',
3101
- type: 'bytes',
3102
- indexed: false,
3103
- },
3104
- {
3105
- name: 'version',
3106
- internalType: 'string',
3107
- type: 'string',
3108
- indexed: false,
3109
- },
3110
- ],
3111
- name: 'TrendCoinCreated',
3112
- },
3113
3025
  {
3114
3026
  type: 'event',
3115
3027
  anonymous: false,
@@ -3183,11 +3095,6 @@ export const coinFactoryABI = [
3183
3095
  name: 'OwnableUnauthorizedAccount',
3184
3096
  },
3185
3097
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
3186
- {
3187
- type: 'error',
3188
- inputs: [{ name: 'ticker', internalType: 'string', type: 'string' }],
3189
- name: 'TickerAlreadyUsed',
3190
- },
3191
3098
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
3192
3099
  {
3193
3100
  type: 'error',
@@ -3309,7 +3216,6 @@ export const coinFactoryABI = [
3309
3216
  ],
3310
3217
  name: 'InvalidAccountNonce',
3311
3218
  },
3312
- { type: 'error', inputs: [], name: 'InvalidCurrency' },
3313
3219
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
3314
3220
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
3315
3221
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -3420,14 +3326,9 @@ export const coinFactoryABI = [
3420
3326
  },
3421
3327
  { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
3422
3328
  { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
3423
- {
3424
- type: 'error',
3425
- inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
3426
- name: 'AccessManagedInvalidAuthority',
3427
- },
3428
- { type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
3429
3329
  { type: 'error', inputs: [], name: 'AddressZero' },
3430
3330
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
3331
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
3431
3332
  {
3432
3333
  type: 'error',
3433
3334
  inputs: [
@@ -3463,11 +3364,24 @@ export const coinFactoryABI = [
3463
3364
  { type: 'error', inputs: [], name: 'NotPoolManager' },
3464
3365
  { type: 'error', inputs: [], name: 'OnlyZoraHook' },
3465
3366
  { type: 'error', inputs: [], name: 'OrderClosed' },
3367
+ { type: 'error', inputs: [], name: 'OrderFillable' },
3466
3368
  { type: 'error', inputs: [], name: 'OrderNotMaker' },
3369
+ {
3370
+ type: 'error',
3371
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
3372
+ name: 'OwnableInvalidOwner',
3373
+ },
3374
+ {
3375
+ type: 'error',
3376
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
3377
+ name: 'OwnableUnauthorizedAccount',
3378
+ },
3467
3379
  { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
3380
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
3468
3381
  { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
3469
3382
  { type: 'error', inputs: [], name: 'UnknownCallback' },
3470
3383
  { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
3384
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
3471
3385
  { type: 'error', inputs: [], name: 'ZeroMaker' },
3472
3386
  { type: 'error', inputs: [], name: 'ZeroOrderSize' },
3473
3387
  { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
@@ -3608,6 +3522,16 @@ export const coinV4ABI = [
3608
3522
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
3609
3523
  stateMutability: 'pure',
3610
3524
  },
3525
+ {
3526
+ type: 'function',
3527
+ inputs: [],
3528
+ name: 'creationInfo',
3529
+ outputs: [
3530
+ { name: 'creationTimestamp', internalType: 'uint256', type: 'uint256' },
3531
+ { name: 'isDeploying', internalType: 'bool', type: 'bool' },
3532
+ ],
3533
+ stateMutability: 'view',
3534
+ },
3611
3535
  {
3612
3536
  type: 'function',
3613
3537
  inputs: [],
@@ -6507,9 +6431,2519 @@ export const commentsAddress = {
6507
6431
  * - [__View Contract on Op Sepolia Blockscout__](https://optimism-sepolia.blockscout.com/address/0x7777777C2B3132e03a65721a41745C07170a5877)
6508
6432
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777C2B3132e03a65721a41745C07170a5877)
6509
6433
  */
6510
- export const commentsConfig = {
6511
- address: commentsAddress,
6512
- abi: commentsABI,
6434
+ export const commentsConfig = {
6435
+ address: commentsAddress,
6436
+ abi: commentsABI,
6437
+ } as const
6438
+
6439
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6440
+ // DevBuySupplyWithSwapRouterHook
6441
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6442
+
6443
+ /**
6444
+
6445
+ */
6446
+ export const devBuySupplyWithSwapRouterHookABI = [
6447
+ {
6448
+ type: 'constructor',
6449
+ inputs: [
6450
+ {
6451
+ name: '_factory',
6452
+ internalType: 'contract IZoraFactory',
6453
+ type: 'address',
6454
+ },
6455
+ { name: '_swapRouter', internalType: 'address', type: 'address' },
6456
+ { name: '_poolManager', internalType: 'address', type: 'address' },
6457
+ ],
6458
+ stateMutability: 'nonpayable',
6459
+ },
6460
+ {
6461
+ type: 'function',
6462
+ inputs: [
6463
+ { name: 'sender', internalType: 'address', type: 'address' },
6464
+ { name: 'coin', internalType: 'contract ICoin', type: 'address' },
6465
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
6466
+ ],
6467
+ name: 'afterCoinDeploy',
6468
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
6469
+ stateMutability: 'payable',
6470
+ },
6471
+ {
6472
+ type: 'function',
6473
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
6474
+ name: 'decodeV4RouteData',
6475
+ outputs: [
6476
+ {
6477
+ name: 'v4Route',
6478
+ internalType: 'struct PoolKey[]',
6479
+ type: 'tuple[]',
6480
+ components: [
6481
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
6482
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
6483
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
6484
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
6485
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
6486
+ ],
6487
+ },
6488
+ { name: 'startAmount', internalType: 'uint256', type: 'uint256' },
6489
+ ],
6490
+ stateMutability: 'pure',
6491
+ },
6492
+ {
6493
+ type: 'function',
6494
+ inputs: [
6495
+ {
6496
+ name: 'params',
6497
+ internalType: 'struct BuySupplyWithV4SwapHook.InitialSupplyParams',
6498
+ type: 'tuple',
6499
+ components: [
6500
+ { name: 'buyRecipient', internalType: 'address', type: 'address' },
6501
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes' },
6502
+ {
6503
+ name: 'v4Route',
6504
+ internalType: 'struct PoolKey[]',
6505
+ type: 'tuple[]',
6506
+ components: [
6507
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
6508
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
6509
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
6510
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
6511
+ {
6512
+ name: 'hooks',
6513
+ internalType: 'contract IHooks',
6514
+ type: 'address',
6515
+ },
6516
+ ],
6517
+ },
6518
+ { name: 'inputCurrency', internalType: 'address', type: 'address' },
6519
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
6520
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
6521
+ ],
6522
+ },
6523
+ ],
6524
+ name: 'encodeBuySupplyWithV4SwapHookData',
6525
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
6526
+ stateMutability: 'pure',
6527
+ },
6528
+ {
6529
+ type: 'function',
6530
+ inputs: [],
6531
+ name: 'factory',
6532
+ outputs: [
6533
+ { name: '', internalType: 'contract IZoraFactory', type: 'address' },
6534
+ ],
6535
+ stateMutability: 'view',
6536
+ },
6537
+ {
6538
+ type: 'function',
6539
+ inputs: [],
6540
+ name: 'poolManager',
6541
+ outputs: [
6542
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
6543
+ ],
6544
+ stateMutability: 'view',
6545
+ },
6546
+ {
6547
+ type: 'function',
6548
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
6549
+ name: 'supportsInterface',
6550
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
6551
+ stateMutability: 'pure',
6552
+ },
6553
+ {
6554
+ type: 'function',
6555
+ inputs: [],
6556
+ name: 'swapRouter',
6557
+ outputs: [
6558
+ { name: '', internalType: 'contract ISwapRouter', type: 'address' },
6559
+ ],
6560
+ stateMutability: 'view',
6561
+ },
6562
+ {
6563
+ type: 'function',
6564
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
6565
+ name: 'unlockCallback',
6566
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
6567
+ stateMutability: 'nonpayable',
6568
+ },
6569
+ {
6570
+ type: 'event',
6571
+ anonymous: false,
6572
+ inputs: [
6573
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
6574
+ {
6575
+ name: 'recipient',
6576
+ internalType: 'address',
6577
+ type: 'address',
6578
+ indexed: true,
6579
+ },
6580
+ {
6581
+ name: 'coinsPurchased',
6582
+ internalType: 'uint256',
6583
+ type: 'uint256',
6584
+ indexed: true,
6585
+ },
6586
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes', indexed: false },
6587
+ {
6588
+ name: 'v4Route',
6589
+ internalType: 'struct PoolKey[]',
6590
+ type: 'tuple[]',
6591
+ components: [
6592
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
6593
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
6594
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
6595
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
6596
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
6597
+ ],
6598
+ indexed: false,
6599
+ },
6600
+ {
6601
+ name: 'inputCurrency',
6602
+ internalType: 'address',
6603
+ type: 'address',
6604
+ indexed: false,
6605
+ },
6606
+ {
6607
+ name: 'inputAmount',
6608
+ internalType: 'uint256',
6609
+ type: 'uint256',
6610
+ indexed: false,
6611
+ },
6612
+ {
6613
+ name: 'v4SwapInput',
6614
+ internalType: 'uint256',
6615
+ type: 'uint256',
6616
+ indexed: false,
6617
+ },
6618
+ ],
6619
+ name: 'BuyInitialSupply',
6620
+ },
6621
+ { type: 'error', inputs: [], name: 'AddressZero' },
6622
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
6623
+ {
6624
+ type: 'error',
6625
+ inputs: [
6626
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
6627
+ { name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
6628
+ ],
6629
+ name: 'InsufficientInputCurrency',
6630
+ },
6631
+ { type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
6632
+ { type: 'error', inputs: [], name: 'NotFactory' },
6633
+ { type: 'error', inputs: [], name: 'OnlyPoolManager' },
6634
+ {
6635
+ type: 'error',
6636
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
6637
+ name: 'SafeERC20FailedOperation',
6638
+ },
6639
+ { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
6640
+ ] as const
6641
+
6642
+ /**
6643
+
6644
+ */
6645
+ export const devBuySupplyWithSwapRouterHookAddress = {} as const
6646
+
6647
+ /**
6648
+
6649
+ */
6650
+ export const devBuySupplyWithSwapRouterHookConfig = {
6651
+ address: devBuySupplyWithSwapRouterHookAddress,
6652
+ abi: devBuySupplyWithSwapRouterHookABI,
6653
+ } as const
6654
+
6655
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6656
+ // DevCoinFactory
6657
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6658
+
6659
+ /**
6660
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xfAf4978830e099F0952eBabC89fEb0B18Ba771D8)
6661
+ */
6662
+ export const devCoinFactoryABI = [
6663
+ {
6664
+ type: 'constructor',
6665
+ inputs: [
6666
+ { name: 'coinV4Impl_', internalType: 'address', type: 'address' },
6667
+ { name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
6668
+ { name: 'hook_', internalType: 'address', type: 'address' },
6669
+ { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
6670
+ ],
6671
+ stateMutability: 'nonpayable',
6672
+ },
6673
+ {
6674
+ type: 'function',
6675
+ inputs: [],
6676
+ name: 'UPGRADE_INTERFACE_VERSION',
6677
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
6678
+ stateMutability: 'view',
6679
+ },
6680
+ {
6681
+ type: 'function',
6682
+ inputs: [],
6683
+ name: 'acceptOwnership',
6684
+ outputs: [],
6685
+ stateMutability: 'nonpayable',
6686
+ },
6687
+ {
6688
+ type: 'function',
6689
+ inputs: [
6690
+ { name: 'msgSender', internalType: 'address', type: 'address' },
6691
+ { name: 'name', internalType: 'string', type: 'string' },
6692
+ { name: 'symbol', internalType: 'string', type: 'string' },
6693
+ { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6694
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
6695
+ { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6696
+ ],
6697
+ name: 'coinAddress',
6698
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6699
+ stateMutability: 'view',
6700
+ },
6701
+ {
6702
+ type: 'function',
6703
+ inputs: [],
6704
+ name: 'coinV4Impl',
6705
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6706
+ stateMutability: 'view',
6707
+ },
6708
+ {
6709
+ type: 'function',
6710
+ inputs: [],
6711
+ name: 'contentCoinHook',
6712
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6713
+ stateMutability: 'view',
6714
+ },
6715
+ {
6716
+ type: 'function',
6717
+ inputs: [],
6718
+ name: 'contractName',
6719
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
6720
+ stateMutability: 'pure',
6721
+ },
6722
+ {
6723
+ type: 'function',
6724
+ inputs: [],
6725
+ name: 'contractVersion',
6726
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
6727
+ stateMutability: 'pure',
6728
+ },
6729
+ {
6730
+ type: 'function',
6731
+ inputs: [],
6732
+ name: 'creatorCoinHook',
6733
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6734
+ stateMutability: 'view',
6735
+ },
6736
+ {
6737
+ type: 'function',
6738
+ inputs: [],
6739
+ name: 'creatorCoinImpl',
6740
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6741
+ stateMutability: 'view',
6742
+ },
6743
+ {
6744
+ type: 'function',
6745
+ inputs: [
6746
+ { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6747
+ { name: 'owners', internalType: 'address[]', type: 'address[]' },
6748
+ { name: 'uri', internalType: 'string', type: 'string' },
6749
+ { name: 'name', internalType: 'string', type: 'string' },
6750
+ { name: 'symbol', internalType: 'string', type: 'string' },
6751
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
6752
+ { name: 'currency', internalType: 'address', type: 'address' },
6753
+ { name: '', internalType: 'int24', type: 'int24' },
6754
+ { name: '', internalType: 'uint256', type: 'uint256' },
6755
+ ],
6756
+ name: 'deploy',
6757
+ outputs: [
6758
+ { name: '', internalType: 'address', type: 'address' },
6759
+ { name: '', internalType: 'uint256', type: 'uint256' },
6760
+ ],
6761
+ stateMutability: 'payable',
6762
+ },
6763
+ {
6764
+ type: 'function',
6765
+ inputs: [
6766
+ { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6767
+ { name: 'owners', internalType: 'address[]', type: 'address[]' },
6768
+ { name: 'uri', internalType: 'string', type: 'string' },
6769
+ { name: 'name', internalType: 'string', type: 'string' },
6770
+ { name: 'symbol', internalType: 'string', type: 'string' },
6771
+ { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6772
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
6773
+ { name: 'postDeployHook', internalType: 'address', type: 'address' },
6774
+ { name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
6775
+ { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6776
+ ],
6777
+ name: 'deploy',
6778
+ outputs: [
6779
+ { name: 'coin', internalType: 'address', type: 'address' },
6780
+ { name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
6781
+ ],
6782
+ stateMutability: 'payable',
6783
+ },
6784
+ {
6785
+ type: 'function',
6786
+ inputs: [
6787
+ { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6788
+ { name: 'owners', internalType: 'address[]', type: 'address[]' },
6789
+ { name: 'uri', internalType: 'string', type: 'string' },
6790
+ { name: 'name', internalType: 'string', type: 'string' },
6791
+ { name: 'symbol', internalType: 'string', type: 'string' },
6792
+ { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6793
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
6794
+ { name: '', internalType: 'uint256', type: 'uint256' },
6795
+ ],
6796
+ name: 'deploy',
6797
+ outputs: [
6798
+ { name: '', internalType: 'address', type: 'address' },
6799
+ { name: '', internalType: 'uint256', type: 'uint256' },
6800
+ ],
6801
+ stateMutability: 'payable',
6802
+ },
6803
+ {
6804
+ type: 'function',
6805
+ inputs: [
6806
+ { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6807
+ { name: 'owners', internalType: 'address[]', type: 'address[]' },
6808
+ { name: 'uri', internalType: 'string', type: 'string' },
6809
+ { name: 'name', internalType: 'string', type: 'string' },
6810
+ { name: 'symbol', internalType: 'string', type: 'string' },
6811
+ { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6812
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
6813
+ { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6814
+ ],
6815
+ name: 'deployCreatorCoin',
6816
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6817
+ stateMutability: 'nonpayable',
6818
+ },
6819
+ {
6820
+ type: 'function',
6821
+ inputs: [
6822
+ { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6823
+ { name: 'owners', internalType: 'address[]', type: 'address[]' },
6824
+ { name: 'uri', internalType: 'string', type: 'string' },
6825
+ { name: 'name', internalType: 'string', type: 'string' },
6826
+ { name: 'symbol', internalType: 'string', type: 'string' },
6827
+ { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6828
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
6829
+ { name: 'postDeployHook', internalType: 'address', type: 'address' },
6830
+ { name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
6831
+ { name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
6832
+ ],
6833
+ name: 'deployCreatorCoin',
6834
+ outputs: [
6835
+ { name: 'coin', internalType: 'address', type: 'address' },
6836
+ { name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
6837
+ ],
6838
+ stateMutability: 'payable',
6839
+ },
6840
+ {
6841
+ type: 'function',
6842
+ inputs: [
6843
+ { name: 'payoutRecipient', internalType: 'address', type: 'address' },
6844
+ { name: 'owners', internalType: 'address[]', type: 'address[]' },
6845
+ { name: 'uri', internalType: 'string', type: 'string' },
6846
+ { name: 'name', internalType: 'string', type: 'string' },
6847
+ { name: 'symbol', internalType: 'string', type: 'string' },
6848
+ { name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
6849
+ { name: 'platformReferrer', internalType: 'address', type: 'address' },
6850
+ { name: 'deployHook', internalType: 'address', type: 'address' },
6851
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
6852
+ ],
6853
+ name: 'deployWithHook',
6854
+ outputs: [
6855
+ { name: 'coin', internalType: 'address', type: 'address' },
6856
+ { name: 'hookDataOut', internalType: 'bytes', type: 'bytes' },
6857
+ ],
6858
+ stateMutability: 'payable',
6859
+ },
6860
+ {
6861
+ type: 'function',
6862
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
6863
+ name: 'getVersionForDeployedCoin',
6864
+ outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
6865
+ stateMutability: 'view',
6866
+ },
6867
+ {
6868
+ type: 'function',
6869
+ inputs: [],
6870
+ name: 'hook',
6871
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6872
+ stateMutability: 'view',
6873
+ },
6874
+ {
6875
+ type: 'function',
6876
+ inputs: [],
6877
+ name: 'implementation',
6878
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6879
+ stateMutability: 'view',
6880
+ },
6881
+ {
6882
+ type: 'function',
6883
+ inputs: [
6884
+ { name: 'initialOwner', internalType: 'address', type: 'address' },
6885
+ ],
6886
+ name: 'initialize',
6887
+ outputs: [],
6888
+ stateMutability: 'nonpayable',
6889
+ },
6890
+ {
6891
+ type: 'function',
6892
+ inputs: [],
6893
+ name: 'owner',
6894
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6895
+ stateMutability: 'view',
6896
+ },
6897
+ {
6898
+ type: 'function',
6899
+ inputs: [],
6900
+ name: 'pendingOwner',
6901
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6902
+ stateMutability: 'view',
6903
+ },
6904
+ {
6905
+ type: 'function',
6906
+ inputs: [],
6907
+ name: 'proxiableUUID',
6908
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
6909
+ stateMutability: 'view',
6910
+ },
6911
+ {
6912
+ type: 'function',
6913
+ inputs: [],
6914
+ name: 'renounceOwnership',
6915
+ outputs: [],
6916
+ stateMutability: 'nonpayable',
6917
+ },
6918
+ {
6919
+ type: 'function',
6920
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
6921
+ name: 'transferOwnership',
6922
+ outputs: [],
6923
+ stateMutability: 'nonpayable',
6924
+ },
6925
+ {
6926
+ type: 'function',
6927
+ inputs: [
6928
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
6929
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
6930
+ ],
6931
+ name: 'upgradeToAndCall',
6932
+ outputs: [],
6933
+ stateMutability: 'payable',
6934
+ },
6935
+ {
6936
+ type: 'function',
6937
+ inputs: [],
6938
+ name: 'zoraHookRegistry',
6939
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
6940
+ stateMutability: 'view',
6941
+ },
6942
+ {
6943
+ type: 'event',
6944
+ anonymous: false,
6945
+ inputs: [
6946
+ {
6947
+ name: 'caller',
6948
+ internalType: 'address',
6949
+ type: 'address',
6950
+ indexed: true,
6951
+ },
6952
+ {
6953
+ name: 'payoutRecipient',
6954
+ internalType: 'address',
6955
+ type: 'address',
6956
+ indexed: true,
6957
+ },
6958
+ {
6959
+ name: 'platformReferrer',
6960
+ internalType: 'address',
6961
+ type: 'address',
6962
+ indexed: true,
6963
+ },
6964
+ {
6965
+ name: 'currency',
6966
+ internalType: 'address',
6967
+ type: 'address',
6968
+ indexed: false,
6969
+ },
6970
+ { name: 'uri', internalType: 'string', type: 'string', indexed: false },
6971
+ { name: 'name', internalType: 'string', type: 'string', indexed: false },
6972
+ {
6973
+ name: 'symbol',
6974
+ internalType: 'string',
6975
+ type: 'string',
6976
+ indexed: false,
6977
+ },
6978
+ {
6979
+ name: 'coin',
6980
+ internalType: 'address',
6981
+ type: 'address',
6982
+ indexed: false,
6983
+ },
6984
+ {
6985
+ name: 'pool',
6986
+ internalType: 'address',
6987
+ type: 'address',
6988
+ indexed: false,
6989
+ },
6990
+ {
6991
+ name: 'version',
6992
+ internalType: 'string',
6993
+ type: 'string',
6994
+ indexed: false,
6995
+ },
6996
+ ],
6997
+ name: 'CoinCreated',
6998
+ },
6999
+ {
7000
+ type: 'event',
7001
+ anonymous: false,
7002
+ inputs: [
7003
+ {
7004
+ name: 'caller',
7005
+ internalType: 'address',
7006
+ type: 'address',
7007
+ indexed: true,
7008
+ },
7009
+ {
7010
+ name: 'payoutRecipient',
7011
+ internalType: 'address',
7012
+ type: 'address',
7013
+ indexed: true,
7014
+ },
7015
+ {
7016
+ name: 'platformReferrer',
7017
+ internalType: 'address',
7018
+ type: 'address',
7019
+ indexed: true,
7020
+ },
7021
+ {
7022
+ name: 'currency',
7023
+ internalType: 'address',
7024
+ type: 'address',
7025
+ indexed: false,
7026
+ },
7027
+ { name: 'uri', internalType: 'string', type: 'string', indexed: false },
7028
+ { name: 'name', internalType: 'string', type: 'string', indexed: false },
7029
+ {
7030
+ name: 'symbol',
7031
+ internalType: 'string',
7032
+ type: 'string',
7033
+ indexed: false,
7034
+ },
7035
+ {
7036
+ name: 'coin',
7037
+ internalType: 'address',
7038
+ type: 'address',
7039
+ indexed: false,
7040
+ },
7041
+ {
7042
+ name: 'poolKey',
7043
+ internalType: 'struct PoolKey',
7044
+ type: 'tuple',
7045
+ components: [
7046
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7047
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7048
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7049
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7050
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7051
+ ],
7052
+ indexed: false,
7053
+ },
7054
+ {
7055
+ name: 'poolKeyHash',
7056
+ internalType: 'bytes32',
7057
+ type: 'bytes32',
7058
+ indexed: false,
7059
+ },
7060
+ {
7061
+ name: 'version',
7062
+ internalType: 'string',
7063
+ type: 'string',
7064
+ indexed: false,
7065
+ },
7066
+ ],
7067
+ name: 'CoinCreatedV4',
7068
+ },
7069
+ {
7070
+ type: 'event',
7071
+ anonymous: false,
7072
+ inputs: [
7073
+ {
7074
+ name: 'caller',
7075
+ internalType: 'address',
7076
+ type: 'address',
7077
+ indexed: true,
7078
+ },
7079
+ {
7080
+ name: 'payoutRecipient',
7081
+ internalType: 'address',
7082
+ type: 'address',
7083
+ indexed: true,
7084
+ },
7085
+ {
7086
+ name: 'platformReferrer',
7087
+ internalType: 'address',
7088
+ type: 'address',
7089
+ indexed: true,
7090
+ },
7091
+ {
7092
+ name: 'currency',
7093
+ internalType: 'address',
7094
+ type: 'address',
7095
+ indexed: false,
7096
+ },
7097
+ { name: 'uri', internalType: 'string', type: 'string', indexed: false },
7098
+ { name: 'name', internalType: 'string', type: 'string', indexed: false },
7099
+ {
7100
+ name: 'symbol',
7101
+ internalType: 'string',
7102
+ type: 'string',
7103
+ indexed: false,
7104
+ },
7105
+ {
7106
+ name: 'coin',
7107
+ internalType: 'address',
7108
+ type: 'address',
7109
+ indexed: false,
7110
+ },
7111
+ {
7112
+ name: 'poolKey',
7113
+ internalType: 'struct PoolKey',
7114
+ type: 'tuple',
7115
+ components: [
7116
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7117
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7118
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7119
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7120
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7121
+ ],
7122
+ indexed: false,
7123
+ },
7124
+ {
7125
+ name: 'poolKeyHash',
7126
+ internalType: 'bytes32',
7127
+ type: 'bytes32',
7128
+ indexed: false,
7129
+ },
7130
+ {
7131
+ name: 'version',
7132
+ internalType: 'string',
7133
+ type: 'string',
7134
+ indexed: false,
7135
+ },
7136
+ ],
7137
+ name: 'CreatorCoinCreated',
7138
+ },
7139
+ {
7140
+ type: 'event',
7141
+ anonymous: false,
7142
+ inputs: [
7143
+ {
7144
+ name: 'version',
7145
+ internalType: 'uint64',
7146
+ type: 'uint64',
7147
+ indexed: false,
7148
+ },
7149
+ ],
7150
+ name: 'Initialized',
7151
+ },
7152
+ {
7153
+ type: 'event',
7154
+ anonymous: false,
7155
+ inputs: [
7156
+ {
7157
+ name: 'previousOwner',
7158
+ internalType: 'address',
7159
+ type: 'address',
7160
+ indexed: true,
7161
+ },
7162
+ {
7163
+ name: 'newOwner',
7164
+ internalType: 'address',
7165
+ type: 'address',
7166
+ indexed: true,
7167
+ },
7168
+ ],
7169
+ name: 'OwnershipTransferStarted',
7170
+ },
7171
+ {
7172
+ type: 'event',
7173
+ anonymous: false,
7174
+ inputs: [
7175
+ {
7176
+ name: 'previousOwner',
7177
+ internalType: 'address',
7178
+ type: 'address',
7179
+ indexed: true,
7180
+ },
7181
+ {
7182
+ name: 'newOwner',
7183
+ internalType: 'address',
7184
+ type: 'address',
7185
+ indexed: true,
7186
+ },
7187
+ ],
7188
+ name: 'OwnershipTransferred',
7189
+ },
7190
+ {
7191
+ type: 'event',
7192
+ anonymous: false,
7193
+ inputs: [
7194
+ {
7195
+ name: 'implementation',
7196
+ internalType: 'address',
7197
+ type: 'address',
7198
+ indexed: true,
7199
+ },
7200
+ ],
7201
+ name: 'Upgraded',
7202
+ },
7203
+ {
7204
+ type: 'error',
7205
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
7206
+ name: 'AddressEmptyCode',
7207
+ },
7208
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
7209
+ { type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
7210
+ { type: 'error', inputs: [], name: 'Deprecated' },
7211
+ {
7212
+ type: 'error',
7213
+ inputs: [
7214
+ { name: 'implementation', internalType: 'address', type: 'address' },
7215
+ ],
7216
+ name: 'ERC1967InvalidImplementation',
7217
+ },
7218
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
7219
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
7220
+ { type: 'error', inputs: [], name: 'FailedCall' },
7221
+ { type: 'error', inputs: [], name: 'FailedDeployment' },
7222
+ {
7223
+ type: 'error',
7224
+ inputs: [
7225
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
7226
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
7227
+ ],
7228
+ name: 'InsufficientBalance',
7229
+ },
7230
+ { type: 'error', inputs: [], name: 'InvalidConfig' },
7231
+ { type: 'error', inputs: [], name: 'InvalidHook' },
7232
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
7233
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
7234
+ {
7235
+ type: 'error',
7236
+ inputs: [
7237
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
7238
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
7239
+ ],
7240
+ name: 'InvalidTickRangeMisordered',
7241
+ },
7242
+ {
7243
+ type: 'error',
7244
+ inputs: [
7245
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
7246
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
7247
+ ],
7248
+ name: 'MaxShareToBeSoldExceeded',
7249
+ },
7250
+ { type: 'error', inputs: [], name: 'NotInitializing' },
7251
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
7252
+ {
7253
+ type: 'error',
7254
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
7255
+ name: 'OwnableInvalidOwner',
7256
+ },
7257
+ {
7258
+ type: 'error',
7259
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
7260
+ name: 'OwnableUnauthorizedAccount',
7261
+ },
7262
+ { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
7263
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
7264
+ {
7265
+ type: 'error',
7266
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
7267
+ name: 'UUPSUnsupportedProxiableUUID',
7268
+ },
7269
+ {
7270
+ type: 'error',
7271
+ inputs: [
7272
+ { name: 'currentName', internalType: 'string', type: 'string' },
7273
+ { name: 'newName', internalType: 'string', type: 'string' },
7274
+ ],
7275
+ name: 'UpgradeToMismatchedContractName',
7276
+ },
7277
+ { type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
7278
+ { type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
7279
+ { type: 'error', inputs: [], name: 'AddressZero' },
7280
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
7281
+ {
7282
+ type: 'error',
7283
+ inputs: [
7284
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
7285
+ { name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
7286
+ ],
7287
+ name: 'InsufficientInputCurrency',
7288
+ },
7289
+ { type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
7290
+ { type: 'error', inputs: [], name: 'NotFactory' },
7291
+ { type: 'error', inputs: [], name: 'OnlyPoolManager' },
7292
+ {
7293
+ type: 'error',
7294
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
7295
+ name: 'SafeERC20FailedOperation',
7296
+ },
7297
+ { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
7298
+ { type: 'error', inputs: [], name: 'AddressZero' },
7299
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
7300
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
7301
+ {
7302
+ type: 'error',
7303
+ inputs: [],
7304
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
7305
+ },
7306
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
7307
+ {
7308
+ type: 'error',
7309
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
7310
+ name: 'ECDSAInvalidSignatureLength',
7311
+ },
7312
+ {
7313
+ type: 'error',
7314
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
7315
+ name: 'ECDSAInvalidSignatureS',
7316
+ },
7317
+ {
7318
+ type: 'error',
7319
+ inputs: [
7320
+ { name: 'spender', internalType: 'address', type: 'address' },
7321
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
7322
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
7323
+ ],
7324
+ name: 'ERC20InsufficientAllowance',
7325
+ },
7326
+ {
7327
+ type: 'error',
7328
+ inputs: [
7329
+ { name: 'sender', internalType: 'address', type: 'address' },
7330
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
7331
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
7332
+ ],
7333
+ name: 'ERC20InsufficientBalance',
7334
+ },
7335
+ {
7336
+ type: 'error',
7337
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
7338
+ name: 'ERC20InvalidApprover',
7339
+ },
7340
+ {
7341
+ type: 'error',
7342
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
7343
+ name: 'ERC20InvalidReceiver',
7344
+ },
7345
+ {
7346
+ type: 'error',
7347
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
7348
+ name: 'ERC20InvalidSender',
7349
+ },
7350
+ {
7351
+ type: 'error',
7352
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
7353
+ name: 'ERC20InvalidSpender',
7354
+ },
7355
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
7356
+ {
7357
+ type: 'error',
7358
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
7359
+ name: 'ERC2612ExpiredSignature',
7360
+ },
7361
+ {
7362
+ type: 'error',
7363
+ inputs: [
7364
+ { name: 'signer', internalType: 'address', type: 'address' },
7365
+ { name: 'owner', internalType: 'address', type: 'address' },
7366
+ ],
7367
+ name: 'ERC2612InvalidSigner',
7368
+ },
7369
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
7370
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
7371
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
7372
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
7373
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
7374
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
7375
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
7376
+ {
7377
+ type: 'error',
7378
+ inputs: [
7379
+ { name: 'account', internalType: 'address', type: 'address' },
7380
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
7381
+ ],
7382
+ name: 'InvalidAccountNonce',
7383
+ },
7384
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
7385
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
7386
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
7387
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
7388
+ {
7389
+ type: 'error',
7390
+ inputs: [
7391
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
7392
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
7393
+ ],
7394
+ name: 'InvalidTickRangeMisordered',
7395
+ },
7396
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
7397
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
7398
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
7399
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
7400
+ {
7401
+ type: 'error',
7402
+ inputs: [
7403
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
7404
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
7405
+ ],
7406
+ name: 'MaxShareToBeSoldExceeded',
7407
+ },
7408
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
7409
+ { type: 'error', inputs: [], name: 'NotInitializing' },
7410
+ { type: 'error', inputs: [], name: 'NotOwner' },
7411
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
7412
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
7413
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
7414
+ {
7415
+ type: 'error',
7416
+ inputs: [
7417
+ { name: 'sender', internalType: 'address', type: 'address' },
7418
+ { name: 'pool', internalType: 'address', type: 'address' },
7419
+ ],
7420
+ name: 'OnlyPool',
7421
+ },
7422
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
7423
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
7424
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
7425
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
7426
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
7427
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
7428
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
7429
+ {
7430
+ type: 'error',
7431
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
7432
+ name: 'InvalidCallbackId',
7433
+ },
7434
+ {
7435
+ type: 'error',
7436
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
7437
+ name: 'InvalidNewHook',
7438
+ },
7439
+ {
7440
+ type: 'error',
7441
+ inputs: [
7442
+ {
7443
+ name: 'key',
7444
+ internalType: 'struct PoolKey',
7445
+ type: 'tuple',
7446
+ components: [
7447
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7448
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7449
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7450
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7451
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7452
+ ],
7453
+ },
7454
+ ],
7455
+ name: 'NoCoinForHook',
7456
+ },
7457
+ {
7458
+ type: 'error',
7459
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
7460
+ name: 'NotACoin',
7461
+ },
7462
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
7463
+ {
7464
+ type: 'error',
7465
+ inputs: [
7466
+ { name: 'caller', internalType: 'address', type: 'address' },
7467
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
7468
+ ],
7469
+ name: 'OnlyCoin',
7470
+ },
7471
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
7472
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
7473
+ {
7474
+ type: 'error',
7475
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
7476
+ name: 'SafeERC20FailedOperation',
7477
+ },
7478
+ {
7479
+ type: 'error',
7480
+ inputs: [],
7481
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
7482
+ },
7483
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
7484
+ {
7485
+ type: 'error',
7486
+ inputs: [
7487
+ { name: 'oldHook', internalType: 'address', type: 'address' },
7488
+ { name: 'newHook', internalType: 'address', type: 'address' },
7489
+ ],
7490
+ name: 'UpgradePathNotRegistered',
7491
+ },
7492
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
7493
+ { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
7494
+ { type: 'error', inputs: [], name: 'AddressZero' },
7495
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
7496
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
7497
+ {
7498
+ type: 'error',
7499
+ inputs: [
7500
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
7501
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
7502
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
7503
+ ],
7504
+ name: 'CoinMismatch',
7505
+ },
7506
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
7507
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
7508
+ {
7509
+ type: 'error',
7510
+ inputs: [
7511
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
7512
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
7513
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
7514
+ ],
7515
+ name: 'InvalidFillWindow',
7516
+ },
7517
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
7518
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
7519
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
7520
+ {
7521
+ type: 'error',
7522
+ inputs: [
7523
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
7524
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
7525
+ ],
7526
+ name: 'MinAmountNotReached',
7527
+ },
7528
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
7529
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
7530
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
7531
+ { type: 'error', inputs: [], name: 'OrderClosed' },
7532
+ { type: 'error', inputs: [], name: 'OrderFillable' },
7533
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
7534
+ {
7535
+ type: 'error',
7536
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
7537
+ name: 'OwnableInvalidOwner',
7538
+ },
7539
+ {
7540
+ type: 'error',
7541
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
7542
+ name: 'OwnableUnauthorizedAccount',
7543
+ },
7544
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
7545
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
7546
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
7547
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
7548
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
7549
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
7550
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
7551
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
7552
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
7553
+ ] as const
7554
+
7555
+ /**
7556
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xfAf4978830e099F0952eBabC89fEb0B18Ba771D8)
7557
+ */
7558
+ export const devCoinFactoryAddress = {
7559
+ 8453: '0xfAf4978830e099F0952eBabC89fEb0B18Ba771D8',
7560
+ } as const
7561
+
7562
+ /**
7563
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xfAf4978830e099F0952eBabC89fEb0B18Ba771D8)
7564
+ */
7565
+ export const devCoinFactoryConfig = {
7566
+ address: devCoinFactoryAddress,
7567
+ abi: devCoinFactoryABI,
7568
+ } as const
7569
+
7570
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7571
+ // DevZoraLimitOrderBook
7572
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7573
+
7574
+ /**
7575
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xE9443442e7b3c024e69c427D21580b9342450121)
7576
+ */
7577
+ export const devZoraLimitOrderBookABI = [
7578
+ {
7579
+ type: 'constructor',
7580
+ inputs: [
7581
+ { name: 'poolManager_', internalType: 'address', type: 'address' },
7582
+ {
7583
+ name: 'zoraCoinVersionLookup_',
7584
+ internalType: 'address',
7585
+ type: 'address',
7586
+ },
7587
+ { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
7588
+ { name: 'owner_', internalType: 'address', type: 'address' },
7589
+ { name: 'weth_', internalType: 'address', type: 'address' },
7590
+ ],
7591
+ stateMutability: 'nonpayable',
7592
+ },
7593
+ { type: 'receive', stateMutability: 'payable' },
7594
+ {
7595
+ type: 'function',
7596
+ inputs: [],
7597
+ name: 'acceptOwnership',
7598
+ outputs: [],
7599
+ stateMutability: 'nonpayable',
7600
+ },
7601
+ {
7602
+ type: 'function',
7603
+ inputs: [
7604
+ { name: 'maker', internalType: 'address', type: 'address' },
7605
+ { name: 'coin', internalType: 'address', type: 'address' },
7606
+ ],
7607
+ name: 'balanceOf',
7608
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
7609
+ stateMutability: 'view',
7610
+ },
7611
+ {
7612
+ type: 'function',
7613
+ inputs: [
7614
+ {
7615
+ name: 'key',
7616
+ internalType: 'struct PoolKey',
7617
+ type: 'tuple',
7618
+ components: [
7619
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7620
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7621
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7622
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7623
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7624
+ ],
7625
+ },
7626
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
7627
+ { name: 'orderSizes', internalType: 'uint256[]', type: 'uint256[]' },
7628
+ { name: 'orderTicks', internalType: 'int24[]', type: 'int24[]' },
7629
+ { name: 'maker', internalType: 'address', type: 'address' },
7630
+ ],
7631
+ name: 'create',
7632
+ outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
7633
+ stateMutability: 'payable',
7634
+ },
7635
+ {
7636
+ type: 'function',
7637
+ inputs: [
7638
+ {
7639
+ name: 'key',
7640
+ internalType: 'struct PoolKey',
7641
+ type: 'tuple',
7642
+ components: [
7643
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7644
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7645
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7646
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7647
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7648
+ ],
7649
+ },
7650
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
7651
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
7652
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
7653
+ { name: 'maxFillCount', internalType: 'uint256', type: 'uint256' },
7654
+ { name: 'fillReferral', internalType: 'address', type: 'address' },
7655
+ ],
7656
+ name: 'fill',
7657
+ outputs: [],
7658
+ stateMutability: 'nonpayable',
7659
+ },
7660
+ {
7661
+ type: 'function',
7662
+ inputs: [
7663
+ {
7664
+ name: 'batches',
7665
+ internalType: 'struct IZoraLimitOrderBook.OrderBatch[]',
7666
+ type: 'tuple[]',
7667
+ components: [
7668
+ {
7669
+ name: 'key',
7670
+ internalType: 'struct PoolKey',
7671
+ type: 'tuple',
7672
+ components: [
7673
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7674
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7675
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7676
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7677
+ {
7678
+ name: 'hooks',
7679
+ internalType: 'contract IHooks',
7680
+ type: 'address',
7681
+ },
7682
+ ],
7683
+ },
7684
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
7685
+ { name: 'orderIds', internalType: 'bytes32[]', type: 'bytes32[]' },
7686
+ ],
7687
+ },
7688
+ { name: 'fillReferral', internalType: 'address', type: 'address' },
7689
+ ],
7690
+ name: 'fill',
7691
+ outputs: [],
7692
+ stateMutability: 'nonpayable',
7693
+ },
7694
+ {
7695
+ type: 'function',
7696
+ inputs: [],
7697
+ name: 'getMaxFillCount',
7698
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
7699
+ stateMutability: 'view',
7700
+ },
7701
+ {
7702
+ type: 'function',
7703
+ inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
7704
+ name: 'isPermittedCaller',
7705
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7706
+ stateMutability: 'view',
7707
+ },
7708
+ {
7709
+ type: 'function',
7710
+ inputs: [],
7711
+ name: 'owner',
7712
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7713
+ stateMutability: 'view',
7714
+ },
7715
+ {
7716
+ type: 'function',
7717
+ inputs: [],
7718
+ name: 'pendingOwner',
7719
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7720
+ stateMutability: 'view',
7721
+ },
7722
+ {
7723
+ type: 'function',
7724
+ inputs: [],
7725
+ name: 'poolManager',
7726
+ outputs: [
7727
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
7728
+ ],
7729
+ stateMutability: 'view',
7730
+ },
7731
+ {
7732
+ type: 'function',
7733
+ inputs: [],
7734
+ name: 'renounceOwnership',
7735
+ outputs: [],
7736
+ stateMutability: 'nonpayable',
7737
+ },
7738
+ {
7739
+ type: 'function',
7740
+ inputs: [
7741
+ { name: 'maxFillCount', internalType: 'uint256', type: 'uint256' },
7742
+ ],
7743
+ name: 'setMaxFillCount',
7744
+ outputs: [],
7745
+ stateMutability: 'nonpayable',
7746
+ },
7747
+ {
7748
+ type: 'function',
7749
+ inputs: [
7750
+ { name: 'callers', internalType: 'address[]', type: 'address[]' },
7751
+ { name: 'permitted', internalType: 'bool[]', type: 'bool[]' },
7752
+ ],
7753
+ name: 'setPermittedCallers',
7754
+ outputs: [],
7755
+ stateMutability: 'nonpayable',
7756
+ },
7757
+ {
7758
+ type: 'function',
7759
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
7760
+ name: 'transferOwnership',
7761
+ outputs: [],
7762
+ stateMutability: 'nonpayable',
7763
+ },
7764
+ {
7765
+ type: 'function',
7766
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
7767
+ name: 'unlockCallback',
7768
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
7769
+ stateMutability: 'nonpayable',
7770
+ },
7771
+ {
7772
+ type: 'function',
7773
+ inputs: [],
7774
+ name: 'weth',
7775
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7776
+ stateMutability: 'view',
7777
+ },
7778
+ {
7779
+ type: 'function',
7780
+ inputs: [
7781
+ { name: 'orderIds', internalType: 'bytes32[]', type: 'bytes32[]' },
7782
+ { name: 'coin', internalType: 'address', type: 'address' },
7783
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
7784
+ { name: 'recipient', internalType: 'address', type: 'address' },
7785
+ ],
7786
+ name: 'withdraw',
7787
+ outputs: [],
7788
+ stateMutability: 'nonpayable',
7789
+ },
7790
+ {
7791
+ type: 'function',
7792
+ inputs: [],
7793
+ name: 'zoraCoinVersionLookup',
7794
+ outputs: [
7795
+ {
7796
+ name: '',
7797
+ internalType: 'contract IDeployedCoinVersionLookup',
7798
+ type: 'address',
7799
+ },
7800
+ ],
7801
+ stateMutability: 'view',
7802
+ },
7803
+ {
7804
+ type: 'function',
7805
+ inputs: [],
7806
+ name: 'zoraHookRegistry',
7807
+ outputs: [
7808
+ { name: '', internalType: 'contract IZoraHookRegistry', type: 'address' },
7809
+ ],
7810
+ stateMutability: 'view',
7811
+ },
7812
+ {
7813
+ type: 'event',
7814
+ anonymous: false,
7815
+ inputs: [
7816
+ {
7817
+ name: 'maker',
7818
+ internalType: 'address',
7819
+ type: 'address',
7820
+ indexed: true,
7821
+ },
7822
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
7823
+ {
7824
+ name: 'poolKeyHash',
7825
+ internalType: 'bytes32',
7826
+ type: 'bytes32',
7827
+ indexed: false,
7828
+ },
7829
+ {
7830
+ name: 'isCurrency0',
7831
+ internalType: 'bool',
7832
+ type: 'bool',
7833
+ indexed: false,
7834
+ },
7835
+ {
7836
+ name: 'orderTick',
7837
+ internalType: 'int24',
7838
+ type: 'int24',
7839
+ indexed: false,
7840
+ },
7841
+ {
7842
+ name: 'currentTick',
7843
+ internalType: 'int24',
7844
+ type: 'int24',
7845
+ indexed: false,
7846
+ },
7847
+ {
7848
+ name: 'orderSize',
7849
+ internalType: 'uint128',
7850
+ type: 'uint128',
7851
+ indexed: false,
7852
+ },
7853
+ {
7854
+ name: 'orderId',
7855
+ internalType: 'bytes32',
7856
+ type: 'bytes32',
7857
+ indexed: false,
7858
+ },
7859
+ ],
7860
+ name: 'LimitOrderCreated',
7861
+ },
7862
+ {
7863
+ type: 'event',
7864
+ anonymous: false,
7865
+ inputs: [
7866
+ {
7867
+ name: 'maker',
7868
+ internalType: 'address',
7869
+ type: 'address',
7870
+ indexed: true,
7871
+ },
7872
+ {
7873
+ name: 'coinIn',
7874
+ internalType: 'address',
7875
+ type: 'address',
7876
+ indexed: true,
7877
+ },
7878
+ {
7879
+ name: 'coinOut',
7880
+ internalType: 'address',
7881
+ type: 'address',
7882
+ indexed: false,
7883
+ },
7884
+ {
7885
+ name: 'amountIn',
7886
+ internalType: 'uint128',
7887
+ type: 'uint128',
7888
+ indexed: false,
7889
+ },
7890
+ {
7891
+ name: 'amountOut',
7892
+ internalType: 'uint128',
7893
+ type: 'uint128',
7894
+ indexed: false,
7895
+ },
7896
+ {
7897
+ name: 'fillReferral',
7898
+ internalType: 'address',
7899
+ type: 'address',
7900
+ indexed: false,
7901
+ },
7902
+ {
7903
+ name: 'fillReferralAmount',
7904
+ internalType: 'uint128',
7905
+ type: 'uint128',
7906
+ indexed: false,
7907
+ },
7908
+ {
7909
+ name: 'poolKeyHash',
7910
+ internalType: 'bytes32',
7911
+ type: 'bytes32',
7912
+ indexed: false,
7913
+ },
7914
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
7915
+ {
7916
+ name: 'orderId',
7917
+ internalType: 'bytes32',
7918
+ type: 'bytes32',
7919
+ indexed: false,
7920
+ },
7921
+ ],
7922
+ name: 'LimitOrderFilled',
7923
+ },
7924
+ {
7925
+ type: 'event',
7926
+ anonymous: false,
7927
+ inputs: [
7928
+ {
7929
+ name: 'maker',
7930
+ internalType: 'address',
7931
+ type: 'address',
7932
+ indexed: true,
7933
+ },
7934
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
7935
+ {
7936
+ name: 'poolKeyHash',
7937
+ internalType: 'bytes32',
7938
+ type: 'bytes32',
7939
+ indexed: false,
7940
+ },
7941
+ {
7942
+ name: 'isCurrency0',
7943
+ internalType: 'bool',
7944
+ type: 'bool',
7945
+ indexed: false,
7946
+ },
7947
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
7948
+ {
7949
+ name: 'orderSize',
7950
+ internalType: 'uint128',
7951
+ type: 'uint128',
7952
+ indexed: false,
7953
+ },
7954
+ {
7955
+ name: 'orderId',
7956
+ internalType: 'bytes32',
7957
+ type: 'bytes32',
7958
+ indexed: false,
7959
+ },
7960
+ {
7961
+ name: 'isCancelled',
7962
+ internalType: 'bool',
7963
+ type: 'bool',
7964
+ indexed: false,
7965
+ },
7966
+ ],
7967
+ name: 'LimitOrderUpdated',
7968
+ },
7969
+ {
7970
+ type: 'event',
7971
+ anonymous: false,
7972
+ inputs: [
7973
+ {
7974
+ name: 'maker',
7975
+ internalType: 'address',
7976
+ type: 'address',
7977
+ indexed: true,
7978
+ },
7979
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
7980
+ {
7981
+ name: 'newBalance',
7982
+ internalType: 'uint256',
7983
+ type: 'uint256',
7984
+ indexed: false,
7985
+ },
7986
+ ],
7987
+ name: 'MakerBalanceUpdated',
7988
+ },
7989
+ {
7990
+ type: 'event',
7991
+ anonymous: false,
7992
+ inputs: [
7993
+ {
7994
+ name: 'previousOwner',
7995
+ internalType: 'address',
7996
+ type: 'address',
7997
+ indexed: true,
7998
+ },
7999
+ {
8000
+ name: 'newOwner',
8001
+ internalType: 'address',
8002
+ type: 'address',
8003
+ indexed: true,
8004
+ },
8005
+ ],
8006
+ name: 'OwnershipTransferStarted',
8007
+ },
8008
+ {
8009
+ type: 'event',
8010
+ anonymous: false,
8011
+ inputs: [
8012
+ {
8013
+ name: 'previousOwner',
8014
+ internalType: 'address',
8015
+ type: 'address',
8016
+ indexed: true,
8017
+ },
8018
+ {
8019
+ name: 'newOwner',
8020
+ internalType: 'address',
8021
+ type: 'address',
8022
+ indexed: true,
8023
+ },
8024
+ ],
8025
+ name: 'OwnershipTransferred',
8026
+ },
8027
+ {
8028
+ type: 'event',
8029
+ anonymous: false,
8030
+ inputs: [
8031
+ {
8032
+ name: 'caller',
8033
+ internalType: 'address',
8034
+ type: 'address',
8035
+ indexed: true,
8036
+ },
8037
+ { name: 'permitted', internalType: 'bool', type: 'bool', indexed: false },
8038
+ ],
8039
+ name: 'PermittedCallerUpdated',
8040
+ },
8041
+ { type: 'error', inputs: [], name: 'AddressZero' },
8042
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
8043
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
8044
+ {
8045
+ type: 'error',
8046
+ inputs: [
8047
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
8048
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8049
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
8050
+ ],
8051
+ name: 'CoinMismatch',
8052
+ },
8053
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
8054
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
8055
+ {
8056
+ type: 'error',
8057
+ inputs: [
8058
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
8059
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
8060
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
8061
+ ],
8062
+ name: 'InvalidFillWindow',
8063
+ },
8064
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
8065
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
8066
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
8067
+ {
8068
+ type: 'error',
8069
+ inputs: [
8070
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
8071
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
8072
+ ],
8073
+ name: 'MinAmountNotReached',
8074
+ },
8075
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
8076
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8077
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
8078
+ { type: 'error', inputs: [], name: 'OrderClosed' },
8079
+ { type: 'error', inputs: [], name: 'OrderFillable' },
8080
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
8081
+ {
8082
+ type: 'error',
8083
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8084
+ name: 'OwnableInvalidOwner',
8085
+ },
8086
+ {
8087
+ type: 'error',
8088
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8089
+ name: 'OwnableUnauthorizedAccount',
8090
+ },
8091
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8092
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
8093
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
8094
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
8095
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
8096
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
8097
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
8098
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
8099
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
8100
+ { type: 'error', inputs: [], name: 'AddressZero' },
8101
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
8102
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
8103
+ {
8104
+ type: 'error',
8105
+ inputs: [],
8106
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
8107
+ },
8108
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
8109
+ {
8110
+ type: 'error',
8111
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
8112
+ name: 'ECDSAInvalidSignatureLength',
8113
+ },
8114
+ {
8115
+ type: 'error',
8116
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
8117
+ name: 'ECDSAInvalidSignatureS',
8118
+ },
8119
+ {
8120
+ type: 'error',
8121
+ inputs: [
8122
+ { name: 'spender', internalType: 'address', type: 'address' },
8123
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
8124
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8125
+ ],
8126
+ name: 'ERC20InsufficientAllowance',
8127
+ },
8128
+ {
8129
+ type: 'error',
8130
+ inputs: [
8131
+ { name: 'sender', internalType: 'address', type: 'address' },
8132
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
8133
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8134
+ ],
8135
+ name: 'ERC20InsufficientBalance',
8136
+ },
8137
+ {
8138
+ type: 'error',
8139
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
8140
+ name: 'ERC20InvalidApprover',
8141
+ },
8142
+ {
8143
+ type: 'error',
8144
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
8145
+ name: 'ERC20InvalidReceiver',
8146
+ },
8147
+ {
8148
+ type: 'error',
8149
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
8150
+ name: 'ERC20InvalidSender',
8151
+ },
8152
+ {
8153
+ type: 'error',
8154
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
8155
+ name: 'ERC20InvalidSpender',
8156
+ },
8157
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
8158
+ {
8159
+ type: 'error',
8160
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
8161
+ name: 'ERC2612ExpiredSignature',
8162
+ },
8163
+ {
8164
+ type: 'error',
8165
+ inputs: [
8166
+ { name: 'signer', internalType: 'address', type: 'address' },
8167
+ { name: 'owner', internalType: 'address', type: 'address' },
8168
+ ],
8169
+ name: 'ERC2612InvalidSigner',
8170
+ },
8171
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
8172
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
8173
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8174
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
8175
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
8176
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
8177
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
8178
+ {
8179
+ type: 'error',
8180
+ inputs: [
8181
+ { name: 'account', internalType: 'address', type: 'address' },
8182
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
8183
+ ],
8184
+ name: 'InvalidAccountNonce',
8185
+ },
8186
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
8187
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
8188
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
8189
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
8190
+ {
8191
+ type: 'error',
8192
+ inputs: [
8193
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
8194
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
8195
+ ],
8196
+ name: 'InvalidTickRangeMisordered',
8197
+ },
8198
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
8199
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
8200
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
8201
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
8202
+ {
8203
+ type: 'error',
8204
+ inputs: [
8205
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8206
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
8207
+ ],
8208
+ name: 'MaxShareToBeSoldExceeded',
8209
+ },
8210
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
8211
+ { type: 'error', inputs: [], name: 'NotInitializing' },
8212
+ { type: 'error', inputs: [], name: 'NotOwner' },
8213
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
8214
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
8215
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
8216
+ {
8217
+ type: 'error',
8218
+ inputs: [
8219
+ { name: 'sender', internalType: 'address', type: 'address' },
8220
+ { name: 'pool', internalType: 'address', type: 'address' },
8221
+ ],
8222
+ name: 'OnlyPool',
8223
+ },
8224
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
8225
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
8226
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
8227
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
8228
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
8229
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8230
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
8231
+ {
8232
+ type: 'error',
8233
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
8234
+ name: 'InvalidCallbackId',
8235
+ },
8236
+ {
8237
+ type: 'error',
8238
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
8239
+ name: 'InvalidNewHook',
8240
+ },
8241
+ {
8242
+ type: 'error',
8243
+ inputs: [
8244
+ {
8245
+ name: 'key',
8246
+ internalType: 'struct PoolKey',
8247
+ type: 'tuple',
8248
+ components: [
8249
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8250
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8251
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8252
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8253
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
8254
+ ],
8255
+ },
8256
+ ],
8257
+ name: 'NoCoinForHook',
8258
+ },
8259
+ {
8260
+ type: 'error',
8261
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
8262
+ name: 'NotACoin',
8263
+ },
8264
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8265
+ {
8266
+ type: 'error',
8267
+ inputs: [
8268
+ { name: 'caller', internalType: 'address', type: 'address' },
8269
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8270
+ ],
8271
+ name: 'OnlyCoin',
8272
+ },
8273
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8274
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
8275
+ {
8276
+ type: 'error',
8277
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
8278
+ name: 'SafeERC20FailedOperation',
8279
+ },
8280
+ {
8281
+ type: 'error',
8282
+ inputs: [],
8283
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
8284
+ },
8285
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
8286
+ {
8287
+ type: 'error',
8288
+ inputs: [
8289
+ { name: 'oldHook', internalType: 'address', type: 'address' },
8290
+ { name: 'newHook', internalType: 'address', type: 'address' },
8291
+ ],
8292
+ name: 'UpgradePathNotRegistered',
8293
+ },
8294
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
8295
+ { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
8296
+ ] as const
8297
+
8298
+ /**
8299
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xE9443442e7b3c024e69c427D21580b9342450121)
8300
+ */
8301
+ export const devZoraLimitOrderBookAddress = {
8302
+ 8453: '0xE9443442e7b3c024e69c427D21580b9342450121',
8303
+ } as const
8304
+
8305
+ /**
8306
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xE9443442e7b3c024e69c427D21580b9342450121)
8307
+ */
8308
+ export const devZoraLimitOrderBookConfig = {
8309
+ address: devZoraLimitOrderBookAddress,
8310
+ abi: devZoraLimitOrderBookABI,
8311
+ } as const
8312
+
8313
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8314
+ // DevZoraRouter
8315
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8316
+
8317
+ /**
8318
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xb3F0aAFd6d69e524DC83ae773bc739688d4F658d)
8319
+ */
8320
+ export const devZoraRouterABI = [
8321
+ {
8322
+ type: 'constructor',
8323
+ inputs: [
8324
+ {
8325
+ name: 'poolManager_',
8326
+ internalType: 'contract IPoolManager',
8327
+ type: 'address',
8328
+ },
8329
+ {
8330
+ name: 'zoraLimitOrderBook_',
8331
+ internalType: 'contract IZoraLimitOrderBook',
8332
+ type: 'address',
8333
+ },
8334
+ {
8335
+ name: 'swapRouter_',
8336
+ internalType: 'contract ISwapRouter',
8337
+ type: 'address',
8338
+ },
8339
+ { name: 'permit2_', internalType: 'address', type: 'address' },
8340
+ { name: 'owner_', internalType: 'address', type: 'address' },
8341
+ ],
8342
+ stateMutability: 'nonpayable',
8343
+ },
8344
+ { type: 'receive', stateMutability: 'payable' },
8345
+ {
8346
+ type: 'function',
8347
+ inputs: [],
8348
+ name: 'acceptOwnership',
8349
+ outputs: [],
8350
+ stateMutability: 'nonpayable',
8351
+ },
8352
+ {
8353
+ type: 'function',
8354
+ inputs: [],
8355
+ name: 'getLimitOrderConfig',
8356
+ outputs: [
8357
+ {
8358
+ name: '',
8359
+ internalType: 'struct LimitOrderConfig',
8360
+ type: 'tuple',
8361
+ components: [
8362
+ { name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
8363
+ { name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
8364
+ ],
8365
+ },
8366
+ ],
8367
+ stateMutability: 'view',
8368
+ },
8369
+ {
8370
+ type: 'function',
8371
+ inputs: [],
8372
+ name: 'msgSender',
8373
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8374
+ stateMutability: 'view',
8375
+ },
8376
+ {
8377
+ type: 'function',
8378
+ inputs: [],
8379
+ name: 'owner',
8380
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8381
+ stateMutability: 'view',
8382
+ },
8383
+ {
8384
+ type: 'function',
8385
+ inputs: [],
8386
+ name: 'pendingOwner',
8387
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8388
+ stateMutability: 'view',
8389
+ },
8390
+ {
8391
+ type: 'function',
8392
+ inputs: [],
8393
+ name: 'poolManager',
8394
+ outputs: [
8395
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
8396
+ ],
8397
+ stateMutability: 'view',
8398
+ },
8399
+ {
8400
+ type: 'function',
8401
+ inputs: [],
8402
+ name: 'renounceOwnership',
8403
+ outputs: [],
8404
+ stateMutability: 'nonpayable',
8405
+ },
8406
+ {
8407
+ type: 'function',
8408
+ inputs: [
8409
+ {
8410
+ name: 'config',
8411
+ internalType: 'struct LimitOrderConfig',
8412
+ type: 'tuple',
8413
+ components: [
8414
+ { name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
8415
+ { name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
8416
+ ],
8417
+ },
8418
+ ],
8419
+ name: 'setLimitOrderConfig',
8420
+ outputs: [],
8421
+ stateMutability: 'nonpayable',
8422
+ },
8423
+ {
8424
+ type: 'function',
8425
+ inputs: [],
8426
+ name: 'swapRouter',
8427
+ outputs: [
8428
+ { name: '', internalType: 'contract ISwapRouter', type: 'address' },
8429
+ ],
8430
+ stateMutability: 'view',
8431
+ },
8432
+ {
8433
+ type: 'function',
8434
+ inputs: [
8435
+ {
8436
+ name: 'params',
8437
+ internalType: 'struct SwapWithLimitOrders.SwapWithLimitOrdersParams',
8438
+ type: 'tuple',
8439
+ components: [
8440
+ { name: 'recipient', internalType: 'address', type: 'address' },
8441
+ {
8442
+ name: 'limitOrderConfig',
8443
+ internalType: 'struct LimitOrderConfig',
8444
+ type: 'tuple',
8445
+ components: [
8446
+ {
8447
+ name: 'multiples',
8448
+ internalType: 'uint256[]',
8449
+ type: 'uint256[]',
8450
+ },
8451
+ {
8452
+ name: 'percentages',
8453
+ internalType: 'uint256[]',
8454
+ type: 'uint256[]',
8455
+ },
8456
+ ],
8457
+ },
8458
+ { name: 'inputCurrency', internalType: 'address', type: 'address' },
8459
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
8460
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes' },
8461
+ {
8462
+ name: 'v4Route',
8463
+ internalType: 'struct PoolKey[]',
8464
+ type: 'tuple[]',
8465
+ components: [
8466
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8467
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8468
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8469
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8470
+ {
8471
+ name: 'hooks',
8472
+ internalType: 'contract IHooks',
8473
+ type: 'address',
8474
+ },
8475
+ ],
8476
+ },
8477
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
8478
+ ],
8479
+ },
8480
+ ],
8481
+ name: 'swapWithLimitOrders',
8482
+ outputs: [{ name: 'delta', internalType: 'BalanceDelta', type: 'int256' }],
8483
+ stateMutability: 'payable',
8484
+ },
8485
+ {
8486
+ type: 'function',
8487
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
8488
+ name: 'transferOwnership',
8489
+ outputs: [],
8490
+ stateMutability: 'nonpayable',
8491
+ },
8492
+ {
8493
+ type: 'function',
8494
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
8495
+ name: 'unlockCallback',
8496
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
8497
+ stateMutability: 'nonpayable',
8498
+ },
8499
+ {
8500
+ type: 'function',
8501
+ inputs: [],
8502
+ name: 'zoraLimitOrderBook',
8503
+ outputs: [
8504
+ {
8505
+ name: '',
8506
+ internalType: 'contract IZoraLimitOrderBook',
8507
+ type: 'address',
8508
+ },
8509
+ ],
8510
+ stateMutability: 'view',
8511
+ },
8512
+ {
8513
+ type: 'event',
8514
+ anonymous: false,
8515
+ inputs: [
8516
+ {
8517
+ name: 'multiples',
8518
+ internalType: 'uint256[]',
8519
+ type: 'uint256[]',
8520
+ indexed: false,
8521
+ },
8522
+ {
8523
+ name: 'percentages',
8524
+ internalType: 'uint256[]',
8525
+ type: 'uint256[]',
8526
+ indexed: false,
8527
+ },
8528
+ ],
8529
+ name: 'LimitOrderConfigUpdated',
8530
+ },
8531
+ {
8532
+ type: 'event',
8533
+ anonymous: false,
8534
+ inputs: [
8535
+ {
8536
+ name: 'previousOwner',
8537
+ internalType: 'address',
8538
+ type: 'address',
8539
+ indexed: true,
8540
+ },
8541
+ {
8542
+ name: 'newOwner',
8543
+ internalType: 'address',
8544
+ type: 'address',
8545
+ indexed: true,
8546
+ },
8547
+ ],
8548
+ name: 'OwnershipTransferStarted',
8549
+ },
8550
+ {
8551
+ type: 'event',
8552
+ anonymous: false,
8553
+ inputs: [
8554
+ {
8555
+ name: 'previousOwner',
8556
+ internalType: 'address',
8557
+ type: 'address',
8558
+ indexed: true,
8559
+ },
8560
+ {
8561
+ name: 'newOwner',
8562
+ internalType: 'address',
8563
+ type: 'address',
8564
+ indexed: true,
8565
+ },
8566
+ ],
8567
+ name: 'OwnershipTransferred',
8568
+ },
8569
+ {
8570
+ type: 'event',
8571
+ anonymous: false,
8572
+ inputs: [
8573
+ {
8574
+ name: 'sender',
8575
+ internalType: 'address',
8576
+ type: 'address',
8577
+ indexed: true,
8578
+ },
8579
+ {
8580
+ name: 'recipient',
8581
+ internalType: 'address',
8582
+ type: 'address',
8583
+ indexed: true,
8584
+ },
8585
+ {
8586
+ name: 'poolKey',
8587
+ internalType: 'struct PoolKey',
8588
+ type: 'tuple',
8589
+ components: [
8590
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8591
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8592
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8593
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8594
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
8595
+ ],
8596
+ indexed: false,
8597
+ },
8598
+ {
8599
+ name: 'tickBeforeSwap',
8600
+ internalType: 'int24',
8601
+ type: 'int24',
8602
+ indexed: false,
8603
+ },
8604
+ {
8605
+ name: 'tickAfterSwap',
8606
+ internalType: 'int24',
8607
+ type: 'int24',
8608
+ indexed: false,
8609
+ },
8610
+ {
8611
+ name: 'amount0',
8612
+ internalType: 'int128',
8613
+ type: 'int128',
8614
+ indexed: false,
8615
+ },
8616
+ {
8617
+ name: 'amount1',
8618
+ internalType: 'int128',
8619
+ type: 'int128',
8620
+ indexed: false,
8621
+ },
8622
+ {
8623
+ name: 'sqrtPriceX96',
8624
+ internalType: 'uint160',
8625
+ type: 'uint160',
8626
+ indexed: false,
8627
+ },
8628
+ {
8629
+ name: 'orders',
8630
+ internalType: 'struct SwapWithLimitOrders.CreatedOrder[]',
8631
+ type: 'tuple[]',
8632
+ components: [
8633
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
8634
+ { name: 'multiple', internalType: 'uint256', type: 'uint256' },
8635
+ { name: 'percentage', internalType: 'uint256', type: 'uint256' },
8636
+ ],
8637
+ indexed: false,
8638
+ },
8639
+ ],
8640
+ name: 'SwapWithLimitOrdersExecuted',
8641
+ },
8642
+ { type: 'error', inputs: [], name: 'EmptyV4Route' },
8643
+ {
8644
+ type: 'error',
8645
+ inputs: [
8646
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
8647
+ { name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
8648
+ ],
8649
+ name: 'InsufficientInputCurrency',
8650
+ },
8651
+ { type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
8652
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
8653
+ { type: 'error', inputs: [], name: 'InvalidLimitOrderConfig' },
8654
+ { type: 'error', inputs: [], name: 'InvalidMultiple' },
8655
+ { type: 'error', inputs: [], name: 'InvalidPercent' },
8656
+ { type: 'error', inputs: [], name: 'LengthMismatch' },
8657
+ { type: 'error', inputs: [], name: 'OnlyPoolManager' },
8658
+ {
8659
+ type: 'error',
8660
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8661
+ name: 'OwnableInvalidOwner',
8662
+ },
8663
+ {
8664
+ type: 'error',
8665
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8666
+ name: 'OwnableUnauthorizedAccount',
8667
+ },
8668
+ { type: 'error', inputs: [], name: 'PercentOverflow' },
8669
+ {
8670
+ type: 'error',
8671
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
8672
+ name: 'SafeERC20FailedOperation',
8673
+ },
8674
+ { type: 'error', inputs: [], name: 'UnsafeCast' },
8675
+ { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
8676
+ { type: 'error', inputs: [], name: 'ZeroSwapDelta' },
8677
+ { type: 'error', inputs: [], name: 'AddressZero' },
8678
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
8679
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
8680
+ {
8681
+ type: 'error',
8682
+ inputs: [],
8683
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
8684
+ },
8685
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
8686
+ {
8687
+ type: 'error',
8688
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
8689
+ name: 'ECDSAInvalidSignatureLength',
8690
+ },
8691
+ {
8692
+ type: 'error',
8693
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
8694
+ name: 'ECDSAInvalidSignatureS',
8695
+ },
8696
+ {
8697
+ type: 'error',
8698
+ inputs: [
8699
+ { name: 'spender', internalType: 'address', type: 'address' },
8700
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
8701
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8702
+ ],
8703
+ name: 'ERC20InsufficientAllowance',
8704
+ },
8705
+ {
8706
+ type: 'error',
8707
+ inputs: [
8708
+ { name: 'sender', internalType: 'address', type: 'address' },
8709
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
8710
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8711
+ ],
8712
+ name: 'ERC20InsufficientBalance',
8713
+ },
8714
+ {
8715
+ type: 'error',
8716
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
8717
+ name: 'ERC20InvalidApprover',
8718
+ },
8719
+ {
8720
+ type: 'error',
8721
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
8722
+ name: 'ERC20InvalidReceiver',
8723
+ },
8724
+ {
8725
+ type: 'error',
8726
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
8727
+ name: 'ERC20InvalidSender',
8728
+ },
8729
+ {
8730
+ type: 'error',
8731
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
8732
+ name: 'ERC20InvalidSpender',
8733
+ },
8734
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
8735
+ {
8736
+ type: 'error',
8737
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
8738
+ name: 'ERC2612ExpiredSignature',
8739
+ },
8740
+ {
8741
+ type: 'error',
8742
+ inputs: [
8743
+ { name: 'signer', internalType: 'address', type: 'address' },
8744
+ { name: 'owner', internalType: 'address', type: 'address' },
8745
+ ],
8746
+ name: 'ERC2612InvalidSigner',
8747
+ },
8748
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
8749
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
8750
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8751
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
8752
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
8753
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
8754
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
8755
+ {
8756
+ type: 'error',
8757
+ inputs: [
8758
+ { name: 'account', internalType: 'address', type: 'address' },
8759
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
8760
+ ],
8761
+ name: 'InvalidAccountNonce',
8762
+ },
8763
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
8764
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
8765
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
8766
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
8767
+ {
8768
+ type: 'error',
8769
+ inputs: [
8770
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
8771
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
8772
+ ],
8773
+ name: 'InvalidTickRangeMisordered',
8774
+ },
8775
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
8776
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
8777
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
8778
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
8779
+ {
8780
+ type: 'error',
8781
+ inputs: [
8782
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8783
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
8784
+ ],
8785
+ name: 'MaxShareToBeSoldExceeded',
8786
+ },
8787
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
8788
+ { type: 'error', inputs: [], name: 'NotInitializing' },
8789
+ { type: 'error', inputs: [], name: 'NotOwner' },
8790
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
8791
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
8792
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
8793
+ {
8794
+ type: 'error',
8795
+ inputs: [
8796
+ { name: 'sender', internalType: 'address', type: 'address' },
8797
+ { name: 'pool', internalType: 'address', type: 'address' },
8798
+ ],
8799
+ name: 'OnlyPool',
8800
+ },
8801
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
8802
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
8803
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
8804
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
8805
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
8806
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8807
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
8808
+ {
8809
+ type: 'error',
8810
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
8811
+ name: 'InvalidCallbackId',
8812
+ },
8813
+ {
8814
+ type: 'error',
8815
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
8816
+ name: 'InvalidNewHook',
8817
+ },
8818
+ {
8819
+ type: 'error',
8820
+ inputs: [
8821
+ {
8822
+ name: 'key',
8823
+ internalType: 'struct PoolKey',
8824
+ type: 'tuple',
8825
+ components: [
8826
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8827
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8828
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8829
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8830
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
8831
+ ],
8832
+ },
8833
+ ],
8834
+ name: 'NoCoinForHook',
8835
+ },
8836
+ {
8837
+ type: 'error',
8838
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
8839
+ name: 'NotACoin',
8840
+ },
8841
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8842
+ {
8843
+ type: 'error',
8844
+ inputs: [
8845
+ { name: 'caller', internalType: 'address', type: 'address' },
8846
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8847
+ ],
8848
+ name: 'OnlyCoin',
8849
+ },
8850
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8851
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
8852
+ {
8853
+ type: 'error',
8854
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
8855
+ name: 'SafeERC20FailedOperation',
8856
+ },
8857
+ {
8858
+ type: 'error',
8859
+ inputs: [],
8860
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
8861
+ },
8862
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
8863
+ {
8864
+ type: 'error',
8865
+ inputs: [
8866
+ { name: 'oldHook', internalType: 'address', type: 'address' },
8867
+ { name: 'newHook', internalType: 'address', type: 'address' },
8868
+ ],
8869
+ name: 'UpgradePathNotRegistered',
8870
+ },
8871
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
8872
+ { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
8873
+ { type: 'error', inputs: [], name: 'AddressZero' },
8874
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
8875
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
8876
+ {
8877
+ type: 'error',
8878
+ inputs: [
8879
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
8880
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8881
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
8882
+ ],
8883
+ name: 'CoinMismatch',
8884
+ },
8885
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
8886
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
8887
+ {
8888
+ type: 'error',
8889
+ inputs: [
8890
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
8891
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
8892
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
8893
+ ],
8894
+ name: 'InvalidFillWindow',
8895
+ },
8896
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
8897
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
8898
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
8899
+ {
8900
+ type: 'error',
8901
+ inputs: [
8902
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
8903
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
8904
+ ],
8905
+ name: 'MinAmountNotReached',
8906
+ },
8907
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
8908
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8909
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
8910
+ { type: 'error', inputs: [], name: 'OrderClosed' },
8911
+ { type: 'error', inputs: [], name: 'OrderFillable' },
8912
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
8913
+ {
8914
+ type: 'error',
8915
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8916
+ name: 'OwnableInvalidOwner',
8917
+ },
8918
+ {
8919
+ type: 'error',
8920
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8921
+ name: 'OwnableUnauthorizedAccount',
8922
+ },
8923
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8924
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
8925
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
8926
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
8927
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
8928
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
8929
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
8930
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
8931
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
8932
+ ] as const
8933
+
8934
+ /**
8935
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xb3F0aAFd6d69e524DC83ae773bc739688d4F658d)
8936
+ */
8937
+ export const devZoraRouterAddress = {
8938
+ 8453: '0xb3F0aAFd6d69e524DC83ae773bc739688d4F658d',
8939
+ } as const
8940
+
8941
+ /**
8942
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xb3F0aAFd6d69e524DC83ae773bc739688d4F658d)
8943
+ */
8944
+ export const devZoraRouterConfig = {
8945
+ address: devZoraRouterAddress,
8946
+ abi: devZoraRouterABI,
6513
8947
  } as const
6514
8948
 
6515
8949
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -15343,7 +17777,7 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
15343
17777
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
15344
17778
 
15345
17779
  /**
15346
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
17780
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xeD29E55a73b3D907eB57f0c7B89019B37dd1a1c8)
15347
17781
  */
15348
17782
  export const zoraLimitOrderBookABI = [
15349
17783
  {
@@ -15356,7 +17790,8 @@ export const zoraLimitOrderBookABI = [
15356
17790
  type: 'address',
15357
17791
  },
15358
17792
  { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
15359
- { name: 'authority_', internalType: 'address', type: 'address' },
17793
+ { name: 'owner_', internalType: 'address', type: 'address' },
17794
+ { name: 'weth_', internalType: 'address', type: 'address' },
15360
17795
  ],
15361
17796
  stateMutability: 'nonpayable',
15362
17797
  },
@@ -15364,9 +17799,9 @@ export const zoraLimitOrderBookABI = [
15364
17799
  {
15365
17800
  type: 'function',
15366
17801
  inputs: [],
15367
- name: 'authority',
15368
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
15369
- stateMutability: 'view',
17802
+ name: 'acceptOwnership',
17803
+ outputs: [],
17804
+ stateMutability: 'nonpayable',
15370
17805
  },
15371
17806
  {
15372
17807
  type: 'function',
@@ -15468,6 +17903,27 @@ export const zoraLimitOrderBookABI = [
15468
17903
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15469
17904
  stateMutability: 'view',
15470
17905
  },
17906
+ {
17907
+ type: 'function',
17908
+ inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
17909
+ name: 'isPermittedCaller',
17910
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
17911
+ stateMutability: 'view',
17912
+ },
17913
+ {
17914
+ type: 'function',
17915
+ inputs: [],
17916
+ name: 'owner',
17917
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17918
+ stateMutability: 'view',
17919
+ },
17920
+ {
17921
+ type: 'function',
17922
+ inputs: [],
17923
+ name: 'pendingOwner',
17924
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17925
+ stateMutability: 'view',
17926
+ },
15471
17927
  {
15472
17928
  type: 'function',
15473
17929
  inputs: [],
@@ -15479,10 +17935,8 @@ export const zoraLimitOrderBookABI = [
15479
17935
  },
15480
17936
  {
15481
17937
  type: 'function',
15482
- inputs: [
15483
- { name: 'newAuthority', internalType: 'address', type: 'address' },
15484
- ],
15485
- name: 'setAuthority',
17938
+ inputs: [],
17939
+ name: 'renounceOwnership',
15486
17940
  outputs: [],
15487
17941
  stateMutability: 'nonpayable',
15488
17942
  },
@@ -15495,6 +17949,23 @@ export const zoraLimitOrderBookABI = [
15495
17949
  outputs: [],
15496
17950
  stateMutability: 'nonpayable',
15497
17951
  },
17952
+ {
17953
+ type: 'function',
17954
+ inputs: [
17955
+ { name: 'callers', internalType: 'address[]', type: 'address[]' },
17956
+ { name: 'permitted', internalType: 'bool[]', type: 'bool[]' },
17957
+ ],
17958
+ name: 'setPermittedCallers',
17959
+ outputs: [],
17960
+ stateMutability: 'nonpayable',
17961
+ },
17962
+ {
17963
+ type: 'function',
17964
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
17965
+ name: 'transferOwnership',
17966
+ outputs: [],
17967
+ stateMutability: 'nonpayable',
17968
+ },
15498
17969
  {
15499
17970
  type: 'function',
15500
17971
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -15502,6 +17973,13 @@ export const zoraLimitOrderBookABI = [
15502
17973
  outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
15503
17974
  stateMutability: 'nonpayable',
15504
17975
  },
17976
+ {
17977
+ type: 'function',
17978
+ inputs: [],
17979
+ name: 'weth',
17980
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17981
+ stateMutability: 'view',
17982
+ },
15505
17983
  {
15506
17984
  type: 'function',
15507
17985
  inputs: [
@@ -15536,19 +18014,6 @@ export const zoraLimitOrderBookABI = [
15536
18014
  ],
15537
18015
  stateMutability: 'view',
15538
18016
  },
15539
- {
15540
- type: 'event',
15541
- anonymous: false,
15542
- inputs: [
15543
- {
15544
- name: 'authority',
15545
- internalType: 'address',
15546
- type: 'address',
15547
- indexed: false,
15548
- },
15549
- ],
15550
- name: 'AuthorityUpdated',
15551
- },
15552
18017
  {
15553
18018
  type: 'event',
15554
18019
  anonymous: false,
@@ -15727,13 +18192,60 @@ export const zoraLimitOrderBookABI = [
15727
18192
  name: 'MakerBalanceUpdated',
15728
18193
  },
15729
18194
  {
15730
- type: 'error',
15731
- inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
15732
- name: 'AccessManagedInvalidAuthority',
18195
+ type: 'event',
18196
+ anonymous: false,
18197
+ inputs: [
18198
+ {
18199
+ name: 'previousOwner',
18200
+ internalType: 'address',
18201
+ type: 'address',
18202
+ indexed: true,
18203
+ },
18204
+ {
18205
+ name: 'newOwner',
18206
+ internalType: 'address',
18207
+ type: 'address',
18208
+ indexed: true,
18209
+ },
18210
+ ],
18211
+ name: 'OwnershipTransferStarted',
18212
+ },
18213
+ {
18214
+ type: 'event',
18215
+ anonymous: false,
18216
+ inputs: [
18217
+ {
18218
+ name: 'previousOwner',
18219
+ internalType: 'address',
18220
+ type: 'address',
18221
+ indexed: true,
18222
+ },
18223
+ {
18224
+ name: 'newOwner',
18225
+ internalType: 'address',
18226
+ type: 'address',
18227
+ indexed: true,
18228
+ },
18229
+ ],
18230
+ name: 'OwnershipTransferred',
18231
+ },
18232
+ {
18233
+ type: 'event',
18234
+ anonymous: false,
18235
+ inputs: [
18236
+ {
18237
+ name: 'caller',
18238
+ internalType: 'address',
18239
+ type: 'address',
18240
+ indexed: true,
18241
+ },
18242
+ { name: 'permitted', internalType: 'bool', type: 'bool', indexed: false },
18243
+ ],
18244
+ name: 'PermittedCallerUpdated',
15733
18245
  },
15734
- { type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
15735
18246
  { type: 'error', inputs: [], name: 'AddressZero' },
15736
18247
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
18248
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
15737
18249
  {
15738
18250
  type: 'error',
15739
18251
  inputs: [
@@ -15769,11 +18281,24 @@ export const zoraLimitOrderBookABI = [
15769
18281
  { type: 'error', inputs: [], name: 'NotPoolManager' },
15770
18282
  { type: 'error', inputs: [], name: 'OnlyZoraHook' },
15771
18283
  { type: 'error', inputs: [], name: 'OrderClosed' },
18284
+ { type: 'error', inputs: [], name: 'OrderFillable' },
15772
18285
  { type: 'error', inputs: [], name: 'OrderNotMaker' },
18286
+ {
18287
+ type: 'error',
18288
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
18289
+ name: 'OwnableInvalidOwner',
18290
+ },
18291
+ {
18292
+ type: 'error',
18293
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
18294
+ name: 'OwnableUnauthorizedAccount',
18295
+ },
15773
18296
  { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
18297
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
15774
18298
  { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
15775
18299
  { type: 'error', inputs: [], name: 'UnknownCallback' },
15776
18300
  { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
18301
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
15777
18302
  { type: 'error', inputs: [], name: 'ZeroMaker' },
15778
18303
  { type: 'error', inputs: [], name: 'ZeroOrderSize' },
15779
18304
  { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
@@ -15863,7 +18388,6 @@ export const zoraLimitOrderBookABI = [
15863
18388
  ],
15864
18389
  name: 'InvalidAccountNonce',
15865
18390
  },
15866
- { type: 'error', inputs: [], name: 'InvalidCurrency' },
15867
18391
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
15868
18392
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
15869
18393
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -15977,14 +18501,14 @@ export const zoraLimitOrderBookABI = [
15977
18501
  ] as const
15978
18502
 
15979
18503
  /**
15980
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
18504
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xeD29E55a73b3D907eB57f0c7B89019B37dd1a1c8)
15981
18505
  */
15982
18506
  export const zoraLimitOrderBookAddress = {
15983
- 8453: '0x198419084C13d59c7b3E4c469A3d15b31263B06C',
18507
+ 8453: '0xeD29E55a73b3D907eB57f0c7B89019B37dd1a1c8',
15984
18508
  } as const
15985
18509
 
15986
18510
  /**
15987
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
18511
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xeD29E55a73b3D907eB57f0c7B89019B37dd1a1c8)
15988
18512
  */
15989
18513
  export const zoraLimitOrderBookConfig = {
15990
18514
  address: zoraLimitOrderBookAddress,
@@ -17699,7 +20223,7 @@ export const zoraMintsManagerImplConfig = {
17699
20223
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
17700
20224
 
17701
20225
  /**
17702
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
20226
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x479b190b78Be5bf020fbb496dDD2cE3d6e573bb1)
17703
20227
  */
17704
20228
  export const zoraRouterABI = [
17705
20229
  {
@@ -17721,10 +20245,18 @@ export const zoraRouterABI = [
17721
20245
  type: 'address',
17722
20246
  },
17723
20247
  { name: 'permit2_', internalType: 'address', type: 'address' },
20248
+ { name: 'owner_', internalType: 'address', type: 'address' },
17724
20249
  ],
17725
20250
  stateMutability: 'nonpayable',
17726
20251
  },
17727
20252
  { type: 'receive', stateMutability: 'payable' },
20253
+ {
20254
+ type: 'function',
20255
+ inputs: [],
20256
+ name: 'acceptOwnership',
20257
+ outputs: [],
20258
+ stateMutability: 'nonpayable',
20259
+ },
17728
20260
  {
17729
20261
  type: 'function',
17730
20262
  inputs: [],
@@ -17749,6 +20281,20 @@ export const zoraRouterABI = [
17749
20281
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
17750
20282
  stateMutability: 'view',
17751
20283
  },
20284
+ {
20285
+ type: 'function',
20286
+ inputs: [],
20287
+ name: 'owner',
20288
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
20289
+ stateMutability: 'view',
20290
+ },
20291
+ {
20292
+ type: 'function',
20293
+ inputs: [],
20294
+ name: 'pendingOwner',
20295
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
20296
+ stateMutability: 'view',
20297
+ },
17752
20298
  {
17753
20299
  type: 'function',
17754
20300
  inputs: [],
@@ -17758,6 +20304,13 @@ export const zoraRouterABI = [
17758
20304
  ],
17759
20305
  stateMutability: 'view',
17760
20306
  },
20307
+ {
20308
+ type: 'function',
20309
+ inputs: [],
20310
+ name: 'renounceOwnership',
20311
+ outputs: [],
20312
+ stateMutability: 'nonpayable',
20313
+ },
17761
20314
  {
17762
20315
  type: 'function',
17763
20316
  inputs: [
@@ -17837,6 +20390,13 @@ export const zoraRouterABI = [
17837
20390
  outputs: [{ name: 'delta', internalType: 'BalanceDelta', type: 'int256' }],
17838
20391
  stateMutability: 'payable',
17839
20392
  },
20393
+ {
20394
+ type: 'function',
20395
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
20396
+ name: 'transferOwnership',
20397
+ outputs: [],
20398
+ stateMutability: 'nonpayable',
20399
+ },
17840
20400
  {
17841
20401
  type: 'function',
17842
20402
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -17876,6 +20436,44 @@ export const zoraRouterABI = [
17876
20436
  ],
17877
20437
  name: 'LimitOrderConfigUpdated',
17878
20438
  },
20439
+ {
20440
+ type: 'event',
20441
+ anonymous: false,
20442
+ inputs: [
20443
+ {
20444
+ name: 'previousOwner',
20445
+ internalType: 'address',
20446
+ type: 'address',
20447
+ indexed: true,
20448
+ },
20449
+ {
20450
+ name: 'newOwner',
20451
+ internalType: 'address',
20452
+ type: 'address',
20453
+ indexed: true,
20454
+ },
20455
+ ],
20456
+ name: 'OwnershipTransferStarted',
20457
+ },
20458
+ {
20459
+ type: 'event',
20460
+ anonymous: false,
20461
+ inputs: [
20462
+ {
20463
+ name: 'previousOwner',
20464
+ internalType: 'address',
20465
+ type: 'address',
20466
+ indexed: true,
20467
+ },
20468
+ {
20469
+ name: 'newOwner',
20470
+ internalType: 'address',
20471
+ type: 'address',
20472
+ indexed: true,
20473
+ },
20474
+ ],
20475
+ name: 'OwnershipTransferred',
20476
+ },
17879
20477
  {
17880
20478
  type: 'event',
17881
20479
  anonymous: false,
@@ -17905,12 +20503,6 @@ export const zoraRouterABI = [
17905
20503
  ],
17906
20504
  indexed: false,
17907
20505
  },
17908
- {
17909
- name: 'delta',
17910
- internalType: 'BalanceDelta',
17911
- type: 'int256',
17912
- indexed: false,
17913
- },
17914
20506
  {
17915
20507
  name: 'tickBeforeSwap',
17916
20508
  internalType: 'int24',
@@ -17923,6 +20515,24 @@ export const zoraRouterABI = [
17923
20515
  type: 'int24',
17924
20516
  indexed: false,
17925
20517
  },
20518
+ {
20519
+ name: 'amount0',
20520
+ internalType: 'int128',
20521
+ type: 'int128',
20522
+ indexed: false,
20523
+ },
20524
+ {
20525
+ name: 'amount1',
20526
+ internalType: 'int128',
20527
+ type: 'int128',
20528
+ indexed: false,
20529
+ },
20530
+ {
20531
+ name: 'sqrtPriceX96',
20532
+ internalType: 'uint160',
20533
+ type: 'uint160',
20534
+ indexed: false,
20535
+ },
17926
20536
  {
17927
20537
  name: 'orders',
17928
20538
  internalType: 'struct SwapWithLimitOrders.CreatedOrder[]',
@@ -17938,7 +20548,6 @@ export const zoraRouterABI = [
17938
20548
  name: 'SwapWithLimitOrdersExecuted',
17939
20549
  },
17940
20550
  { type: 'error', inputs: [], name: 'EmptyV4Route' },
17941
- { type: 'error', inputs: [], name: 'FromAddressIsNotOwner' },
17942
20551
  {
17943
20552
  type: 'error',
17944
20553
  inputs: [
@@ -17953,8 +20562,17 @@ export const zoraRouterABI = [
17953
20562
  { type: 'error', inputs: [], name: 'InvalidMultiple' },
17954
20563
  { type: 'error', inputs: [], name: 'InvalidPercent' },
17955
20564
  { type: 'error', inputs: [], name: 'LengthMismatch' },
17956
- { type: 'error', inputs: [], name: 'OnlyAuthority' },
17957
20565
  { type: 'error', inputs: [], name: 'OnlyPoolManager' },
20566
+ {
20567
+ type: 'error',
20568
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
20569
+ name: 'OwnableInvalidOwner',
20570
+ },
20571
+ {
20572
+ type: 'error',
20573
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
20574
+ name: 'OwnableUnauthorizedAccount',
20575
+ },
17958
20576
  { type: 'error', inputs: [], name: 'PercentOverflow' },
17959
20577
  {
17960
20578
  type: 'error',
@@ -18050,7 +20668,6 @@ export const zoraRouterABI = [
18050
20668
  ],
18051
20669
  name: 'InvalidAccountNonce',
18052
20670
  },
18053
- { type: 'error', inputs: [], name: 'InvalidCurrency' },
18054
20671
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
18055
20672
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
18056
20673
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -18161,14 +20778,9 @@ export const zoraRouterABI = [
18161
20778
  },
18162
20779
  { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
18163
20780
  { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
18164
- {
18165
- type: 'error',
18166
- inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
18167
- name: 'AccessManagedInvalidAuthority',
18168
- },
18169
- { type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
18170
20781
  { type: 'error', inputs: [], name: 'AddressZero' },
18171
20782
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
20783
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
18172
20784
  {
18173
20785
  type: 'error',
18174
20786
  inputs: [
@@ -18204,25 +20816,38 @@ export const zoraRouterABI = [
18204
20816
  { type: 'error', inputs: [], name: 'NotPoolManager' },
18205
20817
  { type: 'error', inputs: [], name: 'OnlyZoraHook' },
18206
20818
  { type: 'error', inputs: [], name: 'OrderClosed' },
20819
+ { type: 'error', inputs: [], name: 'OrderFillable' },
18207
20820
  { type: 'error', inputs: [], name: 'OrderNotMaker' },
20821
+ {
20822
+ type: 'error',
20823
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
20824
+ name: 'OwnableInvalidOwner',
20825
+ },
20826
+ {
20827
+ type: 'error',
20828
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
20829
+ name: 'OwnableUnauthorizedAccount',
20830
+ },
18208
20831
  { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
20832
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
18209
20833
  { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
18210
20834
  { type: 'error', inputs: [], name: 'UnknownCallback' },
18211
20835
  { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
20836
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
18212
20837
  { type: 'error', inputs: [], name: 'ZeroMaker' },
18213
20838
  { type: 'error', inputs: [], name: 'ZeroOrderSize' },
18214
20839
  { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
18215
20840
  ] as const
18216
20841
 
18217
20842
  /**
18218
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
20843
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x479b190b78Be5bf020fbb496dDD2cE3d6e573bb1)
18219
20844
  */
18220
20845
  export const zoraRouterAddress = {
18221
- 8453: '0x42E354928b1BD9082FAFc2dF01222827E9fD098F',
20846
+ 8453: '0x479b190b78Be5bf020fbb496dDD2cE3d6e573bb1',
18222
20847
  } as const
18223
20848
 
18224
20849
  /**
18225
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
20850
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x479b190b78Be5bf020fbb496dDD2cE3d6e573bb1)
18226
20851
  */
18227
20852
  export const zoraRouterConfig = {
18228
20853
  address: zoraRouterAddress,