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

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: [],
@@ -6513,115 +6437,2639 @@ export const commentsConfig = {
6513
6437
  } as const
6514
6438
 
6515
6439
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6516
- // ERC20Minter
6440
+ // DevBuySupplyWithSwapRouterHook
6517
6441
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6518
6442
 
6519
6443
  /**
6520
- * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6521
- * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6522
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6523
- * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6524
- * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6525
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6526
- * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6527
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6528
- * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
6529
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2)
6530
- */
6531
- export const erc20MinterABI = [
6444
+
6445
+ */
6446
+ export const devBuySupplyWithSwapRouterHookABI = [
6532
6447
  {
6533
- type: 'function',
6534
- inputs: [],
6535
- name: 'acceptOwnership',
6536
- outputs: [],
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
+ ],
6537
6458
  stateMutability: 'nonpayable',
6538
6459
  },
6539
6460
  {
6540
6461
  type: 'function',
6541
6462
  inputs: [
6542
- {
6543
- name: 'config',
6544
- internalType: 'struct IERC20Minter.PremintSalesConfig',
6545
- type: 'tuple',
6546
- components: [
6547
- { name: 'duration', internalType: 'uint64', type: 'uint64' },
6548
- {
6549
- name: 'maxTokensPerAddress',
6550
- internalType: 'uint64',
6551
- type: 'uint64',
6552
- },
6553
- { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
6554
- { name: 'fundsRecipient', internalType: 'address', type: 'address' },
6555
- { name: 'currency', internalType: 'address', type: 'address' },
6556
- ],
6557
- },
6463
+ { name: 'sender', internalType: 'address', type: 'address' },
6464
+ { name: 'coin', internalType: 'contract ICoin', type: 'address' },
6465
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
6558
6466
  ],
6559
- name: 'buildSalesConfigForPremint',
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',
6560
6475
  outputs: [
6561
6476
  {
6562
- name: '',
6563
- internalType: 'struct IERC20Minter.SalesConfig',
6564
- type: 'tuple',
6477
+ name: 'v4Route',
6478
+ internalType: 'struct PoolKey[]',
6479
+ type: 'tuple[]',
6565
6480
  components: [
6566
- { name: 'saleStart', internalType: 'uint64', type: 'uint64' },
6567
- { name: 'saleEnd', internalType: 'uint64', type: 'uint64' },
6568
- {
6569
- name: 'maxTokensPerAddress',
6570
- internalType: 'uint64',
6571
- type: 'uint64',
6572
- },
6573
- { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
6574
- { name: 'fundsRecipient', internalType: 'address', type: 'address' },
6575
- { name: 'currency', internalType: 'address', type: 'address' },
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' },
6576
6486
  ],
6577
6487
  },
6488
+ { name: 'startAmount', internalType: 'uint256', type: 'uint256' },
6578
6489
  ],
6579
- stateMutability: 'view',
6580
- },
6581
- {
6582
- type: 'function',
6583
- inputs: [],
6584
- name: 'cancelOwnershipTransfer',
6585
- outputs: [],
6586
- stateMutability: 'nonpayable',
6490
+ stateMutability: 'pure',
6587
6491
  },
6588
6492
  {
6589
6493
  type: 'function',
6590
- inputs: [{ name: 'totalReward', internalType: 'uint256', type: 'uint256' }],
6591
- name: 'computePaidMintRewards',
6592
- outputs: [
6494
+ inputs: [
6593
6495
  {
6594
- name: '',
6595
- internalType: 'struct IERC20Minter.RewardsSettings',
6496
+ name: 'params',
6497
+ internalType: 'struct BuySupplyWithV4SwapHook.InitialSupplyParams',
6596
6498
  type: 'tuple',
6597
6499
  components: [
6500
+ { name: 'buyRecipient', internalType: 'address', type: 'address' },
6501
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes' },
6598
6502
  {
6599
- name: 'createReferralReward',
6600
- internalType: 'uint256',
6601
- type: 'uint256',
6602
- },
6603
- {
6604
- name: 'mintReferralReward',
6605
- internalType: 'uint256',
6606
- type: 'uint256',
6607
- },
6608
- { name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
6609
- {
6610
- name: 'firstMinterReward',
6611
- internalType: 'uint256',
6612
- type: 'uint256',
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
+ ],
6613
6517
  },
6518
+ { name: 'inputCurrency', internalType: 'address', type: 'address' },
6519
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
6520
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
6614
6521
  ],
6615
6522
  },
6616
6523
  ],
6524
+ name: 'encodeBuySupplyWithV4SwapHookData',
6525
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
6617
6526
  stateMutability: 'pure',
6618
6527
  },
6619
6528
  {
6620
6529
  type: 'function',
6621
- inputs: [
6622
- { name: 'totalReward', internalType: 'uint256', type: 'uint256' },
6623
- { name: 'rewardPct', internalType: 'uint256', type: 'uint256' },
6624
- ],
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/0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5)
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
+ name: 'contractVersion',
7615
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
7616
+ stateMutability: 'pure',
7617
+ },
7618
+ {
7619
+ type: 'function',
7620
+ inputs: [
7621
+ {
7622
+ name: 'key',
7623
+ internalType: 'struct PoolKey',
7624
+ type: 'tuple',
7625
+ components: [
7626
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7627
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7628
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7629
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7630
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7631
+ ],
7632
+ },
7633
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
7634
+ { name: 'orderSizes', internalType: 'uint256[]', type: 'uint256[]' },
7635
+ { name: 'orderTicks', internalType: 'int24[]', type: 'int24[]' },
7636
+ { name: 'maker', internalType: 'address', type: 'address' },
7637
+ ],
7638
+ name: 'create',
7639
+ outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
7640
+ stateMutability: 'payable',
7641
+ },
7642
+ {
7643
+ type: 'function',
7644
+ inputs: [
7645
+ {
7646
+ name: 'key',
7647
+ internalType: 'struct PoolKey',
7648
+ type: 'tuple',
7649
+ components: [
7650
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7651
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7652
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7653
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7654
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
7655
+ ],
7656
+ },
7657
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
7658
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
7659
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
7660
+ { name: 'maxFillCount', internalType: 'uint256', type: 'uint256' },
7661
+ { name: 'fillReferral', internalType: 'address', type: 'address' },
7662
+ ],
7663
+ name: 'fill',
7664
+ outputs: [],
7665
+ stateMutability: 'nonpayable',
7666
+ },
7667
+ {
7668
+ type: 'function',
7669
+ inputs: [
7670
+ {
7671
+ name: 'batches',
7672
+ internalType: 'struct IZoraLimitOrderBook.OrderBatch[]',
7673
+ type: 'tuple[]',
7674
+ components: [
7675
+ {
7676
+ name: 'key',
7677
+ internalType: 'struct PoolKey',
7678
+ type: 'tuple',
7679
+ components: [
7680
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
7681
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
7682
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
7683
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
7684
+ {
7685
+ name: 'hooks',
7686
+ internalType: 'contract IHooks',
7687
+ type: 'address',
7688
+ },
7689
+ ],
7690
+ },
7691
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
7692
+ { name: 'orderIds', internalType: 'bytes32[]', type: 'bytes32[]' },
7693
+ ],
7694
+ },
7695
+ { name: 'fillReferral', internalType: 'address', type: 'address' },
7696
+ ],
7697
+ name: 'fill',
7698
+ outputs: [],
7699
+ stateMutability: 'nonpayable',
7700
+ },
7701
+ {
7702
+ type: 'function',
7703
+ inputs: [],
7704
+ name: 'getMaxFillCount',
7705
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
7706
+ stateMutability: 'view',
7707
+ },
7708
+ {
7709
+ type: 'function',
7710
+ inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
7711
+ name: 'isPermittedCaller',
7712
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
7713
+ stateMutability: 'view',
7714
+ },
7715
+ {
7716
+ type: 'function',
7717
+ inputs: [],
7718
+ name: 'owner',
7719
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7720
+ stateMutability: 'view',
7721
+ },
7722
+ {
7723
+ type: 'function',
7724
+ inputs: [],
7725
+ name: 'pendingOwner',
7726
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7727
+ stateMutability: 'view',
7728
+ },
7729
+ {
7730
+ type: 'function',
7731
+ inputs: [],
7732
+ name: 'poolManager',
7733
+ outputs: [
7734
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
7735
+ ],
7736
+ stateMutability: 'view',
7737
+ },
7738
+ {
7739
+ type: 'function',
7740
+ inputs: [],
7741
+ name: 'renounceOwnership',
7742
+ outputs: [],
7743
+ stateMutability: 'nonpayable',
7744
+ },
7745
+ {
7746
+ type: 'function',
7747
+ inputs: [
7748
+ { name: 'maxFillCount', internalType: 'uint256', type: 'uint256' },
7749
+ ],
7750
+ name: 'setMaxFillCount',
7751
+ outputs: [],
7752
+ stateMutability: 'nonpayable',
7753
+ },
7754
+ {
7755
+ type: 'function',
7756
+ inputs: [
7757
+ { name: 'callers', internalType: 'address[]', type: 'address[]' },
7758
+ { name: 'permitted', internalType: 'bool[]', type: 'bool[]' },
7759
+ ],
7760
+ name: 'setPermittedCallers',
7761
+ outputs: [],
7762
+ stateMutability: 'nonpayable',
7763
+ },
7764
+ {
7765
+ type: 'function',
7766
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
7767
+ name: 'transferOwnership',
7768
+ outputs: [],
7769
+ stateMutability: 'nonpayable',
7770
+ },
7771
+ {
7772
+ type: 'function',
7773
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
7774
+ name: 'unlockCallback',
7775
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
7776
+ stateMutability: 'nonpayable',
7777
+ },
7778
+ {
7779
+ type: 'function',
7780
+ inputs: [],
7781
+ name: 'weth',
7782
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
7783
+ stateMutability: 'view',
7784
+ },
7785
+ {
7786
+ type: 'function',
7787
+ inputs: [
7788
+ { name: 'orderIds', internalType: 'bytes32[]', type: 'bytes32[]' },
7789
+ { name: 'coin', internalType: 'address', type: 'address' },
7790
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
7791
+ { name: 'recipient', internalType: 'address', type: 'address' },
7792
+ ],
7793
+ name: 'withdraw',
7794
+ outputs: [],
7795
+ stateMutability: 'nonpayable',
7796
+ },
7797
+ {
7798
+ type: 'function',
7799
+ inputs: [],
7800
+ name: 'zoraCoinVersionLookup',
7801
+ outputs: [
7802
+ {
7803
+ name: '',
7804
+ internalType: 'contract IDeployedCoinVersionLookup',
7805
+ type: 'address',
7806
+ },
7807
+ ],
7808
+ stateMutability: 'view',
7809
+ },
7810
+ {
7811
+ type: 'function',
7812
+ inputs: [],
7813
+ name: 'zoraHookRegistry',
7814
+ outputs: [
7815
+ { name: '', internalType: 'contract IZoraHookRegistry', type: 'address' },
7816
+ ],
7817
+ stateMutability: 'view',
7818
+ },
7819
+ {
7820
+ type: 'event',
7821
+ anonymous: false,
7822
+ inputs: [
7823
+ {
7824
+ name: 'maker',
7825
+ internalType: 'address',
7826
+ type: 'address',
7827
+ indexed: true,
7828
+ },
7829
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
7830
+ {
7831
+ name: 'poolKeyHash',
7832
+ internalType: 'bytes32',
7833
+ type: 'bytes32',
7834
+ indexed: false,
7835
+ },
7836
+ {
7837
+ name: 'isCurrency0',
7838
+ internalType: 'bool',
7839
+ type: 'bool',
7840
+ indexed: false,
7841
+ },
7842
+ {
7843
+ name: 'orderTick',
7844
+ internalType: 'int24',
7845
+ type: 'int24',
7846
+ indexed: false,
7847
+ },
7848
+ {
7849
+ name: 'currentTick',
7850
+ internalType: 'int24',
7851
+ type: 'int24',
7852
+ indexed: false,
7853
+ },
7854
+ {
7855
+ name: 'orderSize',
7856
+ internalType: 'uint128',
7857
+ type: 'uint128',
7858
+ indexed: false,
7859
+ },
7860
+ {
7861
+ name: 'orderId',
7862
+ internalType: 'bytes32',
7863
+ type: 'bytes32',
7864
+ indexed: false,
7865
+ },
7866
+ ],
7867
+ name: 'LimitOrderCreated',
7868
+ },
7869
+ {
7870
+ type: 'event',
7871
+ anonymous: false,
7872
+ inputs: [
7873
+ {
7874
+ name: 'maker',
7875
+ internalType: 'address',
7876
+ type: 'address',
7877
+ indexed: true,
7878
+ },
7879
+ {
7880
+ name: 'coinIn',
7881
+ internalType: 'address',
7882
+ type: 'address',
7883
+ indexed: true,
7884
+ },
7885
+ {
7886
+ name: 'coinOut',
7887
+ internalType: 'address',
7888
+ type: 'address',
7889
+ indexed: false,
7890
+ },
7891
+ {
7892
+ name: 'amountIn',
7893
+ internalType: 'uint128',
7894
+ type: 'uint128',
7895
+ indexed: false,
7896
+ },
7897
+ {
7898
+ name: 'amountOut',
7899
+ internalType: 'uint128',
7900
+ type: 'uint128',
7901
+ indexed: false,
7902
+ },
7903
+ {
7904
+ name: 'fillReferral',
7905
+ internalType: 'address',
7906
+ type: 'address',
7907
+ indexed: false,
7908
+ },
7909
+ {
7910
+ name: 'fillReferralAmount',
7911
+ internalType: 'uint128',
7912
+ type: 'uint128',
7913
+ indexed: false,
7914
+ },
7915
+ {
7916
+ name: 'poolKeyHash',
7917
+ internalType: 'bytes32',
7918
+ type: 'bytes32',
7919
+ indexed: false,
7920
+ },
7921
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
7922
+ {
7923
+ name: 'orderId',
7924
+ internalType: 'bytes32',
7925
+ type: 'bytes32',
7926
+ indexed: false,
7927
+ },
7928
+ ],
7929
+ name: 'LimitOrderFilled',
7930
+ },
7931
+ {
7932
+ type: 'event',
7933
+ anonymous: false,
7934
+ inputs: [
7935
+ {
7936
+ name: 'maker',
7937
+ internalType: 'address',
7938
+ type: 'address',
7939
+ indexed: true,
7940
+ },
7941
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
7942
+ {
7943
+ name: 'poolKeyHash',
7944
+ internalType: 'bytes32',
7945
+ type: 'bytes32',
7946
+ indexed: false,
7947
+ },
7948
+ {
7949
+ name: 'isCurrency0',
7950
+ internalType: 'bool',
7951
+ type: 'bool',
7952
+ indexed: false,
7953
+ },
7954
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
7955
+ {
7956
+ name: 'orderSize',
7957
+ internalType: 'uint128',
7958
+ type: 'uint128',
7959
+ indexed: false,
7960
+ },
7961
+ {
7962
+ name: 'orderId',
7963
+ internalType: 'bytes32',
7964
+ type: 'bytes32',
7965
+ indexed: false,
7966
+ },
7967
+ {
7968
+ name: 'isCancelled',
7969
+ internalType: 'bool',
7970
+ type: 'bool',
7971
+ indexed: false,
7972
+ },
7973
+ ],
7974
+ name: 'LimitOrderUpdated',
7975
+ },
7976
+ {
7977
+ type: 'event',
7978
+ anonymous: false,
7979
+ inputs: [
7980
+ {
7981
+ name: 'maker',
7982
+ internalType: 'address',
7983
+ type: 'address',
7984
+ indexed: true,
7985
+ },
7986
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
7987
+ {
7988
+ name: 'newBalance',
7989
+ internalType: 'uint256',
7990
+ type: 'uint256',
7991
+ indexed: false,
7992
+ },
7993
+ ],
7994
+ name: 'MakerBalanceUpdated',
7995
+ },
7996
+ {
7997
+ type: 'event',
7998
+ anonymous: false,
7999
+ inputs: [
8000
+ {
8001
+ name: 'previousOwner',
8002
+ internalType: 'address',
8003
+ type: 'address',
8004
+ indexed: true,
8005
+ },
8006
+ {
8007
+ name: 'newOwner',
8008
+ internalType: 'address',
8009
+ type: 'address',
8010
+ indexed: true,
8011
+ },
8012
+ ],
8013
+ name: 'OwnershipTransferStarted',
8014
+ },
8015
+ {
8016
+ type: 'event',
8017
+ anonymous: false,
8018
+ inputs: [
8019
+ {
8020
+ name: 'previousOwner',
8021
+ internalType: 'address',
8022
+ type: 'address',
8023
+ indexed: true,
8024
+ },
8025
+ {
8026
+ name: 'newOwner',
8027
+ internalType: 'address',
8028
+ type: 'address',
8029
+ indexed: true,
8030
+ },
8031
+ ],
8032
+ name: 'OwnershipTransferred',
8033
+ },
8034
+ {
8035
+ type: 'event',
8036
+ anonymous: false,
8037
+ inputs: [
8038
+ {
8039
+ name: 'caller',
8040
+ internalType: 'address',
8041
+ type: 'address',
8042
+ indexed: true,
8043
+ },
8044
+ { name: 'permitted', internalType: 'bool', type: 'bool', indexed: false },
8045
+ ],
8046
+ name: 'PermittedCallerUpdated',
8047
+ },
8048
+ { type: 'error', inputs: [], name: 'AddressZero' },
8049
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
8050
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
8051
+ {
8052
+ type: 'error',
8053
+ inputs: [
8054
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
8055
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8056
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
8057
+ ],
8058
+ name: 'CoinMismatch',
8059
+ },
8060
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
8061
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
8062
+ {
8063
+ type: 'error',
8064
+ inputs: [
8065
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
8066
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
8067
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
8068
+ ],
8069
+ name: 'InvalidFillWindow',
8070
+ },
8071
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
8072
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
8073
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
8074
+ {
8075
+ type: 'error',
8076
+ inputs: [
8077
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
8078
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
8079
+ ],
8080
+ name: 'MinAmountNotReached',
8081
+ },
8082
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
8083
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8084
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
8085
+ { type: 'error', inputs: [], name: 'OrderClosed' },
8086
+ { type: 'error', inputs: [], name: 'OrderFillable' },
8087
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
8088
+ {
8089
+ type: 'error',
8090
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8091
+ name: 'OwnableInvalidOwner',
8092
+ },
8093
+ {
8094
+ type: 'error',
8095
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8096
+ name: 'OwnableUnauthorizedAccount',
8097
+ },
8098
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8099
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
8100
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
8101
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
8102
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
8103
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
8104
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
8105
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
8106
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
8107
+ { type: 'error', inputs: [], name: 'AddressZero' },
8108
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
8109
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
8110
+ {
8111
+ type: 'error',
8112
+ inputs: [],
8113
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
8114
+ },
8115
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
8116
+ {
8117
+ type: 'error',
8118
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
8119
+ name: 'ECDSAInvalidSignatureLength',
8120
+ },
8121
+ {
8122
+ type: 'error',
8123
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
8124
+ name: 'ECDSAInvalidSignatureS',
8125
+ },
8126
+ {
8127
+ type: 'error',
8128
+ inputs: [
8129
+ { name: 'spender', internalType: 'address', type: 'address' },
8130
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
8131
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8132
+ ],
8133
+ name: 'ERC20InsufficientAllowance',
8134
+ },
8135
+ {
8136
+ type: 'error',
8137
+ inputs: [
8138
+ { name: 'sender', internalType: 'address', type: 'address' },
8139
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
8140
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8141
+ ],
8142
+ name: 'ERC20InsufficientBalance',
8143
+ },
8144
+ {
8145
+ type: 'error',
8146
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
8147
+ name: 'ERC20InvalidApprover',
8148
+ },
8149
+ {
8150
+ type: 'error',
8151
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
8152
+ name: 'ERC20InvalidReceiver',
8153
+ },
8154
+ {
8155
+ type: 'error',
8156
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
8157
+ name: 'ERC20InvalidSender',
8158
+ },
8159
+ {
8160
+ type: 'error',
8161
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
8162
+ name: 'ERC20InvalidSpender',
8163
+ },
8164
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
8165
+ {
8166
+ type: 'error',
8167
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
8168
+ name: 'ERC2612ExpiredSignature',
8169
+ },
8170
+ {
8171
+ type: 'error',
8172
+ inputs: [
8173
+ { name: 'signer', internalType: 'address', type: 'address' },
8174
+ { name: 'owner', internalType: 'address', type: 'address' },
8175
+ ],
8176
+ name: 'ERC2612InvalidSigner',
8177
+ },
8178
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
8179
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
8180
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8181
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
8182
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
8183
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
8184
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
8185
+ {
8186
+ type: 'error',
8187
+ inputs: [
8188
+ { name: 'account', internalType: 'address', type: 'address' },
8189
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
8190
+ ],
8191
+ name: 'InvalidAccountNonce',
8192
+ },
8193
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
8194
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
8195
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
8196
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
8197
+ {
8198
+ type: 'error',
8199
+ inputs: [
8200
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
8201
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
8202
+ ],
8203
+ name: 'InvalidTickRangeMisordered',
8204
+ },
8205
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
8206
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
8207
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
8208
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
8209
+ {
8210
+ type: 'error',
8211
+ inputs: [
8212
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8213
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
8214
+ ],
8215
+ name: 'MaxShareToBeSoldExceeded',
8216
+ },
8217
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
8218
+ { type: 'error', inputs: [], name: 'NotInitializing' },
8219
+ { type: 'error', inputs: [], name: 'NotOwner' },
8220
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
8221
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
8222
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
8223
+ {
8224
+ type: 'error',
8225
+ inputs: [
8226
+ { name: 'sender', internalType: 'address', type: 'address' },
8227
+ { name: 'pool', internalType: 'address', type: 'address' },
8228
+ ],
8229
+ name: 'OnlyPool',
8230
+ },
8231
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
8232
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
8233
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
8234
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
8235
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
8236
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8237
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
8238
+ {
8239
+ type: 'error',
8240
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
8241
+ name: 'InvalidCallbackId',
8242
+ },
8243
+ {
8244
+ type: 'error',
8245
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
8246
+ name: 'InvalidNewHook',
8247
+ },
8248
+ {
8249
+ type: 'error',
8250
+ inputs: [
8251
+ {
8252
+ name: 'key',
8253
+ internalType: 'struct PoolKey',
8254
+ type: 'tuple',
8255
+ components: [
8256
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8257
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8258
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8259
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8260
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
8261
+ ],
8262
+ },
8263
+ ],
8264
+ name: 'NoCoinForHook',
8265
+ },
8266
+ {
8267
+ type: 'error',
8268
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
8269
+ name: 'NotACoin',
8270
+ },
8271
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8272
+ {
8273
+ type: 'error',
8274
+ inputs: [
8275
+ { name: 'caller', internalType: 'address', type: 'address' },
8276
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8277
+ ],
8278
+ name: 'OnlyCoin',
8279
+ },
8280
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8281
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
8282
+ {
8283
+ type: 'error',
8284
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
8285
+ name: 'SafeERC20FailedOperation',
8286
+ },
8287
+ {
8288
+ type: 'error',
8289
+ inputs: [],
8290
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
8291
+ },
8292
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
8293
+ {
8294
+ type: 'error',
8295
+ inputs: [
8296
+ { name: 'oldHook', internalType: 'address', type: 'address' },
8297
+ { name: 'newHook', internalType: 'address', type: 'address' },
8298
+ ],
8299
+ name: 'UpgradePathNotRegistered',
8300
+ },
8301
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
8302
+ { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
8303
+ ] as const
8304
+
8305
+ /**
8306
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5)
8307
+ */
8308
+ export const devZoraLimitOrderBookAddress = {
8309
+ 8453: '0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5',
8310
+ } as const
8311
+
8312
+ /**
8313
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0xCe2C8032F85aB6a7148138F8a1235d2b17D53Dc5)
8314
+ */
8315
+ export const devZoraLimitOrderBookConfig = {
8316
+ address: devZoraLimitOrderBookAddress,
8317
+ abi: devZoraLimitOrderBookABI,
8318
+ } as const
8319
+
8320
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8321
+ // DevZoraRouter
8322
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8323
+
8324
+ /**
8325
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8)
8326
+ */
8327
+ export const devZoraRouterABI = [
8328
+ {
8329
+ type: 'constructor',
8330
+ inputs: [
8331
+ {
8332
+ name: 'poolManager_',
8333
+ internalType: 'contract IPoolManager',
8334
+ type: 'address',
8335
+ },
8336
+ {
8337
+ name: 'zoraLimitOrderBook_',
8338
+ internalType: 'contract IZoraLimitOrderBook',
8339
+ type: 'address',
8340
+ },
8341
+ {
8342
+ name: 'swapRouter_',
8343
+ internalType: 'contract ISwapRouter',
8344
+ type: 'address',
8345
+ },
8346
+ { name: 'permit2_', internalType: 'address', type: 'address' },
8347
+ { name: 'owner_', internalType: 'address', type: 'address' },
8348
+ ],
8349
+ stateMutability: 'nonpayable',
8350
+ },
8351
+ { type: 'receive', stateMutability: 'payable' },
8352
+ {
8353
+ type: 'function',
8354
+ inputs: [],
8355
+ name: 'acceptOwnership',
8356
+ outputs: [],
8357
+ stateMutability: 'nonpayable',
8358
+ },
8359
+ {
8360
+ type: 'function',
8361
+ inputs: [],
8362
+ name: 'contractVersion',
8363
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
8364
+ stateMutability: 'pure',
8365
+ },
8366
+ {
8367
+ type: 'function',
8368
+ inputs: [],
8369
+ name: 'getLimitOrderConfig',
8370
+ outputs: [
8371
+ {
8372
+ name: '',
8373
+ internalType: 'struct LimitOrderConfig',
8374
+ type: 'tuple',
8375
+ components: [
8376
+ { name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
8377
+ { name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
8378
+ ],
8379
+ },
8380
+ ],
8381
+ stateMutability: 'view',
8382
+ },
8383
+ {
8384
+ type: 'function',
8385
+ inputs: [],
8386
+ name: 'msgSender',
8387
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8388
+ stateMutability: 'view',
8389
+ },
8390
+ {
8391
+ type: 'function',
8392
+ inputs: [],
8393
+ name: 'owner',
8394
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8395
+ stateMutability: 'view',
8396
+ },
8397
+ {
8398
+ type: 'function',
8399
+ inputs: [],
8400
+ name: 'pendingOwner',
8401
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
8402
+ stateMutability: 'view',
8403
+ },
8404
+ {
8405
+ type: 'function',
8406
+ inputs: [],
8407
+ name: 'poolManager',
8408
+ outputs: [
8409
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
8410
+ ],
8411
+ stateMutability: 'view',
8412
+ },
8413
+ {
8414
+ type: 'function',
8415
+ inputs: [],
8416
+ name: 'renounceOwnership',
8417
+ outputs: [],
8418
+ stateMutability: 'nonpayable',
8419
+ },
8420
+ {
8421
+ type: 'function',
8422
+ inputs: [
8423
+ {
8424
+ name: 'config',
8425
+ internalType: 'struct LimitOrderConfig',
8426
+ type: 'tuple',
8427
+ components: [
8428
+ { name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
8429
+ { name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
8430
+ ],
8431
+ },
8432
+ ],
8433
+ name: 'setLimitOrderConfig',
8434
+ outputs: [],
8435
+ stateMutability: 'nonpayable',
8436
+ },
8437
+ {
8438
+ type: 'function',
8439
+ inputs: [],
8440
+ name: 'swapRouter',
8441
+ outputs: [
8442
+ { name: '', internalType: 'contract ISwapRouter', type: 'address' },
8443
+ ],
8444
+ stateMutability: 'view',
8445
+ },
8446
+ {
8447
+ type: 'function',
8448
+ inputs: [
8449
+ {
8450
+ name: 'params',
8451
+ internalType: 'struct SwapWithLimitOrders.SwapWithLimitOrdersParams',
8452
+ type: 'tuple',
8453
+ components: [
8454
+ { name: 'recipient', internalType: 'address', type: 'address' },
8455
+ {
8456
+ name: 'limitOrderConfig',
8457
+ internalType: 'struct LimitOrderConfig',
8458
+ type: 'tuple',
8459
+ components: [
8460
+ {
8461
+ name: 'multiples',
8462
+ internalType: 'uint256[]',
8463
+ type: 'uint256[]',
8464
+ },
8465
+ {
8466
+ name: 'percentages',
8467
+ internalType: 'uint256[]',
8468
+ type: 'uint256[]',
8469
+ },
8470
+ ],
8471
+ },
8472
+ { name: 'inputCurrency', internalType: 'address', type: 'address' },
8473
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
8474
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes' },
8475
+ {
8476
+ name: 'v4Route',
8477
+ internalType: 'struct PoolKey[]',
8478
+ type: 'tuple[]',
8479
+ components: [
8480
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8481
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8482
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8483
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8484
+ {
8485
+ name: 'hooks',
8486
+ internalType: 'contract IHooks',
8487
+ type: 'address',
8488
+ },
8489
+ ],
8490
+ },
8491
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
8492
+ ],
8493
+ },
8494
+ ],
8495
+ name: 'swapWithLimitOrders',
8496
+ outputs: [{ name: 'delta', internalType: 'BalanceDelta', type: 'int256' }],
8497
+ stateMutability: 'payable',
8498
+ },
8499
+ {
8500
+ type: 'function',
8501
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
8502
+ name: 'transferOwnership',
8503
+ outputs: [],
8504
+ stateMutability: 'nonpayable',
8505
+ },
8506
+ {
8507
+ type: 'function',
8508
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
8509
+ name: 'unlockCallback',
8510
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
8511
+ stateMutability: 'nonpayable',
8512
+ },
8513
+ {
8514
+ type: 'function',
8515
+ inputs: [],
8516
+ name: 'zoraLimitOrderBook',
8517
+ outputs: [
8518
+ {
8519
+ name: '',
8520
+ internalType: 'contract IZoraLimitOrderBook',
8521
+ type: 'address',
8522
+ },
8523
+ ],
8524
+ stateMutability: 'view',
8525
+ },
8526
+ {
8527
+ type: 'event',
8528
+ anonymous: false,
8529
+ inputs: [
8530
+ {
8531
+ name: 'multiples',
8532
+ internalType: 'uint256[]',
8533
+ type: 'uint256[]',
8534
+ indexed: false,
8535
+ },
8536
+ {
8537
+ name: 'percentages',
8538
+ internalType: 'uint256[]',
8539
+ type: 'uint256[]',
8540
+ indexed: false,
8541
+ },
8542
+ ],
8543
+ name: 'LimitOrderConfigUpdated',
8544
+ },
8545
+ {
8546
+ type: 'event',
8547
+ anonymous: false,
8548
+ inputs: [
8549
+ {
8550
+ name: 'previousOwner',
8551
+ internalType: 'address',
8552
+ type: 'address',
8553
+ indexed: true,
8554
+ },
8555
+ {
8556
+ name: 'newOwner',
8557
+ internalType: 'address',
8558
+ type: 'address',
8559
+ indexed: true,
8560
+ },
8561
+ ],
8562
+ name: 'OwnershipTransferStarted',
8563
+ },
8564
+ {
8565
+ type: 'event',
8566
+ anonymous: false,
8567
+ inputs: [
8568
+ {
8569
+ name: 'previousOwner',
8570
+ internalType: 'address',
8571
+ type: 'address',
8572
+ indexed: true,
8573
+ },
8574
+ {
8575
+ name: 'newOwner',
8576
+ internalType: 'address',
8577
+ type: 'address',
8578
+ indexed: true,
8579
+ },
8580
+ ],
8581
+ name: 'OwnershipTransferred',
8582
+ },
8583
+ {
8584
+ type: 'event',
8585
+ anonymous: false,
8586
+ inputs: [
8587
+ {
8588
+ name: 'sender',
8589
+ internalType: 'address',
8590
+ type: 'address',
8591
+ indexed: true,
8592
+ },
8593
+ {
8594
+ name: 'recipient',
8595
+ internalType: 'address',
8596
+ type: 'address',
8597
+ indexed: true,
8598
+ },
8599
+ {
8600
+ name: 'poolKey',
8601
+ internalType: 'struct PoolKey',
8602
+ type: 'tuple',
8603
+ components: [
8604
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8605
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8606
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8607
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8608
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
8609
+ ],
8610
+ indexed: false,
8611
+ },
8612
+ {
8613
+ name: 'tickBeforeSwap',
8614
+ internalType: 'int24',
8615
+ type: 'int24',
8616
+ indexed: false,
8617
+ },
8618
+ {
8619
+ name: 'tickAfterSwap',
8620
+ internalType: 'int24',
8621
+ type: 'int24',
8622
+ indexed: false,
8623
+ },
8624
+ {
8625
+ name: 'amount0',
8626
+ internalType: 'int128',
8627
+ type: 'int128',
8628
+ indexed: false,
8629
+ },
8630
+ {
8631
+ name: 'amount1',
8632
+ internalType: 'int128',
8633
+ type: 'int128',
8634
+ indexed: false,
8635
+ },
8636
+ {
8637
+ name: 'sqrtPriceX96',
8638
+ internalType: 'uint160',
8639
+ type: 'uint160',
8640
+ indexed: false,
8641
+ },
8642
+ {
8643
+ name: 'orders',
8644
+ internalType: 'struct SwapWithLimitOrders.CreatedOrder[]',
8645
+ type: 'tuple[]',
8646
+ components: [
8647
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
8648
+ { name: 'multiple', internalType: 'uint256', type: 'uint256' },
8649
+ { name: 'percentage', internalType: 'uint256', type: 'uint256' },
8650
+ ],
8651
+ indexed: false,
8652
+ },
8653
+ ],
8654
+ name: 'SwapWithLimitOrdersExecuted',
8655
+ },
8656
+ { type: 'error', inputs: [], name: 'EmptyV4Route' },
8657
+ {
8658
+ type: 'error',
8659
+ inputs: [
8660
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
8661
+ { name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
8662
+ ],
8663
+ name: 'InsufficientInputCurrency',
8664
+ },
8665
+ { type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
8666
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
8667
+ { type: 'error', inputs: [], name: 'InvalidLimitOrderConfig' },
8668
+ { type: 'error', inputs: [], name: 'InvalidMultiple' },
8669
+ { type: 'error', inputs: [], name: 'InvalidPercent' },
8670
+ { type: 'error', inputs: [], name: 'LengthMismatch' },
8671
+ { type: 'error', inputs: [], name: 'OnlyPoolManager' },
8672
+ {
8673
+ type: 'error',
8674
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8675
+ name: 'OwnableInvalidOwner',
8676
+ },
8677
+ {
8678
+ type: 'error',
8679
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8680
+ name: 'OwnableUnauthorizedAccount',
8681
+ },
8682
+ { type: 'error', inputs: [], name: 'PercentOverflow' },
8683
+ {
8684
+ type: 'error',
8685
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
8686
+ name: 'SafeERC20FailedOperation',
8687
+ },
8688
+ { type: 'error', inputs: [], name: 'UnsafeCast' },
8689
+ { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
8690
+ { type: 'error', inputs: [], name: 'ZeroSwapDelta' },
8691
+ { type: 'error', inputs: [], name: 'AddressZero' },
8692
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
8693
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
8694
+ {
8695
+ type: 'error',
8696
+ inputs: [],
8697
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
8698
+ },
8699
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
8700
+ {
8701
+ type: 'error',
8702
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
8703
+ name: 'ECDSAInvalidSignatureLength',
8704
+ },
8705
+ {
8706
+ type: 'error',
8707
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
8708
+ name: 'ECDSAInvalidSignatureS',
8709
+ },
8710
+ {
8711
+ type: 'error',
8712
+ inputs: [
8713
+ { name: 'spender', internalType: 'address', type: 'address' },
8714
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
8715
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8716
+ ],
8717
+ name: 'ERC20InsufficientAllowance',
8718
+ },
8719
+ {
8720
+ type: 'error',
8721
+ inputs: [
8722
+ { name: 'sender', internalType: 'address', type: 'address' },
8723
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
8724
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
8725
+ ],
8726
+ name: 'ERC20InsufficientBalance',
8727
+ },
8728
+ {
8729
+ type: 'error',
8730
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
8731
+ name: 'ERC20InvalidApprover',
8732
+ },
8733
+ {
8734
+ type: 'error',
8735
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
8736
+ name: 'ERC20InvalidReceiver',
8737
+ },
8738
+ {
8739
+ type: 'error',
8740
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
8741
+ name: 'ERC20InvalidSender',
8742
+ },
8743
+ {
8744
+ type: 'error',
8745
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
8746
+ name: 'ERC20InvalidSpender',
8747
+ },
8748
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
8749
+ {
8750
+ type: 'error',
8751
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
8752
+ name: 'ERC2612ExpiredSignature',
8753
+ },
8754
+ {
8755
+ type: 'error',
8756
+ inputs: [
8757
+ { name: 'signer', internalType: 'address', type: 'address' },
8758
+ { name: 'owner', internalType: 'address', type: 'address' },
8759
+ ],
8760
+ name: 'ERC2612InvalidSigner',
8761
+ },
8762
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
8763
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
8764
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8765
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
8766
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
8767
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
8768
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
8769
+ {
8770
+ type: 'error',
8771
+ inputs: [
8772
+ { name: 'account', internalType: 'address', type: 'address' },
8773
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
8774
+ ],
8775
+ name: 'InvalidAccountNonce',
8776
+ },
8777
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
8778
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
8779
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
8780
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
8781
+ {
8782
+ type: 'error',
8783
+ inputs: [
8784
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
8785
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
8786
+ ],
8787
+ name: 'InvalidTickRangeMisordered',
8788
+ },
8789
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
8790
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
8791
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
8792
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
8793
+ {
8794
+ type: 'error',
8795
+ inputs: [
8796
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
8797
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
8798
+ ],
8799
+ name: 'MaxShareToBeSoldExceeded',
8800
+ },
8801
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
8802
+ { type: 'error', inputs: [], name: 'NotInitializing' },
8803
+ { type: 'error', inputs: [], name: 'NotOwner' },
8804
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
8805
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
8806
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
8807
+ {
8808
+ type: 'error',
8809
+ inputs: [
8810
+ { name: 'sender', internalType: 'address', type: 'address' },
8811
+ { name: 'pool', internalType: 'address', type: 'address' },
8812
+ ],
8813
+ name: 'OnlyPool',
8814
+ },
8815
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
8816
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
8817
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
8818
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
8819
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
8820
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
8821
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
8822
+ {
8823
+ type: 'error',
8824
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
8825
+ name: 'InvalidCallbackId',
8826
+ },
8827
+ {
8828
+ type: 'error',
8829
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
8830
+ name: 'InvalidNewHook',
8831
+ },
8832
+ {
8833
+ type: 'error',
8834
+ inputs: [
8835
+ {
8836
+ name: 'key',
8837
+ internalType: 'struct PoolKey',
8838
+ type: 'tuple',
8839
+ components: [
8840
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
8841
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
8842
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
8843
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
8844
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
8845
+ ],
8846
+ },
8847
+ ],
8848
+ name: 'NoCoinForHook',
8849
+ },
8850
+ {
8851
+ type: 'error',
8852
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
8853
+ name: 'NotACoin',
8854
+ },
8855
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8856
+ {
8857
+ type: 'error',
8858
+ inputs: [
8859
+ { name: 'caller', internalType: 'address', type: 'address' },
8860
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8861
+ ],
8862
+ name: 'OnlyCoin',
8863
+ },
8864
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8865
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
8866
+ {
8867
+ type: 'error',
8868
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
8869
+ name: 'SafeERC20FailedOperation',
8870
+ },
8871
+ {
8872
+ type: 'error',
8873
+ inputs: [],
8874
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
8875
+ },
8876
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
8877
+ {
8878
+ type: 'error',
8879
+ inputs: [
8880
+ { name: 'oldHook', internalType: 'address', type: 'address' },
8881
+ { name: 'newHook', internalType: 'address', type: 'address' },
8882
+ ],
8883
+ name: 'UpgradePathNotRegistered',
8884
+ },
8885
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
8886
+ { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
8887
+ { type: 'error', inputs: [], name: 'AddressZero' },
8888
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
8889
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
8890
+ {
8891
+ type: 'error',
8892
+ inputs: [
8893
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
8894
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
8895
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
8896
+ ],
8897
+ name: 'CoinMismatch',
8898
+ },
8899
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
8900
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
8901
+ {
8902
+ type: 'error',
8903
+ inputs: [
8904
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
8905
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
8906
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
8907
+ ],
8908
+ name: 'InvalidFillWindow',
8909
+ },
8910
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
8911
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
8912
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
8913
+ {
8914
+ type: 'error',
8915
+ inputs: [
8916
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
8917
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
8918
+ ],
8919
+ name: 'MinAmountNotReached',
8920
+ },
8921
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
8922
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
8923
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
8924
+ { type: 'error', inputs: [], name: 'OrderClosed' },
8925
+ { type: 'error', inputs: [], name: 'OrderFillable' },
8926
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
8927
+ {
8928
+ type: 'error',
8929
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
8930
+ name: 'OwnableInvalidOwner',
8931
+ },
8932
+ {
8933
+ type: 'error',
8934
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
8935
+ name: 'OwnableUnauthorizedAccount',
8936
+ },
8937
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
8938
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
8939
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
8940
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
8941
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
8942
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
8943
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
8944
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
8945
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
8946
+ ] as const
8947
+
8948
+ /**
8949
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8)
8950
+ */
8951
+ export const devZoraRouterAddress = {
8952
+ 8453: '0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8',
8953
+ } as const
8954
+
8955
+ /**
8956
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x1F35FB3E07e68bC1Bf020c2d59cBF91Ccf5736b8)
8957
+ */
8958
+ export const devZoraRouterConfig = {
8959
+ address: devZoraRouterAddress,
8960
+ abi: devZoraRouterABI,
8961
+ } as const
8962
+
8963
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8964
+ // ERC20Minter
8965
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
8966
+
8967
+ /**
8968
+ * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8969
+ * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8970
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8971
+ * - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8972
+ * - [__View Contract on Blast Blastscan__](https://blastscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8973
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8974
+ * - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8975
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8976
+ * - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x777777E8850d8D6d98De2B5f64fae401F96eFF31)
8977
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2)
8978
+ */
8979
+ export const erc20MinterABI = [
8980
+ {
8981
+ type: 'function',
8982
+ inputs: [],
8983
+ name: 'acceptOwnership',
8984
+ outputs: [],
8985
+ stateMutability: 'nonpayable',
8986
+ },
8987
+ {
8988
+ type: 'function',
8989
+ inputs: [
8990
+ {
8991
+ name: 'config',
8992
+ internalType: 'struct IERC20Minter.PremintSalesConfig',
8993
+ type: 'tuple',
8994
+ components: [
8995
+ { name: 'duration', internalType: 'uint64', type: 'uint64' },
8996
+ {
8997
+ name: 'maxTokensPerAddress',
8998
+ internalType: 'uint64',
8999
+ type: 'uint64',
9000
+ },
9001
+ { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
9002
+ { name: 'fundsRecipient', internalType: 'address', type: 'address' },
9003
+ { name: 'currency', internalType: 'address', type: 'address' },
9004
+ ],
9005
+ },
9006
+ ],
9007
+ name: 'buildSalesConfigForPremint',
9008
+ outputs: [
9009
+ {
9010
+ name: '',
9011
+ internalType: 'struct IERC20Minter.SalesConfig',
9012
+ type: 'tuple',
9013
+ components: [
9014
+ { name: 'saleStart', internalType: 'uint64', type: 'uint64' },
9015
+ { name: 'saleEnd', internalType: 'uint64', type: 'uint64' },
9016
+ {
9017
+ name: 'maxTokensPerAddress',
9018
+ internalType: 'uint64',
9019
+ type: 'uint64',
9020
+ },
9021
+ { name: 'pricePerToken', internalType: 'uint256', type: 'uint256' },
9022
+ { name: 'fundsRecipient', internalType: 'address', type: 'address' },
9023
+ { name: 'currency', internalType: 'address', type: 'address' },
9024
+ ],
9025
+ },
9026
+ ],
9027
+ stateMutability: 'view',
9028
+ },
9029
+ {
9030
+ type: 'function',
9031
+ inputs: [],
9032
+ name: 'cancelOwnershipTransfer',
9033
+ outputs: [],
9034
+ stateMutability: 'nonpayable',
9035
+ },
9036
+ {
9037
+ type: 'function',
9038
+ inputs: [{ name: 'totalReward', internalType: 'uint256', type: 'uint256' }],
9039
+ name: 'computePaidMintRewards',
9040
+ outputs: [
9041
+ {
9042
+ name: '',
9043
+ internalType: 'struct IERC20Minter.RewardsSettings',
9044
+ type: 'tuple',
9045
+ components: [
9046
+ {
9047
+ name: 'createReferralReward',
9048
+ internalType: 'uint256',
9049
+ type: 'uint256',
9050
+ },
9051
+ {
9052
+ name: 'mintReferralReward',
9053
+ internalType: 'uint256',
9054
+ type: 'uint256',
9055
+ },
9056
+ { name: 'zoraReward', internalType: 'uint256', type: 'uint256' },
9057
+ {
9058
+ name: 'firstMinterReward',
9059
+ internalType: 'uint256',
9060
+ type: 'uint256',
9061
+ },
9062
+ ],
9063
+ },
9064
+ ],
9065
+ stateMutability: 'pure',
9066
+ },
9067
+ {
9068
+ type: 'function',
9069
+ inputs: [
9070
+ { name: 'totalReward', internalType: 'uint256', type: 'uint256' },
9071
+ { name: 'rewardPct', internalType: 'uint256', type: 'uint256' },
9072
+ ],
6625
9073
  name: 'computeReward',
6626
9074
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
6627
9075
  stateMutability: 'pure',
@@ -15343,7 +17791,7 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
15343
17791
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
15344
17792
 
15345
17793
  /**
15346
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
17794
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777A5906659b67CE61511489Ae76DA63920f)
15347
17795
  */
15348
17796
  export const zoraLimitOrderBookABI = [
15349
17797
  {
@@ -15356,17 +17804,18 @@ export const zoraLimitOrderBookABI = [
15356
17804
  type: 'address',
15357
17805
  },
15358
17806
  { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
15359
- { name: 'authority_', internalType: 'address', type: 'address' },
17807
+ { name: 'owner_', internalType: 'address', type: 'address' },
17808
+ { name: 'weth_', internalType: 'address', type: 'address' },
15360
17809
  ],
15361
17810
  stateMutability: 'nonpayable',
15362
17811
  },
15363
17812
  { type: 'receive', stateMutability: 'payable' },
15364
17813
  {
15365
- type: 'function',
15366
- inputs: [],
15367
- name: 'authority',
15368
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
15369
- stateMutability: 'view',
17814
+ type: 'function',
17815
+ inputs: [],
17816
+ name: 'acceptOwnership',
17817
+ outputs: [],
17818
+ stateMutability: 'nonpayable',
15370
17819
  },
15371
17820
  {
15372
17821
  type: 'function',
@@ -15378,6 +17827,13 @@ export const zoraLimitOrderBookABI = [
15378
17827
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15379
17828
  stateMutability: 'view',
15380
17829
  },
17830
+ {
17831
+ type: 'function',
17832
+ inputs: [],
17833
+ name: 'contractVersion',
17834
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
17835
+ stateMutability: 'pure',
17836
+ },
15381
17837
  {
15382
17838
  type: 'function',
15383
17839
  inputs: [
@@ -15468,6 +17924,27 @@ export const zoraLimitOrderBookABI = [
15468
17924
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15469
17925
  stateMutability: 'view',
15470
17926
  },
17927
+ {
17928
+ type: 'function',
17929
+ inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
17930
+ name: 'isPermittedCaller',
17931
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
17932
+ stateMutability: 'view',
17933
+ },
17934
+ {
17935
+ type: 'function',
17936
+ inputs: [],
17937
+ name: 'owner',
17938
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17939
+ stateMutability: 'view',
17940
+ },
17941
+ {
17942
+ type: 'function',
17943
+ inputs: [],
17944
+ name: 'pendingOwner',
17945
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17946
+ stateMutability: 'view',
17947
+ },
15471
17948
  {
15472
17949
  type: 'function',
15473
17950
  inputs: [],
@@ -15479,10 +17956,8 @@ export const zoraLimitOrderBookABI = [
15479
17956
  },
15480
17957
  {
15481
17958
  type: 'function',
15482
- inputs: [
15483
- { name: 'newAuthority', internalType: 'address', type: 'address' },
15484
- ],
15485
- name: 'setAuthority',
17959
+ inputs: [],
17960
+ name: 'renounceOwnership',
15486
17961
  outputs: [],
15487
17962
  stateMutability: 'nonpayable',
15488
17963
  },
@@ -15495,6 +17970,23 @@ export const zoraLimitOrderBookABI = [
15495
17970
  outputs: [],
15496
17971
  stateMutability: 'nonpayable',
15497
17972
  },
17973
+ {
17974
+ type: 'function',
17975
+ inputs: [
17976
+ { name: 'callers', internalType: 'address[]', type: 'address[]' },
17977
+ { name: 'permitted', internalType: 'bool[]', type: 'bool[]' },
17978
+ ],
17979
+ name: 'setPermittedCallers',
17980
+ outputs: [],
17981
+ stateMutability: 'nonpayable',
17982
+ },
17983
+ {
17984
+ type: 'function',
17985
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
17986
+ name: 'transferOwnership',
17987
+ outputs: [],
17988
+ stateMutability: 'nonpayable',
17989
+ },
15498
17990
  {
15499
17991
  type: 'function',
15500
17992
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -15502,6 +17994,13 @@ export const zoraLimitOrderBookABI = [
15502
17994
  outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
15503
17995
  stateMutability: 'nonpayable',
15504
17996
  },
17997
+ {
17998
+ type: 'function',
17999
+ inputs: [],
18000
+ name: 'weth',
18001
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
18002
+ stateMutability: 'view',
18003
+ },
15505
18004
  {
15506
18005
  type: 'function',
15507
18006
  inputs: [
@@ -15536,19 +18035,6 @@ export const zoraLimitOrderBookABI = [
15536
18035
  ],
15537
18036
  stateMutability: 'view',
15538
18037
  },
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
18038
  {
15553
18039
  type: 'event',
15554
18040
  anonymous: false,
@@ -15727,13 +18213,60 @@ export const zoraLimitOrderBookABI = [
15727
18213
  name: 'MakerBalanceUpdated',
15728
18214
  },
15729
18215
  {
15730
- type: 'error',
15731
- inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
15732
- name: 'AccessManagedInvalidAuthority',
18216
+ type: 'event',
18217
+ anonymous: false,
18218
+ inputs: [
18219
+ {
18220
+ name: 'previousOwner',
18221
+ internalType: 'address',
18222
+ type: 'address',
18223
+ indexed: true,
18224
+ },
18225
+ {
18226
+ name: 'newOwner',
18227
+ internalType: 'address',
18228
+ type: 'address',
18229
+ indexed: true,
18230
+ },
18231
+ ],
18232
+ name: 'OwnershipTransferStarted',
18233
+ },
18234
+ {
18235
+ type: 'event',
18236
+ anonymous: false,
18237
+ inputs: [
18238
+ {
18239
+ name: 'previousOwner',
18240
+ internalType: 'address',
18241
+ type: 'address',
18242
+ indexed: true,
18243
+ },
18244
+ {
18245
+ name: 'newOwner',
18246
+ internalType: 'address',
18247
+ type: 'address',
18248
+ indexed: true,
18249
+ },
18250
+ ],
18251
+ name: 'OwnershipTransferred',
18252
+ },
18253
+ {
18254
+ type: 'event',
18255
+ anonymous: false,
18256
+ inputs: [
18257
+ {
18258
+ name: 'caller',
18259
+ internalType: 'address',
18260
+ type: 'address',
18261
+ indexed: true,
18262
+ },
18263
+ { name: 'permitted', internalType: 'bool', type: 'bool', indexed: false },
18264
+ ],
18265
+ name: 'PermittedCallerUpdated',
15733
18266
  },
15734
- { type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
15735
18267
  { type: 'error', inputs: [], name: 'AddressZero' },
15736
18268
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
18269
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
15737
18270
  {
15738
18271
  type: 'error',
15739
18272
  inputs: [
@@ -15769,11 +18302,24 @@ export const zoraLimitOrderBookABI = [
15769
18302
  { type: 'error', inputs: [], name: 'NotPoolManager' },
15770
18303
  { type: 'error', inputs: [], name: 'OnlyZoraHook' },
15771
18304
  { type: 'error', inputs: [], name: 'OrderClosed' },
18305
+ { type: 'error', inputs: [], name: 'OrderFillable' },
15772
18306
  { type: 'error', inputs: [], name: 'OrderNotMaker' },
18307
+ {
18308
+ type: 'error',
18309
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
18310
+ name: 'OwnableInvalidOwner',
18311
+ },
18312
+ {
18313
+ type: 'error',
18314
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
18315
+ name: 'OwnableUnauthorizedAccount',
18316
+ },
15773
18317
  { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
18318
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
15774
18319
  { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
15775
18320
  { type: 'error', inputs: [], name: 'UnknownCallback' },
15776
18321
  { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
18322
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
15777
18323
  { type: 'error', inputs: [], name: 'ZeroMaker' },
15778
18324
  { type: 'error', inputs: [], name: 'ZeroOrderSize' },
15779
18325
  { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
@@ -15863,7 +18409,6 @@ export const zoraLimitOrderBookABI = [
15863
18409
  ],
15864
18410
  name: 'InvalidAccountNonce',
15865
18411
  },
15866
- { type: 'error', inputs: [], name: 'InvalidCurrency' },
15867
18412
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
15868
18413
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
15869
18414
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -15977,14 +18522,14 @@ export const zoraLimitOrderBookABI = [
15977
18522
  ] as const
15978
18523
 
15979
18524
  /**
15980
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
18525
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777A5906659b67CE61511489Ae76DA63920f)
15981
18526
  */
15982
18527
  export const zoraLimitOrderBookAddress = {
15983
- 8453: '0x198419084C13d59c7b3E4c469A3d15b31263B06C',
18528
+ 8453: '0x7777777A5906659b67CE61511489Ae76DA63920f',
15984
18529
  } as const
15985
18530
 
15986
18531
  /**
15987
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
18532
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777A5906659b67CE61511489Ae76DA63920f)
15988
18533
  */
15989
18534
  export const zoraLimitOrderBookConfig = {
15990
18535
  address: zoraLimitOrderBookAddress,
@@ -17699,7 +20244,7 @@ export const zoraMintsManagerImplConfig = {
17699
20244
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
17700
20245
 
17701
20246
  /**
17702
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
20247
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2)
17703
20248
  */
17704
20249
  export const zoraRouterABI = [
17705
20250
  {
@@ -17721,10 +20266,25 @@ export const zoraRouterABI = [
17721
20266
  type: 'address',
17722
20267
  },
17723
20268
  { name: 'permit2_', internalType: 'address', type: 'address' },
20269
+ { name: 'owner_', internalType: 'address', type: 'address' },
17724
20270
  ],
17725
20271
  stateMutability: 'nonpayable',
17726
20272
  },
17727
20273
  { type: 'receive', stateMutability: 'payable' },
20274
+ {
20275
+ type: 'function',
20276
+ inputs: [],
20277
+ name: 'acceptOwnership',
20278
+ outputs: [],
20279
+ stateMutability: 'nonpayable',
20280
+ },
20281
+ {
20282
+ type: 'function',
20283
+ inputs: [],
20284
+ name: 'contractVersion',
20285
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
20286
+ stateMutability: 'pure',
20287
+ },
17728
20288
  {
17729
20289
  type: 'function',
17730
20290
  inputs: [],
@@ -17749,6 +20309,20 @@ export const zoraRouterABI = [
17749
20309
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
17750
20310
  stateMutability: 'view',
17751
20311
  },
20312
+ {
20313
+ type: 'function',
20314
+ inputs: [],
20315
+ name: 'owner',
20316
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
20317
+ stateMutability: 'view',
20318
+ },
20319
+ {
20320
+ type: 'function',
20321
+ inputs: [],
20322
+ name: 'pendingOwner',
20323
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
20324
+ stateMutability: 'view',
20325
+ },
17752
20326
  {
17753
20327
  type: 'function',
17754
20328
  inputs: [],
@@ -17758,6 +20332,13 @@ export const zoraRouterABI = [
17758
20332
  ],
17759
20333
  stateMutability: 'view',
17760
20334
  },
20335
+ {
20336
+ type: 'function',
20337
+ inputs: [],
20338
+ name: 'renounceOwnership',
20339
+ outputs: [],
20340
+ stateMutability: 'nonpayable',
20341
+ },
17761
20342
  {
17762
20343
  type: 'function',
17763
20344
  inputs: [
@@ -17837,6 +20418,13 @@ export const zoraRouterABI = [
17837
20418
  outputs: [{ name: 'delta', internalType: 'BalanceDelta', type: 'int256' }],
17838
20419
  stateMutability: 'payable',
17839
20420
  },
20421
+ {
20422
+ type: 'function',
20423
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
20424
+ name: 'transferOwnership',
20425
+ outputs: [],
20426
+ stateMutability: 'nonpayable',
20427
+ },
17840
20428
  {
17841
20429
  type: 'function',
17842
20430
  inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
@@ -17876,6 +20464,44 @@ export const zoraRouterABI = [
17876
20464
  ],
17877
20465
  name: 'LimitOrderConfigUpdated',
17878
20466
  },
20467
+ {
20468
+ type: 'event',
20469
+ anonymous: false,
20470
+ inputs: [
20471
+ {
20472
+ name: 'previousOwner',
20473
+ internalType: 'address',
20474
+ type: 'address',
20475
+ indexed: true,
20476
+ },
20477
+ {
20478
+ name: 'newOwner',
20479
+ internalType: 'address',
20480
+ type: 'address',
20481
+ indexed: true,
20482
+ },
20483
+ ],
20484
+ name: 'OwnershipTransferStarted',
20485
+ },
20486
+ {
20487
+ type: 'event',
20488
+ anonymous: false,
20489
+ inputs: [
20490
+ {
20491
+ name: 'previousOwner',
20492
+ internalType: 'address',
20493
+ type: 'address',
20494
+ indexed: true,
20495
+ },
20496
+ {
20497
+ name: 'newOwner',
20498
+ internalType: 'address',
20499
+ type: 'address',
20500
+ indexed: true,
20501
+ },
20502
+ ],
20503
+ name: 'OwnershipTransferred',
20504
+ },
17879
20505
  {
17880
20506
  type: 'event',
17881
20507
  anonymous: false,
@@ -17905,12 +20531,6 @@ export const zoraRouterABI = [
17905
20531
  ],
17906
20532
  indexed: false,
17907
20533
  },
17908
- {
17909
- name: 'delta',
17910
- internalType: 'BalanceDelta',
17911
- type: 'int256',
17912
- indexed: false,
17913
- },
17914
20534
  {
17915
20535
  name: 'tickBeforeSwap',
17916
20536
  internalType: 'int24',
@@ -17923,6 +20543,24 @@ export const zoraRouterABI = [
17923
20543
  type: 'int24',
17924
20544
  indexed: false,
17925
20545
  },
20546
+ {
20547
+ name: 'amount0',
20548
+ internalType: 'int128',
20549
+ type: 'int128',
20550
+ indexed: false,
20551
+ },
20552
+ {
20553
+ name: 'amount1',
20554
+ internalType: 'int128',
20555
+ type: 'int128',
20556
+ indexed: false,
20557
+ },
20558
+ {
20559
+ name: 'sqrtPriceX96',
20560
+ internalType: 'uint160',
20561
+ type: 'uint160',
20562
+ indexed: false,
20563
+ },
17926
20564
  {
17927
20565
  name: 'orders',
17928
20566
  internalType: 'struct SwapWithLimitOrders.CreatedOrder[]',
@@ -17938,7 +20576,6 @@ export const zoraRouterABI = [
17938
20576
  name: 'SwapWithLimitOrdersExecuted',
17939
20577
  },
17940
20578
  { type: 'error', inputs: [], name: 'EmptyV4Route' },
17941
- { type: 'error', inputs: [], name: 'FromAddressIsNotOwner' },
17942
20579
  {
17943
20580
  type: 'error',
17944
20581
  inputs: [
@@ -17953,8 +20590,17 @@ export const zoraRouterABI = [
17953
20590
  { type: 'error', inputs: [], name: 'InvalidMultiple' },
17954
20591
  { type: 'error', inputs: [], name: 'InvalidPercent' },
17955
20592
  { type: 'error', inputs: [], name: 'LengthMismatch' },
17956
- { type: 'error', inputs: [], name: 'OnlyAuthority' },
17957
20593
  { type: 'error', inputs: [], name: 'OnlyPoolManager' },
20594
+ {
20595
+ type: 'error',
20596
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
20597
+ name: 'OwnableInvalidOwner',
20598
+ },
20599
+ {
20600
+ type: 'error',
20601
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
20602
+ name: 'OwnableUnauthorizedAccount',
20603
+ },
17958
20604
  { type: 'error', inputs: [], name: 'PercentOverflow' },
17959
20605
  {
17960
20606
  type: 'error',
@@ -18050,7 +20696,6 @@ export const zoraRouterABI = [
18050
20696
  ],
18051
20697
  name: 'InvalidAccountNonce',
18052
20698
  },
18053
- { type: 'error', inputs: [], name: 'InvalidCurrency' },
18054
20699
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
18055
20700
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
18056
20701
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -18161,14 +20806,9 @@ export const zoraRouterABI = [
18161
20806
  },
18162
20807
  { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
18163
20808
  { 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
20809
  { type: 'error', inputs: [], name: 'AddressZero' },
18171
20810
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
20811
+ { type: 'error', inputs: [], name: 'CallerNotPermitted' },
18172
20812
  {
18173
20813
  type: 'error',
18174
20814
  inputs: [
@@ -18204,25 +20844,38 @@ export const zoraRouterABI = [
18204
20844
  { type: 'error', inputs: [], name: 'NotPoolManager' },
18205
20845
  { type: 'error', inputs: [], name: 'OnlyZoraHook' },
18206
20846
  { type: 'error', inputs: [], name: 'OrderClosed' },
20847
+ { type: 'error', inputs: [], name: 'OrderFillable' },
18207
20848
  { type: 'error', inputs: [], name: 'OrderNotMaker' },
20849
+ {
20850
+ type: 'error',
20851
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
20852
+ name: 'OwnableInvalidOwner',
20853
+ },
20854
+ {
20855
+ type: 'error',
20856
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
20857
+ name: 'OwnableUnauthorizedAccount',
20858
+ },
18208
20859
  { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
20860
+ { type: 'error', inputs: [], name: 'PermittedCallersLengthMismatch' },
18209
20861
  { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
18210
20862
  { type: 'error', inputs: [], name: 'UnknownCallback' },
18211
20863
  { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
20864
+ { type: 'error', inputs: [], name: 'WethTransferFailed' },
18212
20865
  { type: 'error', inputs: [], name: 'ZeroMaker' },
18213
20866
  { type: 'error', inputs: [], name: 'ZeroOrderSize' },
18214
20867
  { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
18215
20868
  ] as const
18216
20869
 
18217
20870
  /**
18218
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
20871
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2)
18219
20872
  */
18220
20873
  export const zoraRouterAddress = {
18221
- 8453: '0x42E354928b1BD9082FAFc2dF01222827E9fD098F',
20874
+ 8453: '0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2',
18222
20875
  } as const
18223
20876
 
18224
20877
  /**
18225
- * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
20878
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x7777777f62529Ea64736E24ad9ad3E4a39eB97c2)
18226
20879
  */
18227
20880
  export const zoraRouterConfig = {
18228
20881
  address: zoraRouterAddress,