@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.
package/dist/index.js CHANGED
@@ -279,18 +279,7 @@ var buySupplyWithSwapRouterHookABI = [
279
279
  ],
280
280
  name: "BuyInitialSupply"
281
281
  },
282
- {
283
- type: "error",
284
- inputs: [{ name: "target", internalType: "address", type: "address" }],
285
- name: "AddressEmptyCode"
286
- },
287
- {
288
- type: "error",
289
- inputs: [{ name: "account", internalType: "address", type: "address" }],
290
- name: "AddressInsufficientBalance"
291
- },
292
282
  { type: "error", inputs: [], name: "AddressZero" },
293
- { type: "error", inputs: [], name: "FailedInnerCall" },
294
283
  { type: "error", inputs: [], name: "HookNotImplemented" },
295
284
  {
296
285
  type: "error",
@@ -308,7 +297,6 @@ var buySupplyWithSwapRouterHookABI = [
308
297
  inputs: [{ name: "token", internalType: "address", type: "address" }],
309
298
  name: "SafeERC20FailedOperation"
310
299
  },
311
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
312
300
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
313
301
  ];
314
302
  var buySupplyWithSwapRouterHookAddress = {
@@ -2383,6 +2371,7 @@ var coinABI = [
2383
2371
  ],
2384
2372
  name: "InvalidAccountNonce"
2385
2373
  },
2374
+ { type: "error", inputs: [], name: "InvalidCurrency" },
2386
2375
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
2387
2376
  { type: "error", inputs: [], name: "InvalidInitialization" },
2388
2377
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -2432,6 +2421,7 @@ var coinFactoryABI = [
2432
2421
  inputs: [
2433
2422
  { name: "coinV4Impl_", internalType: "address", type: "address" },
2434
2423
  { name: "creatorCoinImpl_", internalType: "address", type: "address" },
2424
+ { name: "trendCoinImpl_", internalType: "address", type: "address" },
2435
2425
  { name: "hook_", internalType: "address", type: "address" },
2436
2426
  { name: "zoraHookRegistry_", internalType: "address", type: "address" }
2437
2427
  ],
@@ -2604,6 +2594,20 @@ var coinFactoryABI = [
2604
2594
  ],
2605
2595
  stateMutability: "payable"
2606
2596
  },
2597
+ {
2598
+ type: "function",
2599
+ inputs: [
2600
+ { name: "symbol", internalType: "string", type: "string" },
2601
+ { name: "postDeployHook", internalType: "address", type: "address" },
2602
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" }
2603
+ ],
2604
+ name: "deployTrendCoin",
2605
+ outputs: [
2606
+ { name: "coin", internalType: "address", type: "address" },
2607
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
2608
+ ],
2609
+ stateMutability: "payable"
2610
+ },
2607
2611
  {
2608
2612
  type: "function",
2609
2613
  inputs: [
@@ -2689,6 +2693,20 @@ var coinFactoryABI = [
2689
2693
  outputs: [],
2690
2694
  stateMutability: "nonpayable"
2691
2695
  },
2696
+ {
2697
+ type: "function",
2698
+ inputs: [{ name: "symbol", internalType: "string", type: "string" }],
2699
+ name: "trendCoinAddress",
2700
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2701
+ stateMutability: "view"
2702
+ },
2703
+ {
2704
+ type: "function",
2705
+ inputs: [],
2706
+ name: "trendCoinImpl",
2707
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2708
+ stateMutability: "view"
2709
+ },
2692
2710
  {
2693
2711
  type: "function",
2694
2712
  inputs: [
@@ -2824,6 +2842,12 @@ var coinFactoryABI = [
2824
2842
  type: "bytes32",
2825
2843
  indexed: false
2826
2844
  },
2845
+ {
2846
+ name: "poolConfig",
2847
+ internalType: "bytes",
2848
+ type: "bytes",
2849
+ indexed: false
2850
+ },
2827
2851
  {
2828
2852
  name: "version",
2829
2853
  internalType: "string",
@@ -2894,6 +2918,12 @@ var coinFactoryABI = [
2894
2918
  type: "bytes32",
2895
2919
  indexed: false
2896
2920
  },
2921
+ {
2922
+ name: "poolConfig",
2923
+ internalType: "bytes",
2924
+ type: "bytes",
2925
+ indexed: false
2926
+ },
2897
2927
  {
2898
2928
  name: "version",
2899
2929
  internalType: "string",
@@ -2954,6 +2984,62 @@ var coinFactoryABI = [
2954
2984
  ],
2955
2985
  name: "OwnershipTransferred"
2956
2986
  },
2987
+ {
2988
+ type: "event",
2989
+ anonymous: false,
2990
+ inputs: [
2991
+ {
2992
+ name: "caller",
2993
+ internalType: "address",
2994
+ type: "address",
2995
+ indexed: true
2996
+ },
2997
+ {
2998
+ name: "symbol",
2999
+ internalType: "string",
3000
+ type: "string",
3001
+ indexed: false
3002
+ },
3003
+ {
3004
+ name: "coin",
3005
+ internalType: "address",
3006
+ type: "address",
3007
+ indexed: false
3008
+ },
3009
+ {
3010
+ name: "poolKey",
3011
+ internalType: "struct PoolKey",
3012
+ type: "tuple",
3013
+ components: [
3014
+ { name: "currency0", internalType: "Currency", type: "address" },
3015
+ { name: "currency1", internalType: "Currency", type: "address" },
3016
+ { name: "fee", internalType: "uint24", type: "uint24" },
3017
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3018
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3019
+ ],
3020
+ indexed: false
3021
+ },
3022
+ {
3023
+ name: "poolKeyHash",
3024
+ internalType: "bytes32",
3025
+ type: "bytes32",
3026
+ indexed: false
3027
+ },
3028
+ {
3029
+ name: "poolConfig",
3030
+ internalType: "bytes",
3031
+ type: "bytes",
3032
+ indexed: false
3033
+ },
3034
+ {
3035
+ name: "version",
3036
+ internalType: "string",
3037
+ type: "string",
3038
+ indexed: false
3039
+ }
3040
+ ],
3041
+ name: "TrendCoinCreated"
3042
+ },
2957
3043
  {
2958
3044
  type: "event",
2959
3045
  anonymous: false,
@@ -2975,7 +3061,6 @@ var coinFactoryABI = [
2975
3061
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
2976
3062
  { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
2977
3063
  { type: "error", inputs: [], name: "Deprecated" },
2978
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
2979
3064
  {
2980
3065
  type: "error",
2981
3066
  inputs: [
@@ -2985,7 +3070,16 @@ var coinFactoryABI = [
2985
3070
  },
2986
3071
  { type: "error", inputs: [], name: "ERC1967NonPayable" },
2987
3072
  { type: "error", inputs: [], name: "EthTransferInvalid" },
2988
- { type: "error", inputs: [], name: "FailedInnerCall" },
3073
+ { type: "error", inputs: [], name: "FailedCall" },
3074
+ { type: "error", inputs: [], name: "FailedDeployment" },
3075
+ {
3076
+ type: "error",
3077
+ inputs: [
3078
+ { name: "balance", internalType: "uint256", type: "uint256" },
3079
+ { name: "needed", internalType: "uint256", type: "uint256" }
3080
+ ],
3081
+ name: "InsufficientBalance"
3082
+ },
2989
3083
  { type: "error", inputs: [], name: "InvalidConfig" },
2990
3084
  { type: "error", inputs: [], name: "InvalidHook" },
2991
3085
  { type: "error", inputs: [], name: "InvalidInitialization" },
@@ -3019,6 +3113,11 @@ var coinFactoryABI = [
3019
3113
  name: "OwnableUnauthorizedAccount"
3020
3114
  },
3021
3115
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3116
+ {
3117
+ type: "error",
3118
+ inputs: [{ name: "ticker", internalType: "string", type: "string" }],
3119
+ name: "TickerAlreadyUsed"
3120
+ },
3022
3121
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3023
3122
  {
3024
3123
  type: "error",
@@ -3035,18 +3134,7 @@ var coinFactoryABI = [
3035
3134
  },
3036
3135
  { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
3037
3136
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
3038
- {
3039
- type: "error",
3040
- inputs: [{ name: "target", internalType: "address", type: "address" }],
3041
- name: "AddressEmptyCode"
3042
- },
3043
- {
3044
- type: "error",
3045
- inputs: [{ name: "account", internalType: "address", type: "address" }],
3046
- name: "AddressInsufficientBalance"
3047
- },
3048
3137
  { type: "error", inputs: [], name: "AddressZero" },
3049
- { type: "error", inputs: [], name: "FailedInnerCall" },
3050
3138
  { type: "error", inputs: [], name: "HookNotImplemented" },
3051
3139
  {
3052
3140
  type: "error",
@@ -3064,7 +3152,6 @@ var coinFactoryABI = [
3064
3152
  inputs: [{ name: "token", internalType: "address", type: "address" }],
3065
3153
  name: "SafeERC20FailedOperation"
3066
3154
  },
3067
- { type: "error", inputs: [], name: "V3RouteCannotStartWithInputCurrency" },
3068
3155
  { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
3069
3156
  { type: "error", inputs: [], name: "AddressZero" },
3070
3157
  { type: "error", inputs: [], name: "AlreadyOwner" },
@@ -3152,6 +3239,7 @@ var coinFactoryABI = [
3152
3239
  ],
3153
3240
  name: "InvalidAccountNonce"
3154
3241
  },
3242
+ { type: "error", inputs: [], name: "InvalidCurrency" },
3155
3243
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
3156
3244
  { type: "error", inputs: [], name: "InvalidInitialization" },
3157
3245
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -3193,7 +3281,126 @@ var coinFactoryABI = [
3193
3281
  { type: "error", inputs: [], name: "OnlyWeth" },
3194
3282
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
3195
3283
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
3196
- { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
3284
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
3285
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
3286
+ { type: "error", inputs: [], name: "EthTransferFailed" },
3287
+ { type: "error", inputs: [], name: "HookNotImplemented" },
3288
+ {
3289
+ type: "error",
3290
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
3291
+ name: "InvalidCallbackId"
3292
+ },
3293
+ {
3294
+ type: "error",
3295
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
3296
+ name: "InvalidNewHook"
3297
+ },
3298
+ {
3299
+ type: "error",
3300
+ inputs: [
3301
+ {
3302
+ name: "key",
3303
+ internalType: "struct PoolKey",
3304
+ type: "tuple",
3305
+ components: [
3306
+ { name: "currency0", internalType: "Currency", type: "address" },
3307
+ { name: "currency1", internalType: "Currency", type: "address" },
3308
+ { name: "fee", internalType: "uint24", type: "uint24" },
3309
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3310
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3311
+ ]
3312
+ }
3313
+ ],
3314
+ name: "NoCoinForHook"
3315
+ },
3316
+ {
3317
+ type: "error",
3318
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
3319
+ name: "NotACoin"
3320
+ },
3321
+ { type: "error", inputs: [], name: "NotPoolManager" },
3322
+ {
3323
+ type: "error",
3324
+ inputs: [
3325
+ { name: "caller", internalType: "address", type: "address" },
3326
+ { name: "expectedCoin", internalType: "address", type: "address" }
3327
+ ],
3328
+ name: "OnlyCoin"
3329
+ },
3330
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
3331
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
3332
+ {
3333
+ type: "error",
3334
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
3335
+ name: "SafeERC20FailedOperation"
3336
+ },
3337
+ {
3338
+ type: "error",
3339
+ inputs: [],
3340
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
3341
+ },
3342
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
3343
+ {
3344
+ type: "error",
3345
+ inputs: [
3346
+ { name: "oldHook", internalType: "address", type: "address" },
3347
+ { name: "newHook", internalType: "address", type: "address" }
3348
+ ],
3349
+ name: "UpgradePathNotRegistered"
3350
+ },
3351
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
3352
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
3353
+ {
3354
+ type: "error",
3355
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
3356
+ name: "AccessManagedInvalidAuthority"
3357
+ },
3358
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
3359
+ { type: "error", inputs: [], name: "AddressZero" },
3360
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
3361
+ {
3362
+ type: "error",
3363
+ inputs: [
3364
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
3365
+ { name: "expectedCoin", internalType: "address", type: "address" },
3366
+ { name: "actualCoin", internalType: "address", type: "address" }
3367
+ ],
3368
+ name: "CoinMismatch"
3369
+ },
3370
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
3371
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
3372
+ {
3373
+ type: "error",
3374
+ inputs: [
3375
+ { name: "startTick", internalType: "int24", type: "int24" },
3376
+ { name: "endTick", internalType: "int24", type: "int24" },
3377
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
3378
+ ],
3379
+ name: "InvalidFillWindow"
3380
+ },
3381
+ { type: "error", inputs: [], name: "InvalidOrder" },
3382
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
3383
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
3384
+ {
3385
+ type: "error",
3386
+ inputs: [
3387
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
3388
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
3389
+ ],
3390
+ name: "MinAmountNotReached"
3391
+ },
3392
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
3393
+ { type: "error", inputs: [], name: "NotPoolManager" },
3394
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
3395
+ { type: "error", inputs: [], name: "OrderClosed" },
3396
+ { type: "error", inputs: [], name: "OrderNotMaker" },
3397
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
3398
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
3399
+ { type: "error", inputs: [], name: "UnknownCallback" },
3400
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
3401
+ { type: "error", inputs: [], name: "ZeroMaker" },
3402
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
3403
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
3197
3404
  ];
3198
3405
  var coinFactoryAddress = {
3199
3406
  8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
@@ -9696,39 +9903,6 @@ var uniswapQuoterV2Config = {
9696
9903
  address: uniswapQuoterV2Address,
9697
9904
  abi: uniswapQuoterV2ABI
9698
9905
  };
9699
- var uniswapUniversalRouterABI = [
9700
- {
9701
- type: "function",
9702
- inputs: [
9703
- { name: "commands", internalType: "bytes", type: "bytes" },
9704
- { name: "inputs", internalType: "bytes[]", type: "bytes[]" },
9705
- { name: "deadline", internalType: "uint256", type: "uint256" }
9706
- ],
9707
- name: "execute",
9708
- outputs: [],
9709
- stateMutability: "payable"
9710
- },
9711
- { type: "error", inputs: [], name: "ETHNotAccepted" },
9712
- {
9713
- type: "error",
9714
- inputs: [
9715
- { name: "commandIndex", internalType: "uint256", type: "uint256" },
9716
- { name: "message", internalType: "bytes", type: "bytes" }
9717
- ],
9718
- name: "ExecutionFailed"
9719
- },
9720
- { type: "error", inputs: [], name: "InvalidEthSender" },
9721
- { type: "error", inputs: [], name: "LengthMismatch" },
9722
- { type: "error", inputs: [], name: "TransactionDeadlinePassed" }
9723
- ];
9724
- var uniswapUniversalRouterAddress = {
9725
- 8453: "0x6fF5693b99212Da76ad316178A184AB56D299b43",
9726
- 84532: "0x492E6456D9528771018DeB9E87ef7750EF184104"
9727
- };
9728
- var uniswapUniversalRouterConfig = {
9729
- address: uniswapUniversalRouterAddress,
9730
- abi: uniswapUniversalRouterABI
9731
- };
9732
9906
  var uniswapV3SwapRouterABI = [
9733
9907
  {
9734
9908
  type: "function",
@@ -14299,43 +14473,22 @@ var zoraCreatorRedeemMinterFactoryConfig = {
14299
14473
  address: zoraCreatorRedeemMinterFactoryAddress,
14300
14474
  abi: zoraCreatorRedeemMinterFactoryABI
14301
14475
  };
14302
- var zoraMints1155ABI = [
14303
- { type: "constructor", inputs: [], stateMutability: "nonpayable" },
14304
- {
14305
- type: "function",
14306
- inputs: [],
14307
- name: "ETH_ADDRESS",
14308
- outputs: [{ name: "", internalType: "address", type: "address" }],
14309
- stateMutability: "view"
14310
- },
14311
- {
14312
- type: "function",
14313
- inputs: [],
14314
- name: "MINIMUM_ERC20_PRICE",
14315
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14316
- stateMutability: "view"
14317
- },
14318
- {
14319
- type: "function",
14320
- inputs: [],
14321
- name: "MINIMUM_ETH_PRICE",
14322
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14323
- stateMutability: "view"
14324
- },
14325
- {
14326
- type: "function",
14327
- inputs: [],
14328
- name: "NAME",
14329
- outputs: [{ name: "", internalType: "string", type: "string" }],
14330
- stateMutability: "view"
14331
- },
14476
+ var zoraLimitOrderBookABI = [
14332
14477
  {
14333
- type: "function",
14334
- inputs: [],
14335
- name: "VERSION",
14336
- outputs: [{ name: "", internalType: "string", type: "string" }],
14337
- stateMutability: "view"
14478
+ type: "constructor",
14479
+ inputs: [
14480
+ { name: "poolManager_", internalType: "address", type: "address" },
14481
+ {
14482
+ name: "zoraCoinVersionLookup_",
14483
+ internalType: "address",
14484
+ type: "address"
14485
+ },
14486
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" },
14487
+ { name: "authority_", internalType: "address", type: "address" }
14488
+ ],
14489
+ stateMutability: "nonpayable"
14338
14490
  },
14491
+ { type: "receive", stateMutability: "payable" },
14339
14492
  {
14340
14493
  type: "function",
14341
14494
  inputs: [],
@@ -14346,677 +14499,490 @@ var zoraMints1155ABI = [
14346
14499
  {
14347
14500
  type: "function",
14348
14501
  inputs: [
14349
- { name: "account", internalType: "address", type: "address" },
14350
- { name: "id", internalType: "uint256", type: "uint256" }
14502
+ { name: "maker", internalType: "address", type: "address" },
14503
+ { name: "coin", internalType: "address", type: "address" }
14351
14504
  ],
14352
14505
  name: "balanceOf",
14353
14506
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14354
14507
  stateMutability: "view"
14355
14508
  },
14356
- {
14357
- type: "function",
14358
- inputs: [{ name: "account", internalType: "address", type: "address" }],
14359
- name: "balanceOfAccount",
14360
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14361
- stateMutability: "view"
14362
- },
14363
- {
14364
- type: "function",
14365
- inputs: [
14366
- { name: "accounts", internalType: "address[]", type: "address[]" },
14367
- { name: "ids", internalType: "uint256[]", type: "uint256[]" }
14368
- ],
14369
- name: "balanceOfBatch",
14370
- outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
14371
- stateMutability: "view"
14372
- },
14373
- {
14374
- type: "function",
14375
- inputs: [],
14376
- name: "contractURI",
14377
- outputs: [{ name: "", internalType: "string", type: "string" }],
14378
- stateMutability: "view"
14379
- },
14380
14509
  {
14381
14510
  type: "function",
14382
14511
  inputs: [
14383
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14384
- {
14385
- name: "tokenConfig",
14386
- internalType: "struct TokenConfig",
14387
- type: "tuple",
14388
- components: [
14389
- { name: "price", internalType: "uint256", type: "uint256" },
14390
- { name: "tokenAddress", internalType: "address", type: "address" },
14391
- { name: "redeemHandler", internalType: "address", type: "address" }
14392
- ]
14393
- }
14394
- ],
14395
- name: "createToken",
14396
- outputs: [],
14397
- stateMutability: "nonpayable"
14398
- },
14399
- {
14400
- type: "function",
14401
- inputs: [],
14402
- name: "eip712Domain",
14403
- outputs: [
14404
- { name: "fields", internalType: "bytes1", type: "bytes1" },
14405
- { name: "name", internalType: "string", type: "string" },
14406
- { name: "version", internalType: "string", type: "string" },
14407
- { name: "chainId", internalType: "uint256", type: "uint256" },
14408
- { name: "verifyingContract", internalType: "address", type: "address" },
14409
- { name: "salt", internalType: "bytes32", type: "bytes32" },
14410
- { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
14411
- ],
14412
- stateMutability: "view"
14413
- },
14414
- {
14415
- type: "function",
14416
- inputs: [],
14417
- name: "getManager",
14418
- outputs: [{ name: "", internalType: "address", type: "address" }],
14419
- stateMutability: "view"
14420
- },
14421
- {
14422
- type: "function",
14423
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14424
- name: "getTokenConfig",
14425
- outputs: [
14426
14512
  {
14427
- name: "",
14428
- internalType: "struct TokenConfig",
14513
+ name: "key",
14514
+ internalType: "struct PoolKey",
14429
14515
  type: "tuple",
14430
14516
  components: [
14431
- { name: "price", internalType: "uint256", type: "uint256" },
14432
- { name: "tokenAddress", internalType: "address", type: "address" },
14433
- { name: "redeemHandler", internalType: "address", type: "address" }
14517
+ { name: "currency0", internalType: "Currency", type: "address" },
14518
+ { name: "currency1", internalType: "Currency", type: "address" },
14519
+ { name: "fee", internalType: "uint24", type: "uint24" },
14520
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
14521
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
14434
14522
  ]
14435
- }
14523
+ },
14524
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
14525
+ { name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
14526
+ { name: "orderTicks", internalType: "int24[]", type: "int24[]" },
14527
+ { name: "maker", internalType: "address", type: "address" }
14436
14528
  ],
14437
- stateMutability: "view"
14529
+ name: "create",
14530
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
14531
+ stateMutability: "payable"
14438
14532
  },
14439
14533
  {
14440
14534
  type: "function",
14441
14535
  inputs: [
14442
14536
  {
14443
- name: "permit",
14444
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14537
+ name: "key",
14538
+ internalType: "struct PoolKey",
14445
14539
  type: "tuple",
14446
14540
  components: [
14447
- { name: "owner", internalType: "address", type: "address" },
14448
- { name: "to", internalType: "address", type: "address" },
14449
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14450
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14451
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14452
- { name: "deadline", internalType: "uint256", type: "uint256" },
14453
- { name: "nonce", internalType: "uint256", type: "uint256" }
14541
+ { name: "currency0", internalType: "Currency", type: "address" },
14542
+ { name: "currency1", internalType: "Currency", type: "address" },
14543
+ { name: "fee", internalType: "uint24", type: "uint24" },
14544
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
14545
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
14454
14546
  ]
14455
- }
14547
+ },
14548
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
14549
+ { name: "startTick", internalType: "int24", type: "int24" },
14550
+ { name: "endTick", internalType: "int24", type: "int24" },
14551
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" },
14552
+ { name: "fillReferral", internalType: "address", type: "address" }
14456
14553
  ],
14457
- name: "hashPermitBatch",
14458
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
14459
- stateMutability: "view"
14554
+ name: "fill",
14555
+ outputs: [],
14556
+ stateMutability: "nonpayable"
14460
14557
  },
14461
14558
  {
14462
14559
  type: "function",
14463
14560
  inputs: [
14464
14561
  {
14465
- name: "permit",
14466
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14467
- type: "tuple",
14562
+ name: "batches",
14563
+ internalType: "struct IZoraLimitOrderBook.OrderBatch[]",
14564
+ type: "tuple[]",
14468
14565
  components: [
14469
- { name: "owner", internalType: "address", type: "address" },
14470
- { name: "to", internalType: "address", type: "address" },
14471
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14472
- { name: "quantity", internalType: "uint256", type: "uint256" },
14473
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14474
- { name: "deadline", internalType: "uint256", type: "uint256" },
14475
- { name: "nonce", internalType: "uint256", type: "uint256" }
14566
+ {
14567
+ name: "key",
14568
+ internalType: "struct PoolKey",
14569
+ type: "tuple",
14570
+ components: [
14571
+ { name: "currency0", internalType: "Currency", type: "address" },
14572
+ { name: "currency1", internalType: "Currency", type: "address" },
14573
+ { name: "fee", internalType: "uint24", type: "uint24" },
14574
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
14575
+ {
14576
+ name: "hooks",
14577
+ internalType: "contract IHooks",
14578
+ type: "address"
14579
+ }
14580
+ ]
14581
+ },
14582
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
14583
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
14476
14584
  ]
14477
- }
14585
+ },
14586
+ { name: "fillReferral", internalType: "address", type: "address" }
14478
14587
  ],
14479
- name: "hashPermitSingle",
14480
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
14481
- stateMutability: "view"
14588
+ name: "fill",
14589
+ outputs: [],
14590
+ stateMutability: "nonpayable"
14482
14591
  },
14483
14592
  {
14484
14593
  type: "function",
14485
- inputs: [
14486
- { name: "account", internalType: "address", type: "address" },
14487
- { name: "operator", internalType: "address", type: "address" }
14488
- ],
14489
- name: "isApprovedForAll",
14490
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14594
+ inputs: [],
14595
+ name: "getMaxFillCount",
14596
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14491
14597
  stateMutability: "view"
14492
14598
  },
14493
14599
  {
14494
14600
  type: "function",
14495
14601
  inputs: [],
14496
- name: "isConsumingScheduledOp",
14497
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
14602
+ name: "poolManager",
14603
+ outputs: [
14604
+ { name: "", internalType: "contract IPoolManager", type: "address" }
14605
+ ],
14498
14606
  stateMutability: "view"
14499
14607
  },
14500
14608
  {
14501
14609
  type: "function",
14502
14610
  inputs: [
14503
- {
14504
- name: "permit",
14505
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14506
- type: "tuple",
14507
- components: [
14508
- { name: "owner", internalType: "address", type: "address" },
14509
- { name: "to", internalType: "address", type: "address" },
14510
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14511
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14512
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14513
- { name: "deadline", internalType: "uint256", type: "uint256" },
14514
- { name: "nonce", internalType: "uint256", type: "uint256" }
14515
- ]
14516
- },
14517
- { name: "signature", internalType: "bytes", type: "bytes" }
14611
+ { name: "newAuthority", internalType: "address", type: "address" }
14518
14612
  ],
14519
- name: "isValidSignatureTransferBatch",
14520
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14521
- stateMutability: "view"
14613
+ name: "setAuthority",
14614
+ outputs: [],
14615
+ stateMutability: "nonpayable"
14522
14616
  },
14523
14617
  {
14524
14618
  type: "function",
14525
14619
  inputs: [
14526
- {
14527
- name: "permit",
14528
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14529
- type: "tuple",
14530
- components: [
14531
- { name: "owner", internalType: "address", type: "address" },
14532
- { name: "to", internalType: "address", type: "address" },
14533
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14534
- { name: "quantity", internalType: "uint256", type: "uint256" },
14535
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14536
- { name: "deadline", internalType: "uint256", type: "uint256" },
14537
- { name: "nonce", internalType: "uint256", type: "uint256" }
14538
- ]
14539
- },
14540
- { name: "signature", internalType: "bytes", type: "bytes" }
14620
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" }
14541
14621
  ],
14542
- name: "isValidSignatureTransferSingle",
14543
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14544
- stateMutability: "view"
14622
+ name: "setMaxFillCount",
14623
+ outputs: [],
14624
+ stateMutability: "nonpayable"
14545
14625
  },
14546
14626
  {
14547
14627
  type: "function",
14548
- inputs: [
14549
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14550
- { name: "tokenAddress", internalType: "address", type: "address" },
14551
- { name: "quantity", internalType: "uint256", type: "uint256" },
14552
- { name: "recipient", internalType: "address", type: "address" },
14553
- { name: "data", internalType: "bytes", type: "bytes" }
14554
- ],
14555
- name: "mintTokenWithERC20",
14556
- outputs: [],
14628
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
14629
+ name: "unlockCallback",
14630
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
14557
14631
  stateMutability: "nonpayable"
14558
14632
  },
14559
14633
  {
14560
14634
  type: "function",
14561
14635
  inputs: [
14562
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14563
- { name: "quantity", internalType: "uint256", type: "uint256" },
14564
- { name: "recipient", internalType: "address", type: "address" },
14565
- { name: "data", internalType: "bytes", type: "bytes" }
14636
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
14637
+ { name: "coin", internalType: "address", type: "address" },
14638
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" },
14639
+ { name: "recipient", internalType: "address", type: "address" }
14566
14640
  ],
14567
- name: "mintTokenWithEth",
14641
+ name: "withdraw",
14568
14642
  outputs: [],
14569
- stateMutability: "payable"
14643
+ stateMutability: "nonpayable"
14570
14644
  },
14571
14645
  {
14572
14646
  type: "function",
14573
14647
  inputs: [],
14574
- name: "name",
14575
- outputs: [{ name: "", internalType: "string", type: "string" }],
14576
- stateMutability: "pure"
14577
- },
14578
- {
14579
- type: "function",
14580
- inputs: [
14581
- { name: "owner", internalType: "address", type: "address" },
14582
- { name: "nonce", internalType: "uint256", type: "uint256" }
14648
+ name: "zoraCoinVersionLookup",
14649
+ outputs: [
14650
+ {
14651
+ name: "",
14652
+ internalType: "contract IDeployedCoinVersionLookup",
14653
+ type: "address"
14654
+ }
14583
14655
  ],
14584
- name: "nonceUsed",
14585
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14586
14656
  stateMutability: "view"
14587
14657
  },
14588
14658
  {
14589
14659
  type: "function",
14590
- inputs: [
14591
- { name: "newContractURI", internalType: "string", type: "string" },
14592
- { name: "newBaseURI", internalType: "string", type: "string" }
14660
+ inputs: [],
14661
+ name: "zoraHookRegistry",
14662
+ outputs: [
14663
+ { name: "", internalType: "contract IZoraHookRegistry", type: "address" }
14593
14664
  ],
14594
- name: "notifyURIsUpdated",
14595
- outputs: [],
14596
- stateMutability: "nonpayable"
14665
+ stateMutability: "view"
14597
14666
  },
14598
14667
  {
14599
- type: "function",
14668
+ type: "event",
14669
+ anonymous: false,
14600
14670
  inputs: [
14601
- { name: "newUri", internalType: "string", type: "string" },
14602
- { name: "tokenId", internalType: "uint256", type: "uint256" }
14671
+ {
14672
+ name: "authority",
14673
+ internalType: "address",
14674
+ type: "address",
14675
+ indexed: false
14676
+ }
14603
14677
  ],
14604
- name: "notifyUpdatedTokenURI",
14605
- outputs: [],
14606
- stateMutability: "nonpayable"
14678
+ name: "AuthorityUpdated"
14607
14679
  },
14608
14680
  {
14609
- type: "function",
14681
+ type: "event",
14682
+ anonymous: false,
14610
14683
  inputs: [
14611
14684
  {
14612
- name: "permit",
14613
- internalType: "struct IZoraSparks1155Managed.PermitSingle",
14614
- type: "tuple",
14615
- components: [
14616
- { name: "owner", internalType: "address", type: "address" },
14617
- { name: "to", internalType: "address", type: "address" },
14618
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14619
- { name: "quantity", internalType: "uint256", type: "uint256" },
14620
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14621
- { name: "deadline", internalType: "uint256", type: "uint256" },
14622
- { name: "nonce", internalType: "uint256", type: "uint256" }
14623
- ]
14685
+ name: "maker",
14686
+ internalType: "address",
14687
+ type: "address",
14688
+ indexed: true
14624
14689
  },
14625
- { name: "signature", internalType: "bytes", type: "bytes" }
14626
- ],
14627
- name: "permitSafeTransfer",
14628
- outputs: [],
14629
- stateMutability: "nonpayable"
14630
- },
14631
- {
14632
- type: "function",
14633
- inputs: [
14690
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14634
14691
  {
14635
- name: "permit",
14636
- internalType: "struct IZoraSparks1155Managed.PermitBatch",
14637
- type: "tuple",
14638
- components: [
14639
- { name: "owner", internalType: "address", type: "address" },
14640
- { name: "to", internalType: "address", type: "address" },
14641
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14642
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14643
- { name: "safeTransferData", internalType: "bytes", type: "bytes" },
14644
- { name: "deadline", internalType: "uint256", type: "uint256" },
14645
- { name: "nonce", internalType: "uint256", type: "uint256" }
14646
- ]
14692
+ name: "poolKeyHash",
14693
+ internalType: "bytes32",
14694
+ type: "bytes32",
14695
+ indexed: false
14647
14696
  },
14648
- { name: "signature", internalType: "bytes", type: "bytes" }
14649
- ],
14650
- name: "permitSafeTransferBatch",
14651
- outputs: [],
14652
- stateMutability: "nonpayable"
14653
- },
14654
- {
14655
- type: "function",
14656
- inputs: [
14657
- { name: "tokenId", internalType: "uint256", type: "uint256" },
14658
- { name: "quantity", internalType: "uint256", type: "uint256" },
14659
- { name: "recipient", internalType: "address", type: "address" }
14660
- ],
14661
- name: "redeem",
14662
- outputs: [
14663
14697
  {
14664
- name: "",
14665
- internalType: "struct Redemption",
14666
- type: "tuple",
14667
- components: [
14668
- { name: "tokenAddress", internalType: "address", type: "address" },
14669
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
14670
- ]
14671
- }
14672
- ],
14673
- stateMutability: "nonpayable"
14674
- },
14675
- {
14676
- type: "function",
14677
- inputs: [
14678
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14679
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14680
- { name: "recipient", internalType: "address", type: "address" }
14681
- ],
14682
- name: "redeemBatch",
14683
- outputs: [
14698
+ name: "isCurrency0",
14699
+ internalType: "bool",
14700
+ type: "bool",
14701
+ indexed: false
14702
+ },
14684
14703
  {
14685
- name: "redemptions",
14686
- internalType: "struct Redemption[]",
14687
- type: "tuple[]",
14688
- components: [
14689
- { name: "tokenAddress", internalType: "address", type: "address" },
14690
- { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
14691
- ]
14704
+ name: "orderTick",
14705
+ internalType: "int24",
14706
+ type: "int24",
14707
+ indexed: false
14708
+ },
14709
+ {
14710
+ name: "currentTick",
14711
+ internalType: "int24",
14712
+ type: "int24",
14713
+ indexed: false
14714
+ },
14715
+ {
14716
+ name: "orderSize",
14717
+ internalType: "uint128",
14718
+ type: "uint128",
14719
+ indexed: false
14720
+ },
14721
+ {
14722
+ name: "orderId",
14723
+ internalType: "bytes32",
14724
+ type: "bytes32",
14725
+ indexed: false
14692
14726
  }
14693
14727
  ],
14694
- stateMutability: "nonpayable"
14695
- },
14696
- {
14697
- type: "function",
14698
- inputs: [
14699
- { name: "from", internalType: "address", type: "address" },
14700
- { name: "to", internalType: "address", type: "address" },
14701
- { name: "ids", internalType: "uint256[]", type: "uint256[]" },
14702
- { name: "values", internalType: "uint256[]", type: "uint256[]" },
14703
- { name: "data", internalType: "bytes", type: "bytes" }
14704
- ],
14705
- name: "safeBatchTransferFrom",
14706
- outputs: [],
14707
- stateMutability: "nonpayable"
14708
- },
14709
- {
14710
- type: "function",
14711
- inputs: [
14712
- { name: "from", internalType: "address", type: "address" },
14713
- { name: "to", internalType: "address", type: "address" },
14714
- { name: "id", internalType: "uint256", type: "uint256" },
14715
- { name: "value", internalType: "uint256", type: "uint256" },
14716
- { name: "data", internalType: "bytes", type: "bytes" }
14717
- ],
14718
- name: "safeTransferFrom",
14719
- outputs: [],
14720
- stateMutability: "nonpayable"
14721
- },
14722
- {
14723
- type: "function",
14724
- inputs: [
14725
- { name: "operator", internalType: "address", type: "address" },
14726
- { name: "approved", internalType: "bool", type: "bool" }
14727
- ],
14728
- name: "setApprovalForAll",
14729
- outputs: [],
14730
- stateMutability: "nonpayable"
14731
- },
14732
- {
14733
- type: "function",
14734
- inputs: [
14735
- { name: "newAuthority", internalType: "address", type: "address" }
14736
- ],
14737
- name: "setAuthority",
14738
- outputs: [],
14739
- stateMutability: "nonpayable"
14740
- },
14741
- {
14742
- type: "function",
14743
- inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
14744
- name: "supportsInterface",
14745
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14746
- stateMutability: "view"
14747
- },
14748
- {
14749
- type: "function",
14750
- inputs: [],
14751
- name: "symbol",
14752
- outputs: [{ name: "", internalType: "string", type: "string" }],
14753
- stateMutability: "pure"
14754
- },
14755
- {
14756
- type: "function",
14757
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14758
- name: "tokenExists",
14759
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
14760
- stateMutability: "view"
14761
- },
14762
- {
14763
- type: "function",
14764
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14765
- name: "tokenPrice",
14766
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14767
- stateMutability: "view"
14768
- },
14769
- {
14770
- type: "function",
14771
- inputs: [
14772
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
14773
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
14774
- { name: "call", internalType: "bytes", type: "bytes" }
14775
- ],
14776
- name: "transferBatchToManagerAndCall",
14777
- outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
14778
- stateMutability: "payable"
14779
- },
14780
- {
14781
- type: "function",
14782
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
14783
- name: "uri",
14784
- outputs: [{ name: "", internalType: "string", type: "string" }],
14785
- stateMutability: "view"
14728
+ name: "LimitOrderCreated"
14786
14729
  },
14787
14730
  {
14788
14731
  type: "event",
14789
14732
  anonymous: false,
14790
14733
  inputs: [
14791
14734
  {
14792
- name: "account",
14735
+ name: "maker",
14793
14736
  internalType: "address",
14794
14737
  type: "address",
14795
14738
  indexed: true
14796
14739
  },
14797
14740
  {
14798
- name: "operator",
14741
+ name: "coinIn",
14799
14742
  internalType: "address",
14800
14743
  type: "address",
14801
14744
  indexed: true
14802
14745
  },
14803
- { name: "approved", internalType: "bool", type: "bool", indexed: false }
14804
- ],
14805
- name: "ApprovalForAll"
14806
- },
14807
- {
14808
- type: "event",
14809
- anonymous: false,
14810
- inputs: [
14811
14746
  {
14812
- name: "authority",
14747
+ name: "coinOut",
14813
14748
  internalType: "address",
14814
14749
  type: "address",
14815
14750
  indexed: false
14816
- }
14817
- ],
14818
- name: "AuthorityUpdated"
14819
- },
14820
- { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
14821
- { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
14822
- {
14823
- type: "event",
14824
- anonymous: false,
14825
- inputs: [
14751
+ },
14826
14752
  {
14827
- name: "tokenId",
14828
- internalType: "uint256",
14829
- type: "uint256",
14830
- indexed: true
14753
+ name: "amountIn",
14754
+ internalType: "uint128",
14755
+ type: "uint128",
14756
+ indexed: false
14831
14757
  },
14832
14758
  {
14833
- name: "price",
14834
- internalType: "uint256",
14835
- type: "uint256",
14836
- indexed: true
14759
+ name: "amountOut",
14760
+ internalType: "uint128",
14761
+ type: "uint128",
14762
+ indexed: false
14837
14763
  },
14838
14764
  {
14839
- name: "tokenAddress",
14765
+ name: "fillReferral",
14840
14766
  internalType: "address",
14841
14767
  type: "address",
14842
- indexed: true
14768
+ indexed: false
14769
+ },
14770
+ {
14771
+ name: "fillReferralAmount",
14772
+ internalType: "uint128",
14773
+ type: "uint128",
14774
+ indexed: false
14775
+ },
14776
+ {
14777
+ name: "poolKeyHash",
14778
+ internalType: "bytes32",
14779
+ type: "bytes32",
14780
+ indexed: false
14781
+ },
14782
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
14783
+ {
14784
+ name: "orderId",
14785
+ internalType: "bytes32",
14786
+ type: "bytes32",
14787
+ indexed: false
14843
14788
  }
14844
14789
  ],
14845
- name: "TokenCreated"
14790
+ name: "LimitOrderFilled"
14846
14791
  },
14847
14792
  {
14848
14793
  type: "event",
14849
14794
  anonymous: false,
14850
14795
  inputs: [
14851
14796
  {
14852
- name: "operator",
14797
+ name: "maker",
14853
14798
  internalType: "address",
14854
14799
  type: "address",
14855
14800
  indexed: true
14856
14801
  },
14857
- { name: "from", internalType: "address", type: "address", indexed: true },
14858
- { name: "to", internalType: "address", type: "address", indexed: true },
14802
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14859
14803
  {
14860
- name: "ids",
14861
- internalType: "uint256[]",
14862
- type: "uint256[]",
14804
+ name: "poolKeyHash",
14805
+ internalType: "bytes32",
14806
+ type: "bytes32",
14863
14807
  indexed: false
14864
14808
  },
14865
14809
  {
14866
- name: "values",
14867
- internalType: "uint256[]",
14868
- type: "uint256[]",
14810
+ name: "isCurrency0",
14811
+ internalType: "bool",
14812
+ type: "bool",
14813
+ indexed: false
14814
+ },
14815
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
14816
+ {
14817
+ name: "orderSize",
14818
+ internalType: "uint128",
14819
+ type: "uint128",
14820
+ indexed: false
14821
+ },
14822
+ {
14823
+ name: "orderId",
14824
+ internalType: "bytes32",
14825
+ type: "bytes32",
14826
+ indexed: false
14827
+ },
14828
+ {
14829
+ name: "isCancelled",
14830
+ internalType: "bool",
14831
+ type: "bool",
14869
14832
  indexed: false
14870
14833
  }
14871
14834
  ],
14872
- name: "TransferBatch"
14835
+ name: "LimitOrderUpdated"
14873
14836
  },
14874
14837
  {
14875
14838
  type: "event",
14876
14839
  anonymous: false,
14877
14840
  inputs: [
14878
14841
  {
14879
- name: "operator",
14842
+ name: "maker",
14880
14843
  internalType: "address",
14881
14844
  type: "address",
14882
14845
  indexed: true
14883
14846
  },
14884
- { name: "from", internalType: "address", type: "address", indexed: true },
14885
- { name: "to", internalType: "address", type: "address", indexed: true },
14886
- { name: "id", internalType: "uint256", type: "uint256", indexed: false },
14847
+ { name: "coin", internalType: "address", type: "address", indexed: true },
14887
14848
  {
14888
- name: "value",
14849
+ name: "newBalance",
14889
14850
  internalType: "uint256",
14890
14851
  type: "uint256",
14891
14852
  indexed: false
14892
14853
  }
14893
14854
  ],
14894
- name: "TransferSingle"
14855
+ name: "MakerBalanceUpdated"
14895
14856
  },
14896
14857
  {
14897
- type: "event",
14898
- anonymous: false,
14899
- inputs: [
14900
- { name: "value", internalType: "string", type: "string", indexed: false },
14901
- { name: "id", internalType: "uint256", type: "uint256", indexed: true }
14902
- ],
14903
- name: "URI"
14858
+ type: "error",
14859
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
14860
+ name: "AccessManagedInvalidAuthority"
14904
14861
  },
14862
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
14863
+ { type: "error", inputs: [], name: "AddressZero" },
14864
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
14905
14865
  {
14906
- type: "event",
14907
- anonymous: false,
14866
+ type: "error",
14908
14867
  inputs: [
14909
- {
14910
- name: "contractURI",
14911
- internalType: "string",
14912
- type: "string",
14913
- indexed: false
14914
- },
14915
- {
14916
- name: "baseURI",
14917
- internalType: "string",
14918
- type: "string",
14919
- indexed: false
14920
- }
14868
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
14869
+ { name: "expectedCoin", internalType: "address", type: "address" },
14870
+ { name: "actualCoin", internalType: "address", type: "address" }
14921
14871
  ],
14922
- name: "URIsUpdated"
14872
+ name: "CoinMismatch"
14923
14873
  },
14874
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
14875
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
14924
14876
  {
14925
14877
  type: "error",
14926
- inputs: [{ name: "authority", internalType: "address", type: "address" }],
14927
- name: "AccessManagedInvalidAuthority"
14878
+ inputs: [
14879
+ { name: "startTick", internalType: "int24", type: "int24" },
14880
+ { name: "endTick", internalType: "int24", type: "int24" },
14881
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
14882
+ ],
14883
+ name: "InvalidFillWindow"
14928
14884
  },
14885
+ { type: "error", inputs: [], name: "InvalidOrder" },
14886
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
14887
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
14929
14888
  {
14930
14889
  type: "error",
14931
14890
  inputs: [
14932
- { name: "caller", internalType: "address", type: "address" },
14933
- { name: "delay", internalType: "uint32", type: "uint32" }
14891
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
14892
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
14934
14893
  ],
14935
- name: "AccessManagedRequiredDelay"
14894
+ name: "MinAmountNotReached"
14936
14895
  },
14896
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
14897
+ { type: "error", inputs: [], name: "NotPoolManager" },
14898
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
14899
+ { type: "error", inputs: [], name: "OrderClosed" },
14900
+ { type: "error", inputs: [], name: "OrderNotMaker" },
14901
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
14902
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
14903
+ { type: "error", inputs: [], name: "UnknownCallback" },
14904
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
14905
+ { type: "error", inputs: [], name: "ZeroMaker" },
14906
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
14907
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
14908
+ { type: "error", inputs: [], name: "AddressZero" },
14909
+ { type: "error", inputs: [], name: "AlreadyOwner" },
14910
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
14937
14911
  {
14938
14912
  type: "error",
14939
- inputs: [{ name: "caller", internalType: "address", type: "address" }],
14940
- name: "AccessManagedUnauthorized"
14913
+ inputs: [],
14914
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
14941
14915
  },
14916
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
14942
14917
  {
14943
14918
  type: "error",
14944
- inputs: [{ name: "target", internalType: "address", type: "address" }],
14945
- name: "AddressEmptyCode"
14919
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
14920
+ name: "ECDSAInvalidSignatureLength"
14946
14921
  },
14947
14922
  {
14948
14923
  type: "error",
14949
- inputs: [{ name: "account", internalType: "address", type: "address" }],
14950
- name: "AddressInsufficientBalance"
14924
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
14925
+ name: "ECDSAInvalidSignatureS"
14951
14926
  },
14952
14927
  {
14953
14928
  type: "error",
14954
14929
  inputs: [
14955
- { name: "lengthA", internalType: "uint256", type: "uint256" },
14956
- { name: "lengthB", internalType: "uint256", type: "uint256" }
14930
+ { name: "spender", internalType: "address", type: "address" },
14931
+ { name: "allowance", internalType: "uint256", type: "uint256" },
14932
+ { name: "needed", internalType: "uint256", type: "uint256" }
14957
14933
  ],
14958
- name: "ArrayLengthMismatch"
14959
- },
14960
- {
14961
- type: "error",
14962
- inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
14963
- name: "CallFailed"
14934
+ name: "ERC20InsufficientAllowance"
14964
14935
  },
14965
14936
  {
14966
14937
  type: "error",
14967
14938
  inputs: [
14968
14939
  { name: "sender", internalType: "address", type: "address" },
14969
14940
  { name: "balance", internalType: "uint256", type: "uint256" },
14970
- { name: "needed", internalType: "uint256", type: "uint256" },
14971
- { name: "tokenId", internalType: "uint256", type: "uint256" }
14941
+ { name: "needed", internalType: "uint256", type: "uint256" }
14972
14942
  ],
14973
- name: "ERC1155InsufficientBalance"
14943
+ name: "ERC20InsufficientBalance"
14974
14944
  },
14975
14945
  {
14976
14946
  type: "error",
14977
14947
  inputs: [{ name: "approver", internalType: "address", type: "address" }],
14978
- name: "ERC1155InvalidApprover"
14948
+ name: "ERC20InvalidApprover"
14979
14949
  },
14980
14950
  {
14981
14951
  type: "error",
14982
- inputs: [
14983
- { name: "idsLength", internalType: "uint256", type: "uint256" },
14984
- { name: "valuesLength", internalType: "uint256", type: "uint256" }
14985
- ],
14986
- name: "ERC1155InvalidArrayLength"
14952
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
14953
+ name: "ERC20InvalidReceiver"
14987
14954
  },
14988
14955
  {
14989
14956
  type: "error",
14990
- inputs: [{ name: "operator", internalType: "address", type: "address" }],
14991
- name: "ERC1155InvalidOperator"
14957
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
14958
+ name: "ERC20InvalidSender"
14992
14959
  },
14993
14960
  {
14994
14961
  type: "error",
14995
- inputs: [{ name: "receiver", internalType: "address", type: "address" }],
14996
- name: "ERC1155InvalidReceiver"
14962
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
14963
+ name: "ERC20InvalidSpender"
14997
14964
  },
14965
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
14998
14966
  {
14999
14967
  type: "error",
15000
- inputs: [{ name: "sender", internalType: "address", type: "address" }],
15001
- name: "ERC1155InvalidSender"
14968
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
14969
+ name: "ERC2612ExpiredSignature"
15002
14970
  },
15003
14971
  {
15004
14972
  type: "error",
15005
14973
  inputs: [
15006
- { name: "operator", internalType: "address", type: "address" },
14974
+ { name: "signer", internalType: "address", type: "address" },
15007
14975
  { name: "owner", internalType: "address", type: "address" }
15008
14976
  ],
15009
- name: "ERC1155MissingApprovalForAll"
15010
- },
15011
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15012
- {
15013
- type: "error",
15014
- inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
15015
- name: "ERC2612ExpiredSignature"
14977
+ name: "ERC2612InvalidSigner"
15016
14978
  },
15017
- { type: "error", inputs: [], name: "ETHTransferFailed" },
15018
- { type: "error", inputs: [], name: "FailedInnerCall" },
15019
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
14979
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
14980
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
14981
+ { type: "error", inputs: [], name: "EthTransferFailed" },
14982
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
14983
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
14984
+ { type: "error", inputs: [], name: "InsufficientFunds" },
14985
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
15020
14986
  {
15021
14987
  type: "error",
15022
14988
  inputs: [
@@ -15025,311 +14991,202 @@ var zoraMints1155ABI = [
15025
14991
  ],
15026
14992
  name: "InvalidAccountNonce"
15027
14993
  },
15028
- { type: "error", inputs: [], name: "InvalidRecipient" },
15029
- { type: "error", inputs: [], name: "InvalidShortString" },
15030
- { type: "error", inputs: [], name: "InvalidSignature" },
15031
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
15032
- { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
14994
+ { type: "error", inputs: [], name: "InvalidCurrency" },
14995
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
14996
+ { type: "error", inputs: [], name: "InvalidInitialization" },
14997
+ { type: "error", inputs: [], name: "InvalidMarketType" },
14998
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
15033
14999
  {
15034
15000
  type: "error",
15035
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
15036
- name: "NotARedeemHandler"
15001
+ inputs: [
15002
+ { name: "tickLower", internalType: "int24", type: "int24" },
15003
+ { name: "tickUpper", internalType: "int24", type: "int24" }
15004
+ ],
15005
+ name: "InvalidTickRangeMisordered"
15037
15006
  },
15007
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
15008
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
15009
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
15010
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
15038
15011
  {
15039
15012
  type: "error",
15040
- inputs: [{ name: "token", internalType: "address", type: "address" }],
15041
- name: "SafeERC20FailedOperation"
15013
+ inputs: [
15014
+ { name: "value", internalType: "uint256", type: "uint256" },
15015
+ { name: "limit", internalType: "uint256", type: "uint256" }
15016
+ ],
15017
+ name: "MaxShareToBeSoldExceeded"
15042
15018
  },
15019
+ { type: "error", inputs: [], name: "NameIsRequired" },
15020
+ { type: "error", inputs: [], name: "NotInitializing" },
15021
+ { type: "error", inputs: [], name: "NotOwner" },
15022
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
15023
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
15024
+ { type: "error", inputs: [], name: "OnlyOwner" },
15043
15025
  {
15044
15026
  type: "error",
15045
- inputs: [{ name: "str", internalType: "string", type: "string" }],
15046
- name: "StringTooLong"
15027
+ inputs: [
15028
+ { name: "sender", internalType: "address", type: "address" },
15029
+ { name: "pool", internalType: "address", type: "address" }
15030
+ ],
15031
+ name: "OnlyPool"
15032
+ },
15033
+ { type: "error", inputs: [], name: "OnlyWeth" },
15034
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
15035
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
15036
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
15037
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
15038
+ { type: "error", inputs: [], name: "EthTransferFailed" },
15039
+ { type: "error", inputs: [], name: "HookNotImplemented" },
15040
+ {
15041
+ type: "error",
15042
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
15043
+ name: "InvalidCallbackId"
15044
+ },
15045
+ {
15046
+ type: "error",
15047
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
15048
+ name: "InvalidNewHook"
15047
15049
  },
15048
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15049
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
15050
15050
  {
15051
15051
  type: "error",
15052
15052
  inputs: [
15053
- { name: "storedTokenAddress", internalType: "address", type: "address" },
15054
15053
  {
15055
- name: "expectedTokenAddress",
15056
- internalType: "address",
15057
- type: "address"
15054
+ name: "key",
15055
+ internalType: "struct PoolKey",
15056
+ type: "tuple",
15057
+ components: [
15058
+ { name: "currency0", internalType: "Currency", type: "address" },
15059
+ { name: "currency1", internalType: "Currency", type: "address" },
15060
+ { name: "fee", internalType: "uint24", type: "uint24" },
15061
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
15062
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
15063
+ ]
15058
15064
  }
15059
15065
  ],
15060
- name: "TokenMismatch"
15066
+ name: "NoCoinForHook"
15061
15067
  },
15062
- { type: "error", inputs: [], name: "TokenNotMintable" }
15063
- ];
15064
- var zoraMints1155Address = {
15065
- 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
15066
- 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
15067
- };
15068
- var zoraMints1155Config = {
15069
- address: zoraMints1155Address,
15070
- abi: zoraMints1155ABI
15071
- };
15072
- var zoraMintsManagerImplABI = [
15073
15068
  {
15074
- type: "constructor",
15069
+ type: "error",
15070
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
15071
+ name: "NotACoin"
15072
+ },
15073
+ { type: "error", inputs: [], name: "NotPoolManager" },
15074
+ {
15075
+ type: "error",
15075
15076
  inputs: [
15076
- {
15077
- name: "_premintExecutor",
15078
- internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
15079
- type: "address"
15080
- }
15077
+ { name: "caller", internalType: "address", type: "address" },
15078
+ { name: "expectedCoin", internalType: "address", type: "address" }
15081
15079
  ],
15082
- stateMutability: "nonpayable"
15080
+ name: "OnlyCoin"
15083
15081
  },
15082
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
15083
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
15084
15084
  {
15085
- type: "function",
15086
- inputs: [],
15087
- name: "UPGRADE_INTERFACE_VERSION",
15088
- outputs: [{ name: "", internalType: "string", type: "string" }],
15089
- stateMutability: "view"
15085
+ type: "error",
15086
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
15087
+ name: "SafeERC20FailedOperation"
15090
15088
  },
15091
15089
  {
15092
- type: "function",
15090
+ type: "error",
15093
15091
  inputs: [],
15094
- name: "acceptOwnership",
15095
- outputs: [],
15096
- stateMutability: "nonpayable"
15092
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
15097
15093
  },
15094
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
15098
15095
  {
15099
- type: "function",
15096
+ type: "error",
15100
15097
  inputs: [
15101
- { name: "callFrom", internalType: "address", type: "address" },
15102
- { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15103
- { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15104
- { name: "call", internalType: "bytes", type: "bytes" }
15105
- ],
15106
- name: "callWithTransferTokens",
15107
- outputs: [
15108
- { name: "success", internalType: "bool", type: "bool" },
15109
- { name: "result", internalType: "bytes", type: "bytes" }
15098
+ { name: "oldHook", internalType: "address", type: "address" },
15099
+ { name: "newHook", internalType: "address", type: "address" }
15110
15100
  ],
15111
- stateMutability: "payable"
15101
+ name: "UpgradePathNotRegistered"
15112
15102
  },
15103
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
15104
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
15105
+ ];
15106
+ var zoraLimitOrderBookAddress = {
15107
+ 8453: "0x198419084C13d59c7b3E4c469A3d15b31263B06C"
15108
+ };
15109
+ var zoraLimitOrderBookConfig = {
15110
+ address: zoraLimitOrderBookAddress,
15111
+ abi: zoraLimitOrderBookABI
15112
+ };
15113
+ var zoraMints1155ABI = [
15114
+ { type: "constructor", inputs: [], stateMutability: "nonpayable" },
15113
15115
  {
15114
15116
  type: "function",
15115
- inputs: [
15116
- { name: "caller", internalType: "address", type: "address" },
15117
- { name: "", internalType: "address", type: "address" },
15118
- { name: "", internalType: "bytes4", type: "bytes4" }
15119
- ],
15120
- name: "canCall",
15121
- outputs: [{ name: "", internalType: "bool", type: "bool" }],
15117
+ inputs: [],
15118
+ name: "ETH_ADDRESS",
15119
+ outputs: [{ name: "", internalType: "address", type: "address" }],
15122
15120
  stateMutability: "view"
15123
15121
  },
15124
15122
  {
15125
15123
  type: "function",
15126
- inputs: [
15127
- {
15128
- name: "zoraCreator1155Contract",
15129
- internalType: "contract IMintWithSparks",
15130
- type: "address"
15131
- },
15132
- { name: "minter", internalType: "contract IMinter1155", type: "address" },
15133
- {
15134
- name: "zoraCreator1155TokenId",
15135
- internalType: "uint256",
15136
- type: "uint256"
15137
- },
15138
- {
15139
- name: "collectMintArguments",
15140
- internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
15141
- type: "tuple",
15142
- components: [
15143
- {
15144
- name: "mintRewardsRecipients",
15145
- internalType: "address[]",
15146
- type: "address[]"
15147
- },
15148
- { name: "minterArguments", internalType: "bytes", type: "bytes" },
15149
- { name: "mintComment", internalType: "string", type: "string" }
15150
- ]
15151
- }
15152
- ],
15153
- name: "collect",
15154
- outputs: [],
15155
- stateMutability: "payable"
15124
+ inputs: [],
15125
+ name: "MINIMUM_ERC20_PRICE",
15126
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15127
+ stateMutability: "view"
15156
15128
  },
15157
15129
  {
15158
15130
  type: "function",
15159
- inputs: [
15160
- {
15161
- name: "contractConfig",
15162
- internalType: "struct ContractWithAdditionalAdminsCreationConfig",
15163
- type: "tuple",
15164
- components: [
15165
- { name: "contractAdmin", internalType: "address", type: "address" },
15166
- { name: "contractURI", internalType: "string", type: "string" },
15167
- { name: "contractName", internalType: "string", type: "string" },
15168
- {
15169
- name: "additionalAdmins",
15170
- internalType: "address[]",
15171
- type: "address[]"
15172
- }
15173
- ]
15174
- },
15175
- { name: "tokenContract", internalType: "address", type: "address" },
15176
- {
15177
- name: "premintConfig",
15178
- internalType: "struct PremintConfigEncoded",
15179
- type: "tuple",
15180
- components: [
15181
- { name: "uid", internalType: "uint32", type: "uint32" },
15182
- { name: "version", internalType: "uint32", type: "uint32" },
15183
- { name: "deleted", internalType: "bool", type: "bool" },
15184
- { name: "tokenConfig", internalType: "bytes", type: "bytes" },
15185
- {
15186
- name: "premintConfigVersion",
15187
- internalType: "bytes32",
15188
- type: "bytes32"
15189
- }
15190
- ]
15191
- },
15192
- { name: "signature", internalType: "bytes", type: "bytes" },
15193
- {
15194
- name: "mintArguments",
15195
- internalType: "struct MintArguments",
15196
- type: "tuple",
15197
- components: [
15198
- { name: "mintRecipient", internalType: "address", type: "address" },
15199
- { name: "mintComment", internalType: "string", type: "string" },
15200
- {
15201
- name: "mintRewardsRecipients",
15202
- internalType: "address[]",
15203
- type: "address[]"
15204
- }
15205
- ]
15206
- },
15207
- { name: "firstMinter", internalType: "address", type: "address" },
15208
- { name: "signerContract", internalType: "address", type: "address" }
15209
- ],
15210
- name: "collectPremint",
15211
- outputs: [
15212
- {
15213
- name: "result",
15214
- internalType: "struct PremintResult",
15215
- type: "tuple",
15216
- components: [
15217
- { name: "contractAddress", internalType: "address", type: "address" },
15218
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15219
- { name: "createdNewContract", internalType: "bool", type: "bool" }
15220
- ]
15221
- }
15222
- ],
15223
- stateMutability: "payable"
15131
+ inputs: [],
15132
+ name: "MINIMUM_ETH_PRICE",
15133
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15134
+ stateMutability: "view"
15224
15135
  },
15225
15136
  {
15226
15137
  type: "function",
15227
- inputs: [
15228
- {
15229
- name: "contractConfig",
15230
- internalType: "struct ContractCreationConfig",
15231
- type: "tuple",
15232
- components: [
15233
- { name: "contractAdmin", internalType: "address", type: "address" },
15234
- { name: "contractURI", internalType: "string", type: "string" },
15235
- { name: "contractName", internalType: "string", type: "string" }
15236
- ]
15237
- },
15238
- {
15239
- name: "premintConfig",
15240
- internalType: "struct PremintConfigV2",
15241
- type: "tuple",
15242
- components: [
15243
- {
15244
- name: "tokenConfig",
15245
- internalType: "struct TokenCreationConfigV2",
15246
- type: "tuple",
15247
- components: [
15248
- { name: "tokenURI", internalType: "string", type: "string" },
15249
- { name: "maxSupply", internalType: "uint256", type: "uint256" },
15250
- {
15251
- name: "maxTokensPerAddress",
15252
- internalType: "uint64",
15253
- type: "uint64"
15254
- },
15255
- { name: "pricePerToken", internalType: "uint96", type: "uint96" },
15256
- { name: "mintStart", internalType: "uint64", type: "uint64" },
15257
- { name: "mintDuration", internalType: "uint64", type: "uint64" },
15258
- { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
15259
- {
15260
- name: "payoutRecipient",
15261
- internalType: "address",
15262
- type: "address"
15263
- },
15264
- {
15265
- name: "fixedPriceMinter",
15266
- internalType: "address",
15267
- type: "address"
15268
- },
15269
- {
15270
- name: "createReferral",
15271
- internalType: "address",
15272
- type: "address"
15273
- }
15274
- ]
15275
- },
15276
- { name: "uid", internalType: "uint32", type: "uint32" },
15277
- { name: "version", internalType: "uint32", type: "uint32" },
15278
- { name: "deleted", internalType: "bool", type: "bool" }
15279
- ]
15280
- },
15281
- { name: "signature", internalType: "bytes", type: "bytes" },
15282
- {
15283
- name: "mintArguments",
15284
- internalType: "struct MintArguments",
15285
- type: "tuple",
15286
- components: [
15287
- { name: "mintRecipient", internalType: "address", type: "address" },
15288
- { name: "mintComment", internalType: "string", type: "string" },
15289
- {
15290
- name: "mintRewardsRecipients",
15291
- internalType: "address[]",
15292
- type: "address[]"
15293
- }
15294
- ]
15295
- },
15296
- { name: "signerContract", internalType: "address", type: "address" }
15297
- ],
15298
- name: "collectPremintV2",
15299
- outputs: [
15300
- {
15301
- name: "result",
15302
- internalType: "struct PremintResult",
15303
- type: "tuple",
15304
- components: [
15305
- { name: "contractAddress", internalType: "address", type: "address" },
15306
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15307
- { name: "createdNewContract", internalType: "bool", type: "bool" }
15308
- ]
15309
- }
15310
- ],
15311
- stateMutability: "payable"
15138
+ inputs: [],
15139
+ name: "NAME",
15140
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15141
+ stateMutability: "view"
15312
15142
  },
15313
15143
  {
15314
15144
  type: "function",
15315
15145
  inputs: [],
15316
- name: "contractName",
15146
+ name: "VERSION",
15317
15147
  outputs: [{ name: "", internalType: "string", type: "string" }],
15318
- stateMutability: "pure"
15148
+ stateMutability: "view"
15319
15149
  },
15320
15150
  {
15321
15151
  type: "function",
15322
15152
  inputs: [],
15323
- name: "contractURI",
15324
- outputs: [{ name: "", internalType: "string", type: "string" }],
15153
+ name: "authority",
15154
+ outputs: [{ name: "", internalType: "address", type: "address" }],
15155
+ stateMutability: "view"
15156
+ },
15157
+ {
15158
+ type: "function",
15159
+ inputs: [
15160
+ { name: "account", internalType: "address", type: "address" },
15161
+ { name: "id", internalType: "uint256", type: "uint256" }
15162
+ ],
15163
+ name: "balanceOf",
15164
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15165
+ stateMutability: "view"
15166
+ },
15167
+ {
15168
+ type: "function",
15169
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
15170
+ name: "balanceOfAccount",
15171
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15172
+ stateMutability: "view"
15173
+ },
15174
+ {
15175
+ type: "function",
15176
+ inputs: [
15177
+ { name: "accounts", internalType: "address[]", type: "address[]" },
15178
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" }
15179
+ ],
15180
+ name: "balanceOfBatch",
15181
+ outputs: [{ name: "", internalType: "uint256[]", type: "uint256[]" }],
15325
15182
  stateMutability: "view"
15326
15183
  },
15327
15184
  {
15328
15185
  type: "function",
15329
15186
  inputs: [],
15330
- name: "contractVersion",
15187
+ name: "contractURI",
15331
15188
  outputs: [{ name: "", internalType: "string", type: "string" }],
15332
- stateMutability: "pure"
15189
+ stateMutability: "view"
15333
15190
  },
15334
15191
  {
15335
15192
  type: "function",
@@ -15344,203 +15201,1733 @@ var zoraMintsManagerImplABI = [
15344
15201
  { name: "tokenAddress", internalType: "address", type: "address" },
15345
15202
  { name: "redeemHandler", internalType: "address", type: "address" }
15346
15203
  ]
15347
- },
15348
- { name: "defaultMintable", internalType: "bool", type: "bool" }
15204
+ }
15349
15205
  ],
15350
15206
  name: "createToken",
15351
15207
  outputs: [],
15352
15208
  stateMutability: "nonpayable"
15353
15209
  },
15354
- {
15355
- type: "function",
15356
- inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
15357
- name: "decodeMintRecipientAndComment",
15358
- outputs: [
15359
- { name: "mintTo", internalType: "address", type: "address" },
15360
- { name: "mintComment", internalType: "string", type: "string" }
15361
- ],
15362
- stateMutability: "pure"
15363
- },
15364
15210
  {
15365
15211
  type: "function",
15366
15212
  inputs: [],
15367
- name: "getEthPrice",
15368
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15213
+ name: "eip712Domain",
15214
+ outputs: [
15215
+ { name: "fields", internalType: "bytes1", type: "bytes1" },
15216
+ { name: "name", internalType: "string", type: "string" },
15217
+ { name: "version", internalType: "string", type: "string" },
15218
+ { name: "chainId", internalType: "uint256", type: "uint256" },
15219
+ { name: "verifyingContract", internalType: "address", type: "address" },
15220
+ { name: "salt", internalType: "bytes32", type: "bytes32" },
15221
+ { name: "extensions", internalType: "uint256[]", type: "uint256[]" }
15222
+ ],
15369
15223
  stateMutability: "view"
15370
15224
  },
15371
15225
  {
15372
15226
  type: "function",
15373
15227
  inputs: [],
15374
- name: "implementation",
15228
+ name: "getManager",
15375
15229
  outputs: [{ name: "", internalType: "address", type: "address" }],
15376
15230
  stateMutability: "view"
15377
15231
  },
15232
+ {
15233
+ type: "function",
15234
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15235
+ name: "getTokenConfig",
15236
+ outputs: [
15237
+ {
15238
+ name: "",
15239
+ internalType: "struct TokenConfig",
15240
+ type: "tuple",
15241
+ components: [
15242
+ { name: "price", internalType: "uint256", type: "uint256" },
15243
+ { name: "tokenAddress", internalType: "address", type: "address" },
15244
+ { name: "redeemHandler", internalType: "address", type: "address" }
15245
+ ]
15246
+ }
15247
+ ],
15248
+ stateMutability: "view"
15249
+ },
15378
15250
  {
15379
15251
  type: "function",
15380
15252
  inputs: [
15381
- { name: "defaultOwner", internalType: "address", type: "address" },
15382
- { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
15383
- { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
15384
- { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
15385
15253
  {
15386
- name: "initialEthTokenPrice",
15387
- internalType: "uint256",
15388
- type: "uint256"
15389
- },
15390
- { name: "newBaseURI", internalType: "string", type: "string" },
15391
- { name: "newContractURI", internalType: "string", type: "string" }
15254
+ name: "permit",
15255
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15256
+ type: "tuple",
15257
+ components: [
15258
+ { name: "owner", internalType: "address", type: "address" },
15259
+ { name: "to", internalType: "address", type: "address" },
15260
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15261
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15262
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15263
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15264
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15265
+ ]
15266
+ }
15392
15267
  ],
15393
- name: "initialize",
15394
- outputs: [
15268
+ name: "hashPermitBatch",
15269
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15270
+ stateMutability: "view"
15271
+ },
15272
+ {
15273
+ type: "function",
15274
+ inputs: [
15395
15275
  {
15396
- name: "mints",
15397
- internalType: "contract IZoraSparks1155",
15398
- type: "address"
15276
+ name: "permit",
15277
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
15278
+ type: "tuple",
15279
+ components: [
15280
+ { name: "owner", internalType: "address", type: "address" },
15281
+ { name: "to", internalType: "address", type: "address" },
15282
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15283
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15284
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15285
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15286
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15287
+ ]
15399
15288
  }
15400
15289
  ],
15401
- stateMutability: "nonpayable"
15290
+ name: "hashPermitSingle",
15291
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
15292
+ stateMutability: "view"
15293
+ },
15294
+ {
15295
+ type: "function",
15296
+ inputs: [
15297
+ { name: "account", internalType: "address", type: "address" },
15298
+ { name: "operator", internalType: "address", type: "address" }
15299
+ ],
15300
+ name: "isApprovedForAll",
15301
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15302
+ stateMutability: "view"
15303
+ },
15304
+ {
15305
+ type: "function",
15306
+ inputs: [],
15307
+ name: "isConsumingScheduledOp",
15308
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15309
+ stateMutability: "view"
15310
+ },
15311
+ {
15312
+ type: "function",
15313
+ inputs: [
15314
+ {
15315
+ name: "permit",
15316
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15317
+ type: "tuple",
15318
+ components: [
15319
+ { name: "owner", internalType: "address", type: "address" },
15320
+ { name: "to", internalType: "address", type: "address" },
15321
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15322
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15323
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15324
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15325
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15326
+ ]
15327
+ },
15328
+ { name: "signature", internalType: "bytes", type: "bytes" }
15329
+ ],
15330
+ name: "isValidSignatureTransferBatch",
15331
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15332
+ stateMutability: "view"
15333
+ },
15334
+ {
15335
+ type: "function",
15336
+ inputs: [
15337
+ {
15338
+ name: "permit",
15339
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
15340
+ type: "tuple",
15341
+ components: [
15342
+ { name: "owner", internalType: "address", type: "address" },
15343
+ { name: "to", internalType: "address", type: "address" },
15344
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15345
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15346
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15347
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15348
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15349
+ ]
15350
+ },
15351
+ { name: "signature", internalType: "bytes", type: "bytes" }
15352
+ ],
15353
+ name: "isValidSignatureTransferSingle",
15354
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15355
+ stateMutability: "view"
15402
15356
  },
15403
15357
  {
15404
15358
  type: "function",
15405
15359
  inputs: [
15360
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15406
15361
  { name: "tokenAddress", internalType: "address", type: "address" },
15407
15362
  { name: "quantity", internalType: "uint256", type: "uint256" },
15408
- { name: "recipient", internalType: "address", type: "address" }
15409
- ],
15410
- name: "mintWithERC20",
15411
- outputs: [
15412
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
15363
+ { name: "recipient", internalType: "address", type: "address" },
15364
+ { name: "data", internalType: "bytes", type: "bytes" }
15413
15365
  ],
15366
+ name: "mintTokenWithERC20",
15367
+ outputs: [],
15414
15368
  stateMutability: "nonpayable"
15415
15369
  },
15416
15370
  {
15417
15371
  type: "function",
15418
15372
  inputs: [
15373
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15419
15374
  { name: "quantity", internalType: "uint256", type: "uint256" },
15420
- { name: "recipient", internalType: "address", type: "address" }
15421
- ],
15422
- name: "mintWithEth",
15423
- outputs: [
15424
- { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
15375
+ { name: "recipient", internalType: "address", type: "address" },
15376
+ { name: "data", internalType: "bytes", type: "bytes" }
15425
15377
  ],
15378
+ name: "mintTokenWithEth",
15379
+ outputs: [],
15426
15380
  stateMutability: "payable"
15427
15381
  },
15428
15382
  {
15429
15383
  type: "function",
15430
15384
  inputs: [],
15431
- name: "mintableEthToken",
15432
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15385
+ name: "name",
15386
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15387
+ stateMutability: "pure"
15388
+ },
15389
+ {
15390
+ type: "function",
15391
+ inputs: [
15392
+ { name: "owner", internalType: "address", type: "address" },
15393
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15394
+ ],
15395
+ name: "nonceUsed",
15396
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15433
15397
  stateMutability: "view"
15434
15398
  },
15435
15399
  {
15436
15400
  type: "function",
15437
15401
  inputs: [
15438
- { name: "", internalType: "address", type: "address" },
15439
- { name: "from", internalType: "address", type: "address" },
15440
- { name: "ids", internalType: "uint256[]", type: "uint256[]" },
15441
- { name: "values", internalType: "uint256[]", type: "uint256[]" },
15442
- { name: "data", internalType: "bytes", type: "bytes" }
15402
+ { name: "newContractURI", internalType: "string", type: "string" },
15403
+ { name: "newBaseURI", internalType: "string", type: "string" }
15443
15404
  ],
15444
- name: "onERC1155BatchReceived",
15445
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15405
+ name: "notifyURIsUpdated",
15406
+ outputs: [],
15446
15407
  stateMutability: "nonpayable"
15447
15408
  },
15448
15409
  {
15449
15410
  type: "function",
15450
15411
  inputs: [
15451
- { name: "", internalType: "address", type: "address" },
15452
- { name: "from", internalType: "address", type: "address" },
15453
- { name: "id", internalType: "uint256", type: "uint256" },
15454
- { name: "value", internalType: "uint256", type: "uint256" },
15455
- { name: "data", internalType: "bytes", type: "bytes" }
15412
+ { name: "newUri", internalType: "string", type: "string" },
15413
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
15456
15414
  ],
15457
- name: "onERC1155Received",
15458
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
15415
+ name: "notifyUpdatedTokenURI",
15416
+ outputs: [],
15459
15417
  stateMutability: "nonpayable"
15460
15418
  },
15461
15419
  {
15462
15420
  type: "function",
15463
- inputs: [],
15464
- name: "owner",
15465
- outputs: [{ name: "", internalType: "address", type: "address" }],
15466
- stateMutability: "view"
15421
+ inputs: [
15422
+ {
15423
+ name: "permit",
15424
+ internalType: "struct IZoraSparks1155Managed.PermitSingle",
15425
+ type: "tuple",
15426
+ components: [
15427
+ { name: "owner", internalType: "address", type: "address" },
15428
+ { name: "to", internalType: "address", type: "address" },
15429
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15430
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15431
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15432
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15433
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15434
+ ]
15435
+ },
15436
+ { name: "signature", internalType: "bytes", type: "bytes" }
15437
+ ],
15438
+ name: "permitSafeTransfer",
15439
+ outputs: [],
15440
+ stateMutability: "nonpayable"
15441
+ },
15442
+ {
15443
+ type: "function",
15444
+ inputs: [
15445
+ {
15446
+ name: "permit",
15447
+ internalType: "struct IZoraSparks1155Managed.PermitBatch",
15448
+ type: "tuple",
15449
+ components: [
15450
+ { name: "owner", internalType: "address", type: "address" },
15451
+ { name: "to", internalType: "address", type: "address" },
15452
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15453
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15454
+ { name: "safeTransferData", internalType: "bytes", type: "bytes" },
15455
+ { name: "deadline", internalType: "uint256", type: "uint256" },
15456
+ { name: "nonce", internalType: "uint256", type: "uint256" }
15457
+ ]
15458
+ },
15459
+ { name: "signature", internalType: "bytes", type: "bytes" }
15460
+ ],
15461
+ name: "permitSafeTransferBatch",
15462
+ outputs: [],
15463
+ stateMutability: "nonpayable"
15464
+ },
15465
+ {
15466
+ type: "function",
15467
+ inputs: [
15468
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
15469
+ { name: "quantity", internalType: "uint256", type: "uint256" },
15470
+ { name: "recipient", internalType: "address", type: "address" }
15471
+ ],
15472
+ name: "redeem",
15473
+ outputs: [
15474
+ {
15475
+ name: "",
15476
+ internalType: "struct Redemption",
15477
+ type: "tuple",
15478
+ components: [
15479
+ { name: "tokenAddress", internalType: "address", type: "address" },
15480
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
15481
+ ]
15482
+ }
15483
+ ],
15484
+ stateMutability: "nonpayable"
15485
+ },
15486
+ {
15487
+ type: "function",
15488
+ inputs: [
15489
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15490
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15491
+ { name: "recipient", internalType: "address", type: "address" }
15492
+ ],
15493
+ name: "redeemBatch",
15494
+ outputs: [
15495
+ {
15496
+ name: "redemptions",
15497
+ internalType: "struct Redemption[]",
15498
+ type: "tuple[]",
15499
+ components: [
15500
+ { name: "tokenAddress", internalType: "address", type: "address" },
15501
+ { name: "valueRedeemed", internalType: "uint256", type: "uint256" }
15502
+ ]
15503
+ }
15504
+ ],
15505
+ stateMutability: "nonpayable"
15506
+ },
15507
+ {
15508
+ type: "function",
15509
+ inputs: [
15510
+ { name: "from", internalType: "address", type: "address" },
15511
+ { name: "to", internalType: "address", type: "address" },
15512
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
15513
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
15514
+ { name: "data", internalType: "bytes", type: "bytes" }
15515
+ ],
15516
+ name: "safeBatchTransferFrom",
15517
+ outputs: [],
15518
+ stateMutability: "nonpayable"
15519
+ },
15520
+ {
15521
+ type: "function",
15522
+ inputs: [
15523
+ { name: "from", internalType: "address", type: "address" },
15524
+ { name: "to", internalType: "address", type: "address" },
15525
+ { name: "id", internalType: "uint256", type: "uint256" },
15526
+ { name: "value", internalType: "uint256", type: "uint256" },
15527
+ { name: "data", internalType: "bytes", type: "bytes" }
15528
+ ],
15529
+ name: "safeTransferFrom",
15530
+ outputs: [],
15531
+ stateMutability: "nonpayable"
15532
+ },
15533
+ {
15534
+ type: "function",
15535
+ inputs: [
15536
+ { name: "operator", internalType: "address", type: "address" },
15537
+ { name: "approved", internalType: "bool", type: "bool" }
15538
+ ],
15539
+ name: "setApprovalForAll",
15540
+ outputs: [],
15541
+ stateMutability: "nonpayable"
15542
+ },
15543
+ {
15544
+ type: "function",
15545
+ inputs: [
15546
+ { name: "newAuthority", internalType: "address", type: "address" }
15547
+ ],
15548
+ name: "setAuthority",
15549
+ outputs: [],
15550
+ stateMutability: "nonpayable"
15551
+ },
15552
+ {
15553
+ type: "function",
15554
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
15555
+ name: "supportsInterface",
15556
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15557
+ stateMutability: "view"
15558
+ },
15559
+ {
15560
+ type: "function",
15561
+ inputs: [],
15562
+ name: "symbol",
15563
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15564
+ stateMutability: "pure"
15565
+ },
15566
+ {
15567
+ type: "function",
15568
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15569
+ name: "tokenExists",
15570
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15571
+ stateMutability: "view"
15572
+ },
15573
+ {
15574
+ type: "function",
15575
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15576
+ name: "tokenPrice",
15577
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
15578
+ stateMutability: "view"
15579
+ },
15580
+ {
15581
+ type: "function",
15582
+ inputs: [
15583
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15584
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15585
+ { name: "call", internalType: "bytes", type: "bytes" }
15586
+ ],
15587
+ name: "transferBatchToManagerAndCall",
15588
+ outputs: [{ name: "callReturn", internalType: "bytes", type: "bytes" }],
15589
+ stateMutability: "payable"
15590
+ },
15591
+ {
15592
+ type: "function",
15593
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15594
+ name: "uri",
15595
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15596
+ stateMutability: "view"
15597
+ },
15598
+ {
15599
+ type: "event",
15600
+ anonymous: false,
15601
+ inputs: [
15602
+ {
15603
+ name: "account",
15604
+ internalType: "address",
15605
+ type: "address",
15606
+ indexed: true
15607
+ },
15608
+ {
15609
+ name: "operator",
15610
+ internalType: "address",
15611
+ type: "address",
15612
+ indexed: true
15613
+ },
15614
+ { name: "approved", internalType: "bool", type: "bool", indexed: false }
15615
+ ],
15616
+ name: "ApprovalForAll"
15617
+ },
15618
+ {
15619
+ type: "event",
15620
+ anonymous: false,
15621
+ inputs: [
15622
+ {
15623
+ name: "authority",
15624
+ internalType: "address",
15625
+ type: "address",
15626
+ indexed: false
15627
+ }
15628
+ ],
15629
+ name: "AuthorityUpdated"
15630
+ },
15631
+ { type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
15632
+ { type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
15633
+ {
15634
+ type: "event",
15635
+ anonymous: false,
15636
+ inputs: [
15637
+ {
15638
+ name: "tokenId",
15639
+ internalType: "uint256",
15640
+ type: "uint256",
15641
+ indexed: true
15642
+ },
15643
+ {
15644
+ name: "price",
15645
+ internalType: "uint256",
15646
+ type: "uint256",
15647
+ indexed: true
15648
+ },
15649
+ {
15650
+ name: "tokenAddress",
15651
+ internalType: "address",
15652
+ type: "address",
15653
+ indexed: true
15654
+ }
15655
+ ],
15656
+ name: "TokenCreated"
15657
+ },
15658
+ {
15659
+ type: "event",
15660
+ anonymous: false,
15661
+ inputs: [
15662
+ {
15663
+ name: "operator",
15664
+ internalType: "address",
15665
+ type: "address",
15666
+ indexed: true
15667
+ },
15668
+ { name: "from", internalType: "address", type: "address", indexed: true },
15669
+ { name: "to", internalType: "address", type: "address", indexed: true },
15670
+ {
15671
+ name: "ids",
15672
+ internalType: "uint256[]",
15673
+ type: "uint256[]",
15674
+ indexed: false
15675
+ },
15676
+ {
15677
+ name: "values",
15678
+ internalType: "uint256[]",
15679
+ type: "uint256[]",
15680
+ indexed: false
15681
+ }
15682
+ ],
15683
+ name: "TransferBatch"
15684
+ },
15685
+ {
15686
+ type: "event",
15687
+ anonymous: false,
15688
+ inputs: [
15689
+ {
15690
+ name: "operator",
15691
+ internalType: "address",
15692
+ type: "address",
15693
+ indexed: true
15694
+ },
15695
+ { name: "from", internalType: "address", type: "address", indexed: true },
15696
+ { name: "to", internalType: "address", type: "address", indexed: true },
15697
+ { name: "id", internalType: "uint256", type: "uint256", indexed: false },
15698
+ {
15699
+ name: "value",
15700
+ internalType: "uint256",
15701
+ type: "uint256",
15702
+ indexed: false
15703
+ }
15704
+ ],
15705
+ name: "TransferSingle"
15706
+ },
15707
+ {
15708
+ type: "event",
15709
+ anonymous: false,
15710
+ inputs: [
15711
+ { name: "value", internalType: "string", type: "string", indexed: false },
15712
+ { name: "id", internalType: "uint256", type: "uint256", indexed: true }
15713
+ ],
15714
+ name: "URI"
15715
+ },
15716
+ {
15717
+ type: "event",
15718
+ anonymous: false,
15719
+ inputs: [
15720
+ {
15721
+ name: "contractURI",
15722
+ internalType: "string",
15723
+ type: "string",
15724
+ indexed: false
15725
+ },
15726
+ {
15727
+ name: "baseURI",
15728
+ internalType: "string",
15729
+ type: "string",
15730
+ indexed: false
15731
+ }
15732
+ ],
15733
+ name: "URIsUpdated"
15734
+ },
15735
+ {
15736
+ type: "error",
15737
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
15738
+ name: "AccessManagedInvalidAuthority"
15739
+ },
15740
+ {
15741
+ type: "error",
15742
+ inputs: [
15743
+ { name: "caller", internalType: "address", type: "address" },
15744
+ { name: "delay", internalType: "uint32", type: "uint32" }
15745
+ ],
15746
+ name: "AccessManagedRequiredDelay"
15747
+ },
15748
+ {
15749
+ type: "error",
15750
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
15751
+ name: "AccessManagedUnauthorized"
15752
+ },
15753
+ {
15754
+ type: "error",
15755
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
15756
+ name: "AddressEmptyCode"
15757
+ },
15758
+ {
15759
+ type: "error",
15760
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
15761
+ name: "AddressInsufficientBalance"
15762
+ },
15763
+ {
15764
+ type: "error",
15765
+ inputs: [
15766
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
15767
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
15768
+ ],
15769
+ name: "ArrayLengthMismatch"
15770
+ },
15771
+ {
15772
+ type: "error",
15773
+ inputs: [{ name: "returnData", internalType: "bytes", type: "bytes" }],
15774
+ name: "CallFailed"
15775
+ },
15776
+ {
15777
+ type: "error",
15778
+ inputs: [
15779
+ { name: "sender", internalType: "address", type: "address" },
15780
+ { name: "balance", internalType: "uint256", type: "uint256" },
15781
+ { name: "needed", internalType: "uint256", type: "uint256" },
15782
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
15783
+ ],
15784
+ name: "ERC1155InsufficientBalance"
15785
+ },
15786
+ {
15787
+ type: "error",
15788
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
15789
+ name: "ERC1155InvalidApprover"
15790
+ },
15791
+ {
15792
+ type: "error",
15793
+ inputs: [
15794
+ { name: "idsLength", internalType: "uint256", type: "uint256" },
15795
+ { name: "valuesLength", internalType: "uint256", type: "uint256" }
15796
+ ],
15797
+ name: "ERC1155InvalidArrayLength"
15798
+ },
15799
+ {
15800
+ type: "error",
15801
+ inputs: [{ name: "operator", internalType: "address", type: "address" }],
15802
+ name: "ERC1155InvalidOperator"
15803
+ },
15804
+ {
15805
+ type: "error",
15806
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
15807
+ name: "ERC1155InvalidReceiver"
15808
+ },
15809
+ {
15810
+ type: "error",
15811
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
15812
+ name: "ERC1155InvalidSender"
15813
+ },
15814
+ {
15815
+ type: "error",
15816
+ inputs: [
15817
+ { name: "operator", internalType: "address", type: "address" },
15818
+ { name: "owner", internalType: "address", type: "address" }
15819
+ ],
15820
+ name: "ERC1155MissingApprovalForAll"
15821
+ },
15822
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15823
+ {
15824
+ type: "error",
15825
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
15826
+ name: "ERC2612ExpiredSignature"
15827
+ },
15828
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
15829
+ { type: "error", inputs: [], name: "FailedInnerCall" },
15830
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
15831
+ {
15832
+ type: "error",
15833
+ inputs: [
15834
+ { name: "account", internalType: "address", type: "address" },
15835
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
15836
+ ],
15837
+ name: "InvalidAccountNonce"
15838
+ },
15839
+ { type: "error", inputs: [], name: "InvalidRecipient" },
15840
+ { type: "error", inputs: [], name: "InvalidShortString" },
15841
+ { type: "error", inputs: [], name: "InvalidSignature" },
15842
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
15843
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
15844
+ {
15845
+ type: "error",
15846
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
15847
+ name: "NotARedeemHandler"
15848
+ },
15849
+ {
15850
+ type: "error",
15851
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
15852
+ name: "SafeERC20FailedOperation"
15853
+ },
15854
+ {
15855
+ type: "error",
15856
+ inputs: [{ name: "str", internalType: "string", type: "string" }],
15857
+ name: "StringTooLong"
15858
+ },
15859
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15860
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
15861
+ {
15862
+ type: "error",
15863
+ inputs: [
15864
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
15865
+ {
15866
+ name: "expectedTokenAddress",
15867
+ internalType: "address",
15868
+ type: "address"
15869
+ }
15870
+ ],
15871
+ name: "TokenMismatch"
15872
+ },
15873
+ { type: "error", inputs: [], name: "TokenNotMintable" }
15874
+ ];
15875
+ var zoraMints1155Address = {
15876
+ 7777777: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073",
15877
+ 999999999: "0x7777777d57c1C6e472fa379b7b3B6c6ba3835073"
15878
+ };
15879
+ var zoraMints1155Config = {
15880
+ address: zoraMints1155Address,
15881
+ abi: zoraMints1155ABI
15882
+ };
15883
+ var zoraMintsManagerImplABI = [
15884
+ {
15885
+ type: "constructor",
15886
+ inputs: [
15887
+ {
15888
+ name: "_premintExecutor",
15889
+ internalType: "contract IZoraCreator1155PremintExecutorAllVersions",
15890
+ type: "address"
15891
+ }
15892
+ ],
15893
+ stateMutability: "nonpayable"
15894
+ },
15895
+ {
15896
+ type: "function",
15897
+ inputs: [],
15898
+ name: "UPGRADE_INTERFACE_VERSION",
15899
+ outputs: [{ name: "", internalType: "string", type: "string" }],
15900
+ stateMutability: "view"
15901
+ },
15902
+ {
15903
+ type: "function",
15904
+ inputs: [],
15905
+ name: "acceptOwnership",
15906
+ outputs: [],
15907
+ stateMutability: "nonpayable"
15908
+ },
15909
+ {
15910
+ type: "function",
15911
+ inputs: [
15912
+ { name: "callFrom", internalType: "address", type: "address" },
15913
+ { name: "tokenIds", internalType: "uint256[]", type: "uint256[]" },
15914
+ { name: "quantities", internalType: "uint256[]", type: "uint256[]" },
15915
+ { name: "call", internalType: "bytes", type: "bytes" }
15916
+ ],
15917
+ name: "callWithTransferTokens",
15918
+ outputs: [
15919
+ { name: "success", internalType: "bool", type: "bool" },
15920
+ { name: "result", internalType: "bytes", type: "bytes" }
15921
+ ],
15922
+ stateMutability: "payable"
15923
+ },
15924
+ {
15925
+ type: "function",
15926
+ inputs: [
15927
+ { name: "caller", internalType: "address", type: "address" },
15928
+ { name: "", internalType: "address", type: "address" },
15929
+ { name: "", internalType: "bytes4", type: "bytes4" }
15930
+ ],
15931
+ name: "canCall",
15932
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
15933
+ stateMutability: "view"
15934
+ },
15935
+ {
15936
+ type: "function",
15937
+ inputs: [
15938
+ {
15939
+ name: "zoraCreator1155Contract",
15940
+ internalType: "contract IMintWithSparks",
15941
+ type: "address"
15942
+ },
15943
+ { name: "minter", internalType: "contract IMinter1155", type: "address" },
15944
+ {
15945
+ name: "zoraCreator1155TokenId",
15946
+ internalType: "uint256",
15947
+ type: "uint256"
15948
+ },
15949
+ {
15950
+ name: "collectMintArguments",
15951
+ internalType: "struct ICollectWithZoraSparks.CollectMintArguments",
15952
+ type: "tuple",
15953
+ components: [
15954
+ {
15955
+ name: "mintRewardsRecipients",
15956
+ internalType: "address[]",
15957
+ type: "address[]"
15958
+ },
15959
+ { name: "minterArguments", internalType: "bytes", type: "bytes" },
15960
+ { name: "mintComment", internalType: "string", type: "string" }
15961
+ ]
15962
+ }
15963
+ ],
15964
+ name: "collect",
15965
+ outputs: [],
15966
+ stateMutability: "payable"
15967
+ },
15968
+ {
15969
+ type: "function",
15970
+ inputs: [
15971
+ {
15972
+ name: "contractConfig",
15973
+ internalType: "struct ContractWithAdditionalAdminsCreationConfig",
15974
+ type: "tuple",
15975
+ components: [
15976
+ { name: "contractAdmin", internalType: "address", type: "address" },
15977
+ { name: "contractURI", internalType: "string", type: "string" },
15978
+ { name: "contractName", internalType: "string", type: "string" },
15979
+ {
15980
+ name: "additionalAdmins",
15981
+ internalType: "address[]",
15982
+ type: "address[]"
15983
+ }
15984
+ ]
15985
+ },
15986
+ { name: "tokenContract", internalType: "address", type: "address" },
15987
+ {
15988
+ name: "premintConfig",
15989
+ internalType: "struct PremintConfigEncoded",
15990
+ type: "tuple",
15991
+ components: [
15992
+ { name: "uid", internalType: "uint32", type: "uint32" },
15993
+ { name: "version", internalType: "uint32", type: "uint32" },
15994
+ { name: "deleted", internalType: "bool", type: "bool" },
15995
+ { name: "tokenConfig", internalType: "bytes", type: "bytes" },
15996
+ {
15997
+ name: "premintConfigVersion",
15998
+ internalType: "bytes32",
15999
+ type: "bytes32"
16000
+ }
16001
+ ]
16002
+ },
16003
+ { name: "signature", internalType: "bytes", type: "bytes" },
16004
+ {
16005
+ name: "mintArguments",
16006
+ internalType: "struct MintArguments",
16007
+ type: "tuple",
16008
+ components: [
16009
+ { name: "mintRecipient", internalType: "address", type: "address" },
16010
+ { name: "mintComment", internalType: "string", type: "string" },
16011
+ {
16012
+ name: "mintRewardsRecipients",
16013
+ internalType: "address[]",
16014
+ type: "address[]"
16015
+ }
16016
+ ]
16017
+ },
16018
+ { name: "firstMinter", internalType: "address", type: "address" },
16019
+ { name: "signerContract", internalType: "address", type: "address" }
16020
+ ],
16021
+ name: "collectPremint",
16022
+ outputs: [
16023
+ {
16024
+ name: "result",
16025
+ internalType: "struct PremintResult",
16026
+ type: "tuple",
16027
+ components: [
16028
+ { name: "contractAddress", internalType: "address", type: "address" },
16029
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16030
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
16031
+ ]
16032
+ }
16033
+ ],
16034
+ stateMutability: "payable"
16035
+ },
16036
+ {
16037
+ type: "function",
16038
+ inputs: [
16039
+ {
16040
+ name: "contractConfig",
16041
+ internalType: "struct ContractCreationConfig",
16042
+ type: "tuple",
16043
+ components: [
16044
+ { name: "contractAdmin", internalType: "address", type: "address" },
16045
+ { name: "contractURI", internalType: "string", type: "string" },
16046
+ { name: "contractName", internalType: "string", type: "string" }
16047
+ ]
16048
+ },
16049
+ {
16050
+ name: "premintConfig",
16051
+ internalType: "struct PremintConfigV2",
16052
+ type: "tuple",
16053
+ components: [
16054
+ {
16055
+ name: "tokenConfig",
16056
+ internalType: "struct TokenCreationConfigV2",
16057
+ type: "tuple",
16058
+ components: [
16059
+ { name: "tokenURI", internalType: "string", type: "string" },
16060
+ { name: "maxSupply", internalType: "uint256", type: "uint256" },
16061
+ {
16062
+ name: "maxTokensPerAddress",
16063
+ internalType: "uint64",
16064
+ type: "uint64"
16065
+ },
16066
+ { name: "pricePerToken", internalType: "uint96", type: "uint96" },
16067
+ { name: "mintStart", internalType: "uint64", type: "uint64" },
16068
+ { name: "mintDuration", internalType: "uint64", type: "uint64" },
16069
+ { name: "royaltyBPS", internalType: "uint32", type: "uint32" },
16070
+ {
16071
+ name: "payoutRecipient",
16072
+ internalType: "address",
16073
+ type: "address"
16074
+ },
16075
+ {
16076
+ name: "fixedPriceMinter",
16077
+ internalType: "address",
16078
+ type: "address"
16079
+ },
16080
+ {
16081
+ name: "createReferral",
16082
+ internalType: "address",
16083
+ type: "address"
16084
+ }
16085
+ ]
16086
+ },
16087
+ { name: "uid", internalType: "uint32", type: "uint32" },
16088
+ { name: "version", internalType: "uint32", type: "uint32" },
16089
+ { name: "deleted", internalType: "bool", type: "bool" }
16090
+ ]
16091
+ },
16092
+ { name: "signature", internalType: "bytes", type: "bytes" },
16093
+ {
16094
+ name: "mintArguments",
16095
+ internalType: "struct MintArguments",
16096
+ type: "tuple",
16097
+ components: [
16098
+ { name: "mintRecipient", internalType: "address", type: "address" },
16099
+ { name: "mintComment", internalType: "string", type: "string" },
16100
+ {
16101
+ name: "mintRewardsRecipients",
16102
+ internalType: "address[]",
16103
+ type: "address[]"
16104
+ }
16105
+ ]
16106
+ },
16107
+ { name: "signerContract", internalType: "address", type: "address" }
16108
+ ],
16109
+ name: "collectPremintV2",
16110
+ outputs: [
16111
+ {
16112
+ name: "result",
16113
+ internalType: "struct PremintResult",
16114
+ type: "tuple",
16115
+ components: [
16116
+ { name: "contractAddress", internalType: "address", type: "address" },
16117
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16118
+ { name: "createdNewContract", internalType: "bool", type: "bool" }
16119
+ ]
16120
+ }
16121
+ ],
16122
+ stateMutability: "payable"
16123
+ },
16124
+ {
16125
+ type: "function",
16126
+ inputs: [],
16127
+ name: "contractName",
16128
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16129
+ stateMutability: "pure"
16130
+ },
16131
+ {
16132
+ type: "function",
16133
+ inputs: [],
16134
+ name: "contractURI",
16135
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16136
+ stateMutability: "view"
16137
+ },
16138
+ {
16139
+ type: "function",
16140
+ inputs: [],
16141
+ name: "contractVersion",
16142
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16143
+ stateMutability: "pure"
16144
+ },
16145
+ {
16146
+ type: "function",
16147
+ inputs: [
16148
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16149
+ {
16150
+ name: "tokenConfig",
16151
+ internalType: "struct TokenConfig",
16152
+ type: "tuple",
16153
+ components: [
16154
+ { name: "price", internalType: "uint256", type: "uint256" },
16155
+ { name: "tokenAddress", internalType: "address", type: "address" },
16156
+ { name: "redeemHandler", internalType: "address", type: "address" }
16157
+ ]
16158
+ },
16159
+ { name: "defaultMintable", internalType: "bool", type: "bool" }
16160
+ ],
16161
+ name: "createToken",
16162
+ outputs: [],
16163
+ stateMutability: "nonpayable"
16164
+ },
16165
+ {
16166
+ type: "function",
16167
+ inputs: [{ name: "minterArguments", internalType: "bytes", type: "bytes" }],
16168
+ name: "decodeMintRecipientAndComment",
16169
+ outputs: [
16170
+ { name: "mintTo", internalType: "address", type: "address" },
16171
+ { name: "mintComment", internalType: "string", type: "string" }
16172
+ ],
16173
+ stateMutability: "pure"
16174
+ },
16175
+ {
16176
+ type: "function",
16177
+ inputs: [],
16178
+ name: "getEthPrice",
16179
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16180
+ stateMutability: "view"
16181
+ },
16182
+ {
16183
+ type: "function",
16184
+ inputs: [],
16185
+ name: "implementation",
16186
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16187
+ stateMutability: "view"
16188
+ },
16189
+ {
16190
+ type: "function",
16191
+ inputs: [
16192
+ { name: "defaultOwner", internalType: "address", type: "address" },
16193
+ { name: "zoraSparksSalt", internalType: "bytes32", type: "bytes32" },
16194
+ { name: "zoraSparksCreationCode", internalType: "bytes", type: "bytes" },
16195
+ { name: "initialEthTokenId", internalType: "uint256", type: "uint256" },
16196
+ {
16197
+ name: "initialEthTokenPrice",
16198
+ internalType: "uint256",
16199
+ type: "uint256"
16200
+ },
16201
+ { name: "newBaseURI", internalType: "string", type: "string" },
16202
+ { name: "newContractURI", internalType: "string", type: "string" }
16203
+ ],
16204
+ name: "initialize",
16205
+ outputs: [
16206
+ {
16207
+ name: "mints",
16208
+ internalType: "contract IZoraSparks1155",
16209
+ type: "address"
16210
+ }
16211
+ ],
16212
+ stateMutability: "nonpayable"
16213
+ },
16214
+ {
16215
+ type: "function",
16216
+ inputs: [
16217
+ { name: "tokenAddress", internalType: "address", type: "address" },
16218
+ { name: "quantity", internalType: "uint256", type: "uint256" },
16219
+ { name: "recipient", internalType: "address", type: "address" }
16220
+ ],
16221
+ name: "mintWithERC20",
16222
+ outputs: [
16223
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
16224
+ ],
16225
+ stateMutability: "nonpayable"
16226
+ },
16227
+ {
16228
+ type: "function",
16229
+ inputs: [
16230
+ { name: "quantity", internalType: "uint256", type: "uint256" },
16231
+ { name: "recipient", internalType: "address", type: "address" }
16232
+ ],
16233
+ name: "mintWithEth",
16234
+ outputs: [
16235
+ { name: "mintableTokenId", internalType: "uint256", type: "uint256" }
16236
+ ],
16237
+ stateMutability: "payable"
16238
+ },
16239
+ {
16240
+ type: "function",
16241
+ inputs: [],
16242
+ name: "mintableEthToken",
16243
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
16244
+ stateMutability: "view"
16245
+ },
16246
+ {
16247
+ type: "function",
16248
+ inputs: [
16249
+ { name: "", internalType: "address", type: "address" },
16250
+ { name: "from", internalType: "address", type: "address" },
16251
+ { name: "ids", internalType: "uint256[]", type: "uint256[]" },
16252
+ { name: "values", internalType: "uint256[]", type: "uint256[]" },
16253
+ { name: "data", internalType: "bytes", type: "bytes" }
16254
+ ],
16255
+ name: "onERC1155BatchReceived",
16256
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
16257
+ stateMutability: "nonpayable"
16258
+ },
16259
+ {
16260
+ type: "function",
16261
+ inputs: [
16262
+ { name: "", internalType: "address", type: "address" },
16263
+ { name: "from", internalType: "address", type: "address" },
16264
+ { name: "id", internalType: "uint256", type: "uint256" },
16265
+ { name: "value", internalType: "uint256", type: "uint256" },
16266
+ { name: "data", internalType: "bytes", type: "bytes" }
16267
+ ],
16268
+ name: "onERC1155Received",
16269
+ outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
16270
+ stateMutability: "nonpayable"
16271
+ },
16272
+ {
16273
+ type: "function",
16274
+ inputs: [],
16275
+ name: "owner",
16276
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16277
+ stateMutability: "view"
16278
+ },
16279
+ {
16280
+ type: "function",
16281
+ inputs: [],
16282
+ name: "pendingOwner",
16283
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16284
+ stateMutability: "view"
16285
+ },
16286
+ {
16287
+ type: "function",
16288
+ inputs: [],
16289
+ name: "proxiableUUID",
16290
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
16291
+ stateMutability: "view"
16292
+ },
16293
+ {
16294
+ type: "function",
16295
+ inputs: [],
16296
+ name: "renounceOwnership",
16297
+ outputs: [],
16298
+ stateMutability: "nonpayable"
16299
+ },
16300
+ {
16301
+ type: "function",
16302
+ inputs: [
16303
+ { name: "tokenAddress", internalType: "address", type: "address" },
16304
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
16305
+ ],
16306
+ name: "setDefaultMintable",
16307
+ outputs: [],
16308
+ stateMutability: "nonpayable"
16309
+ },
16310
+ {
16311
+ type: "function",
16312
+ inputs: [
16313
+ { name: "newContractURI", internalType: "string", type: "string" },
16314
+ { name: "newBaseURI", internalType: "string", type: "string" },
16315
+ {
16316
+ name: "tokenIdsToNotifyUpdate",
16317
+ internalType: "uint256[]",
16318
+ type: "uint256[]"
16319
+ }
16320
+ ],
16321
+ name: "setMetadataURIs",
16322
+ outputs: [],
16323
+ stateMutability: "nonpayable"
16324
+ },
16325
+ {
16326
+ type: "function",
16327
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
16328
+ name: "transferOwnership",
16329
+ outputs: [],
16330
+ stateMutability: "nonpayable"
16331
+ },
16332
+ {
16333
+ type: "function",
16334
+ inputs: [
16335
+ { name: "newImplementation", internalType: "address", type: "address" },
16336
+ { name: "data", internalType: "bytes", type: "bytes" }
16337
+ ],
16338
+ name: "upgradeToAndCall",
16339
+ outputs: [],
16340
+ stateMutability: "payable"
16341
+ },
16342
+ {
16343
+ type: "function",
16344
+ inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
16345
+ name: "uri",
16346
+ outputs: [{ name: "", internalType: "string", type: "string" }],
16347
+ stateMutability: "view"
16348
+ },
16349
+ {
16350
+ type: "function",
16351
+ inputs: [],
16352
+ name: "zoraSparks1155",
16353
+ outputs: [
16354
+ { name: "", internalType: "contract IZoraSparks1155", type: "address" }
16355
+ ],
16356
+ stateMutability: "view"
16357
+ },
16358
+ {
16359
+ type: "event",
16360
+ anonymous: false,
16361
+ inputs: [
16362
+ {
16363
+ name: "tokenIds",
16364
+ internalType: "uint256[]",
16365
+ type: "uint256[]",
16366
+ indexed: true
16367
+ },
16368
+ {
16369
+ name: "quantities",
16370
+ internalType: "uint256[]",
16371
+ type: "uint256[]",
16372
+ indexed: false
16373
+ },
16374
+ {
16375
+ name: "zoraCreator1155Contract",
16376
+ internalType: "address",
16377
+ type: "address",
16378
+ indexed: true
16379
+ },
16380
+ {
16381
+ name: "zoraCreator1155TokenId",
16382
+ internalType: "uint256",
16383
+ type: "uint256",
16384
+ indexed: true
16385
+ }
16386
+ ],
16387
+ name: "Collected"
16388
+ },
16389
+ {
16390
+ type: "event",
16391
+ anonymous: false,
16392
+ inputs: [
16393
+ {
16394
+ name: "tokenAddress",
16395
+ internalType: "address",
16396
+ type: "address",
16397
+ indexed: false
16398
+ },
16399
+ {
16400
+ name: "tokenId",
16401
+ internalType: "uint256",
16402
+ type: "uint256",
16403
+ indexed: false
16404
+ }
16405
+ ],
16406
+ name: "DefaultMintableTokenSet"
16407
+ },
16408
+ {
16409
+ type: "event",
16410
+ anonymous: false,
16411
+ inputs: [
16412
+ {
16413
+ name: "version",
16414
+ internalType: "uint64",
16415
+ type: "uint64",
16416
+ indexed: false
16417
+ }
16418
+ ],
16419
+ name: "Initialized"
16420
+ },
16421
+ {
16422
+ type: "event",
16423
+ anonymous: false,
16424
+ inputs: [
16425
+ {
16426
+ name: "sender",
16427
+ internalType: "address",
16428
+ type: "address",
16429
+ indexed: true
16430
+ },
16431
+ {
16432
+ name: "tokenContract",
16433
+ internalType: "address",
16434
+ type: "address",
16435
+ indexed: true
16436
+ },
16437
+ {
16438
+ name: "tokenId",
16439
+ internalType: "uint256",
16440
+ type: "uint256",
16441
+ indexed: true
16442
+ },
16443
+ {
16444
+ name: "quantity",
16445
+ internalType: "uint256",
16446
+ type: "uint256",
16447
+ indexed: false
16448
+ },
16449
+ {
16450
+ name: "comment",
16451
+ internalType: "string",
16452
+ type: "string",
16453
+ indexed: false
16454
+ }
16455
+ ],
16456
+ name: "MintComment"
16457
+ },
16458
+ {
16459
+ type: "event",
16460
+ anonymous: false,
16461
+ inputs: [
16462
+ {
16463
+ name: "previousOwner",
16464
+ internalType: "address",
16465
+ type: "address",
16466
+ indexed: true
16467
+ },
16468
+ {
16469
+ name: "newOwner",
16470
+ internalType: "address",
16471
+ type: "address",
16472
+ indexed: true
16473
+ }
16474
+ ],
16475
+ name: "OwnershipTransferStarted"
16476
+ },
16477
+ {
16478
+ type: "event",
16479
+ anonymous: false,
16480
+ inputs: [
16481
+ {
16482
+ name: "previousOwner",
16483
+ internalType: "address",
16484
+ type: "address",
16485
+ indexed: true
16486
+ },
16487
+ {
16488
+ name: "newOwner",
16489
+ internalType: "address",
16490
+ type: "address",
16491
+ indexed: true
16492
+ }
16493
+ ],
16494
+ name: "OwnershipTransferred"
16495
+ },
16496
+ {
16497
+ type: "event",
16498
+ anonymous: false,
16499
+ inputs: [
16500
+ {
16501
+ name: "contractURI",
16502
+ internalType: "string",
16503
+ type: "string",
16504
+ indexed: false
16505
+ },
16506
+ {
16507
+ name: "baseURI",
16508
+ internalType: "string",
16509
+ type: "string",
16510
+ indexed: false
16511
+ }
16512
+ ],
16513
+ name: "URIsUpdated"
16514
+ },
16515
+ {
16516
+ type: "event",
16517
+ anonymous: false,
16518
+ inputs: [
16519
+ {
16520
+ name: "implementation",
16521
+ internalType: "address",
16522
+ type: "address",
16523
+ indexed: true
16524
+ }
16525
+ ],
16526
+ name: "Upgraded"
16527
+ },
16528
+ {
16529
+ type: "error",
16530
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
16531
+ name: "AddressEmptyCode"
16532
+ },
16533
+ {
16534
+ type: "error",
16535
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
16536
+ name: "AddressInsufficientBalance"
16537
+ },
16538
+ {
16539
+ type: "error",
16540
+ inputs: [
16541
+ { name: "lengthA", internalType: "uint256", type: "uint256" },
16542
+ { name: "lengthB", internalType: "uint256", type: "uint256" }
16543
+ ],
16544
+ name: "ArrayLengthMismatch"
16545
+ },
16546
+ {
16547
+ type: "error",
16548
+ inputs: [
16549
+ { name: "operator", internalType: "address", type: "address" },
16550
+ { name: "user", internalType: "address", type: "address" }
16551
+ ],
16552
+ name: "Burn_NotOwnerOrApproved"
16553
+ },
16554
+ {
16555
+ type: "error",
16556
+ inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
16557
+ name: "CallFailed"
16558
+ },
16559
+ { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
16560
+ { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
16561
+ {
16562
+ type: "error",
16563
+ inputs: [
16564
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16565
+ { name: "quantity", internalType: "uint256", type: "uint256" },
16566
+ { name: "totalMinted", internalType: "uint256", type: "uint256" },
16567
+ { name: "maxSupply", internalType: "uint256", type: "uint256" }
16568
+ ],
16569
+ name: "CannotMintMoreTokens"
16570
+ },
16571
+ {
16572
+ type: "error",
16573
+ inputs: [
16574
+ { name: "proposedAddress", internalType: "address", type: "address" }
16575
+ ],
16576
+ name: "Config_TransferHookNotSupported"
16577
+ },
16578
+ { type: "error", inputs: [], name: "Create2EmptyBytecode" },
16579
+ { type: "error", inputs: [], name: "Create2FailedDeployment" },
16580
+ {
16581
+ type: "error",
16582
+ inputs: [
16583
+ { name: "balance", internalType: "uint256", type: "uint256" },
16584
+ { name: "needed", internalType: "uint256", type: "uint256" }
16585
+ ],
16586
+ name: "Create2InsufficientBalance"
16587
+ },
16588
+ { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
16589
+ { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
16590
+ { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
16591
+ {
16592
+ type: "error",
16593
+ inputs: [
16594
+ { name: "implementation", internalType: "address", type: "address" }
16595
+ ],
16596
+ name: "ERC1967InvalidImplementation"
16597
+ },
16598
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
16599
+ { type: "error", inputs: [], name: "ERC20TransferSlippage" },
16600
+ { type: "error", inputs: [], name: "ETHTransferFailed" },
16601
+ {
16602
+ type: "error",
16603
+ inputs: [
16604
+ { name: "recipient", internalType: "address", type: "address" },
16605
+ { name: "amount", internalType: "uint256", type: "uint256" }
16606
+ ],
16607
+ name: "ETHWithdrawFailed"
16608
+ },
16609
+ { type: "error", inputs: [], name: "FailedInnerCall" },
16610
+ { type: "error", inputs: [], name: "FirstMinterAddressZero" },
16611
+ {
16612
+ type: "error",
16613
+ inputs: [
16614
+ { name: "amount", internalType: "uint256", type: "uint256" },
16615
+ { name: "contractValue", internalType: "uint256", type: "uint256" }
16616
+ ],
16617
+ name: "FundsWithdrawInsolvent"
16618
+ },
16619
+ { type: "error", inputs: [], name: "IncorrectAmountSent" },
16620
+ { type: "error", inputs: [], name: "InvalidAdminAction" },
16621
+ { type: "error", inputs: [], name: "InvalidInitialization" },
16622
+ {
16623
+ type: "error",
16624
+ inputs: [
16625
+ { name: "mintTo", internalType: "address", type: "address" },
16626
+ { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
16627
+ { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
16628
+ ],
16629
+ name: "InvalidMerkleProof"
16630
+ },
16631
+ { type: "error", inputs: [], name: "InvalidMintSchedule" },
16632
+ { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
16633
+ { type: "error", inputs: [], name: "InvalidPremintVersion" },
16634
+ { type: "error", inputs: [], name: "InvalidRecipient" },
16635
+ { type: "error", inputs: [], name: "InvalidSignature" },
16636
+ { type: "error", inputs: [], name: "InvalidSignatureVersion" },
16637
+ {
16638
+ type: "error",
16639
+ inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
16640
+ name: "InvalidSigner"
16641
+ },
16642
+ { type: "error", inputs: [], name: "InvalidTokenPrice" },
16643
+ { type: "error", inputs: [], name: "MintNotYetStarted" },
16644
+ { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
16645
+ { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
16646
+ { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
16647
+ { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
16648
+ { type: "error", inputs: [], name: "Mint_UnknownCommand" },
16649
+ { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
16650
+ { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
16651
+ { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
16652
+ { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
16653
+ { type: "error", inputs: [], name: "NoTokensTransferred" },
16654
+ { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
16655
+ { type: "error", inputs: [], name: "NonEthRedemption" },
16656
+ {
16657
+ type: "error",
16658
+ inputs: [{ name: "handler", internalType: "address", type: "address" }],
16659
+ name: "NotARedeemHandler"
16660
+ },
16661
+ { type: "error", inputs: [], name: "NotInitializing" },
16662
+ { type: "error", inputs: [], name: "NotSelfCall" },
16663
+ { type: "error", inputs: [], name: "NotZoraSparks1155" },
16664
+ { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
16665
+ {
16666
+ type: "error",
16667
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
16668
+ name: "OwnableInvalidOwner"
16669
+ },
16670
+ {
16671
+ type: "error",
16672
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
16673
+ name: "OwnableUnauthorizedAccount"
16674
+ },
16675
+ { type: "error", inputs: [], name: "PremintDeleted" },
16676
+ { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
16677
+ {
16678
+ type: "error",
16679
+ inputs: [
16680
+ { name: "caller", internalType: "address", type: "address" },
16681
+ { name: "recipient", internalType: "address", type: "address" },
16682
+ { name: "amount", internalType: "uint256", type: "uint256" }
16683
+ ],
16684
+ name: "ProtocolRewardsWithdrawFailed"
16685
+ },
16686
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
16687
+ { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
16688
+ {
16689
+ type: "error",
16690
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
16691
+ name: "SafeERC20FailedOperation"
16692
+ },
16693
+ { type: "error", inputs: [], name: "SaleEnded" },
16694
+ { type: "error", inputs: [], name: "SaleHasNotStarted" },
16695
+ {
16696
+ type: "error",
16697
+ inputs: [
16698
+ { name: "targetContract", internalType: "address", type: "address" }
16699
+ ],
16700
+ name: "Sale_CannotCallNonSalesContract"
16701
+ },
16702
+ { type: "error", inputs: [], name: "TokenAlreadyCreated" },
16703
+ { type: "error", inputs: [], name: "TokenDoesNotExist" },
16704
+ {
16705
+ type: "error",
16706
+ inputs: [
16707
+ { name: "expected", internalType: "uint256", type: "uint256" },
16708
+ { name: "actual", internalType: "uint256", type: "uint256" }
16709
+ ],
16710
+ name: "TokenIdMismatch"
16711
+ },
16712
+ {
16713
+ type: "error",
16714
+ inputs: [
16715
+ { name: "storedTokenAddress", internalType: "address", type: "address" },
16716
+ {
16717
+ name: "expectedTokenAddress",
16718
+ internalType: "address",
16719
+ type: "address"
16720
+ }
16721
+ ],
16722
+ name: "TokenMismatch"
16723
+ },
16724
+ { type: "error", inputs: [], name: "TokenNotMintable" },
16725
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
16726
+ {
16727
+ type: "error",
16728
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
16729
+ name: "UUPSUnsupportedProxiableUUID"
16730
+ },
16731
+ {
16732
+ type: "error",
16733
+ inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
16734
+ name: "UnknownUserAction"
16735
+ },
16736
+ {
16737
+ type: "error",
16738
+ inputs: [
16739
+ { name: "expected", internalType: "string", type: "string" },
16740
+ { name: "actual", internalType: "string", type: "string" }
16741
+ ],
16742
+ name: "UpgradeToMismatchedContractName"
16743
+ },
16744
+ {
16745
+ type: "error",
16746
+ inputs: [
16747
+ { name: "user", internalType: "address", type: "address" },
16748
+ { name: "limit", internalType: "uint256", type: "uint256" },
16749
+ { name: "requestedAmount", internalType: "uint256", type: "uint256" }
16750
+ ],
16751
+ name: "UserExceedsMintLimit"
16752
+ },
16753
+ {
16754
+ type: "error",
16755
+ inputs: [
16756
+ { name: "user", internalType: "address", type: "address" },
16757
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
16758
+ { name: "role", internalType: "uint256", type: "uint256" }
16759
+ ],
16760
+ name: "UserMissingRoleForToken"
16761
+ },
16762
+ { type: "error", inputs: [], name: "WrongValueSent" },
16763
+ {
16764
+ type: "error",
16765
+ inputs: [],
16766
+ name: "premintSignerContractFailedToRecoverSigner"
16767
+ },
16768
+ { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
16769
+ ];
16770
+ var zoraMintsManagerImplAddress = {
16771
+ 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
16772
+ 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
16773
+ };
16774
+ var zoraMintsManagerImplConfig = {
16775
+ address: zoraMintsManagerImplAddress,
16776
+ abi: zoraMintsManagerImplABI
16777
+ };
16778
+ var zoraRouterABI = [
16779
+ {
16780
+ type: "constructor",
16781
+ inputs: [
16782
+ {
16783
+ name: "poolManager_",
16784
+ internalType: "contract IPoolManager",
16785
+ type: "address"
16786
+ },
16787
+ {
16788
+ name: "zoraLimitOrderBook_",
16789
+ internalType: "contract IZoraLimitOrderBook",
16790
+ type: "address"
16791
+ },
16792
+ {
16793
+ name: "swapRouter_",
16794
+ internalType: "contract ISwapRouter",
16795
+ type: "address"
16796
+ },
16797
+ { name: "permit2_", internalType: "address", type: "address" }
16798
+ ],
16799
+ stateMutability: "nonpayable"
15467
16800
  },
16801
+ { type: "receive", stateMutability: "payable" },
15468
16802
  {
15469
16803
  type: "function",
15470
16804
  inputs: [],
15471
- name: "pendingOwner",
15472
- outputs: [{ name: "", internalType: "address", type: "address" }],
16805
+ name: "getLimitOrderConfig",
16806
+ outputs: [
16807
+ {
16808
+ name: "",
16809
+ internalType: "struct LimitOrderConfig",
16810
+ type: "tuple",
16811
+ components: [
16812
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
16813
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
16814
+ ]
16815
+ }
16816
+ ],
15473
16817
  stateMutability: "view"
15474
16818
  },
15475
16819
  {
15476
16820
  type: "function",
15477
16821
  inputs: [],
15478
- name: "proxiableUUID",
15479
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
16822
+ name: "msgSender",
16823
+ outputs: [{ name: "", internalType: "address", type: "address" }],
15480
16824
  stateMutability: "view"
15481
16825
  },
15482
16826
  {
15483
16827
  type: "function",
15484
16828
  inputs: [],
15485
- name: "renounceOwnership",
15486
- outputs: [],
15487
- stateMutability: "nonpayable"
15488
- },
15489
- {
15490
- type: "function",
15491
- inputs: [
15492
- { name: "tokenAddress", internalType: "address", type: "address" },
15493
- { name: "tokenId", internalType: "uint256", type: "uint256" }
16829
+ name: "poolManager",
16830
+ outputs: [
16831
+ { name: "", internalType: "contract IPoolManager", type: "address" }
15494
16832
  ],
15495
- name: "setDefaultMintable",
15496
- outputs: [],
15497
- stateMutability: "nonpayable"
16833
+ stateMutability: "view"
15498
16834
  },
15499
16835
  {
15500
16836
  type: "function",
15501
16837
  inputs: [
15502
- { name: "newContractURI", internalType: "string", type: "string" },
15503
- { name: "newBaseURI", internalType: "string", type: "string" },
15504
16838
  {
15505
- name: "tokenIdsToNotifyUpdate",
15506
- internalType: "uint256[]",
15507
- type: "uint256[]"
16839
+ name: "config",
16840
+ internalType: "struct LimitOrderConfig",
16841
+ type: "tuple",
16842
+ components: [
16843
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
16844
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
16845
+ ]
15508
16846
  }
15509
16847
  ],
15510
- name: "setMetadataURIs",
16848
+ name: "setLimitOrderConfig",
15511
16849
  outputs: [],
15512
16850
  stateMutability: "nonpayable"
15513
16851
  },
15514
16852
  {
15515
16853
  type: "function",
15516
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
15517
- name: "transferOwnership",
15518
- outputs: [],
15519
- stateMutability: "nonpayable"
16854
+ inputs: [],
16855
+ name: "swapRouter",
16856
+ outputs: [
16857
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
16858
+ ],
16859
+ stateMutability: "view"
15520
16860
  },
15521
16861
  {
15522
16862
  type: "function",
15523
16863
  inputs: [
15524
- { name: "newImplementation", internalType: "address", type: "address" },
15525
- { name: "data", internalType: "bytes", type: "bytes" }
16864
+ {
16865
+ name: "params",
16866
+ internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
16867
+ type: "tuple",
16868
+ components: [
16869
+ { name: "recipient", internalType: "address", type: "address" },
16870
+ {
16871
+ name: "limitOrderConfig",
16872
+ internalType: "struct LimitOrderConfig",
16873
+ type: "tuple",
16874
+ components: [
16875
+ {
16876
+ name: "multiples",
16877
+ internalType: "uint256[]",
16878
+ type: "uint256[]"
16879
+ },
16880
+ {
16881
+ name: "percentages",
16882
+ internalType: "uint256[]",
16883
+ type: "uint256[]"
16884
+ }
16885
+ ]
16886
+ },
16887
+ { name: "inputCurrency", internalType: "address", type: "address" },
16888
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
16889
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
16890
+ {
16891
+ name: "v4Route",
16892
+ internalType: "struct PoolKey[]",
16893
+ type: "tuple[]",
16894
+ components: [
16895
+ { name: "currency0", internalType: "Currency", type: "address" },
16896
+ { name: "currency1", internalType: "Currency", type: "address" },
16897
+ { name: "fee", internalType: "uint24", type: "uint24" },
16898
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
16899
+ {
16900
+ name: "hooks",
16901
+ internalType: "contract IHooks",
16902
+ type: "address"
16903
+ }
16904
+ ]
16905
+ },
16906
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
16907
+ ]
16908
+ }
15526
16909
  ],
15527
- name: "upgradeToAndCall",
15528
- outputs: [],
16910
+ name: "swapWithLimitOrders",
16911
+ outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
15529
16912
  stateMutability: "payable"
15530
16913
  },
15531
16914
  {
15532
16915
  type: "function",
15533
- inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
15534
- name: "uri",
15535
- outputs: [{ name: "", internalType: "string", type: "string" }],
15536
- stateMutability: "view"
16916
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
16917
+ name: "unlockCallback",
16918
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
16919
+ stateMutability: "nonpayable"
15537
16920
  },
15538
16921
  {
15539
16922
  type: "function",
15540
16923
  inputs: [],
15541
- name: "zoraSparks1155",
16924
+ name: "zoraLimitOrderBook",
15542
16925
  outputs: [
15543
- { name: "", internalType: "contract IZoraSparks1155", type: "address" }
16926
+ {
16927
+ name: "",
16928
+ internalType: "contract IZoraLimitOrderBook",
16929
+ type: "address"
16930
+ }
15544
16931
  ],
15545
16932
  stateMutability: "view"
15546
16933
  },
@@ -15549,63 +16936,19 @@ var zoraMintsManagerImplABI = [
15549
16936
  anonymous: false,
15550
16937
  inputs: [
15551
16938
  {
15552
- name: "tokenIds",
16939
+ name: "multiples",
15553
16940
  internalType: "uint256[]",
15554
16941
  type: "uint256[]",
15555
- indexed: true
16942
+ indexed: false
15556
16943
  },
15557
16944
  {
15558
- name: "quantities",
16945
+ name: "percentages",
15559
16946
  internalType: "uint256[]",
15560
16947
  type: "uint256[]",
15561
16948
  indexed: false
15562
- },
15563
- {
15564
- name: "zoraCreator1155Contract",
15565
- internalType: "address",
15566
- type: "address",
15567
- indexed: true
15568
- },
15569
- {
15570
- name: "zoraCreator1155TokenId",
15571
- internalType: "uint256",
15572
- type: "uint256",
15573
- indexed: true
15574
- }
15575
- ],
15576
- name: "Collected"
15577
- },
15578
- {
15579
- type: "event",
15580
- anonymous: false,
15581
- inputs: [
15582
- {
15583
- name: "tokenAddress",
15584
- internalType: "address",
15585
- type: "address",
15586
- indexed: false
15587
- },
15588
- {
15589
- name: "tokenId",
15590
- internalType: "uint256",
15591
- type: "uint256",
15592
- indexed: false
15593
- }
15594
- ],
15595
- name: "DefaultMintableTokenSet"
15596
- },
15597
- {
15598
- type: "event",
15599
- anonymous: false,
15600
- inputs: [
15601
- {
15602
- name: "version",
15603
- internalType: "uint64",
15604
- type: "uint64",
15605
- indexed: false
15606
16949
  }
15607
16950
  ],
15608
- name: "Initialized"
16951
+ name: "LimitOrderConfigUpdated"
15609
16952
  },
15610
16953
  {
15611
16954
  type: "event",
@@ -15618,351 +16961,338 @@ var zoraMintsManagerImplABI = [
15618
16961
  indexed: true
15619
16962
  },
15620
16963
  {
15621
- name: "tokenContract",
16964
+ name: "recipient",
15622
16965
  internalType: "address",
15623
16966
  type: "address",
15624
16967
  indexed: true
15625
16968
  },
15626
16969
  {
15627
- name: "tokenId",
15628
- internalType: "uint256",
15629
- type: "uint256",
15630
- indexed: true
15631
- },
15632
- {
15633
- name: "quantity",
15634
- internalType: "uint256",
15635
- type: "uint256",
16970
+ name: "poolKey",
16971
+ internalType: "struct PoolKey",
16972
+ type: "tuple",
16973
+ components: [
16974
+ { name: "currency0", internalType: "Currency", type: "address" },
16975
+ { name: "currency1", internalType: "Currency", type: "address" },
16976
+ { name: "fee", internalType: "uint24", type: "uint24" },
16977
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
16978
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
16979
+ ],
15636
16980
  indexed: false
15637
16981
  },
15638
16982
  {
15639
- name: "comment",
15640
- internalType: "string",
15641
- type: "string",
16983
+ name: "delta",
16984
+ internalType: "BalanceDelta",
16985
+ type: "int256",
15642
16986
  indexed: false
15643
- }
15644
- ],
15645
- name: "MintComment"
15646
- },
15647
- {
15648
- type: "event",
15649
- anonymous: false,
15650
- inputs: [
15651
- {
15652
- name: "previousOwner",
15653
- internalType: "address",
15654
- type: "address",
15655
- indexed: true
15656
16987
  },
15657
16988
  {
15658
- name: "newOwner",
15659
- internalType: "address",
15660
- type: "address",
15661
- indexed: true
15662
- }
15663
- ],
15664
- name: "OwnershipTransferStarted"
15665
- },
15666
- {
15667
- type: "event",
15668
- anonymous: false,
15669
- inputs: [
15670
- {
15671
- name: "previousOwner",
15672
- internalType: "address",
15673
- type: "address",
15674
- indexed: true
16989
+ name: "tickBeforeSwap",
16990
+ internalType: "int24",
16991
+ type: "int24",
16992
+ indexed: false
15675
16993
  },
15676
16994
  {
15677
- name: "newOwner",
15678
- internalType: "address",
15679
- type: "address",
15680
- indexed: true
15681
- }
15682
- ],
15683
- name: "OwnershipTransferred"
15684
- },
15685
- {
15686
- type: "event",
15687
- anonymous: false,
15688
- inputs: [
15689
- {
15690
- name: "contractURI",
15691
- internalType: "string",
15692
- type: "string",
16995
+ name: "tickAfterSwap",
16996
+ internalType: "int24",
16997
+ type: "int24",
15693
16998
  indexed: false
15694
16999
  },
15695
17000
  {
15696
- name: "baseURI",
15697
- internalType: "string",
15698
- type: "string",
17001
+ name: "orders",
17002
+ internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
17003
+ type: "tuple[]",
17004
+ components: [
17005
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
17006
+ { name: "multiple", internalType: "uint256", type: "uint256" },
17007
+ { name: "percentage", internalType: "uint256", type: "uint256" }
17008
+ ],
15699
17009
  indexed: false
15700
17010
  }
15701
17011
  ],
15702
- name: "URIsUpdated"
17012
+ name: "SwapWithLimitOrdersExecuted"
15703
17013
  },
17014
+ { type: "error", inputs: [], name: "EmptyV4Route" },
17015
+ { type: "error", inputs: [], name: "FromAddressIsNotOwner" },
15704
17016
  {
15705
- type: "event",
15706
- anonymous: false,
17017
+ type: "error",
15707
17018
  inputs: [
15708
- {
15709
- name: "implementation",
15710
- internalType: "address",
15711
- type: "address",
15712
- indexed: true
15713
- }
17019
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
17020
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
15714
17021
  ],
15715
- name: "Upgraded"
17022
+ name: "InsufficientInputCurrency"
17023
+ },
17024
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
17025
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
17026
+ { type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
17027
+ { type: "error", inputs: [], name: "InvalidMultiple" },
17028
+ { type: "error", inputs: [], name: "InvalidPercent" },
17029
+ { type: "error", inputs: [], name: "LengthMismatch" },
17030
+ { type: "error", inputs: [], name: "OnlyAuthority" },
17031
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
17032
+ { type: "error", inputs: [], name: "PercentOverflow" },
17033
+ {
17034
+ type: "error",
17035
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17036
+ name: "SafeERC20FailedOperation"
17037
+ },
17038
+ { type: "error", inputs: [], name: "UnsafeCast" },
17039
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
17040
+ { type: "error", inputs: [], name: "ZeroSwapDelta" },
17041
+ { type: "error", inputs: [], name: "AddressZero" },
17042
+ { type: "error", inputs: [], name: "AlreadyOwner" },
17043
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
17044
+ {
17045
+ type: "error",
17046
+ inputs: [],
17047
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
15716
17048
  },
17049
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
15717
17050
  {
15718
17051
  type: "error",
15719
- inputs: [{ name: "target", internalType: "address", type: "address" }],
15720
- name: "AddressEmptyCode"
17052
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
17053
+ name: "ECDSAInvalidSignatureLength"
15721
17054
  },
15722
17055
  {
15723
17056
  type: "error",
15724
- inputs: [{ name: "account", internalType: "address", type: "address" }],
15725
- name: "AddressInsufficientBalance"
17057
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
17058
+ name: "ECDSAInvalidSignatureS"
15726
17059
  },
15727
17060
  {
15728
17061
  type: "error",
15729
17062
  inputs: [
15730
- { name: "lengthA", internalType: "uint256", type: "uint256" },
15731
- { name: "lengthB", internalType: "uint256", type: "uint256" }
17063
+ { name: "spender", internalType: "address", type: "address" },
17064
+ { name: "allowance", internalType: "uint256", type: "uint256" },
17065
+ { name: "needed", internalType: "uint256", type: "uint256" }
15732
17066
  ],
15733
- name: "ArrayLengthMismatch"
17067
+ name: "ERC20InsufficientAllowance"
15734
17068
  },
15735
17069
  {
15736
17070
  type: "error",
15737
17071
  inputs: [
15738
- { name: "operator", internalType: "address", type: "address" },
15739
- { name: "user", internalType: "address", type: "address" }
17072
+ { name: "sender", internalType: "address", type: "address" },
17073
+ { name: "balance", internalType: "uint256", type: "uint256" },
17074
+ { name: "needed", internalType: "uint256", type: "uint256" }
15740
17075
  ],
15741
- name: "Burn_NotOwnerOrApproved"
17076
+ name: "ERC20InsufficientBalance"
15742
17077
  },
15743
17078
  {
15744
17079
  type: "error",
15745
- inputs: [{ name: "reason", internalType: "bytes", type: "bytes" }],
15746
- name: "CallFailed"
17080
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
17081
+ name: "ERC20InvalidApprover"
15747
17082
  },
15748
- { type: "error", inputs: [], name: "Call_TokenIdMismatch" },
15749
- { type: "error", inputs: [], name: "CallerNotZoraCreator1155" },
15750
17083
  {
15751
17084
  type: "error",
15752
- inputs: [
15753
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15754
- { name: "quantity", internalType: "uint256", type: "uint256" },
15755
- { name: "totalMinted", internalType: "uint256", type: "uint256" },
15756
- { name: "maxSupply", internalType: "uint256", type: "uint256" }
15757
- ],
15758
- name: "CannotMintMoreTokens"
17085
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
17086
+ name: "ERC20InvalidReceiver"
15759
17087
  },
15760
17088
  {
15761
17089
  type: "error",
15762
- inputs: [
15763
- { name: "proposedAddress", internalType: "address", type: "address" }
15764
- ],
15765
- name: "Config_TransferHookNotSupported"
17090
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
17091
+ name: "ERC20InvalidSender"
15766
17092
  },
15767
- { type: "error", inputs: [], name: "Create2EmptyBytecode" },
15768
- { type: "error", inputs: [], name: "Create2FailedDeployment" },
15769
17093
  {
15770
17094
  type: "error",
15771
- inputs: [
15772
- { name: "balance", internalType: "uint256", type: "uint256" },
15773
- { name: "needed", internalType: "uint256", type: "uint256" }
15774
- ],
15775
- name: "Create2InsufficientBalance"
17095
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
17096
+ name: "ERC20InvalidSpender"
15776
17097
  },
15777
- { type: "error", inputs: [], name: "DefaultOwnerCannotBeZero" },
15778
- { type: "error", inputs: [], name: "ERC1155BatchReceivedCallFailed" },
15779
- { type: "error", inputs: [], name: "ERC1155_MINT_TO_ZERO_ADDRESS" },
17098
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
15780
17099
  {
15781
17100
  type: "error",
15782
- inputs: [
15783
- { name: "implementation", internalType: "address", type: "address" }
15784
- ],
15785
- name: "ERC1967InvalidImplementation"
17101
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
17102
+ name: "ERC2612ExpiredSignature"
15786
17103
  },
15787
- { type: "error", inputs: [], name: "ERC1967NonPayable" },
15788
- { type: "error", inputs: [], name: "ERC20TransferSlippage" },
15789
- { type: "error", inputs: [], name: "ETHTransferFailed" },
15790
17104
  {
15791
17105
  type: "error",
15792
17106
  inputs: [
15793
- { name: "recipient", internalType: "address", type: "address" },
15794
- { name: "amount", internalType: "uint256", type: "uint256" }
17107
+ { name: "signer", internalType: "address", type: "address" },
17108
+ { name: "owner", internalType: "address", type: "address" }
15795
17109
  ],
15796
- name: "ETHWithdrawFailed"
17110
+ name: "ERC2612InvalidSigner"
15797
17111
  },
15798
- { type: "error", inputs: [], name: "FailedInnerCall" },
15799
- { type: "error", inputs: [], name: "FirstMinterAddressZero" },
17112
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
17113
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
17114
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17115
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
17116
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
17117
+ { type: "error", inputs: [], name: "InsufficientFunds" },
17118
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
15800
17119
  {
15801
17120
  type: "error",
15802
17121
  inputs: [
15803
- { name: "amount", internalType: "uint256", type: "uint256" },
15804
- { name: "contractValue", internalType: "uint256", type: "uint256" }
17122
+ { name: "account", internalType: "address", type: "address" },
17123
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
15805
17124
  ],
15806
- name: "FundsWithdrawInsolvent"
17125
+ name: "InvalidAccountNonce"
15807
17126
  },
15808
- { type: "error", inputs: [], name: "IncorrectAmountSent" },
15809
- { type: "error", inputs: [], name: "InvalidAdminAction" },
17127
+ { type: "error", inputs: [], name: "InvalidCurrency" },
17128
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
15810
17129
  { type: "error", inputs: [], name: "InvalidInitialization" },
17130
+ { type: "error", inputs: [], name: "InvalidMarketType" },
17131
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
15811
17132
  {
15812
17133
  type: "error",
15813
17134
  inputs: [
15814
- { name: "mintTo", internalType: "address", type: "address" },
15815
- { name: "merkleProof", internalType: "bytes32[]", type: "bytes32[]" },
15816
- { name: "merkleRoot", internalType: "bytes32", type: "bytes32" }
17135
+ { name: "tickLower", internalType: "int24", type: "int24" },
17136
+ { name: "tickUpper", internalType: "int24", type: "int24" }
15817
17137
  ],
15818
- name: "InvalidMerkleProof"
17138
+ name: "InvalidTickRangeMisordered"
15819
17139
  },
15820
- { type: "error", inputs: [], name: "InvalidMintSchedule" },
15821
- { type: "error", inputs: [], name: "InvalidOwnerForAssociatedZoraSparks" },
15822
- { type: "error", inputs: [], name: "InvalidPremintVersion" },
15823
- { type: "error", inputs: [], name: "InvalidRecipient" },
15824
- { type: "error", inputs: [], name: "InvalidSignature" },
15825
- { type: "error", inputs: [], name: "InvalidSignatureVersion" },
17140
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
17141
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
17142
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
17143
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
15826
17144
  {
15827
17145
  type: "error",
15828
- inputs: [{ name: "magicValue", internalType: "bytes4", type: "bytes4" }],
15829
- name: "InvalidSigner"
17146
+ inputs: [
17147
+ { name: "value", internalType: "uint256", type: "uint256" },
17148
+ { name: "limit", internalType: "uint256", type: "uint256" }
17149
+ ],
17150
+ name: "MaxShareToBeSoldExceeded"
15830
17151
  },
15831
- { type: "error", inputs: [], name: "InvalidTokenPrice" },
15832
- { type: "error", inputs: [], name: "MintNotYetStarted" },
15833
- { type: "error", inputs: [], name: "MintWithSparksNotSupportedOnContract" },
15834
- { type: "error", inputs: [], name: "Mint_InsolventSaleTransfer" },
15835
- { type: "error", inputs: [], name: "Mint_InvalidMintArrayLength" },
15836
- { type: "error", inputs: [], name: "Mint_TokenIDMintNotAllowed" },
15837
- { type: "error", inputs: [], name: "Mint_UnknownCommand" },
15838
- { type: "error", inputs: [], name: "Mint_ValueTransferFail" },
15839
- { type: "error", inputs: [], name: "MinterContractAlreadyExists" },
15840
- { type: "error", inputs: [], name: "MinterContractDoesNotExist" },
15841
- { type: "error", inputs: [], name: "NewOwnerNeedsToBeAdmin" },
15842
- { type: "error", inputs: [], name: "NoTokensTransferred" },
15843
- { type: "error", inputs: [], name: "NoUriForNonexistentToken" },
15844
- { type: "error", inputs: [], name: "NonEthRedemption" },
17152
+ { type: "error", inputs: [], name: "NameIsRequired" },
17153
+ { type: "error", inputs: [], name: "NotInitializing" },
17154
+ { type: "error", inputs: [], name: "NotOwner" },
17155
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
17156
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
17157
+ { type: "error", inputs: [], name: "OnlyOwner" },
15845
17158
  {
15846
17159
  type: "error",
15847
- inputs: [{ name: "handler", internalType: "address", type: "address" }],
15848
- name: "NotARedeemHandler"
17160
+ inputs: [
17161
+ { name: "sender", internalType: "address", type: "address" },
17162
+ { name: "pool", internalType: "address", type: "address" }
17163
+ ],
17164
+ name: "OnlyPool"
15849
17165
  },
15850
- { type: "error", inputs: [], name: "NotInitializing" },
15851
- { type: "error", inputs: [], name: "NotSelfCall" },
15852
- { type: "error", inputs: [], name: "NotZoraSparks1155" },
15853
- { type: "error", inputs: [], name: "OnlyTransfersFromZoraSparks" },
17166
+ { type: "error", inputs: [], name: "OnlyWeth" },
17167
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
17168
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
17169
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
17170
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
17171
+ { type: "error", inputs: [], name: "EthTransferFailed" },
17172
+ { type: "error", inputs: [], name: "HookNotImplemented" },
15854
17173
  {
15855
17174
  type: "error",
15856
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
15857
- name: "OwnableInvalidOwner"
17175
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
17176
+ name: "InvalidCallbackId"
15858
17177
  },
15859
17178
  {
15860
17179
  type: "error",
15861
- inputs: [{ name: "account", internalType: "address", type: "address" }],
15862
- name: "OwnableUnauthorizedAccount"
17180
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
17181
+ name: "InvalidNewHook"
15863
17182
  },
15864
- { type: "error", inputs: [], name: "PremintDeleted" },
15865
- { type: "error", inputs: [], name: "PremintExecutorCannotBeZero" },
15866
17183
  {
15867
17184
  type: "error",
15868
17185
  inputs: [
15869
- { name: "caller", internalType: "address", type: "address" },
15870
- { name: "recipient", internalType: "address", type: "address" },
15871
- { name: "amount", internalType: "uint256", type: "uint256" }
17186
+ {
17187
+ name: "key",
17188
+ internalType: "struct PoolKey",
17189
+ type: "tuple",
17190
+ components: [
17191
+ { name: "currency0", internalType: "Currency", type: "address" },
17192
+ { name: "currency1", internalType: "Currency", type: "address" },
17193
+ { name: "fee", internalType: "uint24", type: "uint24" },
17194
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
17195
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
17196
+ ]
17197
+ }
15872
17198
  ],
15873
- name: "ProtocolRewardsWithdrawFailed"
17199
+ name: "NoCoinForHook"
15874
17200
  },
15875
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
15876
- { type: "error", inputs: [], name: "Renderer_NotValidRendererContract" },
15877
17201
  {
15878
17202
  type: "error",
15879
- inputs: [{ name: "token", internalType: "address", type: "address" }],
15880
- name: "SafeERC20FailedOperation"
17203
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
17204
+ name: "NotACoin"
15881
17205
  },
15882
- { type: "error", inputs: [], name: "SaleEnded" },
15883
- { type: "error", inputs: [], name: "SaleHasNotStarted" },
17206
+ { type: "error", inputs: [], name: "NotPoolManager" },
15884
17207
  {
15885
17208
  type: "error",
15886
17209
  inputs: [
15887
- { name: "targetContract", internalType: "address", type: "address" }
17210
+ { name: "caller", internalType: "address", type: "address" },
17211
+ { name: "expectedCoin", internalType: "address", type: "address" }
15888
17212
  ],
15889
- name: "Sale_CannotCallNonSalesContract"
17213
+ name: "OnlyCoin"
15890
17214
  },
15891
- { type: "error", inputs: [], name: "TokenAlreadyCreated" },
15892
- { type: "error", inputs: [], name: "TokenDoesNotExist" },
17215
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17216
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
15893
17217
  {
15894
17218
  type: "error",
15895
- inputs: [
15896
- { name: "expected", internalType: "uint256", type: "uint256" },
15897
- { name: "actual", internalType: "uint256", type: "uint256" }
15898
- ],
15899
- name: "TokenIdMismatch"
17219
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
17220
+ name: "SafeERC20FailedOperation"
15900
17221
  },
15901
17222
  {
15902
17223
  type: "error",
15903
- inputs: [
15904
- { name: "storedTokenAddress", internalType: "address", type: "address" },
15905
- {
15906
- name: "expectedTokenAddress",
15907
- internalType: "address",
15908
- type: "address"
15909
- }
15910
- ],
15911
- name: "TokenMismatch"
17224
+ inputs: [],
17225
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
15912
17226
  },
15913
- { type: "error", inputs: [], name: "TokenNotMintable" },
15914
- { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
17227
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
15915
17228
  {
15916
17229
  type: "error",
15917
- inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
15918
- name: "UUPSUnsupportedProxiableUUID"
17230
+ inputs: [
17231
+ { name: "oldHook", internalType: "address", type: "address" },
17232
+ { name: "newHook", internalType: "address", type: "address" }
17233
+ ],
17234
+ name: "UpgradePathNotRegistered"
15919
17235
  },
17236
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
17237
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
15920
17238
  {
15921
17239
  type: "error",
15922
- inputs: [{ name: "selector", internalType: "bytes4", type: "bytes4" }],
15923
- name: "UnknownUserAction"
17240
+ inputs: [{ name: "authority", internalType: "address", type: "address" }],
17241
+ name: "AccessManagedInvalidAuthority"
15924
17242
  },
17243
+ { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
17244
+ { type: "error", inputs: [], name: "AddressZero" },
17245
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
15925
17246
  {
15926
17247
  type: "error",
15927
17248
  inputs: [
15928
- { name: "expected", internalType: "string", type: "string" },
15929
- { name: "actual", internalType: "string", type: "string" }
17249
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
17250
+ { name: "expectedCoin", internalType: "address", type: "address" },
17251
+ { name: "actualCoin", internalType: "address", type: "address" }
15930
17252
  ],
15931
- name: "UpgradeToMismatchedContractName"
17253
+ name: "CoinMismatch"
15932
17254
  },
17255
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
17256
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
15933
17257
  {
15934
17258
  type: "error",
15935
17259
  inputs: [
15936
- { name: "user", internalType: "address", type: "address" },
15937
- { name: "limit", internalType: "uint256", type: "uint256" },
15938
- { name: "requestedAmount", internalType: "uint256", type: "uint256" }
17260
+ { name: "startTick", internalType: "int24", type: "int24" },
17261
+ { name: "endTick", internalType: "int24", type: "int24" },
17262
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
15939
17263
  ],
15940
- name: "UserExceedsMintLimit"
17264
+ name: "InvalidFillWindow"
15941
17265
  },
17266
+ { type: "error", inputs: [], name: "InvalidOrder" },
17267
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
17268
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
15942
17269
  {
15943
17270
  type: "error",
15944
17271
  inputs: [
15945
- { name: "user", internalType: "address", type: "address" },
15946
- { name: "tokenId", internalType: "uint256", type: "uint256" },
15947
- { name: "role", internalType: "uint256", type: "uint256" }
17272
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
17273
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
15948
17274
  ],
15949
- name: "UserMissingRoleForToken"
15950
- },
15951
- { type: "error", inputs: [], name: "WrongValueSent" },
15952
- {
15953
- type: "error",
15954
- inputs: [],
15955
- name: "premintSignerContractFailedToRecoverSigner"
17275
+ name: "MinAmountNotReached"
15956
17276
  },
15957
- { type: "error", inputs: [], name: "premintSignerContractNotAContract" }
17277
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
17278
+ { type: "error", inputs: [], name: "NotPoolManager" },
17279
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
17280
+ { type: "error", inputs: [], name: "OrderClosed" },
17281
+ { type: "error", inputs: [], name: "OrderNotMaker" },
17282
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17283
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
17284
+ { type: "error", inputs: [], name: "UnknownCallback" },
17285
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
17286
+ { type: "error", inputs: [], name: "ZeroMaker" },
17287
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
17288
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
15958
17289
  ];
15959
- var zoraMintsManagerImplAddress = {
15960
- 7777777: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B",
15961
- 999999999: "0x77777770cA269366c7208aFcF36FE2C6F7f7608B"
17290
+ var zoraRouterAddress = {
17291
+ 8453: "0x42E354928b1BD9082FAFc2dF01222827E9fD098F"
15962
17292
  };
15963
- var zoraMintsManagerImplConfig = {
15964
- address: zoraMintsManagerImplAddress,
15965
- abi: zoraMintsManagerImplABI
17293
+ var zoraRouterConfig = {
17294
+ address: zoraRouterAddress,
17295
+ abi: zoraRouterABI
15966
17296
  };
15967
17297
  var zoraSparks1155ABI = [
15968
17298
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
@@ -18883,6 +20213,20 @@ var chainConfigs2 = {
18883
20213
  PROXY_ADMIN: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
18884
20214
  ZORA_RECIPIENT: "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E",
18885
20215
  WETH: "0x4200000000000000000000000000000000000006"
20216
+ },
20217
+ NaN: {
20218
+ NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
20219
+ UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
20220
+ UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
20221
+ UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
20222
+ DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
20223
+ PROXY_ADMIN: "0xEAB37fbA9E4F99602815E173A7FeAee0f4eF980B",
20224
+ ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
20225
+ WETH: "0x4200000000000000000000000000000000000006",
20226
+ UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
20227
+ UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
20228
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
20229
+ UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
18886
20230
  }
18887
20231
  };
18888
20232
  var addresses2 = {
@@ -19024,9 +20368,6 @@ export {
19024
20368
  uniswapQuoterV2ABI,
19025
20369
  uniswapQuoterV2Address,
19026
20370
  uniswapQuoterV2Config,
19027
- uniswapUniversalRouterABI,
19028
- uniswapUniversalRouterAddress,
19029
- uniswapUniversalRouterConfig,
19030
20371
  uniswapV3SwapRouterABI,
19031
20372
  uniswapV3SwapRouterAddress,
19032
20373
  uniswapV3SwapRouterConfig,
@@ -19055,12 +20396,18 @@ export {
19055
20396
  zoraCreatorRedeemMinterFactoryABI,
19056
20397
  zoraCreatorRedeemMinterFactoryAddress,
19057
20398
  zoraCreatorRedeemMinterFactoryConfig,
20399
+ zoraLimitOrderBookABI,
20400
+ zoraLimitOrderBookAddress,
20401
+ zoraLimitOrderBookConfig,
19058
20402
  zoraMints1155ABI,
19059
20403
  zoraMints1155Address,
19060
20404
  zoraMints1155Config,
19061
20405
  zoraMintsManagerImplABI,
19062
20406
  zoraMintsManagerImplAddress,
19063
20407
  zoraMintsManagerImplConfig,
20408
+ zoraRouterABI,
20409
+ zoraRouterAddress,
20410
+ zoraRouterConfig,
19064
20411
  zoraSparks1155ABI,
19065
20412
  zoraSparks1155Address,
19066
20413
  zoraSparks1155Config,