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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -278,18 +278,7 @@ export const buySupplyWithSwapRouterHookABI = [
278
278
  ],
279
279
  name: 'BuyInitialSupply',
280
280
  },
281
- {
282
- type: 'error',
283
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
284
- name: 'AddressEmptyCode',
285
- },
286
- {
287
- type: 'error',
288
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
289
- name: 'AddressInsufficientBalance',
290
- },
291
281
  { type: 'error', inputs: [], name: 'AddressZero' },
292
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
293
282
  { type: 'error', inputs: [], name: 'HookNotImplemented' },
294
283
  {
295
284
  type: 'error',
@@ -307,7 +296,6 @@ export const buySupplyWithSwapRouterHookABI = [
307
296
  inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
308
297
  name: 'SafeERC20FailedOperation',
309
298
  },
310
- { type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
311
299
  { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
312
300
  ] as const
313
301
 
@@ -2444,6 +2432,7 @@ export const coinABI = [
2444
2432
  ],
2445
2433
  name: 'InvalidAccountNonce',
2446
2434
  },
2435
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
2447
2436
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
2448
2437
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
2449
2438
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -2502,6 +2491,7 @@ export const coinFactoryABI = [
2502
2491
  inputs: [
2503
2492
  { name: 'coinV4Impl_', internalType: 'address', type: 'address' },
2504
2493
  { name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
2494
+ { name: 'trendCoinImpl_', internalType: 'address', type: 'address' },
2505
2495
  { name: 'hook_', internalType: 'address', type: 'address' },
2506
2496
  { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
2507
2497
  ],
@@ -2674,6 +2664,20 @@ export const coinFactoryABI = [
2674
2664
  ],
2675
2665
  stateMutability: 'payable',
2676
2666
  },
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
+ },
2677
2681
  {
2678
2682
  type: 'function',
2679
2683
  inputs: [
@@ -2759,6 +2763,20 @@ export const coinFactoryABI = [
2759
2763
  outputs: [],
2760
2764
  stateMutability: 'nonpayable',
2761
2765
  },
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
+ },
2762
2780
  {
2763
2781
  type: 'function',
2764
2782
  inputs: [
@@ -2894,6 +2912,12 @@ export const coinFactoryABI = [
2894
2912
  type: 'bytes32',
2895
2913
  indexed: false,
2896
2914
  },
2915
+ {
2916
+ name: 'poolConfig',
2917
+ internalType: 'bytes',
2918
+ type: 'bytes',
2919
+ indexed: false,
2920
+ },
2897
2921
  {
2898
2922
  name: 'version',
2899
2923
  internalType: 'string',
@@ -2964,6 +2988,12 @@ export const coinFactoryABI = [
2964
2988
  type: 'bytes32',
2965
2989
  indexed: false,
2966
2990
  },
2991
+ {
2992
+ name: 'poolConfig',
2993
+ internalType: 'bytes',
2994
+ type: 'bytes',
2995
+ indexed: false,
2996
+ },
2967
2997
  {
2968
2998
  name: 'version',
2969
2999
  internalType: 'string',
@@ -3024,6 +3054,62 @@ export const coinFactoryABI = [
3024
3054
  ],
3025
3055
  name: 'OwnershipTransferred',
3026
3056
  },
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
+ },
3027
3113
  {
3028
3114
  type: 'event',
3029
3115
  anonymous: false,
@@ -3045,7 +3131,6 @@ export const coinFactoryABI = [
3045
3131
  { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
3046
3132
  { type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
3047
3133
  { type: 'error', inputs: [], name: 'Deprecated' },
3048
- { type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
3049
3134
  {
3050
3135
  type: 'error',
3051
3136
  inputs: [
@@ -3055,7 +3140,16 @@ export const coinFactoryABI = [
3055
3140
  },
3056
3141
  { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
3057
3142
  { type: 'error', inputs: [], name: 'EthTransferInvalid' },
3058
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
3143
+ { type: 'error', inputs: [], name: 'FailedCall' },
3144
+ { type: 'error', inputs: [], name: 'FailedDeployment' },
3145
+ {
3146
+ type: 'error',
3147
+ inputs: [
3148
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
3149
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
3150
+ ],
3151
+ name: 'InsufficientBalance',
3152
+ },
3059
3153
  { type: 'error', inputs: [], name: 'InvalidConfig' },
3060
3154
  { type: 'error', inputs: [], name: 'InvalidHook' },
3061
3155
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
@@ -3089,6 +3183,11 @@ export const coinFactoryABI = [
3089
3183
  name: 'OwnableUnauthorizedAccount',
3090
3184
  },
3091
3185
  { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
3186
+ {
3187
+ type: 'error',
3188
+ inputs: [{ name: 'ticker', internalType: 'string', type: 'string' }],
3189
+ name: 'TickerAlreadyUsed',
3190
+ },
3092
3191
  { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
3093
3192
  {
3094
3193
  type: 'error',
@@ -3105,18 +3204,7 @@ export const coinFactoryABI = [
3105
3204
  },
3106
3205
  { type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
3107
3206
  { type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
3108
- {
3109
- type: 'error',
3110
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
3111
- name: 'AddressEmptyCode',
3112
- },
3113
- {
3114
- type: 'error',
3115
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
3116
- name: 'AddressInsufficientBalance',
3117
- },
3118
3207
  { type: 'error', inputs: [], name: 'AddressZero' },
3119
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
3120
3208
  { type: 'error', inputs: [], name: 'HookNotImplemented' },
3121
3209
  {
3122
3210
  type: 'error',
@@ -3134,7 +3222,6 @@ export const coinFactoryABI = [
3134
3222
  inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
3135
3223
  name: 'SafeERC20FailedOperation',
3136
3224
  },
3137
- { type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
3138
3225
  { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
3139
3226
  { type: 'error', inputs: [], name: 'AddressZero' },
3140
3227
  { type: 'error', inputs: [], name: 'AlreadyOwner' },
@@ -3222,6 +3309,7 @@ export const coinFactoryABI = [
3222
3309
  ],
3223
3310
  name: 'InvalidAccountNonce',
3224
3311
  },
3312
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
3225
3313
  { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
3226
3314
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
3227
3315
  { type: 'error', inputs: [], name: 'InvalidMarketType' },
@@ -3264,6 +3352,125 @@ export const coinFactoryABI = [
3264
3352
  { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
3265
3353
  { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
3266
3354
  { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
3355
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
3356
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
3357
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
3358
+ {
3359
+ type: 'error',
3360
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
3361
+ name: 'InvalidCallbackId',
3362
+ },
3363
+ {
3364
+ type: 'error',
3365
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
3366
+ name: 'InvalidNewHook',
3367
+ },
3368
+ {
3369
+ type: 'error',
3370
+ inputs: [
3371
+ {
3372
+ name: 'key',
3373
+ internalType: 'struct PoolKey',
3374
+ type: 'tuple',
3375
+ components: [
3376
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
3377
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
3378
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
3379
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
3380
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
3381
+ ],
3382
+ },
3383
+ ],
3384
+ name: 'NoCoinForHook',
3385
+ },
3386
+ {
3387
+ type: 'error',
3388
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
3389
+ name: 'NotACoin',
3390
+ },
3391
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
3392
+ {
3393
+ type: 'error',
3394
+ inputs: [
3395
+ { name: 'caller', internalType: 'address', type: 'address' },
3396
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
3397
+ ],
3398
+ name: 'OnlyCoin',
3399
+ },
3400
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
3401
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
3402
+ {
3403
+ type: 'error',
3404
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
3405
+ name: 'SafeERC20FailedOperation',
3406
+ },
3407
+ {
3408
+ type: 'error',
3409
+ inputs: [],
3410
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
3411
+ },
3412
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
3413
+ {
3414
+ type: 'error',
3415
+ inputs: [
3416
+ { name: 'oldHook', internalType: 'address', type: 'address' },
3417
+ { name: 'newHook', internalType: 'address', type: 'address' },
3418
+ ],
3419
+ name: 'UpgradePathNotRegistered',
3420
+ },
3421
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
3422
+ { 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
+ { type: 'error', inputs: [], name: 'AddressZero' },
3430
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
3431
+ {
3432
+ type: 'error',
3433
+ inputs: [
3434
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
3435
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
3436
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
3437
+ ],
3438
+ name: 'CoinMismatch',
3439
+ },
3440
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
3441
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
3442
+ {
3443
+ type: 'error',
3444
+ inputs: [
3445
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
3446
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
3447
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
3448
+ ],
3449
+ name: 'InvalidFillWindow',
3450
+ },
3451
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
3452
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
3453
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
3454
+ {
3455
+ type: 'error',
3456
+ inputs: [
3457
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
3458
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
3459
+ ],
3460
+ name: 'MinAmountNotReached',
3461
+ },
3462
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
3463
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
3464
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
3465
+ { type: 'error', inputs: [], name: 'OrderClosed' },
3466
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
3467
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
3468
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
3469
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
3470
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
3471
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
3472
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
3473
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
3267
3474
  ] as const
3268
3475
 
3269
3476
  /**
@@ -10154,58 +10361,6 @@ export const uniswapQuoterV2Config = {
10154
10361
  abi: uniswapQuoterV2ABI,
10155
10362
  } as const
10156
10363
 
10157
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
10158
- // UniswapUniversalRouter
10159
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
10160
-
10161
- /**
10162
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
10163
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
10164
- */
10165
- export const uniswapUniversalRouterABI = [
10166
- {
10167
- type: 'function',
10168
- inputs: [
10169
- { name: 'commands', internalType: 'bytes', type: 'bytes' },
10170
- { name: 'inputs', internalType: 'bytes[]', type: 'bytes[]' },
10171
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
10172
- ],
10173
- name: 'execute',
10174
- outputs: [],
10175
- stateMutability: 'payable',
10176
- },
10177
- { type: 'error', inputs: [], name: 'ETHNotAccepted' },
10178
- {
10179
- type: 'error',
10180
- inputs: [
10181
- { name: 'commandIndex', internalType: 'uint256', type: 'uint256' },
10182
- { name: 'message', internalType: 'bytes', type: 'bytes' },
10183
- ],
10184
- name: 'ExecutionFailed',
10185
- },
10186
- { type: 'error', inputs: [], name: 'InvalidEthSender' },
10187
- { type: 'error', inputs: [], name: 'LengthMismatch' },
10188
- { type: 'error', inputs: [], name: 'TransactionDeadlinePassed' },
10189
- ] as const
10190
-
10191
- /**
10192
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
10193
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
10194
- */
10195
- export const uniswapUniversalRouterAddress = {
10196
- 8453: '0x6fF5693b99212Da76ad316178A184AB56D299b43',
10197
- 84532: '0x492E6456D9528771018DeB9E87ef7750EF184104',
10198
- } as const
10199
-
10200
- /**
10201
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
10202
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
10203
- */
10204
- export const uniswapUniversalRouterConfig = {
10205
- address: uniswapUniversalRouterAddress,
10206
- abi: uniswapUniversalRouterABI,
10207
- } as const
10208
-
10209
10364
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
10210
10365
  // UniswapV3SwapRouter
10211
10366
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -15184,749 +15339,620 @@ export const zoraCreatorRedeemMinterFactoryConfig = {
15184
15339
  } as const
15185
15340
 
15186
15341
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
15187
- // ZoraMints1155
15342
+ // ZoraLimitOrderBook
15188
15343
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
15189
15344
 
15190
15345
  /**
15191
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
15192
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
15346
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
15193
15347
  */
15194
- export const zoraMints1155ABI = [
15195
- { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
15348
+ export const zoraLimitOrderBookABI = [
15196
15349
  {
15197
- type: 'function',
15198
- inputs: [],
15199
- name: 'ETH_ADDRESS',
15200
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
15201
- stateMutability: 'view',
15350
+ type: 'constructor',
15351
+ inputs: [
15352
+ { name: 'poolManager_', internalType: 'address', type: 'address' },
15353
+ {
15354
+ name: 'zoraCoinVersionLookup_',
15355
+ internalType: 'address',
15356
+ type: 'address',
15357
+ },
15358
+ { name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
15359
+ { name: 'authority_', internalType: 'address', type: 'address' },
15360
+ ],
15361
+ stateMutability: 'nonpayable',
15202
15362
  },
15363
+ { type: 'receive', stateMutability: 'payable' },
15203
15364
  {
15204
15365
  type: 'function',
15205
15366
  inputs: [],
15206
- name: 'MINIMUM_ERC20_PRICE',
15207
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15367
+ name: 'authority',
15368
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
15208
15369
  stateMutability: 'view',
15209
15370
  },
15210
15371
  {
15211
15372
  type: 'function',
15212
- inputs: [],
15213
- name: 'MINIMUM_ETH_PRICE',
15373
+ inputs: [
15374
+ { name: 'maker', internalType: 'address', type: 'address' },
15375
+ { name: 'coin', internalType: 'address', type: 'address' },
15376
+ ],
15377
+ name: 'balanceOf',
15214
15378
  outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15215
15379
  stateMutability: 'view',
15216
15380
  },
15217
- {
15218
- type: 'function',
15219
- inputs: [],
15220
- name: 'NAME',
15221
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
15222
- stateMutability: 'view',
15223
- },
15224
- {
15225
- type: 'function',
15226
- inputs: [],
15227
- name: 'VERSION',
15228
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
15229
- stateMutability: 'view',
15230
- },
15231
- {
15232
- type: 'function',
15233
- inputs: [],
15234
- name: 'authority',
15235
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
15236
- stateMutability: 'view',
15237
- },
15238
- {
15239
- type: 'function',
15240
- inputs: [
15241
- { name: 'account', internalType: 'address', type: 'address' },
15242
- { name: 'id', internalType: 'uint256', type: 'uint256' },
15243
- ],
15244
- name: 'balanceOf',
15245
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15246
- stateMutability: 'view',
15247
- },
15248
- {
15249
- type: 'function',
15250
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
15251
- name: 'balanceOfAccount',
15252
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15253
- stateMutability: 'view',
15254
- },
15255
- {
15256
- type: 'function',
15257
- inputs: [
15258
- { name: 'accounts', internalType: 'address[]', type: 'address[]' },
15259
- { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
15260
- ],
15261
- name: 'balanceOfBatch',
15262
- outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }],
15263
- stateMutability: 'view',
15264
- },
15265
- {
15266
- type: 'function',
15267
- inputs: [],
15268
- name: 'contractURI',
15269
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
15270
- stateMutability: 'view',
15271
- },
15272
15381
  {
15273
15382
  type: 'function',
15274
15383
  inputs: [
15275
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15276
- {
15277
- name: 'tokenConfig',
15278
- internalType: 'struct TokenConfig',
15279
- type: 'tuple',
15280
- components: [
15281
- { name: 'price', internalType: 'uint256', type: 'uint256' },
15282
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
15283
- { name: 'redeemHandler', internalType: 'address', type: 'address' },
15284
- ],
15285
- },
15286
- ],
15287
- name: 'createToken',
15288
- outputs: [],
15289
- stateMutability: 'nonpayable',
15290
- },
15291
- {
15292
- type: 'function',
15293
- inputs: [],
15294
- name: 'eip712Domain',
15295
- outputs: [
15296
- { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
15297
- { name: 'name', internalType: 'string', type: 'string' },
15298
- { name: 'version', internalType: 'string', type: 'string' },
15299
- { name: 'chainId', internalType: 'uint256', type: 'uint256' },
15300
- { name: 'verifyingContract', internalType: 'address', type: 'address' },
15301
- { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
15302
- { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
15303
- ],
15304
- stateMutability: 'view',
15305
- },
15306
- {
15307
- type: 'function',
15308
- inputs: [],
15309
- name: 'getManager',
15310
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
15311
- stateMutability: 'view',
15312
- },
15313
- {
15314
- type: 'function',
15315
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
15316
- name: 'getTokenConfig',
15317
- outputs: [
15318
15384
  {
15319
- name: '',
15320
- internalType: 'struct TokenConfig',
15385
+ name: 'key',
15386
+ internalType: 'struct PoolKey',
15321
15387
  type: 'tuple',
15322
15388
  components: [
15323
- { name: 'price', internalType: 'uint256', type: 'uint256' },
15324
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
15325
- { name: 'redeemHandler', internalType: 'address', type: 'address' },
15389
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
15390
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
15391
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
15392
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
15393
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
15326
15394
  ],
15327
15395
  },
15396
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
15397
+ { name: 'orderSizes', internalType: 'uint256[]', type: 'uint256[]' },
15398
+ { name: 'orderTicks', internalType: 'int24[]', type: 'int24[]' },
15399
+ { name: 'maker', internalType: 'address', type: 'address' },
15328
15400
  ],
15329
- stateMutability: 'view',
15401
+ name: 'create',
15402
+ outputs: [{ name: '', internalType: 'bytes32[]', type: 'bytes32[]' }],
15403
+ stateMutability: 'payable',
15330
15404
  },
15331
15405
  {
15332
15406
  type: 'function',
15333
15407
  inputs: [
15334
15408
  {
15335
- name: 'permit',
15336
- internalType: 'struct IZoraSparks1155Managed.PermitBatch',
15409
+ name: 'key',
15410
+ internalType: 'struct PoolKey',
15337
15411
  type: 'tuple',
15338
15412
  components: [
15339
- { name: 'owner', internalType: 'address', type: 'address' },
15340
- { name: 'to', internalType: 'address', type: 'address' },
15341
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
15342
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
15343
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
15344
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
15345
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
15413
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
15414
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
15415
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
15416
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
15417
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
15346
15418
  ],
15347
15419
  },
15420
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
15421
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
15422
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
15423
+ { name: 'maxFillCount', internalType: 'uint256', type: 'uint256' },
15424
+ { name: 'fillReferral', internalType: 'address', type: 'address' },
15348
15425
  ],
15349
- name: 'hashPermitBatch',
15350
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
15351
- stateMutability: 'view',
15426
+ name: 'fill',
15427
+ outputs: [],
15428
+ stateMutability: 'nonpayable',
15352
15429
  },
15353
15430
  {
15354
15431
  type: 'function',
15355
15432
  inputs: [
15356
15433
  {
15357
- name: 'permit',
15358
- internalType: 'struct IZoraSparks1155Managed.PermitSingle',
15359
- type: 'tuple',
15434
+ name: 'batches',
15435
+ internalType: 'struct IZoraLimitOrderBook.OrderBatch[]',
15436
+ type: 'tuple[]',
15360
15437
  components: [
15361
- { name: 'owner', internalType: 'address', type: 'address' },
15362
- { name: 'to', internalType: 'address', type: 'address' },
15363
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15364
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
15365
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
15366
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
15367
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
15438
+ {
15439
+ name: 'key',
15440
+ internalType: 'struct PoolKey',
15441
+ type: 'tuple',
15442
+ components: [
15443
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
15444
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
15445
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
15446
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
15447
+ {
15448
+ name: 'hooks',
15449
+ internalType: 'contract IHooks',
15450
+ type: 'address',
15451
+ },
15452
+ ],
15453
+ },
15454
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
15455
+ { name: 'orderIds', internalType: 'bytes32[]', type: 'bytes32[]' },
15368
15456
  ],
15369
15457
  },
15458
+ { name: 'fillReferral', internalType: 'address', type: 'address' },
15370
15459
  ],
15371
- name: 'hashPermitSingle',
15372
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
15373
- stateMutability: 'view',
15460
+ name: 'fill',
15461
+ outputs: [],
15462
+ stateMutability: 'nonpayable',
15374
15463
  },
15375
15464
  {
15376
15465
  type: 'function',
15377
- inputs: [
15378
- { name: 'account', internalType: 'address', type: 'address' },
15379
- { name: 'operator', internalType: 'address', type: 'address' },
15380
- ],
15381
- name: 'isApprovedForAll',
15382
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
15466
+ inputs: [],
15467
+ name: 'getMaxFillCount',
15468
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15383
15469
  stateMutability: 'view',
15384
15470
  },
15385
15471
  {
15386
15472
  type: 'function',
15387
15473
  inputs: [],
15388
- name: 'isConsumingScheduledOp',
15389
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
15474
+ name: 'poolManager',
15475
+ outputs: [
15476
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
15477
+ ],
15390
15478
  stateMutability: 'view',
15391
15479
  },
15392
15480
  {
15393
15481
  type: 'function',
15394
15482
  inputs: [
15395
- {
15396
- name: 'permit',
15397
- internalType: 'struct IZoraSparks1155Managed.PermitBatch',
15398
- type: 'tuple',
15399
- components: [
15400
- { name: 'owner', internalType: 'address', type: 'address' },
15401
- { name: 'to', internalType: 'address', type: 'address' },
15402
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
15403
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
15404
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
15405
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
15406
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
15407
- ],
15408
- },
15409
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
15483
+ { name: 'newAuthority', internalType: 'address', type: 'address' },
15410
15484
  ],
15411
- name: 'isValidSignatureTransferBatch',
15412
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
15413
- stateMutability: 'view',
15485
+ name: 'setAuthority',
15486
+ outputs: [],
15487
+ stateMutability: 'nonpayable',
15414
15488
  },
15415
15489
  {
15416
15490
  type: 'function',
15417
15491
  inputs: [
15418
- {
15419
- name: 'permit',
15420
- internalType: 'struct IZoraSparks1155Managed.PermitSingle',
15421
- type: 'tuple',
15422
- components: [
15423
- { name: 'owner', internalType: 'address', type: 'address' },
15424
- { name: 'to', internalType: 'address', type: 'address' },
15425
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15426
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
15427
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
15428
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
15429
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
15430
- ],
15431
- },
15432
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
15492
+ { name: 'maxFillCount', internalType: 'uint256', type: 'uint256' },
15433
15493
  ],
15434
- name: 'isValidSignatureTransferSingle',
15435
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
15436
- stateMutability: 'view',
15494
+ name: 'setMaxFillCount',
15495
+ outputs: [],
15496
+ stateMutability: 'nonpayable',
15437
15497
  },
15438
15498
  {
15439
15499
  type: 'function',
15440
- inputs: [
15441
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15442
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
15443
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
15444
- { name: 'recipient', internalType: 'address', type: 'address' },
15445
- { name: 'data', internalType: 'bytes', type: 'bytes' },
15446
- ],
15447
- name: 'mintTokenWithERC20',
15448
- outputs: [],
15500
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
15501
+ name: 'unlockCallback',
15502
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
15449
15503
  stateMutability: 'nonpayable',
15450
15504
  },
15451
15505
  {
15452
15506
  type: 'function',
15453
15507
  inputs: [
15454
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15455
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
15508
+ { name: 'orderIds', internalType: 'bytes32[]', type: 'bytes32[]' },
15509
+ { name: 'coin', internalType: 'address', type: 'address' },
15510
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
15456
15511
  { name: 'recipient', internalType: 'address', type: 'address' },
15457
- { name: 'data', internalType: 'bytes', type: 'bytes' },
15458
15512
  ],
15459
- name: 'mintTokenWithEth',
15513
+ name: 'withdraw',
15460
15514
  outputs: [],
15461
- stateMutability: 'payable',
15515
+ stateMutability: 'nonpayable',
15462
15516
  },
15463
15517
  {
15464
15518
  type: 'function',
15465
15519
  inputs: [],
15466
- name: 'name',
15467
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
15468
- stateMutability: 'pure',
15520
+ name: 'zoraCoinVersionLookup',
15521
+ outputs: [
15522
+ {
15523
+ name: '',
15524
+ internalType: 'contract IDeployedCoinVersionLookup',
15525
+ type: 'address',
15526
+ },
15527
+ ],
15528
+ stateMutability: 'view',
15469
15529
  },
15470
15530
  {
15471
15531
  type: 'function',
15472
- inputs: [
15473
- { name: 'owner', internalType: 'address', type: 'address' },
15474
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
15532
+ inputs: [],
15533
+ name: 'zoraHookRegistry',
15534
+ outputs: [
15535
+ { name: '', internalType: 'contract IZoraHookRegistry', type: 'address' },
15475
15536
  ],
15476
- name: 'nonceUsed',
15477
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
15478
15537
  stateMutability: 'view',
15479
15538
  },
15480
15539
  {
15481
- type: 'function',
15482
- inputs: [
15483
- { name: 'newContractURI', internalType: 'string', type: 'string' },
15484
- { name: 'newBaseURI', internalType: 'string', type: 'string' },
15485
- ],
15486
- name: 'notifyURIsUpdated',
15487
- outputs: [],
15488
- stateMutability: 'nonpayable',
15489
- },
15490
- {
15491
- type: 'function',
15540
+ type: 'event',
15541
+ anonymous: false,
15492
15542
  inputs: [
15493
- { name: 'newUri', internalType: 'string', type: 'string' },
15494
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15543
+ {
15544
+ name: 'authority',
15545
+ internalType: 'address',
15546
+ type: 'address',
15547
+ indexed: false,
15548
+ },
15495
15549
  ],
15496
- name: 'notifyUpdatedTokenURI',
15497
- outputs: [],
15498
- stateMutability: 'nonpayable',
15550
+ name: 'AuthorityUpdated',
15499
15551
  },
15500
15552
  {
15501
- type: 'function',
15553
+ type: 'event',
15554
+ anonymous: false,
15502
15555
  inputs: [
15503
15556
  {
15504
- name: 'permit',
15505
- internalType: 'struct IZoraSparks1155Managed.PermitSingle',
15506
- type: 'tuple',
15507
- components: [
15508
- { name: 'owner', internalType: 'address', type: 'address' },
15509
- { name: 'to', internalType: 'address', type: 'address' },
15510
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15511
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
15512
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
15513
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
15514
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
15515
- ],
15557
+ name: 'maker',
15558
+ internalType: 'address',
15559
+ type: 'address',
15560
+ indexed: true,
15561
+ },
15562
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
15563
+ {
15564
+ name: 'poolKeyHash',
15565
+ internalType: 'bytes32',
15566
+ type: 'bytes32',
15567
+ indexed: false,
15568
+ },
15569
+ {
15570
+ name: 'isCurrency0',
15571
+ internalType: 'bool',
15572
+ type: 'bool',
15573
+ indexed: false,
15574
+ },
15575
+ {
15576
+ name: 'orderTick',
15577
+ internalType: 'int24',
15578
+ type: 'int24',
15579
+ indexed: false,
15580
+ },
15581
+ {
15582
+ name: 'currentTick',
15583
+ internalType: 'int24',
15584
+ type: 'int24',
15585
+ indexed: false,
15586
+ },
15587
+ {
15588
+ name: 'orderSize',
15589
+ internalType: 'uint128',
15590
+ type: 'uint128',
15591
+ indexed: false,
15592
+ },
15593
+ {
15594
+ name: 'orderId',
15595
+ internalType: 'bytes32',
15596
+ type: 'bytes32',
15597
+ indexed: false,
15516
15598
  },
15517
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
15518
15599
  ],
15519
- name: 'permitSafeTransfer',
15520
- outputs: [],
15521
- stateMutability: 'nonpayable',
15600
+ name: 'LimitOrderCreated',
15522
15601
  },
15523
15602
  {
15524
- type: 'function',
15603
+ type: 'event',
15604
+ anonymous: false,
15525
15605
  inputs: [
15526
15606
  {
15527
- name: 'permit',
15528
- internalType: 'struct IZoraSparks1155Managed.PermitBatch',
15529
- type: 'tuple',
15530
- components: [
15531
- { name: 'owner', internalType: 'address', type: 'address' },
15532
- { name: 'to', internalType: 'address', type: 'address' },
15533
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
15534
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
15535
- { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
15536
- { name: 'deadline', internalType: 'uint256', type: 'uint256' },
15537
- { name: 'nonce', internalType: 'uint256', type: 'uint256' },
15538
- ],
15607
+ name: 'maker',
15608
+ internalType: 'address',
15609
+ type: 'address',
15610
+ indexed: true,
15611
+ },
15612
+ {
15613
+ name: 'coinIn',
15614
+ internalType: 'address',
15615
+ type: 'address',
15616
+ indexed: true,
15617
+ },
15618
+ {
15619
+ name: 'coinOut',
15620
+ internalType: 'address',
15621
+ type: 'address',
15622
+ indexed: false,
15623
+ },
15624
+ {
15625
+ name: 'amountIn',
15626
+ internalType: 'uint128',
15627
+ type: 'uint128',
15628
+ indexed: false,
15629
+ },
15630
+ {
15631
+ name: 'amountOut',
15632
+ internalType: 'uint128',
15633
+ type: 'uint128',
15634
+ indexed: false,
15635
+ },
15636
+ {
15637
+ name: 'fillReferral',
15638
+ internalType: 'address',
15639
+ type: 'address',
15640
+ indexed: false,
15641
+ },
15642
+ {
15643
+ name: 'fillReferralAmount',
15644
+ internalType: 'uint128',
15645
+ type: 'uint128',
15646
+ indexed: false,
15647
+ },
15648
+ {
15649
+ name: 'poolKeyHash',
15650
+ internalType: 'bytes32',
15651
+ type: 'bytes32',
15652
+ indexed: false,
15653
+ },
15654
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
15655
+ {
15656
+ name: 'orderId',
15657
+ internalType: 'bytes32',
15658
+ type: 'bytes32',
15659
+ indexed: false,
15539
15660
  },
15540
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
15541
15661
  ],
15542
- name: 'permitSafeTransferBatch',
15543
- outputs: [],
15544
- stateMutability: 'nonpayable',
15662
+ name: 'LimitOrderFilled',
15545
15663
  },
15546
15664
  {
15547
- type: 'function',
15665
+ type: 'event',
15666
+ anonymous: false,
15548
15667
  inputs: [
15549
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15550
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
15551
- { name: 'recipient', internalType: 'address', type: 'address' },
15552
- ],
15553
- name: 'redeem',
15554
- outputs: [
15555
15668
  {
15556
- name: '',
15557
- internalType: 'struct Redemption',
15558
- type: 'tuple',
15559
- components: [
15560
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
15561
- { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
15562
- ],
15669
+ name: 'maker',
15670
+ internalType: 'address',
15671
+ type: 'address',
15672
+ indexed: true,
15673
+ },
15674
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
15675
+ {
15676
+ name: 'poolKeyHash',
15677
+ internalType: 'bytes32',
15678
+ type: 'bytes32',
15679
+ indexed: false,
15680
+ },
15681
+ {
15682
+ name: 'isCurrency0',
15683
+ internalType: 'bool',
15684
+ type: 'bool',
15685
+ indexed: false,
15686
+ },
15687
+ { name: 'tick', internalType: 'int24', type: 'int24', indexed: false },
15688
+ {
15689
+ name: 'orderSize',
15690
+ internalType: 'uint128',
15691
+ type: 'uint128',
15692
+ indexed: false,
15693
+ },
15694
+ {
15695
+ name: 'orderId',
15696
+ internalType: 'bytes32',
15697
+ type: 'bytes32',
15698
+ indexed: false,
15699
+ },
15700
+ {
15701
+ name: 'isCancelled',
15702
+ internalType: 'bool',
15703
+ type: 'bool',
15704
+ indexed: false,
15563
15705
  },
15564
15706
  ],
15565
- stateMutability: 'nonpayable',
15707
+ name: 'LimitOrderUpdated',
15566
15708
  },
15567
15709
  {
15568
- type: 'function',
15710
+ type: 'event',
15711
+ anonymous: false,
15569
15712
  inputs: [
15570
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
15571
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
15572
- { name: 'recipient', internalType: 'address', type: 'address' },
15573
- ],
15574
- name: 'redeemBatch',
15575
- outputs: [
15576
15713
  {
15577
- name: 'redemptions',
15578
- internalType: 'struct Redemption[]',
15579
- type: 'tuple[]',
15580
- components: [
15581
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
15582
- { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
15583
- ],
15714
+ name: 'maker',
15715
+ internalType: 'address',
15716
+ type: 'address',
15717
+ indexed: true,
15718
+ },
15719
+ { name: 'coin', internalType: 'address', type: 'address', indexed: true },
15720
+ {
15721
+ name: 'newBalance',
15722
+ internalType: 'uint256',
15723
+ type: 'uint256',
15724
+ indexed: false,
15584
15725
  },
15585
15726
  ],
15586
- stateMutability: 'nonpayable',
15727
+ name: 'MakerBalanceUpdated',
15587
15728
  },
15588
15729
  {
15589
- type: 'function',
15590
- inputs: [
15591
- { name: 'from', internalType: 'address', type: 'address' },
15592
- { name: 'to', internalType: 'address', type: 'address' },
15593
- { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
15594
- { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
15595
- { name: 'data', internalType: 'bytes', type: 'bytes' },
15596
- ],
15597
- name: 'safeBatchTransferFrom',
15598
- outputs: [],
15599
- stateMutability: 'nonpayable',
15730
+ type: 'error',
15731
+ inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
15732
+ name: 'AccessManagedInvalidAuthority',
15600
15733
  },
15734
+ { type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
15735
+ { type: 'error', inputs: [], name: 'AddressZero' },
15736
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
15601
15737
  {
15602
- type: 'function',
15738
+ type: 'error',
15603
15739
  inputs: [
15604
- { name: 'from', internalType: 'address', type: 'address' },
15605
- { name: 'to', internalType: 'address', type: 'address' },
15606
- { name: 'id', internalType: 'uint256', type: 'uint256' },
15607
- { name: 'value', internalType: 'uint256', type: 'uint256' },
15608
- { name: 'data', internalType: 'bytes', type: 'bytes' },
15740
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
15741
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
15742
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
15609
15743
  ],
15610
- name: 'safeTransferFrom',
15611
- outputs: [],
15612
- stateMutability: 'nonpayable',
15744
+ name: 'CoinMismatch',
15613
15745
  },
15746
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
15747
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
15614
15748
  {
15615
- type: 'function',
15749
+ type: 'error',
15616
15750
  inputs: [
15617
- { name: 'operator', internalType: 'address', type: 'address' },
15618
- { name: 'approved', internalType: 'bool', type: 'bool' },
15751
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
15752
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
15753
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
15619
15754
  ],
15620
- name: 'setApprovalForAll',
15621
- outputs: [],
15622
- stateMutability: 'nonpayable',
15755
+ name: 'InvalidFillWindow',
15623
15756
  },
15757
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
15758
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
15759
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
15624
15760
  {
15625
- type: 'function',
15761
+ type: 'error',
15626
15762
  inputs: [
15627
- { name: 'newAuthority', internalType: 'address', type: 'address' },
15763
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
15764
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
15628
15765
  ],
15629
- name: 'setAuthority',
15630
- outputs: [],
15631
- stateMutability: 'nonpayable',
15632
- },
15633
- {
15634
- type: 'function',
15635
- inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
15636
- name: 'supportsInterface',
15637
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
15638
- stateMutability: 'view',
15766
+ name: 'MinAmountNotReached',
15639
15767
  },
15768
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
15769
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
15770
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
15771
+ { type: 'error', inputs: [], name: 'OrderClosed' },
15772
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
15773
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
15774
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
15775
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
15776
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
15777
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
15778
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
15779
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
15780
+ { type: 'error', inputs: [], name: 'AddressZero' },
15781
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
15782
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
15640
15783
  {
15641
- type: 'function',
15784
+ type: 'error',
15642
15785
  inputs: [],
15643
- name: 'symbol',
15644
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
15645
- stateMutability: 'pure',
15786
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
15646
15787
  },
15788
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
15647
15789
  {
15648
- type: 'function',
15649
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
15650
- name: 'tokenExists',
15651
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
15652
- stateMutability: 'view',
15790
+ type: 'error',
15791
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
15792
+ name: 'ECDSAInvalidSignatureLength',
15653
15793
  },
15654
15794
  {
15655
- type: 'function',
15656
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
15657
- name: 'tokenPrice',
15658
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
15659
- stateMutability: 'view',
15795
+ type: 'error',
15796
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
15797
+ name: 'ECDSAInvalidSignatureS',
15660
15798
  },
15661
15799
  {
15662
- type: 'function',
15800
+ type: 'error',
15663
15801
  inputs: [
15664
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
15665
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
15666
- { name: 'call', internalType: 'bytes', type: 'bytes' },
15802
+ { name: 'spender', internalType: 'address', type: 'address' },
15803
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
15804
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
15667
15805
  ],
15668
- name: 'transferBatchToManagerAndCall',
15669
- outputs: [{ name: 'callReturn', internalType: 'bytes', type: 'bytes' }],
15670
- stateMutability: 'payable',
15671
- },
15672
- {
15673
- type: 'function',
15674
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
15675
- name: 'uri',
15676
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
15677
- stateMutability: 'view',
15806
+ name: 'ERC20InsufficientAllowance',
15678
15807
  },
15679
15808
  {
15680
- type: 'event',
15681
- anonymous: false,
15809
+ type: 'error',
15682
15810
  inputs: [
15683
- {
15684
- name: 'account',
15685
- internalType: 'address',
15686
- type: 'address',
15687
- indexed: true,
15688
- },
15689
- {
15690
- name: 'operator',
15691
- internalType: 'address',
15692
- type: 'address',
15693
- indexed: true,
15694
- },
15695
- { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
15811
+ { name: 'sender', internalType: 'address', type: 'address' },
15812
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
15813
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
15696
15814
  ],
15697
- name: 'ApprovalForAll',
15815
+ name: 'ERC20InsufficientBalance',
15698
15816
  },
15699
15817
  {
15700
- type: 'event',
15701
- anonymous: false,
15702
- inputs: [
15703
- {
15704
- name: 'authority',
15705
- internalType: 'address',
15706
- type: 'address',
15707
- indexed: false,
15708
- },
15709
- ],
15710
- name: 'AuthorityUpdated',
15818
+ type: 'error',
15819
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
15820
+ name: 'ERC20InvalidApprover',
15711
15821
  },
15712
- { type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
15713
- { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
15714
15822
  {
15715
- type: 'event',
15716
- anonymous: false,
15717
- inputs: [
15718
- {
15719
- name: 'tokenId',
15720
- internalType: 'uint256',
15721
- type: 'uint256',
15722
- indexed: true,
15723
- },
15724
- {
15725
- name: 'price',
15726
- internalType: 'uint256',
15727
- type: 'uint256',
15728
- indexed: true,
15729
- },
15730
- {
15731
- name: 'tokenAddress',
15732
- internalType: 'address',
15733
- type: 'address',
15734
- indexed: true,
15735
- },
15736
- ],
15737
- name: 'TokenCreated',
15823
+ type: 'error',
15824
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
15825
+ name: 'ERC20InvalidReceiver',
15738
15826
  },
15739
15827
  {
15740
- type: 'event',
15741
- anonymous: false,
15742
- inputs: [
15743
- {
15744
- name: 'operator',
15745
- internalType: 'address',
15746
- type: 'address',
15747
- indexed: true,
15748
- },
15749
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
15750
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
15751
- {
15752
- name: 'ids',
15753
- internalType: 'uint256[]',
15754
- type: 'uint256[]',
15755
- indexed: false,
15756
- },
15757
- {
15758
- name: 'values',
15759
- internalType: 'uint256[]',
15760
- type: 'uint256[]',
15761
- indexed: false,
15762
- },
15763
- ],
15764
- name: 'TransferBatch',
15828
+ type: 'error',
15829
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
15830
+ name: 'ERC20InvalidSender',
15765
15831
  },
15766
15832
  {
15767
- type: 'event',
15768
- anonymous: false,
15769
- inputs: [
15770
- {
15771
- name: 'operator',
15772
- internalType: 'address',
15773
- type: 'address',
15774
- indexed: true,
15775
- },
15776
- { name: 'from', internalType: 'address', type: 'address', indexed: true },
15777
- { name: 'to', internalType: 'address', type: 'address', indexed: true },
15778
- { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false },
15779
- {
15780
- name: 'value',
15781
- internalType: 'uint256',
15782
- type: 'uint256',
15783
- indexed: false,
15784
- },
15785
- ],
15786
- name: 'TransferSingle',
15833
+ type: 'error',
15834
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
15835
+ name: 'ERC20InvalidSpender',
15787
15836
  },
15837
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
15788
15838
  {
15789
- type: 'event',
15790
- anonymous: false,
15839
+ type: 'error',
15840
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
15841
+ name: 'ERC2612ExpiredSignature',
15842
+ },
15843
+ {
15844
+ type: 'error',
15791
15845
  inputs: [
15792
- { name: 'value', internalType: 'string', type: 'string', indexed: false },
15793
- { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
15846
+ { name: 'signer', internalType: 'address', type: 'address' },
15847
+ { name: 'owner', internalType: 'address', type: 'address' },
15794
15848
  ],
15795
- name: 'URI',
15849
+ name: 'ERC2612InvalidSigner',
15796
15850
  },
15851
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
15852
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
15853
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
15854
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
15855
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
15856
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
15857
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
15797
15858
  {
15798
- type: 'event',
15799
- anonymous: false,
15859
+ type: 'error',
15800
15860
  inputs: [
15801
- {
15802
- name: 'contractURI',
15803
- internalType: 'string',
15804
- type: 'string',
15805
- indexed: false,
15806
- },
15807
- {
15808
- name: 'baseURI',
15809
- internalType: 'string',
15810
- type: 'string',
15811
- indexed: false,
15812
- },
15861
+ { name: 'account', internalType: 'address', type: 'address' },
15862
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
15813
15863
  ],
15814
- name: 'URIsUpdated',
15864
+ name: 'InvalidAccountNonce',
15815
15865
  },
15866
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
15867
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
15868
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
15869
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
15870
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
15816
15871
  {
15817
15872
  type: 'error',
15818
- inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
15819
- name: 'AccessManagedInvalidAuthority',
15873
+ inputs: [
15874
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
15875
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
15876
+ ],
15877
+ name: 'InvalidTickRangeMisordered',
15820
15878
  },
15879
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
15880
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
15881
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
15882
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
15821
15883
  {
15822
15884
  type: 'error',
15823
15885
  inputs: [
15824
- { name: 'caller', internalType: 'address', type: 'address' },
15825
- { name: 'delay', internalType: 'uint32', type: 'uint32' },
15886
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
15887
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
15826
15888
  ],
15827
- name: 'AccessManagedRequiredDelay',
15889
+ name: 'MaxShareToBeSoldExceeded',
15828
15890
  },
15891
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
15892
+ { type: 'error', inputs: [], name: 'NotInitializing' },
15893
+ { type: 'error', inputs: [], name: 'NotOwner' },
15894
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
15895
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
15896
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
15829
15897
  {
15830
15898
  type: 'error',
15831
- inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
15832
- name: 'AccessManagedUnauthorized',
15899
+ inputs: [
15900
+ { name: 'sender', internalType: 'address', type: 'address' },
15901
+ { name: 'pool', internalType: 'address', type: 'address' },
15902
+ ],
15903
+ name: 'OnlyPool',
15833
15904
  },
15905
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
15906
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
15907
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
15908
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
15909
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
15910
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
15911
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
15834
15912
  {
15835
15913
  type: 'error',
15836
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
15837
- name: 'AddressEmptyCode',
15914
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
15915
+ name: 'InvalidCallbackId',
15838
15916
  },
15839
15917
  {
15840
15918
  type: 'error',
15841
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
15842
- name: 'AddressInsufficientBalance',
15919
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
15920
+ name: 'InvalidNewHook',
15843
15921
  },
15844
15922
  {
15845
15923
  type: 'error',
15846
15924
  inputs: [
15847
- { name: 'lengthA', internalType: 'uint256', type: 'uint256' },
15848
- { name: 'lengthB', internalType: 'uint256', type: 'uint256' },
15925
+ {
15926
+ name: 'key',
15927
+ internalType: 'struct PoolKey',
15928
+ type: 'tuple',
15929
+ components: [
15930
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
15931
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
15932
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
15933
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
15934
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
15935
+ ],
15936
+ },
15849
15937
  ],
15850
- name: 'ArrayLengthMismatch',
15938
+ name: 'NoCoinForHook',
15851
15939
  },
15852
15940
  {
15853
15941
  type: 'error',
15854
- inputs: [{ name: 'returnData', internalType: 'bytes', type: 'bytes' }],
15855
- name: 'CallFailed',
15942
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
15943
+ name: 'NotACoin',
15856
15944
  },
15945
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
15857
15946
  {
15858
15947
  type: 'error',
15859
15948
  inputs: [
15860
- { name: 'sender', internalType: 'address', type: 'address' },
15861
- { name: 'balance', internalType: 'uint256', type: 'uint256' },
15862
- { name: 'needed', internalType: 'uint256', type: 'uint256' },
15863
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
15949
+ { name: 'caller', internalType: 'address', type: 'address' },
15950
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
15864
15951
  ],
15865
- name: 'ERC1155InsufficientBalance',
15866
- },
15867
- {
15868
- type: 'error',
15869
- inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
15870
- name: 'ERC1155InvalidApprover',
15871
- },
15872
- {
15873
- type: 'error',
15874
- inputs: [
15875
- { name: 'idsLength', internalType: 'uint256', type: 'uint256' },
15876
- { name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
15877
- ],
15878
- name: 'ERC1155InvalidArrayLength',
15879
- },
15880
- {
15881
- type: 'error',
15882
- inputs: [{ name: 'operator', internalType: 'address', type: 'address' }],
15883
- name: 'ERC1155InvalidOperator',
15884
- },
15885
- {
15886
- type: 'error',
15887
- inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
15888
- name: 'ERC1155InvalidReceiver',
15889
- },
15890
- {
15891
- type: 'error',
15892
- inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
15893
- name: 'ERC1155InvalidSender',
15894
- },
15895
- {
15896
- type: 'error',
15897
- inputs: [
15898
- { name: 'operator', internalType: 'address', type: 'address' },
15899
- { name: 'owner', internalType: 'address', type: 'address' },
15900
- ],
15901
- name: 'ERC1155MissingApprovalForAll',
15902
- },
15903
- { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
15904
- {
15905
- type: 'error',
15906
- inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
15907
- name: 'ERC2612ExpiredSignature',
15908
- },
15909
- { type: 'error', inputs: [], name: 'ETHTransferFailed' },
15910
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
15911
- { type: 'error', inputs: [], name: 'IncorrectAmountSent' },
15912
- {
15913
- type: 'error',
15914
- inputs: [
15915
- { name: 'account', internalType: 'address', type: 'address' },
15916
- { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
15917
- ],
15918
- name: 'InvalidAccountNonce',
15919
- },
15920
- { type: 'error', inputs: [], name: 'InvalidRecipient' },
15921
- { type: 'error', inputs: [], name: 'InvalidShortString' },
15922
- { type: 'error', inputs: [], name: 'InvalidSignature' },
15923
- { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
15924
- { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
15925
- {
15926
- type: 'error',
15927
- inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
15928
- name: 'NotARedeemHandler',
15952
+ name: 'OnlyCoin',
15929
15953
  },
15954
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
15955
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
15930
15956
  {
15931
15957
  type: 'error',
15932
15958
  inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
@@ -15934,524 +15960,1900 @@ export const zoraMints1155ABI = [
15934
15960
  },
15935
15961
  {
15936
15962
  type: 'error',
15937
- inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
15938
- name: 'StringTooLong',
15963
+ inputs: [],
15964
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
15939
15965
  },
15940
- { type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
15941
- { type: 'error', inputs: [], name: 'TokenDoesNotExist' },
15966
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
15942
15967
  {
15943
15968
  type: 'error',
15944
15969
  inputs: [
15945
- { name: 'storedTokenAddress', internalType: 'address', type: 'address' },
15946
- {
15947
- name: 'expectedTokenAddress',
15948
- internalType: 'address',
15949
- type: 'address',
15950
- },
15970
+ { name: 'oldHook', internalType: 'address', type: 'address' },
15971
+ { name: 'newHook', internalType: 'address', type: 'address' },
15951
15972
  ],
15952
- name: 'TokenMismatch',
15973
+ name: 'UpgradePathNotRegistered',
15953
15974
  },
15954
- { type: 'error', inputs: [], name: 'TokenNotMintable' },
15975
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
15976
+ { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
15955
15977
  ] as const
15956
15978
 
15957
15979
  /**
15958
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
15959
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
15980
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
15960
15981
  */
15961
- export const zoraMints1155Address = {
15962
- 7777777: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
15963
- 999999999: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
15982
+ export const zoraLimitOrderBookAddress = {
15983
+ 8453: '0x198419084C13d59c7b3E4c469A3d15b31263B06C',
15964
15984
  } as const
15965
15985
 
15966
15986
  /**
15967
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
15968
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
15987
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x198419084C13d59c7b3E4c469A3d15b31263B06C)
15969
15988
  */
15970
- export const zoraMints1155Config = {
15971
- address: zoraMints1155Address,
15972
- abi: zoraMints1155ABI,
15989
+ export const zoraLimitOrderBookConfig = {
15990
+ address: zoraLimitOrderBookAddress,
15991
+ abi: zoraLimitOrderBookABI,
15973
15992
  } as const
15974
15993
 
15975
15994
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
15976
- // ZoraMintsManagerImpl
15995
+ // ZoraMints1155
15977
15996
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
15978
15997
 
15979
15998
  /**
15980
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
15981
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
15999
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
16000
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
15982
16001
  */
15983
- export const zoraMintsManagerImplABI = [
16002
+ export const zoraMints1155ABI = [
16003
+ { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
15984
16004
  {
15985
- type: 'constructor',
15986
- inputs: [
15987
- {
15988
- name: '_premintExecutor',
15989
- internalType: 'contract IZoraCreator1155PremintExecutorAllVersions',
15990
- type: 'address',
15991
- },
15992
- ],
15993
- stateMutability: 'nonpayable',
16005
+ type: 'function',
16006
+ inputs: [],
16007
+ name: 'ETH_ADDRESS',
16008
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
16009
+ stateMutability: 'view',
15994
16010
  },
15995
16011
  {
15996
16012
  type: 'function',
15997
16013
  inputs: [],
15998
- name: 'UPGRADE_INTERFACE_VERSION',
16014
+ name: 'MINIMUM_ERC20_PRICE',
16015
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
16016
+ stateMutability: 'view',
16017
+ },
16018
+ {
16019
+ type: 'function',
16020
+ inputs: [],
16021
+ name: 'MINIMUM_ETH_PRICE',
16022
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
16023
+ stateMutability: 'view',
16024
+ },
16025
+ {
16026
+ type: 'function',
16027
+ inputs: [],
16028
+ name: 'NAME',
15999
16029
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
16000
16030
  stateMutability: 'view',
16001
16031
  },
16002
16032
  {
16003
16033
  type: 'function',
16004
16034
  inputs: [],
16005
- name: 'acceptOwnership',
16006
- outputs: [],
16007
- stateMutability: 'nonpayable',
16035
+ name: 'VERSION',
16036
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
16037
+ stateMutability: 'view',
16038
+ },
16039
+ {
16040
+ type: 'function',
16041
+ inputs: [],
16042
+ name: 'authority',
16043
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
16044
+ stateMutability: 'view',
16008
16045
  },
16009
16046
  {
16010
16047
  type: 'function',
16011
16048
  inputs: [
16012
- { name: 'callFrom', internalType: 'address', type: 'address' },
16013
- { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
16014
- { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
16015
- { name: 'call', internalType: 'bytes', type: 'bytes' },
16016
- ],
16017
- name: 'callWithTransferTokens',
16018
- outputs: [
16019
- { name: 'success', internalType: 'bool', type: 'bool' },
16020
- { name: 'result', internalType: 'bytes', type: 'bytes' },
16049
+ { name: 'account', internalType: 'address', type: 'address' },
16050
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
16021
16051
  ],
16022
- stateMutability: 'payable',
16052
+ name: 'balanceOf',
16053
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
16054
+ stateMutability: 'view',
16055
+ },
16056
+ {
16057
+ type: 'function',
16058
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
16059
+ name: 'balanceOfAccount',
16060
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
16061
+ stateMutability: 'view',
16023
16062
  },
16024
16063
  {
16025
16064
  type: 'function',
16026
16065
  inputs: [
16027
- { name: 'caller', internalType: 'address', type: 'address' },
16028
- { name: '', internalType: 'address', type: 'address' },
16029
- { name: '', internalType: 'bytes4', type: 'bytes4' },
16066
+ { name: 'accounts', internalType: 'address[]', type: 'address[]' },
16067
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
16030
16068
  ],
16031
- name: 'canCall',
16032
- outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16069
+ name: 'balanceOfBatch',
16070
+ outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }],
16071
+ stateMutability: 'view',
16072
+ },
16073
+ {
16074
+ type: 'function',
16075
+ inputs: [],
16076
+ name: 'contractURI',
16077
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
16033
16078
  stateMutability: 'view',
16034
16079
  },
16035
16080
  {
16036
16081
  type: 'function',
16037
16082
  inputs: [
16083
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16038
16084
  {
16039
- name: 'zoraCreator1155Contract',
16040
- internalType: 'contract IMintWithSparks',
16041
- type: 'address',
16042
- },
16043
- { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
16044
- {
16045
- name: 'zoraCreator1155TokenId',
16046
- internalType: 'uint256',
16047
- type: 'uint256',
16048
- },
16049
- {
16050
- name: 'collectMintArguments',
16051
- internalType: 'struct ICollectWithZoraSparks.CollectMintArguments',
16085
+ name: 'tokenConfig',
16086
+ internalType: 'struct TokenConfig',
16052
16087
  type: 'tuple',
16053
16088
  components: [
16054
- {
16055
- name: 'mintRewardsRecipients',
16056
- internalType: 'address[]',
16057
- type: 'address[]',
16058
- },
16059
- { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
16060
- { name: 'mintComment', internalType: 'string', type: 'string' },
16089
+ { name: 'price', internalType: 'uint256', type: 'uint256' },
16090
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
16091
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
16061
16092
  ],
16062
16093
  },
16063
16094
  ],
16064
- name: 'collect',
16095
+ name: 'createToken',
16065
16096
  outputs: [],
16066
- stateMutability: 'payable',
16097
+ stateMutability: 'nonpayable',
16067
16098
  },
16068
16099
  {
16069
16100
  type: 'function',
16070
- inputs: [
16101
+ inputs: [],
16102
+ name: 'eip712Domain',
16103
+ outputs: [
16104
+ { name: 'fields', internalType: 'bytes1', type: 'bytes1' },
16105
+ { name: 'name', internalType: 'string', type: 'string' },
16106
+ { name: 'version', internalType: 'string', type: 'string' },
16107
+ { name: 'chainId', internalType: 'uint256', type: 'uint256' },
16108
+ { name: 'verifyingContract', internalType: 'address', type: 'address' },
16109
+ { name: 'salt', internalType: 'bytes32', type: 'bytes32' },
16110
+ { name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
16111
+ ],
16112
+ stateMutability: 'view',
16113
+ },
16114
+ {
16115
+ type: 'function',
16116
+ inputs: [],
16117
+ name: 'getManager',
16118
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
16119
+ stateMutability: 'view',
16120
+ },
16121
+ {
16122
+ type: 'function',
16123
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
16124
+ name: 'getTokenConfig',
16125
+ outputs: [
16071
16126
  {
16072
- name: 'contractConfig',
16073
- internalType: 'struct ContractWithAdditionalAdminsCreationConfig',
16127
+ name: '',
16128
+ internalType: 'struct TokenConfig',
16074
16129
  type: 'tuple',
16075
16130
  components: [
16076
- { name: 'contractAdmin', internalType: 'address', type: 'address' },
16077
- { name: 'contractURI', internalType: 'string', type: 'string' },
16078
- { name: 'contractName', internalType: 'string', type: 'string' },
16079
- {
16080
- name: 'additionalAdmins',
16081
- internalType: 'address[]',
16082
- type: 'address[]',
16083
- },
16131
+ { name: 'price', internalType: 'uint256', type: 'uint256' },
16132
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
16133
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
16084
16134
  ],
16085
16135
  },
16086
- { name: 'tokenContract', internalType: 'address', type: 'address' },
16136
+ ],
16137
+ stateMutability: 'view',
16138
+ },
16139
+ {
16140
+ type: 'function',
16141
+ inputs: [
16087
16142
  {
16088
- name: 'premintConfig',
16089
- internalType: 'struct PremintConfigEncoded',
16090
- type: 'tuple',
16091
- components: [
16092
- { name: 'uid', internalType: 'uint32', type: 'uint32' },
16093
- { name: 'version', internalType: 'uint32', type: 'uint32' },
16094
- { name: 'deleted', internalType: 'bool', type: 'bool' },
16095
- { name: 'tokenConfig', internalType: 'bytes', type: 'bytes' },
16096
- {
16097
- name: 'premintConfigVersion',
16098
- internalType: 'bytes32',
16099
- type: 'bytes32',
16100
- },
16101
- ],
16102
- },
16103
- { name: 'signature', internalType: 'bytes', type: 'bytes' },
16104
- {
16105
- name: 'mintArguments',
16106
- internalType: 'struct MintArguments',
16143
+ name: 'permit',
16144
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
16107
16145
  type: 'tuple',
16108
16146
  components: [
16109
- { name: 'mintRecipient', internalType: 'address', type: 'address' },
16110
- { name: 'mintComment', internalType: 'string', type: 'string' },
16111
- {
16112
- name: 'mintRewardsRecipients',
16113
- internalType: 'address[]',
16114
- type: 'address[]',
16115
- },
16147
+ { name: 'owner', internalType: 'address', type: 'address' },
16148
+ { name: 'to', internalType: 'address', type: 'address' },
16149
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
16150
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
16151
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
16152
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
16153
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
16116
16154
  ],
16117
16155
  },
16118
- { name: 'firstMinter', internalType: 'address', type: 'address' },
16119
- { name: 'signerContract', internalType: 'address', type: 'address' },
16120
16156
  ],
16121
- name: 'collectPremint',
16122
- outputs: [
16157
+ name: 'hashPermitBatch',
16158
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
16159
+ stateMutability: 'view',
16160
+ },
16161
+ {
16162
+ type: 'function',
16163
+ inputs: [
16123
16164
  {
16124
- name: 'result',
16125
- internalType: 'struct PremintResult',
16165
+ name: 'permit',
16166
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
16126
16167
  type: 'tuple',
16127
16168
  components: [
16128
- { name: 'contractAddress', internalType: 'address', type: 'address' },
16169
+ { name: 'owner', internalType: 'address', type: 'address' },
16170
+ { name: 'to', internalType: 'address', type: 'address' },
16129
16171
  { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16130
- { name: 'createdNewContract', internalType: 'bool', type: 'bool' },
16172
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16173
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
16174
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
16175
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
16131
16176
  ],
16132
16177
  },
16133
16178
  ],
16134
- stateMutability: 'payable',
16179
+ name: 'hashPermitSingle',
16180
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
16181
+ stateMutability: 'view',
16182
+ },
16183
+ {
16184
+ type: 'function',
16185
+ inputs: [
16186
+ { name: 'account', internalType: 'address', type: 'address' },
16187
+ { name: 'operator', internalType: 'address', type: 'address' },
16188
+ ],
16189
+ name: 'isApprovedForAll',
16190
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16191
+ stateMutability: 'view',
16192
+ },
16193
+ {
16194
+ type: 'function',
16195
+ inputs: [],
16196
+ name: 'isConsumingScheduledOp',
16197
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
16198
+ stateMutability: 'view',
16135
16199
  },
16136
16200
  {
16137
16201
  type: 'function',
16138
16202
  inputs: [
16139
16203
  {
16140
- name: 'contractConfig',
16141
- internalType: 'struct ContractCreationConfig',
16142
- type: 'tuple',
16143
- components: [
16144
- { name: 'contractAdmin', internalType: 'address', type: 'address' },
16145
- { name: 'contractURI', internalType: 'string', type: 'string' },
16146
- { name: 'contractName', internalType: 'string', type: 'string' },
16147
- ],
16148
- },
16149
- {
16150
- name: 'premintConfig',
16151
- internalType: 'struct PremintConfigV2',
16204
+ name: 'permit',
16205
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
16152
16206
  type: 'tuple',
16153
16207
  components: [
16154
- {
16155
- name: 'tokenConfig',
16156
- internalType: 'struct TokenCreationConfigV2',
16157
- type: 'tuple',
16158
- components: [
16159
- { name: 'tokenURI', internalType: 'string', type: 'string' },
16160
- { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
16161
- {
16162
- name: 'maxTokensPerAddress',
16163
- internalType: 'uint64',
16164
- type: 'uint64',
16165
- },
16166
- { name: 'pricePerToken', internalType: 'uint96', type: 'uint96' },
16167
- { name: 'mintStart', internalType: 'uint64', type: 'uint64' },
16168
- { name: 'mintDuration', internalType: 'uint64', type: 'uint64' },
16169
- { name: 'royaltyBPS', internalType: 'uint32', type: 'uint32' },
16170
- {
16171
- name: 'payoutRecipient',
16172
- internalType: 'address',
16173
- type: 'address',
16174
- },
16175
- {
16176
- name: 'fixedPriceMinter',
16177
- internalType: 'address',
16178
- type: 'address',
16179
- },
16180
- {
16181
- name: 'createReferral',
16182
- internalType: 'address',
16183
- type: 'address',
16184
- },
16185
- ],
16186
- },
16187
- { name: 'uid', internalType: 'uint32', type: 'uint32' },
16188
- { name: 'version', internalType: 'uint32', type: 'uint32' },
16189
- { name: 'deleted', internalType: 'bool', type: 'bool' },
16208
+ { name: 'owner', internalType: 'address', type: 'address' },
16209
+ { name: 'to', internalType: 'address', type: 'address' },
16210
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
16211
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
16212
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
16213
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
16214
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
16190
16215
  ],
16191
16216
  },
16192
16217
  { name: 'signature', internalType: 'bytes', type: 'bytes' },
16193
- {
16194
- name: 'mintArguments',
16195
- internalType: 'struct MintArguments',
16196
- type: 'tuple',
16197
- components: [
16198
- { name: 'mintRecipient', internalType: 'address', type: 'address' },
16199
- { name: 'mintComment', internalType: 'string', type: 'string' },
16200
- {
16201
- name: 'mintRewardsRecipients',
16202
- internalType: 'address[]',
16203
- type: 'address[]',
16204
- },
16205
- ],
16206
- },
16207
- { name: 'signerContract', internalType: 'address', type: 'address' },
16208
16218
  ],
16209
- name: 'collectPremintV2',
16210
- outputs: [
16219
+ name: 'isValidSignatureTransferBatch',
16220
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16221
+ stateMutability: 'view',
16222
+ },
16223
+ {
16224
+ type: 'function',
16225
+ inputs: [
16211
16226
  {
16212
- name: 'result',
16213
- internalType: 'struct PremintResult',
16227
+ name: 'permit',
16228
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
16214
16229
  type: 'tuple',
16215
16230
  components: [
16216
- { name: 'contractAddress', internalType: 'address', type: 'address' },
16231
+ { name: 'owner', internalType: 'address', type: 'address' },
16232
+ { name: 'to', internalType: 'address', type: 'address' },
16217
16233
  { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16218
- { name: 'createdNewContract', internalType: 'bool', type: 'bool' },
16234
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16235
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
16236
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
16237
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
16219
16238
  ],
16220
16239
  },
16240
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
16241
+ ],
16242
+ name: 'isValidSignatureTransferSingle',
16243
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16244
+ stateMutability: 'view',
16245
+ },
16246
+ {
16247
+ type: 'function',
16248
+ inputs: [
16249
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16250
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
16251
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16252
+ { name: 'recipient', internalType: 'address', type: 'address' },
16253
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
16254
+ ],
16255
+ name: 'mintTokenWithERC20',
16256
+ outputs: [],
16257
+ stateMutability: 'nonpayable',
16258
+ },
16259
+ {
16260
+ type: 'function',
16261
+ inputs: [
16262
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16263
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16264
+ { name: 'recipient', internalType: 'address', type: 'address' },
16265
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
16221
16266
  ],
16267
+ name: 'mintTokenWithEth',
16268
+ outputs: [],
16222
16269
  stateMutability: 'payable',
16223
16270
  },
16224
16271
  {
16225
16272
  type: 'function',
16226
16273
  inputs: [],
16227
- name: 'contractName',
16274
+ name: 'name',
16228
16275
  outputs: [{ name: '', internalType: 'string', type: 'string' }],
16229
16276
  stateMutability: 'pure',
16230
16277
  },
16231
16278
  {
16232
16279
  type: 'function',
16233
- inputs: [],
16234
- name: 'contractURI',
16235
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
16280
+ inputs: [
16281
+ { name: 'owner', internalType: 'address', type: 'address' },
16282
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
16283
+ ],
16284
+ name: 'nonceUsed',
16285
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16236
16286
  stateMutability: 'view',
16237
16287
  },
16238
16288
  {
16239
16289
  type: 'function',
16240
- inputs: [],
16241
- name: 'contractVersion',
16242
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
16243
- stateMutability: 'pure',
16290
+ inputs: [
16291
+ { name: 'newContractURI', internalType: 'string', type: 'string' },
16292
+ { name: 'newBaseURI', internalType: 'string', type: 'string' },
16293
+ ],
16294
+ name: 'notifyURIsUpdated',
16295
+ outputs: [],
16296
+ stateMutability: 'nonpayable',
16244
16297
  },
16245
16298
  {
16246
16299
  type: 'function',
16247
16300
  inputs: [
16301
+ { name: 'newUri', internalType: 'string', type: 'string' },
16248
16302
  { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16303
+ ],
16304
+ name: 'notifyUpdatedTokenURI',
16305
+ outputs: [],
16306
+ stateMutability: 'nonpayable',
16307
+ },
16308
+ {
16309
+ type: 'function',
16310
+ inputs: [
16249
16311
  {
16250
- name: 'tokenConfig',
16251
- internalType: 'struct TokenConfig',
16312
+ name: 'permit',
16313
+ internalType: 'struct IZoraSparks1155Managed.PermitSingle',
16252
16314
  type: 'tuple',
16253
16315
  components: [
16254
- { name: 'price', internalType: 'uint256', type: 'uint256' },
16255
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
16256
- { name: 'redeemHandler', internalType: 'address', type: 'address' },
16316
+ { name: 'owner', internalType: 'address', type: 'address' },
16317
+ { name: 'to', internalType: 'address', type: 'address' },
16318
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16319
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16320
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
16321
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
16322
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
16257
16323
  ],
16258
16324
  },
16259
- { name: 'defaultMintable', internalType: 'bool', type: 'bool' },
16325
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
16260
16326
  ],
16261
- name: 'createToken',
16327
+ name: 'permitSafeTransfer',
16262
16328
  outputs: [],
16263
16329
  stateMutability: 'nonpayable',
16264
16330
  },
16265
- {
16266
- type: 'function',
16267
- inputs: [{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' }],
16268
- name: 'decodeMintRecipientAndComment',
16269
- outputs: [
16270
- { name: 'mintTo', internalType: 'address', type: 'address' },
16271
- { name: 'mintComment', internalType: 'string', type: 'string' },
16272
- ],
16273
- stateMutability: 'pure',
16274
- },
16275
- {
16276
- type: 'function',
16277
- inputs: [],
16278
- name: 'getEthPrice',
16279
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
16280
- stateMutability: 'view',
16281
- },
16282
- {
16283
- type: 'function',
16284
- inputs: [],
16285
- name: 'implementation',
16286
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
16287
- stateMutability: 'view',
16288
- },
16289
16331
  {
16290
16332
  type: 'function',
16291
16333
  inputs: [
16292
- { name: 'defaultOwner', internalType: 'address', type: 'address' },
16293
- { name: 'zoraSparksSalt', internalType: 'bytes32', type: 'bytes32' },
16294
- { name: 'zoraSparksCreationCode', internalType: 'bytes', type: 'bytes' },
16295
- { name: 'initialEthTokenId', internalType: 'uint256', type: 'uint256' },
16296
- {
16297
- name: 'initialEthTokenPrice',
16298
- internalType: 'uint256',
16299
- type: 'uint256',
16300
- },
16301
- { name: 'newBaseURI', internalType: 'string', type: 'string' },
16302
- { name: 'newContractURI', internalType: 'string', type: 'string' },
16303
- ],
16304
- name: 'initialize',
16305
- outputs: [
16306
16334
  {
16307
- name: 'mints',
16308
- internalType: 'contract IZoraSparks1155',
16309
- type: 'address',
16335
+ name: 'permit',
16336
+ internalType: 'struct IZoraSparks1155Managed.PermitBatch',
16337
+ type: 'tuple',
16338
+ components: [
16339
+ { name: 'owner', internalType: 'address', type: 'address' },
16340
+ { name: 'to', internalType: 'address', type: 'address' },
16341
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
16342
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
16343
+ { name: 'safeTransferData', internalType: 'bytes', type: 'bytes' },
16344
+ { name: 'deadline', internalType: 'uint256', type: 'uint256' },
16345
+ { name: 'nonce', internalType: 'uint256', type: 'uint256' },
16346
+ ],
16310
16347
  },
16348
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
16311
16349
  ],
16350
+ name: 'permitSafeTransferBatch',
16351
+ outputs: [],
16312
16352
  stateMutability: 'nonpayable',
16313
16353
  },
16314
16354
  {
16315
16355
  type: 'function',
16316
16356
  inputs: [
16317
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
16357
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16318
16358
  { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16319
16359
  { name: 'recipient', internalType: 'address', type: 'address' },
16320
16360
  ],
16321
- name: 'mintWithERC20',
16361
+ name: 'redeem',
16322
16362
  outputs: [
16323
- { name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
16363
+ {
16364
+ name: '',
16365
+ internalType: 'struct Redemption',
16366
+ type: 'tuple',
16367
+ components: [
16368
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
16369
+ { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
16370
+ ],
16371
+ },
16324
16372
  ],
16325
16373
  stateMutability: 'nonpayable',
16326
16374
  },
16327
16375
  {
16328
16376
  type: 'function',
16329
16377
  inputs: [
16330
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16378
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
16379
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
16331
16380
  { name: 'recipient', internalType: 'address', type: 'address' },
16332
16381
  ],
16333
- name: 'mintWithEth',
16382
+ name: 'redeemBatch',
16334
16383
  outputs: [
16335
- { name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
16384
+ {
16385
+ name: 'redemptions',
16386
+ internalType: 'struct Redemption[]',
16387
+ type: 'tuple[]',
16388
+ components: [
16389
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
16390
+ { name: 'valueRedeemed', internalType: 'uint256', type: 'uint256' },
16391
+ ],
16392
+ },
16336
16393
  ],
16337
- stateMutability: 'payable',
16338
- },
16339
- {
16340
- type: 'function',
16341
- inputs: [],
16342
- name: 'mintableEthToken',
16343
- outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
16344
- stateMutability: 'view',
16394
+ stateMutability: 'nonpayable',
16345
16395
  },
16346
16396
  {
16347
16397
  type: 'function',
16348
16398
  inputs: [
16349
- { name: '', internalType: 'address', type: 'address' },
16350
16399
  { name: 'from', internalType: 'address', type: 'address' },
16400
+ { name: 'to', internalType: 'address', type: 'address' },
16351
16401
  { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
16352
16402
  { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
16353
16403
  { name: 'data', internalType: 'bytes', type: 'bytes' },
16354
16404
  ],
16355
- name: 'onERC1155BatchReceived',
16356
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
16405
+ name: 'safeBatchTransferFrom',
16406
+ outputs: [],
16357
16407
  stateMutability: 'nonpayable',
16358
16408
  },
16359
16409
  {
16360
16410
  type: 'function',
16361
16411
  inputs: [
16362
- { name: '', internalType: 'address', type: 'address' },
16363
16412
  { name: 'from', internalType: 'address', type: 'address' },
16413
+ { name: 'to', internalType: 'address', type: 'address' },
16364
16414
  { name: 'id', internalType: 'uint256', type: 'uint256' },
16365
16415
  { name: 'value', internalType: 'uint256', type: 'uint256' },
16366
16416
  { name: 'data', internalType: 'bytes', type: 'bytes' },
16367
16417
  ],
16368
- name: 'onERC1155Received',
16369
- outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
16418
+ name: 'safeTransferFrom',
16419
+ outputs: [],
16420
+ stateMutability: 'nonpayable',
16421
+ },
16422
+ {
16423
+ type: 'function',
16424
+ inputs: [
16425
+ { name: 'operator', internalType: 'address', type: 'address' },
16426
+ { name: 'approved', internalType: 'bool', type: 'bool' },
16427
+ ],
16428
+ name: 'setApprovalForAll',
16429
+ outputs: [],
16430
+ stateMutability: 'nonpayable',
16431
+ },
16432
+ {
16433
+ type: 'function',
16434
+ inputs: [
16435
+ { name: 'newAuthority', internalType: 'address', type: 'address' },
16436
+ ],
16437
+ name: 'setAuthority',
16438
+ outputs: [],
16439
+ stateMutability: 'nonpayable',
16440
+ },
16441
+ {
16442
+ type: 'function',
16443
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
16444
+ name: 'supportsInterface',
16445
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16446
+ stateMutability: 'view',
16447
+ },
16448
+ {
16449
+ type: 'function',
16450
+ inputs: [],
16451
+ name: 'symbol',
16452
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
16453
+ stateMutability: 'pure',
16454
+ },
16455
+ {
16456
+ type: 'function',
16457
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
16458
+ name: 'tokenExists',
16459
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16460
+ stateMutability: 'view',
16461
+ },
16462
+ {
16463
+ type: 'function',
16464
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
16465
+ name: 'tokenPrice',
16466
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
16467
+ stateMutability: 'view',
16468
+ },
16469
+ {
16470
+ type: 'function',
16471
+ inputs: [
16472
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
16473
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
16474
+ { name: 'call', internalType: 'bytes', type: 'bytes' },
16475
+ ],
16476
+ name: 'transferBatchToManagerAndCall',
16477
+ outputs: [{ name: 'callReturn', internalType: 'bytes', type: 'bytes' }],
16478
+ stateMutability: 'payable',
16479
+ },
16480
+ {
16481
+ type: 'function',
16482
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
16483
+ name: 'uri',
16484
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
16485
+ stateMutability: 'view',
16486
+ },
16487
+ {
16488
+ type: 'event',
16489
+ anonymous: false,
16490
+ inputs: [
16491
+ {
16492
+ name: 'account',
16493
+ internalType: 'address',
16494
+ type: 'address',
16495
+ indexed: true,
16496
+ },
16497
+ {
16498
+ name: 'operator',
16499
+ internalType: 'address',
16500
+ type: 'address',
16501
+ indexed: true,
16502
+ },
16503
+ { name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
16504
+ ],
16505
+ name: 'ApprovalForAll',
16506
+ },
16507
+ {
16508
+ type: 'event',
16509
+ anonymous: false,
16510
+ inputs: [
16511
+ {
16512
+ name: 'authority',
16513
+ internalType: 'address',
16514
+ type: 'address',
16515
+ indexed: false,
16516
+ },
16517
+ ],
16518
+ name: 'AuthorityUpdated',
16519
+ },
16520
+ { type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
16521
+ { type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
16522
+ {
16523
+ type: 'event',
16524
+ anonymous: false,
16525
+ inputs: [
16526
+ {
16527
+ name: 'tokenId',
16528
+ internalType: 'uint256',
16529
+ type: 'uint256',
16530
+ indexed: true,
16531
+ },
16532
+ {
16533
+ name: 'price',
16534
+ internalType: 'uint256',
16535
+ type: 'uint256',
16536
+ indexed: true,
16537
+ },
16538
+ {
16539
+ name: 'tokenAddress',
16540
+ internalType: 'address',
16541
+ type: 'address',
16542
+ indexed: true,
16543
+ },
16544
+ ],
16545
+ name: 'TokenCreated',
16546
+ },
16547
+ {
16548
+ type: 'event',
16549
+ anonymous: false,
16550
+ inputs: [
16551
+ {
16552
+ name: 'operator',
16553
+ internalType: 'address',
16554
+ type: 'address',
16555
+ indexed: true,
16556
+ },
16557
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
16558
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
16559
+ {
16560
+ name: 'ids',
16561
+ internalType: 'uint256[]',
16562
+ type: 'uint256[]',
16563
+ indexed: false,
16564
+ },
16565
+ {
16566
+ name: 'values',
16567
+ internalType: 'uint256[]',
16568
+ type: 'uint256[]',
16569
+ indexed: false,
16570
+ },
16571
+ ],
16572
+ name: 'TransferBatch',
16573
+ },
16574
+ {
16575
+ type: 'event',
16576
+ anonymous: false,
16577
+ inputs: [
16578
+ {
16579
+ name: 'operator',
16580
+ internalType: 'address',
16581
+ type: 'address',
16582
+ indexed: true,
16583
+ },
16584
+ { name: 'from', internalType: 'address', type: 'address', indexed: true },
16585
+ { name: 'to', internalType: 'address', type: 'address', indexed: true },
16586
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: false },
16587
+ {
16588
+ name: 'value',
16589
+ internalType: 'uint256',
16590
+ type: 'uint256',
16591
+ indexed: false,
16592
+ },
16593
+ ],
16594
+ name: 'TransferSingle',
16595
+ },
16596
+ {
16597
+ type: 'event',
16598
+ anonymous: false,
16599
+ inputs: [
16600
+ { name: 'value', internalType: 'string', type: 'string', indexed: false },
16601
+ { name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
16602
+ ],
16603
+ name: 'URI',
16604
+ },
16605
+ {
16606
+ type: 'event',
16607
+ anonymous: false,
16608
+ inputs: [
16609
+ {
16610
+ name: 'contractURI',
16611
+ internalType: 'string',
16612
+ type: 'string',
16613
+ indexed: false,
16614
+ },
16615
+ {
16616
+ name: 'baseURI',
16617
+ internalType: 'string',
16618
+ type: 'string',
16619
+ indexed: false,
16620
+ },
16621
+ ],
16622
+ name: 'URIsUpdated',
16623
+ },
16624
+ {
16625
+ type: 'error',
16626
+ inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
16627
+ name: 'AccessManagedInvalidAuthority',
16628
+ },
16629
+ {
16630
+ type: 'error',
16631
+ inputs: [
16632
+ { name: 'caller', internalType: 'address', type: 'address' },
16633
+ { name: 'delay', internalType: 'uint32', type: 'uint32' },
16634
+ ],
16635
+ name: 'AccessManagedRequiredDelay',
16636
+ },
16637
+ {
16638
+ type: 'error',
16639
+ inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
16640
+ name: 'AccessManagedUnauthorized',
16641
+ },
16642
+ {
16643
+ type: 'error',
16644
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
16645
+ name: 'AddressEmptyCode',
16646
+ },
16647
+ {
16648
+ type: 'error',
16649
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
16650
+ name: 'AddressInsufficientBalance',
16651
+ },
16652
+ {
16653
+ type: 'error',
16654
+ inputs: [
16655
+ { name: 'lengthA', internalType: 'uint256', type: 'uint256' },
16656
+ { name: 'lengthB', internalType: 'uint256', type: 'uint256' },
16657
+ ],
16658
+ name: 'ArrayLengthMismatch',
16659
+ },
16660
+ {
16661
+ type: 'error',
16662
+ inputs: [{ name: 'returnData', internalType: 'bytes', type: 'bytes' }],
16663
+ name: 'CallFailed',
16664
+ },
16665
+ {
16666
+ type: 'error',
16667
+ inputs: [
16668
+ { name: 'sender', internalType: 'address', type: 'address' },
16669
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
16670
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
16671
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16672
+ ],
16673
+ name: 'ERC1155InsufficientBalance',
16674
+ },
16675
+ {
16676
+ type: 'error',
16677
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
16678
+ name: 'ERC1155InvalidApprover',
16679
+ },
16680
+ {
16681
+ type: 'error',
16682
+ inputs: [
16683
+ { name: 'idsLength', internalType: 'uint256', type: 'uint256' },
16684
+ { name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
16685
+ ],
16686
+ name: 'ERC1155InvalidArrayLength',
16687
+ },
16688
+ {
16689
+ type: 'error',
16690
+ inputs: [{ name: 'operator', internalType: 'address', type: 'address' }],
16691
+ name: 'ERC1155InvalidOperator',
16692
+ },
16693
+ {
16694
+ type: 'error',
16695
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
16696
+ name: 'ERC1155InvalidReceiver',
16697
+ },
16698
+ {
16699
+ type: 'error',
16700
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
16701
+ name: 'ERC1155InvalidSender',
16702
+ },
16703
+ {
16704
+ type: 'error',
16705
+ inputs: [
16706
+ { name: 'operator', internalType: 'address', type: 'address' },
16707
+ { name: 'owner', internalType: 'address', type: 'address' },
16708
+ ],
16709
+ name: 'ERC1155MissingApprovalForAll',
16710
+ },
16711
+ { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
16712
+ {
16713
+ type: 'error',
16714
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
16715
+ name: 'ERC2612ExpiredSignature',
16716
+ },
16717
+ { type: 'error', inputs: [], name: 'ETHTransferFailed' },
16718
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
16719
+ { type: 'error', inputs: [], name: 'IncorrectAmountSent' },
16720
+ {
16721
+ type: 'error',
16722
+ inputs: [
16723
+ { name: 'account', internalType: 'address', type: 'address' },
16724
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
16725
+ ],
16726
+ name: 'InvalidAccountNonce',
16727
+ },
16728
+ { type: 'error', inputs: [], name: 'InvalidRecipient' },
16729
+ { type: 'error', inputs: [], name: 'InvalidShortString' },
16730
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
16731
+ { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
16732
+ { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
16733
+ {
16734
+ type: 'error',
16735
+ inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
16736
+ name: 'NotARedeemHandler',
16737
+ },
16738
+ {
16739
+ type: 'error',
16740
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
16741
+ name: 'SafeERC20FailedOperation',
16742
+ },
16743
+ {
16744
+ type: 'error',
16745
+ inputs: [{ name: 'str', internalType: 'string', type: 'string' }],
16746
+ name: 'StringTooLong',
16747
+ },
16748
+ { type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
16749
+ { type: 'error', inputs: [], name: 'TokenDoesNotExist' },
16750
+ {
16751
+ type: 'error',
16752
+ inputs: [
16753
+ { name: 'storedTokenAddress', internalType: 'address', type: 'address' },
16754
+ {
16755
+ name: 'expectedTokenAddress',
16756
+ internalType: 'address',
16757
+ type: 'address',
16758
+ },
16759
+ ],
16760
+ name: 'TokenMismatch',
16761
+ },
16762
+ { type: 'error', inputs: [], name: 'TokenNotMintable' },
16763
+ ] as const
16764
+
16765
+ /**
16766
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
16767
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
16768
+ */
16769
+ export const zoraMints1155Address = {
16770
+ 7777777: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
16771
+ 999999999: '0x7777777d57c1C6e472fa379b7b3B6c6ba3835073',
16772
+ } as const
16773
+
16774
+ /**
16775
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
16776
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x7777777d57c1C6e472fa379b7b3B6c6ba3835073)
16777
+ */
16778
+ export const zoraMints1155Config = {
16779
+ address: zoraMints1155Address,
16780
+ abi: zoraMints1155ABI,
16781
+ } as const
16782
+
16783
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
16784
+ // ZoraMintsManagerImpl
16785
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
16786
+
16787
+ /**
16788
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
16789
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
16790
+ */
16791
+ export const zoraMintsManagerImplABI = [
16792
+ {
16793
+ type: 'constructor',
16794
+ inputs: [
16795
+ {
16796
+ name: '_premintExecutor',
16797
+ internalType: 'contract IZoraCreator1155PremintExecutorAllVersions',
16798
+ type: 'address',
16799
+ },
16800
+ ],
16801
+ stateMutability: 'nonpayable',
16802
+ },
16803
+ {
16804
+ type: 'function',
16805
+ inputs: [],
16806
+ name: 'UPGRADE_INTERFACE_VERSION',
16807
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
16808
+ stateMutability: 'view',
16809
+ },
16810
+ {
16811
+ type: 'function',
16812
+ inputs: [],
16813
+ name: 'acceptOwnership',
16814
+ outputs: [],
16815
+ stateMutability: 'nonpayable',
16816
+ },
16817
+ {
16818
+ type: 'function',
16819
+ inputs: [
16820
+ { name: 'callFrom', internalType: 'address', type: 'address' },
16821
+ { name: 'tokenIds', internalType: 'uint256[]', type: 'uint256[]' },
16822
+ { name: 'quantities', internalType: 'uint256[]', type: 'uint256[]' },
16823
+ { name: 'call', internalType: 'bytes', type: 'bytes' },
16824
+ ],
16825
+ name: 'callWithTransferTokens',
16826
+ outputs: [
16827
+ { name: 'success', internalType: 'bool', type: 'bool' },
16828
+ { name: 'result', internalType: 'bytes', type: 'bytes' },
16829
+ ],
16830
+ stateMutability: 'payable',
16831
+ },
16832
+ {
16833
+ type: 'function',
16834
+ inputs: [
16835
+ { name: 'caller', internalType: 'address', type: 'address' },
16836
+ { name: '', internalType: 'address', type: 'address' },
16837
+ { name: '', internalType: 'bytes4', type: 'bytes4' },
16838
+ ],
16839
+ name: 'canCall',
16840
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
16841
+ stateMutability: 'view',
16842
+ },
16843
+ {
16844
+ type: 'function',
16845
+ inputs: [
16846
+ {
16847
+ name: 'zoraCreator1155Contract',
16848
+ internalType: 'contract IMintWithSparks',
16849
+ type: 'address',
16850
+ },
16851
+ { name: 'minter', internalType: 'contract IMinter1155', type: 'address' },
16852
+ {
16853
+ name: 'zoraCreator1155TokenId',
16854
+ internalType: 'uint256',
16855
+ type: 'uint256',
16856
+ },
16857
+ {
16858
+ name: 'collectMintArguments',
16859
+ internalType: 'struct ICollectWithZoraSparks.CollectMintArguments',
16860
+ type: 'tuple',
16861
+ components: [
16862
+ {
16863
+ name: 'mintRewardsRecipients',
16864
+ internalType: 'address[]',
16865
+ type: 'address[]',
16866
+ },
16867
+ { name: 'minterArguments', internalType: 'bytes', type: 'bytes' },
16868
+ { name: 'mintComment', internalType: 'string', type: 'string' },
16869
+ ],
16870
+ },
16871
+ ],
16872
+ name: 'collect',
16873
+ outputs: [],
16874
+ stateMutability: 'payable',
16875
+ },
16876
+ {
16877
+ type: 'function',
16878
+ inputs: [
16879
+ {
16880
+ name: 'contractConfig',
16881
+ internalType: 'struct ContractWithAdditionalAdminsCreationConfig',
16882
+ type: 'tuple',
16883
+ components: [
16884
+ { name: 'contractAdmin', internalType: 'address', type: 'address' },
16885
+ { name: 'contractURI', internalType: 'string', type: 'string' },
16886
+ { name: 'contractName', internalType: 'string', type: 'string' },
16887
+ {
16888
+ name: 'additionalAdmins',
16889
+ internalType: 'address[]',
16890
+ type: 'address[]',
16891
+ },
16892
+ ],
16893
+ },
16894
+ { name: 'tokenContract', internalType: 'address', type: 'address' },
16895
+ {
16896
+ name: 'premintConfig',
16897
+ internalType: 'struct PremintConfigEncoded',
16898
+ type: 'tuple',
16899
+ components: [
16900
+ { name: 'uid', internalType: 'uint32', type: 'uint32' },
16901
+ { name: 'version', internalType: 'uint32', type: 'uint32' },
16902
+ { name: 'deleted', internalType: 'bool', type: 'bool' },
16903
+ { name: 'tokenConfig', internalType: 'bytes', type: 'bytes' },
16904
+ {
16905
+ name: 'premintConfigVersion',
16906
+ internalType: 'bytes32',
16907
+ type: 'bytes32',
16908
+ },
16909
+ ],
16910
+ },
16911
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
16912
+ {
16913
+ name: 'mintArguments',
16914
+ internalType: 'struct MintArguments',
16915
+ type: 'tuple',
16916
+ components: [
16917
+ { name: 'mintRecipient', internalType: 'address', type: 'address' },
16918
+ { name: 'mintComment', internalType: 'string', type: 'string' },
16919
+ {
16920
+ name: 'mintRewardsRecipients',
16921
+ internalType: 'address[]',
16922
+ type: 'address[]',
16923
+ },
16924
+ ],
16925
+ },
16926
+ { name: 'firstMinter', internalType: 'address', type: 'address' },
16927
+ { name: 'signerContract', internalType: 'address', type: 'address' },
16928
+ ],
16929
+ name: 'collectPremint',
16930
+ outputs: [
16931
+ {
16932
+ name: 'result',
16933
+ internalType: 'struct PremintResult',
16934
+ type: 'tuple',
16935
+ components: [
16936
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
16937
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16938
+ { name: 'createdNewContract', internalType: 'bool', type: 'bool' },
16939
+ ],
16940
+ },
16941
+ ],
16942
+ stateMutability: 'payable',
16943
+ },
16944
+ {
16945
+ type: 'function',
16946
+ inputs: [
16947
+ {
16948
+ name: 'contractConfig',
16949
+ internalType: 'struct ContractCreationConfig',
16950
+ type: 'tuple',
16951
+ components: [
16952
+ { name: 'contractAdmin', internalType: 'address', type: 'address' },
16953
+ { name: 'contractURI', internalType: 'string', type: 'string' },
16954
+ { name: 'contractName', internalType: 'string', type: 'string' },
16955
+ ],
16956
+ },
16957
+ {
16958
+ name: 'premintConfig',
16959
+ internalType: 'struct PremintConfigV2',
16960
+ type: 'tuple',
16961
+ components: [
16962
+ {
16963
+ name: 'tokenConfig',
16964
+ internalType: 'struct TokenCreationConfigV2',
16965
+ type: 'tuple',
16966
+ components: [
16967
+ { name: 'tokenURI', internalType: 'string', type: 'string' },
16968
+ { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
16969
+ {
16970
+ name: 'maxTokensPerAddress',
16971
+ internalType: 'uint64',
16972
+ type: 'uint64',
16973
+ },
16974
+ { name: 'pricePerToken', internalType: 'uint96', type: 'uint96' },
16975
+ { name: 'mintStart', internalType: 'uint64', type: 'uint64' },
16976
+ { name: 'mintDuration', internalType: 'uint64', type: 'uint64' },
16977
+ { name: 'royaltyBPS', internalType: 'uint32', type: 'uint32' },
16978
+ {
16979
+ name: 'payoutRecipient',
16980
+ internalType: 'address',
16981
+ type: 'address',
16982
+ },
16983
+ {
16984
+ name: 'fixedPriceMinter',
16985
+ internalType: 'address',
16986
+ type: 'address',
16987
+ },
16988
+ {
16989
+ name: 'createReferral',
16990
+ internalType: 'address',
16991
+ type: 'address',
16992
+ },
16993
+ ],
16994
+ },
16995
+ { name: 'uid', internalType: 'uint32', type: 'uint32' },
16996
+ { name: 'version', internalType: 'uint32', type: 'uint32' },
16997
+ { name: 'deleted', internalType: 'bool', type: 'bool' },
16998
+ ],
16999
+ },
17000
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
17001
+ {
17002
+ name: 'mintArguments',
17003
+ internalType: 'struct MintArguments',
17004
+ type: 'tuple',
17005
+ components: [
17006
+ { name: 'mintRecipient', internalType: 'address', type: 'address' },
17007
+ { name: 'mintComment', internalType: 'string', type: 'string' },
17008
+ {
17009
+ name: 'mintRewardsRecipients',
17010
+ internalType: 'address[]',
17011
+ type: 'address[]',
17012
+ },
17013
+ ],
17014
+ },
17015
+ { name: 'signerContract', internalType: 'address', type: 'address' },
17016
+ ],
17017
+ name: 'collectPremintV2',
17018
+ outputs: [
17019
+ {
17020
+ name: 'result',
17021
+ internalType: 'struct PremintResult',
17022
+ type: 'tuple',
17023
+ components: [
17024
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
17025
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
17026
+ { name: 'createdNewContract', internalType: 'bool', type: 'bool' },
17027
+ ],
17028
+ },
17029
+ ],
17030
+ stateMutability: 'payable',
17031
+ },
17032
+ {
17033
+ type: 'function',
17034
+ inputs: [],
17035
+ name: 'contractName',
17036
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
17037
+ stateMutability: 'pure',
17038
+ },
17039
+ {
17040
+ type: 'function',
17041
+ inputs: [],
17042
+ name: 'contractURI',
17043
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
17044
+ stateMutability: 'view',
17045
+ },
17046
+ {
17047
+ type: 'function',
17048
+ inputs: [],
17049
+ name: 'contractVersion',
17050
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
17051
+ stateMutability: 'pure',
17052
+ },
17053
+ {
17054
+ type: 'function',
17055
+ inputs: [
17056
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
17057
+ {
17058
+ name: 'tokenConfig',
17059
+ internalType: 'struct TokenConfig',
17060
+ type: 'tuple',
17061
+ components: [
17062
+ { name: 'price', internalType: 'uint256', type: 'uint256' },
17063
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
17064
+ { name: 'redeemHandler', internalType: 'address', type: 'address' },
17065
+ ],
17066
+ },
17067
+ { name: 'defaultMintable', internalType: 'bool', type: 'bool' },
17068
+ ],
17069
+ name: 'createToken',
17070
+ outputs: [],
17071
+ stateMutability: 'nonpayable',
17072
+ },
17073
+ {
17074
+ type: 'function',
17075
+ inputs: [{ name: 'minterArguments', internalType: 'bytes', type: 'bytes' }],
17076
+ name: 'decodeMintRecipientAndComment',
17077
+ outputs: [
17078
+ { name: 'mintTo', internalType: 'address', type: 'address' },
17079
+ { name: 'mintComment', internalType: 'string', type: 'string' },
17080
+ ],
17081
+ stateMutability: 'pure',
17082
+ },
17083
+ {
17084
+ type: 'function',
17085
+ inputs: [],
17086
+ name: 'getEthPrice',
17087
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
17088
+ stateMutability: 'view',
17089
+ },
17090
+ {
17091
+ type: 'function',
17092
+ inputs: [],
17093
+ name: 'implementation',
17094
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17095
+ stateMutability: 'view',
17096
+ },
17097
+ {
17098
+ type: 'function',
17099
+ inputs: [
17100
+ { name: 'defaultOwner', internalType: 'address', type: 'address' },
17101
+ { name: 'zoraSparksSalt', internalType: 'bytes32', type: 'bytes32' },
17102
+ { name: 'zoraSparksCreationCode', internalType: 'bytes', type: 'bytes' },
17103
+ { name: 'initialEthTokenId', internalType: 'uint256', type: 'uint256' },
17104
+ {
17105
+ name: 'initialEthTokenPrice',
17106
+ internalType: 'uint256',
17107
+ type: 'uint256',
17108
+ },
17109
+ { name: 'newBaseURI', internalType: 'string', type: 'string' },
17110
+ { name: 'newContractURI', internalType: 'string', type: 'string' },
17111
+ ],
17112
+ name: 'initialize',
17113
+ outputs: [
17114
+ {
17115
+ name: 'mints',
17116
+ internalType: 'contract IZoraSparks1155',
17117
+ type: 'address',
17118
+ },
17119
+ ],
17120
+ stateMutability: 'nonpayable',
17121
+ },
17122
+ {
17123
+ type: 'function',
17124
+ inputs: [
17125
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
17126
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
17127
+ { name: 'recipient', internalType: 'address', type: 'address' },
17128
+ ],
17129
+ name: 'mintWithERC20',
17130
+ outputs: [
17131
+ { name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
17132
+ ],
17133
+ stateMutability: 'nonpayable',
17134
+ },
17135
+ {
17136
+ type: 'function',
17137
+ inputs: [
17138
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
17139
+ { name: 'recipient', internalType: 'address', type: 'address' },
17140
+ ],
17141
+ name: 'mintWithEth',
17142
+ outputs: [
17143
+ { name: 'mintableTokenId', internalType: 'uint256', type: 'uint256' },
17144
+ ],
17145
+ stateMutability: 'payable',
17146
+ },
17147
+ {
17148
+ type: 'function',
17149
+ inputs: [],
17150
+ name: 'mintableEthToken',
17151
+ outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
17152
+ stateMutability: 'view',
17153
+ },
17154
+ {
17155
+ type: 'function',
17156
+ inputs: [
17157
+ { name: '', internalType: 'address', type: 'address' },
17158
+ { name: 'from', internalType: 'address', type: 'address' },
17159
+ { name: 'ids', internalType: 'uint256[]', type: 'uint256[]' },
17160
+ { name: 'values', internalType: 'uint256[]', type: 'uint256[]' },
17161
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
17162
+ ],
17163
+ name: 'onERC1155BatchReceived',
17164
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
17165
+ stateMutability: 'nonpayable',
17166
+ },
17167
+ {
17168
+ type: 'function',
17169
+ inputs: [
17170
+ { name: '', internalType: 'address', type: 'address' },
17171
+ { name: 'from', internalType: 'address', type: 'address' },
17172
+ { name: 'id', internalType: 'uint256', type: 'uint256' },
17173
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
17174
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
17175
+ ],
17176
+ name: 'onERC1155Received',
17177
+ outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
17178
+ stateMutability: 'nonpayable',
17179
+ },
17180
+ {
17181
+ type: 'function',
17182
+ inputs: [],
17183
+ name: 'owner',
17184
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17185
+ stateMutability: 'view',
17186
+ },
17187
+ {
17188
+ type: 'function',
17189
+ inputs: [],
17190
+ name: 'pendingOwner',
17191
+ outputs: [{ name: '', internalType: 'address', type: 'address' }],
17192
+ stateMutability: 'view',
17193
+ },
17194
+ {
17195
+ type: 'function',
17196
+ inputs: [],
17197
+ name: 'proxiableUUID',
17198
+ outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
17199
+ stateMutability: 'view',
17200
+ },
17201
+ {
17202
+ type: 'function',
17203
+ inputs: [],
17204
+ name: 'renounceOwnership',
17205
+ outputs: [],
17206
+ stateMutability: 'nonpayable',
17207
+ },
17208
+ {
17209
+ type: 'function',
17210
+ inputs: [
17211
+ { name: 'tokenAddress', internalType: 'address', type: 'address' },
17212
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
17213
+ ],
17214
+ name: 'setDefaultMintable',
17215
+ outputs: [],
17216
+ stateMutability: 'nonpayable',
17217
+ },
17218
+ {
17219
+ type: 'function',
17220
+ inputs: [
17221
+ { name: 'newContractURI', internalType: 'string', type: 'string' },
17222
+ { name: 'newBaseURI', internalType: 'string', type: 'string' },
17223
+ {
17224
+ name: 'tokenIdsToNotifyUpdate',
17225
+ internalType: 'uint256[]',
17226
+ type: 'uint256[]',
17227
+ },
17228
+ ],
17229
+ name: 'setMetadataURIs',
17230
+ outputs: [],
17231
+ stateMutability: 'nonpayable',
17232
+ },
17233
+ {
17234
+ type: 'function',
17235
+ inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
17236
+ name: 'transferOwnership',
17237
+ outputs: [],
17238
+ stateMutability: 'nonpayable',
17239
+ },
17240
+ {
17241
+ type: 'function',
17242
+ inputs: [
17243
+ { name: 'newImplementation', internalType: 'address', type: 'address' },
17244
+ { name: 'data', internalType: 'bytes', type: 'bytes' },
17245
+ ],
17246
+ name: 'upgradeToAndCall',
17247
+ outputs: [],
17248
+ stateMutability: 'payable',
17249
+ },
17250
+ {
17251
+ type: 'function',
17252
+ inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
17253
+ name: 'uri',
17254
+ outputs: [{ name: '', internalType: 'string', type: 'string' }],
17255
+ stateMutability: 'view',
17256
+ },
17257
+ {
17258
+ type: 'function',
17259
+ inputs: [],
17260
+ name: 'zoraSparks1155',
17261
+ outputs: [
17262
+ { name: '', internalType: 'contract IZoraSparks1155', type: 'address' },
17263
+ ],
17264
+ stateMutability: 'view',
17265
+ },
17266
+ {
17267
+ type: 'event',
17268
+ anonymous: false,
17269
+ inputs: [
17270
+ {
17271
+ name: 'tokenIds',
17272
+ internalType: 'uint256[]',
17273
+ type: 'uint256[]',
17274
+ indexed: true,
17275
+ },
17276
+ {
17277
+ name: 'quantities',
17278
+ internalType: 'uint256[]',
17279
+ type: 'uint256[]',
17280
+ indexed: false,
17281
+ },
17282
+ {
17283
+ name: 'zoraCreator1155Contract',
17284
+ internalType: 'address',
17285
+ type: 'address',
17286
+ indexed: true,
17287
+ },
17288
+ {
17289
+ name: 'zoraCreator1155TokenId',
17290
+ internalType: 'uint256',
17291
+ type: 'uint256',
17292
+ indexed: true,
17293
+ },
17294
+ ],
17295
+ name: 'Collected',
17296
+ },
17297
+ {
17298
+ type: 'event',
17299
+ anonymous: false,
17300
+ inputs: [
17301
+ {
17302
+ name: 'tokenAddress',
17303
+ internalType: 'address',
17304
+ type: 'address',
17305
+ indexed: false,
17306
+ },
17307
+ {
17308
+ name: 'tokenId',
17309
+ internalType: 'uint256',
17310
+ type: 'uint256',
17311
+ indexed: false,
17312
+ },
17313
+ ],
17314
+ name: 'DefaultMintableTokenSet',
17315
+ },
17316
+ {
17317
+ type: 'event',
17318
+ anonymous: false,
17319
+ inputs: [
17320
+ {
17321
+ name: 'version',
17322
+ internalType: 'uint64',
17323
+ type: 'uint64',
17324
+ indexed: false,
17325
+ },
17326
+ ],
17327
+ name: 'Initialized',
17328
+ },
17329
+ {
17330
+ type: 'event',
17331
+ anonymous: false,
17332
+ inputs: [
17333
+ {
17334
+ name: 'sender',
17335
+ internalType: 'address',
17336
+ type: 'address',
17337
+ indexed: true,
17338
+ },
17339
+ {
17340
+ name: 'tokenContract',
17341
+ internalType: 'address',
17342
+ type: 'address',
17343
+ indexed: true,
17344
+ },
17345
+ {
17346
+ name: 'tokenId',
17347
+ internalType: 'uint256',
17348
+ type: 'uint256',
17349
+ indexed: true,
17350
+ },
17351
+ {
17352
+ name: 'quantity',
17353
+ internalType: 'uint256',
17354
+ type: 'uint256',
17355
+ indexed: false,
17356
+ },
17357
+ {
17358
+ name: 'comment',
17359
+ internalType: 'string',
17360
+ type: 'string',
17361
+ indexed: false,
17362
+ },
17363
+ ],
17364
+ name: 'MintComment',
17365
+ },
17366
+ {
17367
+ type: 'event',
17368
+ anonymous: false,
17369
+ inputs: [
17370
+ {
17371
+ name: 'previousOwner',
17372
+ internalType: 'address',
17373
+ type: 'address',
17374
+ indexed: true,
17375
+ },
17376
+ {
17377
+ name: 'newOwner',
17378
+ internalType: 'address',
17379
+ type: 'address',
17380
+ indexed: true,
17381
+ },
17382
+ ],
17383
+ name: 'OwnershipTransferStarted',
17384
+ },
17385
+ {
17386
+ type: 'event',
17387
+ anonymous: false,
17388
+ inputs: [
17389
+ {
17390
+ name: 'previousOwner',
17391
+ internalType: 'address',
17392
+ type: 'address',
17393
+ indexed: true,
17394
+ },
17395
+ {
17396
+ name: 'newOwner',
17397
+ internalType: 'address',
17398
+ type: 'address',
17399
+ indexed: true,
17400
+ },
17401
+ ],
17402
+ name: 'OwnershipTransferred',
17403
+ },
17404
+ {
17405
+ type: 'event',
17406
+ anonymous: false,
17407
+ inputs: [
17408
+ {
17409
+ name: 'contractURI',
17410
+ internalType: 'string',
17411
+ type: 'string',
17412
+ indexed: false,
17413
+ },
17414
+ {
17415
+ name: 'baseURI',
17416
+ internalType: 'string',
17417
+ type: 'string',
17418
+ indexed: false,
17419
+ },
17420
+ ],
17421
+ name: 'URIsUpdated',
17422
+ },
17423
+ {
17424
+ type: 'event',
17425
+ anonymous: false,
17426
+ inputs: [
17427
+ {
17428
+ name: 'implementation',
17429
+ internalType: 'address',
17430
+ type: 'address',
17431
+ indexed: true,
17432
+ },
17433
+ ],
17434
+ name: 'Upgraded',
17435
+ },
17436
+ {
17437
+ type: 'error',
17438
+ inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
17439
+ name: 'AddressEmptyCode',
17440
+ },
17441
+ {
17442
+ type: 'error',
17443
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
17444
+ name: 'AddressInsufficientBalance',
17445
+ },
17446
+ {
17447
+ type: 'error',
17448
+ inputs: [
17449
+ { name: 'lengthA', internalType: 'uint256', type: 'uint256' },
17450
+ { name: 'lengthB', internalType: 'uint256', type: 'uint256' },
17451
+ ],
17452
+ name: 'ArrayLengthMismatch',
17453
+ },
17454
+ {
17455
+ type: 'error',
17456
+ inputs: [
17457
+ { name: 'operator', internalType: 'address', type: 'address' },
17458
+ { name: 'user', internalType: 'address', type: 'address' },
17459
+ ],
17460
+ name: 'Burn_NotOwnerOrApproved',
17461
+ },
17462
+ {
17463
+ type: 'error',
17464
+ inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
17465
+ name: 'CallFailed',
17466
+ },
17467
+ { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
17468
+ { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
17469
+ {
17470
+ type: 'error',
17471
+ inputs: [
17472
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
17473
+ { name: 'quantity', internalType: 'uint256', type: 'uint256' },
17474
+ { name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
17475
+ { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
17476
+ ],
17477
+ name: 'CannotMintMoreTokens',
17478
+ },
17479
+ {
17480
+ type: 'error',
17481
+ inputs: [
17482
+ { name: 'proposedAddress', internalType: 'address', type: 'address' },
17483
+ ],
17484
+ name: 'Config_TransferHookNotSupported',
17485
+ },
17486
+ { type: 'error', inputs: [], name: 'Create2EmptyBytecode' },
17487
+ { type: 'error', inputs: [], name: 'Create2FailedDeployment' },
17488
+ {
17489
+ type: 'error',
17490
+ inputs: [
17491
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
17492
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
17493
+ ],
17494
+ name: 'Create2InsufficientBalance',
17495
+ },
17496
+ { type: 'error', inputs: [], name: 'DefaultOwnerCannotBeZero' },
17497
+ { type: 'error', inputs: [], name: 'ERC1155BatchReceivedCallFailed' },
17498
+ { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
17499
+ {
17500
+ type: 'error',
17501
+ inputs: [
17502
+ { name: 'implementation', internalType: 'address', type: 'address' },
17503
+ ],
17504
+ name: 'ERC1967InvalidImplementation',
17505
+ },
17506
+ { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
17507
+ { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
17508
+ { type: 'error', inputs: [], name: 'ETHTransferFailed' },
17509
+ {
17510
+ type: 'error',
17511
+ inputs: [
17512
+ { name: 'recipient', internalType: 'address', type: 'address' },
17513
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
17514
+ ],
17515
+ name: 'ETHWithdrawFailed',
17516
+ },
17517
+ { type: 'error', inputs: [], name: 'FailedInnerCall' },
17518
+ { type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
17519
+ {
17520
+ type: 'error',
17521
+ inputs: [
17522
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
17523
+ { name: 'contractValue', internalType: 'uint256', type: 'uint256' },
17524
+ ],
17525
+ name: 'FundsWithdrawInsolvent',
17526
+ },
17527
+ { type: 'error', inputs: [], name: 'IncorrectAmountSent' },
17528
+ { type: 'error', inputs: [], name: 'InvalidAdminAction' },
17529
+ { type: 'error', inputs: [], name: 'InvalidInitialization' },
17530
+ {
17531
+ type: 'error',
17532
+ inputs: [
17533
+ { name: 'mintTo', internalType: 'address', type: 'address' },
17534
+ { name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
17535
+ { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
17536
+ ],
17537
+ name: 'InvalidMerkleProof',
17538
+ },
17539
+ { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
17540
+ { type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraSparks' },
17541
+ { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
17542
+ { type: 'error', inputs: [], name: 'InvalidRecipient' },
17543
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
17544
+ { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
17545
+ {
17546
+ type: 'error',
17547
+ inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
17548
+ name: 'InvalidSigner',
17549
+ },
17550
+ { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
17551
+ { type: 'error', inputs: [], name: 'MintNotYetStarted' },
17552
+ { type: 'error', inputs: [], name: 'MintWithSparksNotSupportedOnContract' },
17553
+ { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
17554
+ { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
17555
+ { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
17556
+ { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
17557
+ { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
17558
+ { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
17559
+ { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
17560
+ { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
17561
+ { type: 'error', inputs: [], name: 'NoTokensTransferred' },
17562
+ { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
17563
+ { type: 'error', inputs: [], name: 'NonEthRedemption' },
17564
+ {
17565
+ type: 'error',
17566
+ inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
17567
+ name: 'NotARedeemHandler',
17568
+ },
17569
+ { type: 'error', inputs: [], name: 'NotInitializing' },
17570
+ { type: 'error', inputs: [], name: 'NotSelfCall' },
17571
+ { type: 'error', inputs: [], name: 'NotZoraSparks1155' },
17572
+ { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraSparks' },
17573
+ {
17574
+ type: 'error',
17575
+ inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
17576
+ name: 'OwnableInvalidOwner',
17577
+ },
17578
+ {
17579
+ type: 'error',
17580
+ inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
17581
+ name: 'OwnableUnauthorizedAccount',
17582
+ },
17583
+ { type: 'error', inputs: [], name: 'PremintDeleted' },
17584
+ { type: 'error', inputs: [], name: 'PremintExecutorCannotBeZero' },
17585
+ {
17586
+ type: 'error',
17587
+ inputs: [
17588
+ { name: 'caller', internalType: 'address', type: 'address' },
17589
+ { name: 'recipient', internalType: 'address', type: 'address' },
17590
+ { name: 'amount', internalType: 'uint256', type: 'uint256' },
17591
+ ],
17592
+ name: 'ProtocolRewardsWithdrawFailed',
17593
+ },
17594
+ { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
17595
+ { type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
17596
+ {
17597
+ type: 'error',
17598
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
17599
+ name: 'SafeERC20FailedOperation',
17600
+ },
17601
+ { type: 'error', inputs: [], name: 'SaleEnded' },
17602
+ { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
17603
+ {
17604
+ type: 'error',
17605
+ inputs: [
17606
+ { name: 'targetContract', internalType: 'address', type: 'address' },
17607
+ ],
17608
+ name: 'Sale_CannotCallNonSalesContract',
17609
+ },
17610
+ { type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
17611
+ { type: 'error', inputs: [], name: 'TokenDoesNotExist' },
17612
+ {
17613
+ type: 'error',
17614
+ inputs: [
17615
+ { name: 'expected', internalType: 'uint256', type: 'uint256' },
17616
+ { name: 'actual', internalType: 'uint256', type: 'uint256' },
17617
+ ],
17618
+ name: 'TokenIdMismatch',
17619
+ },
17620
+ {
17621
+ type: 'error',
17622
+ inputs: [
17623
+ { name: 'storedTokenAddress', internalType: 'address', type: 'address' },
17624
+ {
17625
+ name: 'expectedTokenAddress',
17626
+ internalType: 'address',
17627
+ type: 'address',
17628
+ },
17629
+ ],
17630
+ name: 'TokenMismatch',
17631
+ },
17632
+ { type: 'error', inputs: [], name: 'TokenNotMintable' },
17633
+ { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
17634
+ {
17635
+ type: 'error',
17636
+ inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
17637
+ name: 'UUPSUnsupportedProxiableUUID',
17638
+ },
17639
+ {
17640
+ type: 'error',
17641
+ inputs: [{ name: 'selector', internalType: 'bytes4', type: 'bytes4' }],
17642
+ name: 'UnknownUserAction',
17643
+ },
17644
+ {
17645
+ type: 'error',
17646
+ inputs: [
17647
+ { name: 'expected', internalType: 'string', type: 'string' },
17648
+ { name: 'actual', internalType: 'string', type: 'string' },
17649
+ ],
17650
+ name: 'UpgradeToMismatchedContractName',
17651
+ },
17652
+ {
17653
+ type: 'error',
17654
+ inputs: [
17655
+ { name: 'user', internalType: 'address', type: 'address' },
17656
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
17657
+ { name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
17658
+ ],
17659
+ name: 'UserExceedsMintLimit',
17660
+ },
17661
+ {
17662
+ type: 'error',
17663
+ inputs: [
17664
+ { name: 'user', internalType: 'address', type: 'address' },
17665
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
17666
+ { name: 'role', internalType: 'uint256', type: 'uint256' },
17667
+ ],
17668
+ name: 'UserMissingRoleForToken',
17669
+ },
17670
+ { type: 'error', inputs: [], name: 'WrongValueSent' },
17671
+ {
17672
+ type: 'error',
17673
+ inputs: [],
17674
+ name: 'premintSignerContractFailedToRecoverSigner',
17675
+ },
17676
+ { type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
17677
+ ] as const
17678
+
17679
+ /**
17680
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
17681
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
17682
+ */
17683
+ export const zoraMintsManagerImplAddress = {
17684
+ 7777777: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
17685
+ 999999999: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
17686
+ } as const
17687
+
17688
+ /**
17689
+ * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
17690
+ * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
17691
+ */
17692
+ export const zoraMintsManagerImplConfig = {
17693
+ address: zoraMintsManagerImplAddress,
17694
+ abi: zoraMintsManagerImplABI,
17695
+ } as const
17696
+
17697
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
17698
+ // ZoraRouter
17699
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
17700
+
17701
+ /**
17702
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
17703
+ */
17704
+ export const zoraRouterABI = [
17705
+ {
17706
+ type: 'constructor',
17707
+ inputs: [
17708
+ {
17709
+ name: 'poolManager_',
17710
+ internalType: 'contract IPoolManager',
17711
+ type: 'address',
17712
+ },
17713
+ {
17714
+ name: 'zoraLimitOrderBook_',
17715
+ internalType: 'contract IZoraLimitOrderBook',
17716
+ type: 'address',
17717
+ },
17718
+ {
17719
+ name: 'swapRouter_',
17720
+ internalType: 'contract ISwapRouter',
17721
+ type: 'address',
17722
+ },
17723
+ { name: 'permit2_', internalType: 'address', type: 'address' },
17724
+ ],
16370
17725
  stateMutability: 'nonpayable',
16371
17726
  },
17727
+ { type: 'receive', stateMutability: 'payable' },
16372
17728
  {
16373
17729
  type: 'function',
16374
17730
  inputs: [],
16375
- name: 'owner',
16376
- outputs: [{ name: '', internalType: 'address', type: 'address' }],
17731
+ name: 'getLimitOrderConfig',
17732
+ outputs: [
17733
+ {
17734
+ name: '',
17735
+ internalType: 'struct LimitOrderConfig',
17736
+ type: 'tuple',
17737
+ components: [
17738
+ { name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
17739
+ { name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
17740
+ ],
17741
+ },
17742
+ ],
16377
17743
  stateMutability: 'view',
16378
17744
  },
16379
17745
  {
16380
17746
  type: 'function',
16381
17747
  inputs: [],
16382
- name: 'pendingOwner',
17748
+ name: 'msgSender',
16383
17749
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
16384
17750
  stateMutability: 'view',
16385
17751
  },
16386
17752
  {
16387
17753
  type: 'function',
16388
17754
  inputs: [],
16389
- name: 'proxiableUUID',
16390
- outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
16391
- stateMutability: 'view',
16392
- },
16393
- {
16394
- type: 'function',
16395
- inputs: [],
16396
- name: 'renounceOwnership',
16397
- outputs: [],
16398
- stateMutability: 'nonpayable',
16399
- },
16400
- {
16401
- type: 'function',
16402
- inputs: [
16403
- { name: 'tokenAddress', internalType: 'address', type: 'address' },
16404
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
17755
+ name: 'poolManager',
17756
+ outputs: [
17757
+ { name: '', internalType: 'contract IPoolManager', type: 'address' },
16405
17758
  ],
16406
- name: 'setDefaultMintable',
16407
- outputs: [],
16408
- stateMutability: 'nonpayable',
17759
+ stateMutability: 'view',
16409
17760
  },
16410
17761
  {
16411
17762
  type: 'function',
16412
17763
  inputs: [
16413
- { name: 'newContractURI', internalType: 'string', type: 'string' },
16414
- { name: 'newBaseURI', internalType: 'string', type: 'string' },
16415
17764
  {
16416
- name: 'tokenIdsToNotifyUpdate',
16417
- internalType: 'uint256[]',
16418
- type: 'uint256[]',
17765
+ name: 'config',
17766
+ internalType: 'struct LimitOrderConfig',
17767
+ type: 'tuple',
17768
+ components: [
17769
+ { name: 'multiples', internalType: 'uint256[]', type: 'uint256[]' },
17770
+ { name: 'percentages', internalType: 'uint256[]', type: 'uint256[]' },
17771
+ ],
16419
17772
  },
16420
17773
  ],
16421
- name: 'setMetadataURIs',
17774
+ name: 'setLimitOrderConfig',
16422
17775
  outputs: [],
16423
17776
  stateMutability: 'nonpayable',
16424
17777
  },
16425
17778
  {
16426
17779
  type: 'function',
16427
- inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
16428
- name: 'transferOwnership',
16429
- outputs: [],
16430
- stateMutability: 'nonpayable',
17780
+ inputs: [],
17781
+ name: 'swapRouter',
17782
+ outputs: [
17783
+ { name: '', internalType: 'contract ISwapRouter', type: 'address' },
17784
+ ],
17785
+ stateMutability: 'view',
16431
17786
  },
16432
17787
  {
16433
17788
  type: 'function',
16434
17789
  inputs: [
16435
- { name: 'newImplementation', internalType: 'address', type: 'address' },
16436
- { name: 'data', internalType: 'bytes', type: 'bytes' },
17790
+ {
17791
+ name: 'params',
17792
+ internalType: 'struct SwapWithLimitOrders.SwapWithLimitOrdersParams',
17793
+ type: 'tuple',
17794
+ components: [
17795
+ { name: 'recipient', internalType: 'address', type: 'address' },
17796
+ {
17797
+ name: 'limitOrderConfig',
17798
+ internalType: 'struct LimitOrderConfig',
17799
+ type: 'tuple',
17800
+ components: [
17801
+ {
17802
+ name: 'multiples',
17803
+ internalType: 'uint256[]',
17804
+ type: 'uint256[]',
17805
+ },
17806
+ {
17807
+ name: 'percentages',
17808
+ internalType: 'uint256[]',
17809
+ type: 'uint256[]',
17810
+ },
17811
+ ],
17812
+ },
17813
+ { name: 'inputCurrency', internalType: 'address', type: 'address' },
17814
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
17815
+ { name: 'v3Route', internalType: 'bytes', type: 'bytes' },
17816
+ {
17817
+ name: 'v4Route',
17818
+ internalType: 'struct PoolKey[]',
17819
+ type: 'tuple[]',
17820
+ components: [
17821
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
17822
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
17823
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
17824
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
17825
+ {
17826
+ name: 'hooks',
17827
+ internalType: 'contract IHooks',
17828
+ type: 'address',
17829
+ },
17830
+ ],
17831
+ },
17832
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
17833
+ ],
17834
+ },
16437
17835
  ],
16438
- name: 'upgradeToAndCall',
16439
- outputs: [],
17836
+ name: 'swapWithLimitOrders',
17837
+ outputs: [{ name: 'delta', internalType: 'BalanceDelta', type: 'int256' }],
16440
17838
  stateMutability: 'payable',
16441
17839
  },
16442
17840
  {
16443
17841
  type: 'function',
16444
- inputs: [{ name: 'tokenId', internalType: 'uint256', type: 'uint256' }],
16445
- name: 'uri',
16446
- outputs: [{ name: '', internalType: 'string', type: 'string' }],
16447
- stateMutability: 'view',
17842
+ inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
17843
+ name: 'unlockCallback',
17844
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
17845
+ stateMutability: 'nonpayable',
16448
17846
  },
16449
17847
  {
16450
17848
  type: 'function',
16451
17849
  inputs: [],
16452
- name: 'zoraSparks1155',
17850
+ name: 'zoraLimitOrderBook',
16453
17851
  outputs: [
16454
- { name: '', internalType: 'contract IZoraSparks1155', type: 'address' },
17852
+ {
17853
+ name: '',
17854
+ internalType: 'contract IZoraLimitOrderBook',
17855
+ type: 'address',
17856
+ },
16455
17857
  ],
16456
17858
  stateMutability: 'view',
16457
17859
  },
@@ -16460,63 +17862,19 @@ export const zoraMintsManagerImplABI = [
16460
17862
  anonymous: false,
16461
17863
  inputs: [
16462
17864
  {
16463
- name: 'tokenIds',
17865
+ name: 'multiples',
16464
17866
  internalType: 'uint256[]',
16465
17867
  type: 'uint256[]',
16466
- indexed: true,
17868
+ indexed: false,
16467
17869
  },
16468
17870
  {
16469
- name: 'quantities',
17871
+ name: 'percentages',
16470
17872
  internalType: 'uint256[]',
16471
17873
  type: 'uint256[]',
16472
17874
  indexed: false,
16473
17875
  },
16474
- {
16475
- name: 'zoraCreator1155Contract',
16476
- internalType: 'address',
16477
- type: 'address',
16478
- indexed: true,
16479
- },
16480
- {
16481
- name: 'zoraCreator1155TokenId',
16482
- internalType: 'uint256',
16483
- type: 'uint256',
16484
- indexed: true,
16485
- },
16486
- ],
16487
- name: 'Collected',
16488
- },
16489
- {
16490
- type: 'event',
16491
- anonymous: false,
16492
- inputs: [
16493
- {
16494
- name: 'tokenAddress',
16495
- internalType: 'address',
16496
- type: 'address',
16497
- indexed: false,
16498
- },
16499
- {
16500
- name: 'tokenId',
16501
- internalType: 'uint256',
16502
- type: 'uint256',
16503
- indexed: false,
16504
- },
16505
- ],
16506
- name: 'DefaultMintableTokenSet',
16507
- },
16508
- {
16509
- type: 'event',
16510
- anonymous: false,
16511
- inputs: [
16512
- {
16513
- name: 'version',
16514
- internalType: 'uint64',
16515
- type: 'uint64',
16516
- indexed: false,
16517
- },
16518
17876
  ],
16519
- name: 'Initialized',
17877
+ name: 'LimitOrderConfigUpdated',
16520
17878
  },
16521
17879
  {
16522
17880
  type: 'event',
@@ -16529,361 +17887,346 @@ export const zoraMintsManagerImplABI = [
16529
17887
  indexed: true,
16530
17888
  },
16531
17889
  {
16532
- name: 'tokenContract',
17890
+ name: 'recipient',
16533
17891
  internalType: 'address',
16534
17892
  type: 'address',
16535
17893
  indexed: true,
16536
17894
  },
16537
17895
  {
16538
- name: 'tokenId',
16539
- internalType: 'uint256',
16540
- type: 'uint256',
16541
- indexed: true,
16542
- },
16543
- {
16544
- name: 'quantity',
16545
- internalType: 'uint256',
16546
- type: 'uint256',
17896
+ name: 'poolKey',
17897
+ internalType: 'struct PoolKey',
17898
+ type: 'tuple',
17899
+ components: [
17900
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
17901
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
17902
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
17903
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
17904
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
17905
+ ],
16547
17906
  indexed: false,
16548
17907
  },
16549
17908
  {
16550
- name: 'comment',
16551
- internalType: 'string',
16552
- type: 'string',
17909
+ name: 'delta',
17910
+ internalType: 'BalanceDelta',
17911
+ type: 'int256',
16553
17912
  indexed: false,
16554
17913
  },
16555
- ],
16556
- name: 'MintComment',
16557
- },
16558
- {
16559
- type: 'event',
16560
- anonymous: false,
16561
- inputs: [
16562
- {
16563
- name: 'previousOwner',
16564
- internalType: 'address',
16565
- type: 'address',
16566
- indexed: true,
16567
- },
16568
- {
16569
- name: 'newOwner',
16570
- internalType: 'address',
16571
- type: 'address',
16572
- indexed: true,
16573
- },
16574
- ],
16575
- name: 'OwnershipTransferStarted',
16576
- },
16577
- {
16578
- type: 'event',
16579
- anonymous: false,
16580
- inputs: [
16581
- {
16582
- name: 'previousOwner',
16583
- internalType: 'address',
16584
- type: 'address',
16585
- indexed: true,
16586
- },
16587
17914
  {
16588
- name: 'newOwner',
16589
- internalType: 'address',
16590
- type: 'address',
16591
- indexed: true,
17915
+ name: 'tickBeforeSwap',
17916
+ internalType: 'int24',
17917
+ type: 'int24',
17918
+ indexed: false,
16592
17919
  },
16593
- ],
16594
- name: 'OwnershipTransferred',
16595
- },
16596
- {
16597
- type: 'event',
16598
- anonymous: false,
16599
- inputs: [
16600
17920
  {
16601
- name: 'contractURI',
16602
- internalType: 'string',
16603
- type: 'string',
17921
+ name: 'tickAfterSwap',
17922
+ internalType: 'int24',
17923
+ type: 'int24',
16604
17924
  indexed: false,
16605
17925
  },
16606
17926
  {
16607
- name: 'baseURI',
16608
- internalType: 'string',
16609
- type: 'string',
17927
+ name: 'orders',
17928
+ internalType: 'struct SwapWithLimitOrders.CreatedOrder[]',
17929
+ type: 'tuple[]',
17930
+ components: [
17931
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
17932
+ { name: 'multiple', internalType: 'uint256', type: 'uint256' },
17933
+ { name: 'percentage', internalType: 'uint256', type: 'uint256' },
17934
+ ],
16610
17935
  indexed: false,
16611
17936
  },
16612
17937
  ],
16613
- name: 'URIsUpdated',
17938
+ name: 'SwapWithLimitOrdersExecuted',
16614
17939
  },
17940
+ { type: 'error', inputs: [], name: 'EmptyV4Route' },
17941
+ { type: 'error', inputs: [], name: 'FromAddressIsNotOwner' },
16615
17942
  {
16616
- type: 'event',
16617
- anonymous: false,
17943
+ type: 'error',
16618
17944
  inputs: [
16619
- {
16620
- name: 'implementation',
16621
- internalType: 'address',
16622
- type: 'address',
16623
- indexed: true,
16624
- },
17945
+ { name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
17946
+ { name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
16625
17947
  ],
16626
- name: 'Upgraded',
17948
+ name: 'InsufficientInputCurrency',
17949
+ },
17950
+ { type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
17951
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
17952
+ { type: 'error', inputs: [], name: 'InvalidLimitOrderConfig' },
17953
+ { type: 'error', inputs: [], name: 'InvalidMultiple' },
17954
+ { type: 'error', inputs: [], name: 'InvalidPercent' },
17955
+ { type: 'error', inputs: [], name: 'LengthMismatch' },
17956
+ { type: 'error', inputs: [], name: 'OnlyAuthority' },
17957
+ { type: 'error', inputs: [], name: 'OnlyPoolManager' },
17958
+ { type: 'error', inputs: [], name: 'PercentOverflow' },
17959
+ {
17960
+ type: 'error',
17961
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
17962
+ name: 'SafeERC20FailedOperation',
16627
17963
  },
17964
+ { type: 'error', inputs: [], name: 'UnsafeCast' },
17965
+ { type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
17966
+ { type: 'error', inputs: [], name: 'ZeroSwapDelta' },
17967
+ { type: 'error', inputs: [], name: 'AddressZero' },
17968
+ { type: 'error', inputs: [], name: 'AlreadyOwner' },
17969
+ { type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
16628
17970
  {
16629
17971
  type: 'error',
16630
- inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
16631
- name: 'AddressEmptyCode',
17972
+ inputs: [],
17973
+ name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
16632
17974
  },
17975
+ { type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
16633
17976
  {
16634
17977
  type: 'error',
16635
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
16636
- name: 'AddressInsufficientBalance',
17978
+ inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
17979
+ name: 'ECDSAInvalidSignatureLength',
17980
+ },
17981
+ {
17982
+ type: 'error',
17983
+ inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
17984
+ name: 'ECDSAInvalidSignatureS',
16637
17985
  },
16638
17986
  {
16639
17987
  type: 'error',
16640
17988
  inputs: [
16641
- { name: 'lengthA', internalType: 'uint256', type: 'uint256' },
16642
- { name: 'lengthB', internalType: 'uint256', type: 'uint256' },
17989
+ { name: 'spender', internalType: 'address', type: 'address' },
17990
+ { name: 'allowance', internalType: 'uint256', type: 'uint256' },
17991
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
16643
17992
  ],
16644
- name: 'ArrayLengthMismatch',
17993
+ name: 'ERC20InsufficientAllowance',
16645
17994
  },
16646
17995
  {
16647
17996
  type: 'error',
16648
17997
  inputs: [
16649
- { name: 'operator', internalType: 'address', type: 'address' },
16650
- { name: 'user', internalType: 'address', type: 'address' },
17998
+ { name: 'sender', internalType: 'address', type: 'address' },
17999
+ { name: 'balance', internalType: 'uint256', type: 'uint256' },
18000
+ { name: 'needed', internalType: 'uint256', type: 'uint256' },
16651
18001
  ],
16652
- name: 'Burn_NotOwnerOrApproved',
18002
+ name: 'ERC20InsufficientBalance',
16653
18003
  },
16654
18004
  {
16655
18005
  type: 'error',
16656
- inputs: [{ name: 'reason', internalType: 'bytes', type: 'bytes' }],
16657
- name: 'CallFailed',
18006
+ inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
18007
+ name: 'ERC20InvalidApprover',
16658
18008
  },
16659
- { type: 'error', inputs: [], name: 'Call_TokenIdMismatch' },
16660
- { type: 'error', inputs: [], name: 'CallerNotZoraCreator1155' },
16661
18009
  {
16662
18010
  type: 'error',
16663
- inputs: [
16664
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16665
- { name: 'quantity', internalType: 'uint256', type: 'uint256' },
16666
- { name: 'totalMinted', internalType: 'uint256', type: 'uint256' },
16667
- { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
16668
- ],
16669
- name: 'CannotMintMoreTokens',
18011
+ inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
18012
+ name: 'ERC20InvalidReceiver',
16670
18013
  },
16671
18014
  {
16672
18015
  type: 'error',
16673
- inputs: [
16674
- { name: 'proposedAddress', internalType: 'address', type: 'address' },
16675
- ],
16676
- name: 'Config_TransferHookNotSupported',
18016
+ inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
18017
+ name: 'ERC20InvalidSender',
16677
18018
  },
16678
- { type: 'error', inputs: [], name: 'Create2EmptyBytecode' },
16679
- { type: 'error', inputs: [], name: 'Create2FailedDeployment' },
16680
18019
  {
16681
18020
  type: 'error',
16682
- inputs: [
16683
- { name: 'balance', internalType: 'uint256', type: 'uint256' },
16684
- { name: 'needed', internalType: 'uint256', type: 'uint256' },
16685
- ],
16686
- name: 'Create2InsufficientBalance',
18021
+ inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
18022
+ name: 'ERC20InvalidSpender',
16687
18023
  },
16688
- { type: 'error', inputs: [], name: 'DefaultOwnerCannotBeZero' },
16689
- { type: 'error', inputs: [], name: 'ERC1155BatchReceivedCallFailed' },
16690
- { type: 'error', inputs: [], name: 'ERC1155_MINT_TO_ZERO_ADDRESS' },
18024
+ { type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
16691
18025
  {
16692
18026
  type: 'error',
16693
- inputs: [
16694
- { name: 'implementation', internalType: 'address', type: 'address' },
16695
- ],
16696
- name: 'ERC1967InvalidImplementation',
18027
+ inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
18028
+ name: 'ERC2612ExpiredSignature',
16697
18029
  },
16698
- { type: 'error', inputs: [], name: 'ERC1967NonPayable' },
16699
- { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
16700
- { type: 'error', inputs: [], name: 'ETHTransferFailed' },
16701
18030
  {
16702
18031
  type: 'error',
16703
18032
  inputs: [
16704
- { name: 'recipient', internalType: 'address', type: 'address' },
16705
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
18033
+ { name: 'signer', internalType: 'address', type: 'address' },
18034
+ { name: 'owner', internalType: 'address', type: 'address' },
16706
18035
  ],
16707
- name: 'ETHWithdrawFailed',
18036
+ name: 'ERC2612InvalidSigner',
16708
18037
  },
16709
- { type: 'error', inputs: [], name: 'FailedInnerCall' },
16710
- { type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
18038
+ { type: 'error', inputs: [], name: 'EthAmountMismatch' },
18039
+ { type: 'error', inputs: [], name: 'EthAmountTooSmall' },
18040
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
18041
+ { type: 'error', inputs: [], name: 'EthTransferInvalid' },
18042
+ { type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
18043
+ { type: 'error', inputs: [], name: 'InsufficientFunds' },
18044
+ { type: 'error', inputs: [], name: 'InsufficientLiquidity' },
16711
18045
  {
16712
18046
  type: 'error',
16713
18047
  inputs: [
16714
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
16715
- { name: 'contractValue', internalType: 'uint256', type: 'uint256' },
18048
+ { name: 'account', internalType: 'address', type: 'address' },
18049
+ { name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
16716
18050
  ],
16717
- name: 'FundsWithdrawInsolvent',
18051
+ name: 'InvalidAccountNonce',
16718
18052
  },
16719
- { type: 'error', inputs: [], name: 'IncorrectAmountSent' },
16720
- { type: 'error', inputs: [], name: 'InvalidAdminAction' },
18053
+ { type: 'error', inputs: [], name: 'InvalidCurrency' },
18054
+ { type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
16721
18055
  { type: 'error', inputs: [], name: 'InvalidInitialization' },
18056
+ { type: 'error', inputs: [], name: 'InvalidMarketType' },
18057
+ { type: 'error', inputs: [], name: 'InvalidPoolVersion' },
16722
18058
  {
16723
18059
  type: 'error',
16724
18060
  inputs: [
16725
- { name: 'mintTo', internalType: 'address', type: 'address' },
16726
- { name: 'merkleProof', internalType: 'bytes32[]', type: 'bytes32[]' },
16727
- { name: 'merkleRoot', internalType: 'bytes32', type: 'bytes32' },
18061
+ { name: 'tickLower', internalType: 'int24', type: 'int24' },
18062
+ { name: 'tickUpper', internalType: 'int24', type: 'int24' },
16728
18063
  ],
16729
- name: 'InvalidMerkleProof',
18064
+ name: 'InvalidTickRangeMisordered',
16730
18065
  },
16731
- { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
16732
- { type: 'error', inputs: [], name: 'InvalidOwnerForAssociatedZoraSparks' },
16733
- { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
16734
- { type: 'error', inputs: [], name: 'InvalidRecipient' },
16735
- { type: 'error', inputs: [], name: 'InvalidSignature' },
16736
- { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
18066
+ { type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
18067
+ { type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
18068
+ { type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
18069
+ { type: 'error', inputs: [], name: 'MarketNotGraduated' },
16737
18070
  {
16738
18071
  type: 'error',
16739
- inputs: [{ name: 'magicValue', internalType: 'bytes4', type: 'bytes4' }],
16740
- name: 'InvalidSigner',
18072
+ inputs: [
18073
+ { name: 'value', internalType: 'uint256', type: 'uint256' },
18074
+ { name: 'limit', internalType: 'uint256', type: 'uint256' },
18075
+ ],
18076
+ name: 'MaxShareToBeSoldExceeded',
16741
18077
  },
16742
- { type: 'error', inputs: [], name: 'InvalidTokenPrice' },
16743
- { type: 'error', inputs: [], name: 'MintNotYetStarted' },
16744
- { type: 'error', inputs: [], name: 'MintWithSparksNotSupportedOnContract' },
16745
- { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
16746
- { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
16747
- { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
16748
- { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
16749
- { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
16750
- { type: 'error', inputs: [], name: 'MinterContractAlreadyExists' },
16751
- { type: 'error', inputs: [], name: 'MinterContractDoesNotExist' },
16752
- { type: 'error', inputs: [], name: 'NewOwnerNeedsToBeAdmin' },
16753
- { type: 'error', inputs: [], name: 'NoTokensTransferred' },
16754
- { type: 'error', inputs: [], name: 'NoUriForNonexistentToken' },
16755
- { type: 'error', inputs: [], name: 'NonEthRedemption' },
18078
+ { type: 'error', inputs: [], name: 'NameIsRequired' },
18079
+ { type: 'error', inputs: [], name: 'NotInitializing' },
18080
+ { type: 'error', inputs: [], name: 'NotOwner' },
18081
+ { type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
18082
+ { type: 'error', inputs: [], name: 'OneOwnerRequired' },
18083
+ { type: 'error', inputs: [], name: 'OnlyOwner' },
16756
18084
  {
16757
18085
  type: 'error',
16758
- inputs: [{ name: 'handler', internalType: 'address', type: 'address' }],
16759
- name: 'NotARedeemHandler',
18086
+ inputs: [
18087
+ { name: 'sender', internalType: 'address', type: 'address' },
18088
+ { name: 'pool', internalType: 'address', type: 'address' },
18089
+ ],
18090
+ name: 'OnlyPool',
16760
18091
  },
16761
- { type: 'error', inputs: [], name: 'NotInitializing' },
16762
- { type: 'error', inputs: [], name: 'NotSelfCall' },
16763
- { type: 'error', inputs: [], name: 'NotZoraSparks1155' },
16764
- { type: 'error', inputs: [], name: 'OnlyTransfersFromZoraSparks' },
18092
+ { type: 'error', inputs: [], name: 'OnlyWeth' },
18093
+ { type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
18094
+ { type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
18095
+ { type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
18096
+ { type: 'error', inputs: [], name: 'CoinVersionLookupCannotBeZeroAddress' },
18097
+ { type: 'error', inputs: [], name: 'EthTransferFailed' },
18098
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
16765
18099
  {
16766
18100
  type: 'error',
16767
- inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
16768
- name: 'OwnableInvalidOwner',
18101
+ inputs: [{ name: 'callbackId', internalType: 'uint8', type: 'uint8' }],
18102
+ name: 'InvalidCallbackId',
16769
18103
  },
16770
18104
  {
16771
18105
  type: 'error',
16772
- inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
16773
- name: 'OwnableUnauthorizedAccount',
18106
+ inputs: [{ name: 'newHook', internalType: 'address', type: 'address' }],
18107
+ name: 'InvalidNewHook',
16774
18108
  },
16775
- { type: 'error', inputs: [], name: 'PremintDeleted' },
16776
- { type: 'error', inputs: [], name: 'PremintExecutorCannotBeZero' },
16777
18109
  {
16778
18110
  type: 'error',
16779
18111
  inputs: [
16780
- { name: 'caller', internalType: 'address', type: 'address' },
16781
- { name: 'recipient', internalType: 'address', type: 'address' },
16782
- { name: 'amount', internalType: 'uint256', type: 'uint256' },
18112
+ {
18113
+ name: 'key',
18114
+ internalType: 'struct PoolKey',
18115
+ type: 'tuple',
18116
+ components: [
18117
+ { name: 'currency0', internalType: 'Currency', type: 'address' },
18118
+ { name: 'currency1', internalType: 'Currency', type: 'address' },
18119
+ { name: 'fee', internalType: 'uint24', type: 'uint24' },
18120
+ { name: 'tickSpacing', internalType: 'int24', type: 'int24' },
18121
+ { name: 'hooks', internalType: 'contract IHooks', type: 'address' },
18122
+ ],
18123
+ },
16783
18124
  ],
16784
- name: 'ProtocolRewardsWithdrawFailed',
18125
+ name: 'NoCoinForHook',
16785
18126
  },
16786
- { type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
16787
- { type: 'error', inputs: [], name: 'Renderer_NotValidRendererContract' },
16788
18127
  {
16789
18128
  type: 'error',
16790
- inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
16791
- name: 'SafeERC20FailedOperation',
18129
+ inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
18130
+ name: 'NotACoin',
16792
18131
  },
16793
- { type: 'error', inputs: [], name: 'SaleEnded' },
16794
- { type: 'error', inputs: [], name: 'SaleHasNotStarted' },
18132
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
16795
18133
  {
16796
18134
  type: 'error',
16797
18135
  inputs: [
16798
- { name: 'targetContract', internalType: 'address', type: 'address' },
18136
+ { name: 'caller', internalType: 'address', type: 'address' },
18137
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
16799
18138
  ],
16800
- name: 'Sale_CannotCallNonSalesContract',
18139
+ name: 'OnlyCoin',
16801
18140
  },
16802
- { type: 'error', inputs: [], name: 'TokenAlreadyCreated' },
16803
- { type: 'error', inputs: [], name: 'TokenDoesNotExist' },
18141
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
18142
+ { type: 'error', inputs: [], name: 'SafeCastOverflow' },
16804
18143
  {
16805
18144
  type: 'error',
16806
- inputs: [
16807
- { name: 'expected', internalType: 'uint256', type: 'uint256' },
16808
- { name: 'actual', internalType: 'uint256', type: 'uint256' },
16809
- ],
16810
- name: 'TokenIdMismatch',
18145
+ inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
18146
+ name: 'SafeERC20FailedOperation',
16811
18147
  },
16812
18148
  {
16813
18149
  type: 'error',
16814
- inputs: [
16815
- { name: 'storedTokenAddress', internalType: 'address', type: 'address' },
16816
- {
16817
- name: 'expectedTokenAddress',
16818
- internalType: 'address',
16819
- type: 'address',
16820
- },
16821
- ],
16822
- name: 'TokenMismatch',
18150
+ inputs: [],
18151
+ name: 'TrustedMsgSenderLookupCannotBeZeroAddress',
16823
18152
  },
16824
- { type: 'error', inputs: [], name: 'TokenNotMintable' },
16825
- { type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
18153
+ { type: 'error', inputs: [], name: 'UpgradeGateCannotBeZeroAddress' },
16826
18154
  {
16827
18155
  type: 'error',
16828
- inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
16829
- name: 'UUPSUnsupportedProxiableUUID',
18156
+ inputs: [
18157
+ { name: 'oldHook', internalType: 'address', type: 'address' },
18158
+ { name: 'newHook', internalType: 'address', type: 'address' },
18159
+ ],
18160
+ name: 'UpgradePathNotRegistered',
16830
18161
  },
18162
+ { type: 'error', inputs: [], name: 'ZoraHookRegistryCannotBeZeroAddress' },
18163
+ { type: 'error', inputs: [], name: 'ZoraLimitOrderBookCannotBeZeroAddress' },
16831
18164
  {
16832
18165
  type: 'error',
16833
- inputs: [{ name: 'selector', internalType: 'bytes4', type: 'bytes4' }],
16834
- name: 'UnknownUserAction',
18166
+ inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
18167
+ name: 'AccessManagedInvalidAuthority',
16835
18168
  },
18169
+ { type: 'error', inputs: [], name: 'AccessManagedUnauthorized' },
18170
+ { type: 'error', inputs: [], name: 'AddressZero' },
18171
+ { type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
16836
18172
  {
16837
18173
  type: 'error',
16838
18174
  inputs: [
16839
- { name: 'expected', internalType: 'string', type: 'string' },
16840
- { name: 'actual', internalType: 'string', type: 'string' },
18175
+ { name: 'orderId', internalType: 'bytes32', type: 'bytes32' },
18176
+ { name: 'expectedCoin', internalType: 'address', type: 'address' },
18177
+ { name: 'actualCoin', internalType: 'address', type: 'address' },
16841
18178
  ],
16842
- name: 'UpgradeToMismatchedContractName',
18179
+ name: 'CoinMismatch',
16843
18180
  },
18181
+ { type: 'error', inputs: [], name: 'InsufficientForwardedFunds' },
18182
+ { type: 'error', inputs: [], name: 'InsufficientTransferFunds' },
16844
18183
  {
16845
18184
  type: 'error',
16846
18185
  inputs: [
16847
- { name: 'user', internalType: 'address', type: 'address' },
16848
- { name: 'limit', internalType: 'uint256', type: 'uint256' },
16849
- { name: 'requestedAmount', internalType: 'uint256', type: 'uint256' },
18186
+ { name: 'startTick', internalType: 'int24', type: 'int24' },
18187
+ { name: 'endTick', internalType: 'int24', type: 'int24' },
18188
+ { name: 'isCurrency0', internalType: 'bool', type: 'bool' },
16850
18189
  ],
16851
- name: 'UserExceedsMintLimit',
18190
+ name: 'InvalidFillWindow',
16852
18191
  },
18192
+ { type: 'error', inputs: [], name: 'InvalidOrder' },
18193
+ { type: 'error', inputs: [], name: 'InvalidPoolKey' },
18194
+ { type: 'error', inputs: [], name: 'MaxFillCountCannotBeZero' },
16853
18195
  {
16854
18196
  type: 'error',
16855
18197
  inputs: [
16856
- { name: 'user', internalType: 'address', type: 'address' },
16857
- { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
16858
- { name: 'role', internalType: 'uint256', type: 'uint256' },
18198
+ { name: 'withdrawn', internalType: 'uint256', type: 'uint256' },
18199
+ { name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
16859
18200
  ],
16860
- name: 'UserMissingRoleForToken',
16861
- },
16862
- { type: 'error', inputs: [], name: 'WrongValueSent' },
16863
- {
16864
- type: 'error',
16865
- inputs: [],
16866
- name: 'premintSignerContractFailedToRecoverSigner',
18201
+ name: 'MinAmountNotReached',
16867
18202
  },
16868
- { type: 'error', inputs: [], name: 'premintSignerContractNotAContract' },
18203
+ { type: 'error', inputs: [], name: 'NativeValueMismatch' },
18204
+ { type: 'error', inputs: [], name: 'NotPoolManager' },
18205
+ { type: 'error', inputs: [], name: 'OnlyZoraHook' },
18206
+ { type: 'error', inputs: [], name: 'OrderClosed' },
18207
+ { type: 'error', inputs: [], name: 'OrderNotMaker' },
18208
+ { type: 'error', inputs: [], name: 'PathMustHaveAtLeastOneStep' },
18209
+ { type: 'error', inputs: [], name: 'RouterMsgSenderInvalid' },
18210
+ { type: 'error', inputs: [], name: 'UnknownCallback' },
18211
+ { type: 'error', inputs: [], name: 'UnlockedFillNotAllowed' },
18212
+ { type: 'error', inputs: [], name: 'ZeroMaker' },
18213
+ { type: 'error', inputs: [], name: 'ZeroOrderSize' },
18214
+ { type: 'error', inputs: [], name: 'ZeroRealizedOrder' },
16869
18215
  ] as const
16870
18216
 
16871
18217
  /**
16872
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
16873
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
18218
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
16874
18219
  */
16875
- export const zoraMintsManagerImplAddress = {
16876
- 7777777: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
16877
- 999999999: '0x77777770cA269366c7208aFcF36FE2C6F7f7608B',
18220
+ export const zoraRouterAddress = {
18221
+ 8453: '0x42E354928b1BD9082FAFc2dF01222827E9fD098F',
16878
18222
  } as const
16879
18223
 
16880
18224
  /**
16881
- * - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
16882
- * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x77777770cA269366c7208aFcF36FE2C6F7f7608B)
18225
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x42E354928b1BD9082FAFc2dF01222827E9fD098F)
16883
18226
  */
16884
- export const zoraMintsManagerImplConfig = {
16885
- address: zoraMintsManagerImplAddress,
16886
- abi: zoraMintsManagerImplABI,
18227
+ export const zoraRouterConfig = {
18228
+ address: zoraRouterAddress,
18229
+ abi: zoraRouterABI,
16887
18230
  } as const
16888
18231
 
16889
18232
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////