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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1424,6 +1424,16 @@ var coinABI = [
1424
1424
  outputs: [{ name: "", internalType: "string", type: "string" }],
1425
1425
  stateMutability: "pure"
1426
1426
  },
1427
+ {
1428
+ type: "function",
1429
+ inputs: [],
1430
+ name: "creationInfo",
1431
+ outputs: [
1432
+ { name: "creationTimestamp", internalType: "uint256", type: "uint256" },
1433
+ { name: "isDeploying", internalType: "bool", type: "bool" }
1434
+ ],
1435
+ stateMutability: "view"
1436
+ },
1427
1437
  {
1428
1438
  type: "function",
1429
1439
  inputs: [],
@@ -2371,7 +2381,6 @@ var coinABI = [
2371
2381
  ],
2372
2382
  name: "InvalidAccountNonce"
2373
2383
  },
2374
- { type: "error", inputs: [], name: "InvalidCurrency" },
2375
2384
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
2376
2385
  { type: "error", inputs: [], name: "InvalidInitialization" },
2377
2386
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -2421,7 +2430,6 @@ var coinFactoryABI = [
2421
2430
  inputs: [
2422
2431
  { name: "coinV4Impl_", internalType: "address", type: "address" },
2423
2432
  { name: "creatorCoinImpl_", internalType: "address", type: "address" },
2424
- { name: "trendCoinImpl_", internalType: "address", type: "address" },
2425
2433
  { name: "hook_", internalType: "address", type: "address" },
2426
2434
  { name: "zoraHookRegistry_", internalType: "address", type: "address" }
2427
2435
  ],
@@ -2594,20 +2602,6 @@ var coinFactoryABI = [
2594
2602
  ],
2595
2603
  stateMutability: "payable"
2596
2604
  },
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
- },
2611
2605
  {
2612
2606
  type: "function",
2613
2607
  inputs: [
@@ -2693,20 +2687,6 @@ var coinFactoryABI = [
2693
2687
  outputs: [],
2694
2688
  stateMutability: "nonpayable"
2695
2689
  },
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
- },
2710
2690
  {
2711
2691
  type: "function",
2712
2692
  inputs: [
@@ -2842,12 +2822,6 @@ var coinFactoryABI = [
2842
2822
  type: "bytes32",
2843
2823
  indexed: false
2844
2824
  },
2845
- {
2846
- name: "poolConfig",
2847
- internalType: "bytes",
2848
- type: "bytes",
2849
- indexed: false
2850
- },
2851
2825
  {
2852
2826
  name: "version",
2853
2827
  internalType: "string",
@@ -2918,12 +2892,6 @@ var coinFactoryABI = [
2918
2892
  type: "bytes32",
2919
2893
  indexed: false
2920
2894
  },
2921
- {
2922
- name: "poolConfig",
2923
- internalType: "bytes",
2924
- type: "bytes",
2925
- indexed: false
2926
- },
2927
2895
  {
2928
2896
  name: "version",
2929
2897
  internalType: "string",
@@ -2984,62 +2952,6 @@ var coinFactoryABI = [
2984
2952
  ],
2985
2953
  name: "OwnershipTransferred"
2986
2954
  },
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
- },
3043
2955
  {
3044
2956
  type: "event",
3045
2957
  anonymous: false,
@@ -3113,11 +3025,6 @@ var coinFactoryABI = [
3113
3025
  name: "OwnableUnauthorizedAccount"
3114
3026
  },
3115
3027
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
3116
- {
3117
- type: "error",
3118
- inputs: [{ name: "ticker", internalType: "string", type: "string" }],
3119
- name: "TickerAlreadyUsed"
3120
- },
3121
3028
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3122
3029
  {
3123
3030
  type: "error",
@@ -3239,7 +3146,6 @@ var coinFactoryABI = [
3239
3146
  ],
3240
3147
  name: "InvalidAccountNonce"
3241
3148
  },
3242
- { type: "error", inputs: [], name: "InvalidCurrency" },
3243
3149
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
3244
3150
  { type: "error", inputs: [], name: "InvalidInitialization" },
3245
3151
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -3350,14 +3256,9 @@ var coinFactoryABI = [
3350
3256
  },
3351
3257
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
3352
3258
  { 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
3259
  { type: "error", inputs: [], name: "AddressZero" },
3360
3260
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
3261
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
3361
3262
  {
3362
3263
  type: "error",
3363
3264
  inputs: [
@@ -3393,11 +3294,24 @@ var coinFactoryABI = [
3393
3294
  { type: "error", inputs: [], name: "NotPoolManager" },
3394
3295
  { type: "error", inputs: [], name: "OnlyZoraHook" },
3395
3296
  { type: "error", inputs: [], name: "OrderClosed" },
3297
+ { type: "error", inputs: [], name: "OrderFillable" },
3396
3298
  { type: "error", inputs: [], name: "OrderNotMaker" },
3299
+ {
3300
+ type: "error",
3301
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
3302
+ name: "OwnableInvalidOwner"
3303
+ },
3304
+ {
3305
+ type: "error",
3306
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
3307
+ name: "OwnableUnauthorizedAccount"
3308
+ },
3397
3309
  { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
3310
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
3398
3311
  { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
3399
3312
  { type: "error", inputs: [], name: "UnknownCallback" },
3400
3313
  { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
3314
+ { type: "error", inputs: [], name: "WethTransferFailed" },
3401
3315
  { type: "error", inputs: [], name: "ZeroMaker" },
3402
3316
  { type: "error", inputs: [], name: "ZeroOrderSize" },
3403
3317
  { type: "error", inputs: [], name: "ZeroRealizedOrder" }
@@ -3523,6 +3437,16 @@ var coinV4ABI = [
3523
3437
  outputs: [{ name: "", internalType: "string", type: "string" }],
3524
3438
  stateMutability: "pure"
3525
3439
  },
3440
+ {
3441
+ type: "function",
3442
+ inputs: [],
3443
+ name: "creationInfo",
3444
+ outputs: [
3445
+ { name: "creationTimestamp", internalType: "uint256", type: "uint256" },
3446
+ { name: "isDeploying", internalType: "bool", type: "bool" }
3447
+ ],
3448
+ stateMutability: "view"
3449
+ },
3526
3450
  {
3527
3451
  type: "function",
3528
3452
  inputs: [],
@@ -6349,9 +6273,2455 @@ var commentsAddress = {
6349
6273
  11155420: "0x7777777C2B3132e03a65721a41745C07170a5877",
6350
6274
  999999999: "0x7777777C2B3132e03a65721a41745C07170a5877"
6351
6275
  };
6352
- var commentsConfig = {
6353
- address: commentsAddress,
6354
- abi: commentsABI
6276
+ var commentsConfig = {
6277
+ address: commentsAddress,
6278
+ abi: commentsABI
6279
+ };
6280
+ var devBuySupplyWithSwapRouterHookABI = [
6281
+ {
6282
+ type: "constructor",
6283
+ inputs: [
6284
+ {
6285
+ name: "_factory",
6286
+ internalType: "contract IZoraFactory",
6287
+ type: "address"
6288
+ },
6289
+ { name: "_swapRouter", internalType: "address", type: "address" },
6290
+ { name: "_poolManager", internalType: "address", type: "address" }
6291
+ ],
6292
+ stateMutability: "nonpayable"
6293
+ },
6294
+ {
6295
+ type: "function",
6296
+ inputs: [
6297
+ { name: "sender", internalType: "address", type: "address" },
6298
+ { name: "coin", internalType: "contract ICoin", type: "address" },
6299
+ { name: "hookData", internalType: "bytes", type: "bytes" }
6300
+ ],
6301
+ name: "afterCoinDeploy",
6302
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
6303
+ stateMutability: "payable"
6304
+ },
6305
+ {
6306
+ type: "function",
6307
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
6308
+ name: "decodeV4RouteData",
6309
+ outputs: [
6310
+ {
6311
+ name: "v4Route",
6312
+ internalType: "struct PoolKey[]",
6313
+ type: "tuple[]",
6314
+ components: [
6315
+ { name: "currency0", internalType: "Currency", type: "address" },
6316
+ { name: "currency1", internalType: "Currency", type: "address" },
6317
+ { name: "fee", internalType: "uint24", type: "uint24" },
6318
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
6319
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
6320
+ ]
6321
+ },
6322
+ { name: "startAmount", internalType: "uint256", type: "uint256" }
6323
+ ],
6324
+ stateMutability: "pure"
6325
+ },
6326
+ {
6327
+ type: "function",
6328
+ inputs: [
6329
+ {
6330
+ name: "params",
6331
+ internalType: "struct BuySupplyWithV4SwapHook.InitialSupplyParams",
6332
+ type: "tuple",
6333
+ components: [
6334
+ { name: "buyRecipient", internalType: "address", type: "address" },
6335
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
6336
+ {
6337
+ name: "v4Route",
6338
+ internalType: "struct PoolKey[]",
6339
+ type: "tuple[]",
6340
+ components: [
6341
+ { name: "currency0", internalType: "Currency", type: "address" },
6342
+ { name: "currency1", internalType: "Currency", type: "address" },
6343
+ { name: "fee", internalType: "uint24", type: "uint24" },
6344
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
6345
+ {
6346
+ name: "hooks",
6347
+ internalType: "contract IHooks",
6348
+ type: "address"
6349
+ }
6350
+ ]
6351
+ },
6352
+ { name: "inputCurrency", internalType: "address", type: "address" },
6353
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
6354
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
6355
+ ]
6356
+ }
6357
+ ],
6358
+ name: "encodeBuySupplyWithV4SwapHookData",
6359
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
6360
+ stateMutability: "pure"
6361
+ },
6362
+ {
6363
+ type: "function",
6364
+ inputs: [],
6365
+ name: "factory",
6366
+ outputs: [
6367
+ { name: "", internalType: "contract IZoraFactory", type: "address" }
6368
+ ],
6369
+ stateMutability: "view"
6370
+ },
6371
+ {
6372
+ type: "function",
6373
+ inputs: [],
6374
+ name: "poolManager",
6375
+ outputs: [
6376
+ { name: "", internalType: "contract IPoolManager", type: "address" }
6377
+ ],
6378
+ stateMutability: "view"
6379
+ },
6380
+ {
6381
+ type: "function",
6382
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
6383
+ name: "supportsInterface",
6384
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
6385
+ stateMutability: "pure"
6386
+ },
6387
+ {
6388
+ type: "function",
6389
+ inputs: [],
6390
+ name: "swapRouter",
6391
+ outputs: [
6392
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
6393
+ ],
6394
+ stateMutability: "view"
6395
+ },
6396
+ {
6397
+ type: "function",
6398
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
6399
+ name: "unlockCallback",
6400
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
6401
+ stateMutability: "nonpayable"
6402
+ },
6403
+ {
6404
+ type: "event",
6405
+ anonymous: false,
6406
+ inputs: [
6407
+ { name: "coin", internalType: "address", type: "address", indexed: true },
6408
+ {
6409
+ name: "recipient",
6410
+ internalType: "address",
6411
+ type: "address",
6412
+ indexed: true
6413
+ },
6414
+ {
6415
+ name: "coinsPurchased",
6416
+ internalType: "uint256",
6417
+ type: "uint256",
6418
+ indexed: true
6419
+ },
6420
+ { name: "v3Route", internalType: "bytes", type: "bytes", indexed: false },
6421
+ {
6422
+ name: "v4Route",
6423
+ internalType: "struct PoolKey[]",
6424
+ type: "tuple[]",
6425
+ components: [
6426
+ { name: "currency0", internalType: "Currency", type: "address" },
6427
+ { name: "currency1", internalType: "Currency", type: "address" },
6428
+ { name: "fee", internalType: "uint24", type: "uint24" },
6429
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
6430
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
6431
+ ],
6432
+ indexed: false
6433
+ },
6434
+ {
6435
+ name: "inputCurrency",
6436
+ internalType: "address",
6437
+ type: "address",
6438
+ indexed: false
6439
+ },
6440
+ {
6441
+ name: "inputAmount",
6442
+ internalType: "uint256",
6443
+ type: "uint256",
6444
+ indexed: false
6445
+ },
6446
+ {
6447
+ name: "v4SwapInput",
6448
+ internalType: "uint256",
6449
+ type: "uint256",
6450
+ indexed: false
6451
+ }
6452
+ ],
6453
+ name: "BuyInitialSupply"
6454
+ },
6455
+ { type: "error", inputs: [], name: "AddressZero" },
6456
+ { type: "error", inputs: [], name: "HookNotImplemented" },
6457
+ {
6458
+ type: "error",
6459
+ inputs: [
6460
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
6461
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
6462
+ ],
6463
+ name: "InsufficientInputCurrency"
6464
+ },
6465
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
6466
+ { type: "error", inputs: [], name: "NotFactory" },
6467
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
6468
+ {
6469
+ type: "error",
6470
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
6471
+ name: "SafeERC20FailedOperation"
6472
+ },
6473
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" }
6474
+ ];
6475
+ var devBuySupplyWithSwapRouterHookAddress = {};
6476
+ var devBuySupplyWithSwapRouterHookConfig = {
6477
+ address: devBuySupplyWithSwapRouterHookAddress,
6478
+ abi: devBuySupplyWithSwapRouterHookABI
6479
+ };
6480
+ var devCoinFactoryABI = [
6481
+ {
6482
+ type: "constructor",
6483
+ inputs: [
6484
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
6485
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
6486
+ { name: "hook_", internalType: "address", type: "address" },
6487
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
6488
+ ],
6489
+ stateMutability: "nonpayable"
6490
+ },
6491
+ {
6492
+ type: "function",
6493
+ inputs: [],
6494
+ name: "UPGRADE_INTERFACE_VERSION",
6495
+ outputs: [{ name: "", internalType: "string", type: "string" }],
6496
+ stateMutability: "view"
6497
+ },
6498
+ {
6499
+ type: "function",
6500
+ inputs: [],
6501
+ name: "acceptOwnership",
6502
+ outputs: [],
6503
+ stateMutability: "nonpayable"
6504
+ },
6505
+ {
6506
+ type: "function",
6507
+ inputs: [
6508
+ { name: "msgSender", internalType: "address", type: "address" },
6509
+ { name: "name", internalType: "string", type: "string" },
6510
+ { name: "symbol", internalType: "string", type: "string" },
6511
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6512
+ { name: "platformReferrer", internalType: "address", type: "address" },
6513
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
6514
+ ],
6515
+ name: "coinAddress",
6516
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6517
+ stateMutability: "view"
6518
+ },
6519
+ {
6520
+ type: "function",
6521
+ inputs: [],
6522
+ name: "coinV4Impl",
6523
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6524
+ stateMutability: "view"
6525
+ },
6526
+ {
6527
+ type: "function",
6528
+ inputs: [],
6529
+ name: "contentCoinHook",
6530
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6531
+ stateMutability: "view"
6532
+ },
6533
+ {
6534
+ type: "function",
6535
+ inputs: [],
6536
+ name: "contractName",
6537
+ outputs: [{ name: "", internalType: "string", type: "string" }],
6538
+ stateMutability: "pure"
6539
+ },
6540
+ {
6541
+ type: "function",
6542
+ inputs: [],
6543
+ name: "contractVersion",
6544
+ outputs: [{ name: "", internalType: "string", type: "string" }],
6545
+ stateMutability: "pure"
6546
+ },
6547
+ {
6548
+ type: "function",
6549
+ inputs: [],
6550
+ name: "creatorCoinHook",
6551
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6552
+ stateMutability: "view"
6553
+ },
6554
+ {
6555
+ type: "function",
6556
+ inputs: [],
6557
+ name: "creatorCoinImpl",
6558
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6559
+ stateMutability: "view"
6560
+ },
6561
+ {
6562
+ type: "function",
6563
+ inputs: [
6564
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6565
+ { name: "owners", internalType: "address[]", type: "address[]" },
6566
+ { name: "uri", internalType: "string", type: "string" },
6567
+ { name: "name", internalType: "string", type: "string" },
6568
+ { name: "symbol", internalType: "string", type: "string" },
6569
+ { name: "platformReferrer", internalType: "address", type: "address" },
6570
+ { name: "currency", internalType: "address", type: "address" },
6571
+ { name: "", internalType: "int24", type: "int24" },
6572
+ { name: "", internalType: "uint256", type: "uint256" }
6573
+ ],
6574
+ name: "deploy",
6575
+ outputs: [
6576
+ { name: "", internalType: "address", type: "address" },
6577
+ { name: "", internalType: "uint256", type: "uint256" }
6578
+ ],
6579
+ stateMutability: "payable"
6580
+ },
6581
+ {
6582
+ type: "function",
6583
+ inputs: [
6584
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6585
+ { name: "owners", internalType: "address[]", type: "address[]" },
6586
+ { name: "uri", internalType: "string", type: "string" },
6587
+ { name: "name", internalType: "string", type: "string" },
6588
+ { name: "symbol", internalType: "string", type: "string" },
6589
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6590
+ { name: "platformReferrer", internalType: "address", type: "address" },
6591
+ { name: "postDeployHook", internalType: "address", type: "address" },
6592
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
6593
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
6594
+ ],
6595
+ name: "deploy",
6596
+ outputs: [
6597
+ { name: "coin", internalType: "address", type: "address" },
6598
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
6599
+ ],
6600
+ stateMutability: "payable"
6601
+ },
6602
+ {
6603
+ type: "function",
6604
+ inputs: [
6605
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6606
+ { name: "owners", internalType: "address[]", type: "address[]" },
6607
+ { name: "uri", internalType: "string", type: "string" },
6608
+ { name: "name", internalType: "string", type: "string" },
6609
+ { name: "symbol", internalType: "string", type: "string" },
6610
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6611
+ { name: "platformReferrer", internalType: "address", type: "address" },
6612
+ { name: "", internalType: "uint256", type: "uint256" }
6613
+ ],
6614
+ name: "deploy",
6615
+ outputs: [
6616
+ { name: "", internalType: "address", type: "address" },
6617
+ { name: "", internalType: "uint256", type: "uint256" }
6618
+ ],
6619
+ stateMutability: "payable"
6620
+ },
6621
+ {
6622
+ type: "function",
6623
+ inputs: [
6624
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6625
+ { name: "owners", internalType: "address[]", type: "address[]" },
6626
+ { name: "uri", internalType: "string", type: "string" },
6627
+ { name: "name", internalType: "string", type: "string" },
6628
+ { name: "symbol", internalType: "string", type: "string" },
6629
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6630
+ { name: "platformReferrer", internalType: "address", type: "address" },
6631
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
6632
+ ],
6633
+ name: "deployCreatorCoin",
6634
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6635
+ stateMutability: "nonpayable"
6636
+ },
6637
+ {
6638
+ type: "function",
6639
+ inputs: [
6640
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6641
+ { name: "owners", internalType: "address[]", type: "address[]" },
6642
+ { name: "uri", internalType: "string", type: "string" },
6643
+ { name: "name", internalType: "string", type: "string" },
6644
+ { name: "symbol", internalType: "string", type: "string" },
6645
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6646
+ { name: "platformReferrer", internalType: "address", type: "address" },
6647
+ { name: "postDeployHook", internalType: "address", type: "address" },
6648
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
6649
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
6650
+ ],
6651
+ name: "deployCreatorCoin",
6652
+ outputs: [
6653
+ { name: "coin", internalType: "address", type: "address" },
6654
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
6655
+ ],
6656
+ stateMutability: "payable"
6657
+ },
6658
+ {
6659
+ type: "function",
6660
+ inputs: [
6661
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6662
+ { name: "owners", internalType: "address[]", type: "address[]" },
6663
+ { name: "uri", internalType: "string", type: "string" },
6664
+ { name: "name", internalType: "string", type: "string" },
6665
+ { name: "symbol", internalType: "string", type: "string" },
6666
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6667
+ { name: "platformReferrer", internalType: "address", type: "address" },
6668
+ { name: "deployHook", internalType: "address", type: "address" },
6669
+ { name: "hookData", internalType: "bytes", type: "bytes" }
6670
+ ],
6671
+ name: "deployWithHook",
6672
+ outputs: [
6673
+ { name: "coin", internalType: "address", type: "address" },
6674
+ { name: "hookDataOut", internalType: "bytes", type: "bytes" }
6675
+ ],
6676
+ stateMutability: "payable"
6677
+ },
6678
+ {
6679
+ type: "function",
6680
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
6681
+ name: "getVersionForDeployedCoin",
6682
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
6683
+ stateMutability: "view"
6684
+ },
6685
+ {
6686
+ type: "function",
6687
+ inputs: [],
6688
+ name: "hook",
6689
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6690
+ stateMutability: "view"
6691
+ },
6692
+ {
6693
+ type: "function",
6694
+ inputs: [],
6695
+ name: "implementation",
6696
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6697
+ stateMutability: "view"
6698
+ },
6699
+ {
6700
+ type: "function",
6701
+ inputs: [
6702
+ { name: "initialOwner", internalType: "address", type: "address" }
6703
+ ],
6704
+ name: "initialize",
6705
+ outputs: [],
6706
+ stateMutability: "nonpayable"
6707
+ },
6708
+ {
6709
+ type: "function",
6710
+ inputs: [],
6711
+ name: "owner",
6712
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6713
+ stateMutability: "view"
6714
+ },
6715
+ {
6716
+ type: "function",
6717
+ inputs: [],
6718
+ name: "pendingOwner",
6719
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6720
+ stateMutability: "view"
6721
+ },
6722
+ {
6723
+ type: "function",
6724
+ inputs: [],
6725
+ name: "proxiableUUID",
6726
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
6727
+ stateMutability: "view"
6728
+ },
6729
+ {
6730
+ type: "function",
6731
+ inputs: [],
6732
+ name: "renounceOwnership",
6733
+ outputs: [],
6734
+ stateMutability: "nonpayable"
6735
+ },
6736
+ {
6737
+ type: "function",
6738
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
6739
+ name: "transferOwnership",
6740
+ outputs: [],
6741
+ stateMutability: "nonpayable"
6742
+ },
6743
+ {
6744
+ type: "function",
6745
+ inputs: [
6746
+ { name: "newImplementation", internalType: "address", type: "address" },
6747
+ { name: "data", internalType: "bytes", type: "bytes" }
6748
+ ],
6749
+ name: "upgradeToAndCall",
6750
+ outputs: [],
6751
+ stateMutability: "payable"
6752
+ },
6753
+ {
6754
+ type: "function",
6755
+ inputs: [],
6756
+ name: "zoraHookRegistry",
6757
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6758
+ stateMutability: "view"
6759
+ },
6760
+ {
6761
+ type: "event",
6762
+ anonymous: false,
6763
+ inputs: [
6764
+ {
6765
+ name: "caller",
6766
+ internalType: "address",
6767
+ type: "address",
6768
+ indexed: true
6769
+ },
6770
+ {
6771
+ name: "payoutRecipient",
6772
+ internalType: "address",
6773
+ type: "address",
6774
+ indexed: true
6775
+ },
6776
+ {
6777
+ name: "platformReferrer",
6778
+ internalType: "address",
6779
+ type: "address",
6780
+ indexed: true
6781
+ },
6782
+ {
6783
+ name: "currency",
6784
+ internalType: "address",
6785
+ type: "address",
6786
+ indexed: false
6787
+ },
6788
+ { name: "uri", internalType: "string", type: "string", indexed: false },
6789
+ { name: "name", internalType: "string", type: "string", indexed: false },
6790
+ {
6791
+ name: "symbol",
6792
+ internalType: "string",
6793
+ type: "string",
6794
+ indexed: false
6795
+ },
6796
+ {
6797
+ name: "coin",
6798
+ internalType: "address",
6799
+ type: "address",
6800
+ indexed: false
6801
+ },
6802
+ {
6803
+ name: "pool",
6804
+ internalType: "address",
6805
+ type: "address",
6806
+ indexed: false
6807
+ },
6808
+ {
6809
+ name: "version",
6810
+ internalType: "string",
6811
+ type: "string",
6812
+ indexed: false
6813
+ }
6814
+ ],
6815
+ name: "CoinCreated"
6816
+ },
6817
+ {
6818
+ type: "event",
6819
+ anonymous: false,
6820
+ inputs: [
6821
+ {
6822
+ name: "caller",
6823
+ internalType: "address",
6824
+ type: "address",
6825
+ indexed: true
6826
+ },
6827
+ {
6828
+ name: "payoutRecipient",
6829
+ internalType: "address",
6830
+ type: "address",
6831
+ indexed: true
6832
+ },
6833
+ {
6834
+ name: "platformReferrer",
6835
+ internalType: "address",
6836
+ type: "address",
6837
+ indexed: true
6838
+ },
6839
+ {
6840
+ name: "currency",
6841
+ internalType: "address",
6842
+ type: "address",
6843
+ indexed: false
6844
+ },
6845
+ { name: "uri", internalType: "string", type: "string", indexed: false },
6846
+ { name: "name", internalType: "string", type: "string", indexed: false },
6847
+ {
6848
+ name: "symbol",
6849
+ internalType: "string",
6850
+ type: "string",
6851
+ indexed: false
6852
+ },
6853
+ {
6854
+ name: "coin",
6855
+ internalType: "address",
6856
+ type: "address",
6857
+ indexed: false
6858
+ },
6859
+ {
6860
+ name: "poolKey",
6861
+ internalType: "struct PoolKey",
6862
+ type: "tuple",
6863
+ components: [
6864
+ { name: "currency0", internalType: "Currency", type: "address" },
6865
+ { name: "currency1", internalType: "Currency", type: "address" },
6866
+ { name: "fee", internalType: "uint24", type: "uint24" },
6867
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
6868
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
6869
+ ],
6870
+ indexed: false
6871
+ },
6872
+ {
6873
+ name: "poolKeyHash",
6874
+ internalType: "bytes32",
6875
+ type: "bytes32",
6876
+ indexed: false
6877
+ },
6878
+ {
6879
+ name: "version",
6880
+ internalType: "string",
6881
+ type: "string",
6882
+ indexed: false
6883
+ }
6884
+ ],
6885
+ name: "CoinCreatedV4"
6886
+ },
6887
+ {
6888
+ type: "event",
6889
+ anonymous: false,
6890
+ inputs: [
6891
+ {
6892
+ name: "caller",
6893
+ internalType: "address",
6894
+ type: "address",
6895
+ indexed: true
6896
+ },
6897
+ {
6898
+ name: "payoutRecipient",
6899
+ internalType: "address",
6900
+ type: "address",
6901
+ indexed: true
6902
+ },
6903
+ {
6904
+ name: "platformReferrer",
6905
+ internalType: "address",
6906
+ type: "address",
6907
+ indexed: true
6908
+ },
6909
+ {
6910
+ name: "currency",
6911
+ internalType: "address",
6912
+ type: "address",
6913
+ indexed: false
6914
+ },
6915
+ { name: "uri", internalType: "string", type: "string", indexed: false },
6916
+ { name: "name", internalType: "string", type: "string", indexed: false },
6917
+ {
6918
+ name: "symbol",
6919
+ internalType: "string",
6920
+ type: "string",
6921
+ indexed: false
6922
+ },
6923
+ {
6924
+ name: "coin",
6925
+ internalType: "address",
6926
+ type: "address",
6927
+ indexed: false
6928
+ },
6929
+ {
6930
+ name: "poolKey",
6931
+ internalType: "struct PoolKey",
6932
+ type: "tuple",
6933
+ components: [
6934
+ { name: "currency0", internalType: "Currency", type: "address" },
6935
+ { name: "currency1", internalType: "Currency", type: "address" },
6936
+ { name: "fee", internalType: "uint24", type: "uint24" },
6937
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
6938
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
6939
+ ],
6940
+ indexed: false
6941
+ },
6942
+ {
6943
+ name: "poolKeyHash",
6944
+ internalType: "bytes32",
6945
+ type: "bytes32",
6946
+ indexed: false
6947
+ },
6948
+ {
6949
+ name: "version",
6950
+ internalType: "string",
6951
+ type: "string",
6952
+ indexed: false
6953
+ }
6954
+ ],
6955
+ name: "CreatorCoinCreated"
6956
+ },
6957
+ {
6958
+ type: "event",
6959
+ anonymous: false,
6960
+ inputs: [
6961
+ {
6962
+ name: "version",
6963
+ internalType: "uint64",
6964
+ type: "uint64",
6965
+ indexed: false
6966
+ }
6967
+ ],
6968
+ name: "Initialized"
6969
+ },
6970
+ {
6971
+ type: "event",
6972
+ anonymous: false,
6973
+ inputs: [
6974
+ {
6975
+ name: "previousOwner",
6976
+ internalType: "address",
6977
+ type: "address",
6978
+ indexed: true
6979
+ },
6980
+ {
6981
+ name: "newOwner",
6982
+ internalType: "address",
6983
+ type: "address",
6984
+ indexed: true
6985
+ }
6986
+ ],
6987
+ name: "OwnershipTransferStarted"
6988
+ },
6989
+ {
6990
+ type: "event",
6991
+ anonymous: false,
6992
+ inputs: [
6993
+ {
6994
+ name: "previousOwner",
6995
+ internalType: "address",
6996
+ type: "address",
6997
+ indexed: true
6998
+ },
6999
+ {
7000
+ name: "newOwner",
7001
+ internalType: "address",
7002
+ type: "address",
7003
+ indexed: true
7004
+ }
7005
+ ],
7006
+ name: "OwnershipTransferred"
7007
+ },
7008
+ {
7009
+ type: "event",
7010
+ anonymous: false,
7011
+ inputs: [
7012
+ {
7013
+ name: "implementation",
7014
+ internalType: "address",
7015
+ type: "address",
7016
+ indexed: true
7017
+ }
7018
+ ],
7019
+ name: "Upgraded"
7020
+ },
7021
+ {
7022
+ type: "error",
7023
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
7024
+ name: "AddressEmptyCode"
7025
+ },
7026
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
7027
+ { type: "error", inputs: [], name: "ConfigTickLowerMustBeLessThanTickUpper" },
7028
+ { type: "error", inputs: [], name: "Deprecated" },
7029
+ {
7030
+ type: "error",
7031
+ inputs: [
7032
+ { name: "implementation", internalType: "address", type: "address" }
7033
+ ],
7034
+ name: "ERC1967InvalidImplementation"
7035
+ },
7036
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
7037
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
7038
+ { type: "error", inputs: [], name: "FailedCall" },
7039
+ { type: "error", inputs: [], name: "FailedDeployment" },
7040
+ {
7041
+ type: "error",
7042
+ inputs: [
7043
+ { name: "balance", internalType: "uint256", type: "uint256" },
7044
+ { name: "needed", internalType: "uint256", type: "uint256" }
7045
+ ],
7046
+ name: "InsufficientBalance"
7047
+ },
7048
+ { type: "error", inputs: [], name: "InvalidConfig" },
7049
+ { type: "error", inputs: [], name: "InvalidHook" },
7050
+ { type: "error", inputs: [], name: "InvalidInitialization" },
7051
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
7052
+ {
7053
+ type: "error",
7054
+ inputs: [
7055
+ { name: "tickLower", internalType: "int24", type: "int24" },
7056
+ { name: "tickUpper", internalType: "int24", type: "int24" }
7057
+ ],
7058
+ name: "InvalidTickRangeMisordered"
7059
+ },
7060
+ {
7061
+ type: "error",
7062
+ inputs: [
7063
+ { name: "value", internalType: "uint256", type: "uint256" },
7064
+ { name: "limit", internalType: "uint256", type: "uint256" }
7065
+ ],
7066
+ name: "MaxShareToBeSoldExceeded"
7067
+ },
7068
+ { type: "error", inputs: [], name: "NotInitializing" },
7069
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
7070
+ {
7071
+ type: "error",
7072
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
7073
+ name: "OwnableInvalidOwner"
7074
+ },
7075
+ {
7076
+ type: "error",
7077
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
7078
+ name: "OwnableUnauthorizedAccount"
7079
+ },
7080
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
7081
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
7082
+ {
7083
+ type: "error",
7084
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
7085
+ name: "UUPSUnsupportedProxiableUUID"
7086
+ },
7087
+ {
7088
+ type: "error",
7089
+ inputs: [
7090
+ { name: "currentName", internalType: "string", type: "string" },
7091
+ { name: "newName", internalType: "string", type: "string" }
7092
+ ],
7093
+ name: "UpgradeToMismatchedContractName"
7094
+ },
7095
+ { type: "error", inputs: [], name: "ZeroDiscoveryPositions" },
7096
+ { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" },
7097
+ { type: "error", inputs: [], name: "AddressZero" },
7098
+ { type: "error", inputs: [], name: "HookNotImplemented" },
7099
+ {
7100
+ type: "error",
7101
+ inputs: [
7102
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
7103
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
7104
+ ],
7105
+ name: "InsufficientInputCurrency"
7106
+ },
7107
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
7108
+ { type: "error", inputs: [], name: "NotFactory" },
7109
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
7110
+ {
7111
+ type: "error",
7112
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
7113
+ name: "SafeERC20FailedOperation"
7114
+ },
7115
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
7116
+ { type: "error", inputs: [], name: "AddressZero" },
7117
+ { type: "error", inputs: [], name: "AlreadyOwner" },
7118
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
7119
+ {
7120
+ type: "error",
7121
+ inputs: [],
7122
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
7123
+ },
7124
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
7125
+ {
7126
+ type: "error",
7127
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
7128
+ name: "ECDSAInvalidSignatureLength"
7129
+ },
7130
+ {
7131
+ type: "error",
7132
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
7133
+ name: "ECDSAInvalidSignatureS"
7134
+ },
7135
+ {
7136
+ type: "error",
7137
+ inputs: [
7138
+ { name: "spender", internalType: "address", type: "address" },
7139
+ { name: "allowance", internalType: "uint256", type: "uint256" },
7140
+ { name: "needed", internalType: "uint256", type: "uint256" }
7141
+ ],
7142
+ name: "ERC20InsufficientAllowance"
7143
+ },
7144
+ {
7145
+ type: "error",
7146
+ inputs: [
7147
+ { name: "sender", internalType: "address", type: "address" },
7148
+ { name: "balance", internalType: "uint256", type: "uint256" },
7149
+ { name: "needed", internalType: "uint256", type: "uint256" }
7150
+ ],
7151
+ name: "ERC20InsufficientBalance"
7152
+ },
7153
+ {
7154
+ type: "error",
7155
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
7156
+ name: "ERC20InvalidApprover"
7157
+ },
7158
+ {
7159
+ type: "error",
7160
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
7161
+ name: "ERC20InvalidReceiver"
7162
+ },
7163
+ {
7164
+ type: "error",
7165
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
7166
+ name: "ERC20InvalidSender"
7167
+ },
7168
+ {
7169
+ type: "error",
7170
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
7171
+ name: "ERC20InvalidSpender"
7172
+ },
7173
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
7174
+ {
7175
+ type: "error",
7176
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
7177
+ name: "ERC2612ExpiredSignature"
7178
+ },
7179
+ {
7180
+ type: "error",
7181
+ inputs: [
7182
+ { name: "signer", internalType: "address", type: "address" },
7183
+ { name: "owner", internalType: "address", type: "address" }
7184
+ ],
7185
+ name: "ERC2612InvalidSigner"
7186
+ },
7187
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
7188
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
7189
+ { type: "error", inputs: [], name: "EthTransferFailed" },
7190
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
7191
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
7192
+ { type: "error", inputs: [], name: "InsufficientFunds" },
7193
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
7194
+ {
7195
+ type: "error",
7196
+ inputs: [
7197
+ { name: "account", internalType: "address", type: "address" },
7198
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
7199
+ ],
7200
+ name: "InvalidAccountNonce"
7201
+ },
7202
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
7203
+ { type: "error", inputs: [], name: "InvalidInitialization" },
7204
+ { type: "error", inputs: [], name: "InvalidMarketType" },
7205
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
7206
+ {
7207
+ type: "error",
7208
+ inputs: [
7209
+ { name: "tickLower", internalType: "int24", type: "int24" },
7210
+ { name: "tickUpper", internalType: "int24", type: "int24" }
7211
+ ],
7212
+ name: "InvalidTickRangeMisordered"
7213
+ },
7214
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
7215
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
7216
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
7217
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
7218
+ {
7219
+ type: "error",
7220
+ inputs: [
7221
+ { name: "value", internalType: "uint256", type: "uint256" },
7222
+ { name: "limit", internalType: "uint256", type: "uint256" }
7223
+ ],
7224
+ name: "MaxShareToBeSoldExceeded"
7225
+ },
7226
+ { type: "error", inputs: [], name: "NameIsRequired" },
7227
+ { type: "error", inputs: [], name: "NotInitializing" },
7228
+ { type: "error", inputs: [], name: "NotOwner" },
7229
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
7230
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
7231
+ { type: "error", inputs: [], name: "OnlyOwner" },
7232
+ {
7233
+ type: "error",
7234
+ inputs: [
7235
+ { name: "sender", internalType: "address", type: "address" },
7236
+ { name: "pool", internalType: "address", type: "address" }
7237
+ ],
7238
+ name: "OnlyPool"
7239
+ },
7240
+ { type: "error", inputs: [], name: "OnlyWeth" },
7241
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
7242
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
7243
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
7244
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
7245
+ { type: "error", inputs: [], name: "EthTransferFailed" },
7246
+ { type: "error", inputs: [], name: "HookNotImplemented" },
7247
+ {
7248
+ type: "error",
7249
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
7250
+ name: "InvalidCallbackId"
7251
+ },
7252
+ {
7253
+ type: "error",
7254
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
7255
+ name: "InvalidNewHook"
7256
+ },
7257
+ {
7258
+ type: "error",
7259
+ inputs: [
7260
+ {
7261
+ name: "key",
7262
+ internalType: "struct PoolKey",
7263
+ type: "tuple",
7264
+ components: [
7265
+ { name: "currency0", internalType: "Currency", type: "address" },
7266
+ { name: "currency1", internalType: "Currency", type: "address" },
7267
+ { name: "fee", internalType: "uint24", type: "uint24" },
7268
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
7269
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
7270
+ ]
7271
+ }
7272
+ ],
7273
+ name: "NoCoinForHook"
7274
+ },
7275
+ {
7276
+ type: "error",
7277
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
7278
+ name: "NotACoin"
7279
+ },
7280
+ { type: "error", inputs: [], name: "NotPoolManager" },
7281
+ {
7282
+ type: "error",
7283
+ inputs: [
7284
+ { name: "caller", internalType: "address", type: "address" },
7285
+ { name: "expectedCoin", internalType: "address", type: "address" }
7286
+ ],
7287
+ name: "OnlyCoin"
7288
+ },
7289
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
7290
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
7291
+ {
7292
+ type: "error",
7293
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
7294
+ name: "SafeERC20FailedOperation"
7295
+ },
7296
+ {
7297
+ type: "error",
7298
+ inputs: [],
7299
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
7300
+ },
7301
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
7302
+ {
7303
+ type: "error",
7304
+ inputs: [
7305
+ { name: "oldHook", internalType: "address", type: "address" },
7306
+ { name: "newHook", internalType: "address", type: "address" }
7307
+ ],
7308
+ name: "UpgradePathNotRegistered"
7309
+ },
7310
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
7311
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
7312
+ { type: "error", inputs: [], name: "AddressZero" },
7313
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
7314
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
7315
+ {
7316
+ type: "error",
7317
+ inputs: [
7318
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
7319
+ { name: "expectedCoin", internalType: "address", type: "address" },
7320
+ { name: "actualCoin", internalType: "address", type: "address" }
7321
+ ],
7322
+ name: "CoinMismatch"
7323
+ },
7324
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
7325
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
7326
+ {
7327
+ type: "error",
7328
+ inputs: [
7329
+ { name: "startTick", internalType: "int24", type: "int24" },
7330
+ { name: "endTick", internalType: "int24", type: "int24" },
7331
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
7332
+ ],
7333
+ name: "InvalidFillWindow"
7334
+ },
7335
+ { type: "error", inputs: [], name: "InvalidOrder" },
7336
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
7337
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
7338
+ {
7339
+ type: "error",
7340
+ inputs: [
7341
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
7342
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
7343
+ ],
7344
+ name: "MinAmountNotReached"
7345
+ },
7346
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
7347
+ { type: "error", inputs: [], name: "NotPoolManager" },
7348
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
7349
+ { type: "error", inputs: [], name: "OrderClosed" },
7350
+ { type: "error", inputs: [], name: "OrderFillable" },
7351
+ { type: "error", inputs: [], name: "OrderNotMaker" },
7352
+ {
7353
+ type: "error",
7354
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
7355
+ name: "OwnableInvalidOwner"
7356
+ },
7357
+ {
7358
+ type: "error",
7359
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
7360
+ name: "OwnableUnauthorizedAccount"
7361
+ },
7362
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
7363
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
7364
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
7365
+ { type: "error", inputs: [], name: "UnknownCallback" },
7366
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
7367
+ { type: "error", inputs: [], name: "WethTransferFailed" },
7368
+ { type: "error", inputs: [], name: "ZeroMaker" },
7369
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
7370
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
7371
+ ];
7372
+ var devCoinFactoryAddress = {
7373
+ 8453: "0xfAf4978830e099F0952eBabC89fEb0B18Ba771D8"
7374
+ };
7375
+ var devCoinFactoryConfig = {
7376
+ address: devCoinFactoryAddress,
7377
+ abi: devCoinFactoryABI
7378
+ };
7379
+ var devZoraLimitOrderBookABI = [
7380
+ {
7381
+ type: "constructor",
7382
+ inputs: [
7383
+ { name: "poolManager_", internalType: "address", type: "address" },
7384
+ {
7385
+ name: "zoraCoinVersionLookup_",
7386
+ internalType: "address",
7387
+ type: "address"
7388
+ },
7389
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" },
7390
+ { name: "owner_", internalType: "address", type: "address" },
7391
+ { name: "weth_", internalType: "address", type: "address" }
7392
+ ],
7393
+ stateMutability: "nonpayable"
7394
+ },
7395
+ { type: "receive", stateMutability: "payable" },
7396
+ {
7397
+ type: "function",
7398
+ inputs: [],
7399
+ name: "acceptOwnership",
7400
+ outputs: [],
7401
+ stateMutability: "nonpayable"
7402
+ },
7403
+ {
7404
+ type: "function",
7405
+ inputs: [
7406
+ { name: "maker", internalType: "address", type: "address" },
7407
+ { name: "coin", internalType: "address", type: "address" }
7408
+ ],
7409
+ name: "balanceOf",
7410
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
7411
+ stateMutability: "view"
7412
+ },
7413
+ {
7414
+ type: "function",
7415
+ inputs: [
7416
+ {
7417
+ name: "key",
7418
+ internalType: "struct PoolKey",
7419
+ type: "tuple",
7420
+ components: [
7421
+ { name: "currency0", internalType: "Currency", type: "address" },
7422
+ { name: "currency1", internalType: "Currency", type: "address" },
7423
+ { name: "fee", internalType: "uint24", type: "uint24" },
7424
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
7425
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
7426
+ ]
7427
+ },
7428
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
7429
+ { name: "orderSizes", internalType: "uint256[]", type: "uint256[]" },
7430
+ { name: "orderTicks", internalType: "int24[]", type: "int24[]" },
7431
+ { name: "maker", internalType: "address", type: "address" }
7432
+ ],
7433
+ name: "create",
7434
+ outputs: [{ name: "", internalType: "bytes32[]", type: "bytes32[]" }],
7435
+ stateMutability: "payable"
7436
+ },
7437
+ {
7438
+ type: "function",
7439
+ inputs: [
7440
+ {
7441
+ name: "key",
7442
+ internalType: "struct PoolKey",
7443
+ type: "tuple",
7444
+ components: [
7445
+ { name: "currency0", internalType: "Currency", type: "address" },
7446
+ { name: "currency1", internalType: "Currency", type: "address" },
7447
+ { name: "fee", internalType: "uint24", type: "uint24" },
7448
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
7449
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
7450
+ ]
7451
+ },
7452
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
7453
+ { name: "startTick", internalType: "int24", type: "int24" },
7454
+ { name: "endTick", internalType: "int24", type: "int24" },
7455
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" },
7456
+ { name: "fillReferral", internalType: "address", type: "address" }
7457
+ ],
7458
+ name: "fill",
7459
+ outputs: [],
7460
+ stateMutability: "nonpayable"
7461
+ },
7462
+ {
7463
+ type: "function",
7464
+ inputs: [
7465
+ {
7466
+ name: "batches",
7467
+ internalType: "struct IZoraLimitOrderBook.OrderBatch[]",
7468
+ type: "tuple[]",
7469
+ components: [
7470
+ {
7471
+ name: "key",
7472
+ internalType: "struct PoolKey",
7473
+ type: "tuple",
7474
+ components: [
7475
+ { name: "currency0", internalType: "Currency", type: "address" },
7476
+ { name: "currency1", internalType: "Currency", type: "address" },
7477
+ { name: "fee", internalType: "uint24", type: "uint24" },
7478
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
7479
+ {
7480
+ name: "hooks",
7481
+ internalType: "contract IHooks",
7482
+ type: "address"
7483
+ }
7484
+ ]
7485
+ },
7486
+ { name: "isCurrency0", internalType: "bool", type: "bool" },
7487
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" }
7488
+ ]
7489
+ },
7490
+ { name: "fillReferral", internalType: "address", type: "address" }
7491
+ ],
7492
+ name: "fill",
7493
+ outputs: [],
7494
+ stateMutability: "nonpayable"
7495
+ },
7496
+ {
7497
+ type: "function",
7498
+ inputs: [],
7499
+ name: "getMaxFillCount",
7500
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
7501
+ stateMutability: "view"
7502
+ },
7503
+ {
7504
+ type: "function",
7505
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
7506
+ name: "isPermittedCaller",
7507
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
7508
+ stateMutability: "view"
7509
+ },
7510
+ {
7511
+ type: "function",
7512
+ inputs: [],
7513
+ name: "owner",
7514
+ outputs: [{ name: "", internalType: "address", type: "address" }],
7515
+ stateMutability: "view"
7516
+ },
7517
+ {
7518
+ type: "function",
7519
+ inputs: [],
7520
+ name: "pendingOwner",
7521
+ outputs: [{ name: "", internalType: "address", type: "address" }],
7522
+ stateMutability: "view"
7523
+ },
7524
+ {
7525
+ type: "function",
7526
+ inputs: [],
7527
+ name: "poolManager",
7528
+ outputs: [
7529
+ { name: "", internalType: "contract IPoolManager", type: "address" }
7530
+ ],
7531
+ stateMutability: "view"
7532
+ },
7533
+ {
7534
+ type: "function",
7535
+ inputs: [],
7536
+ name: "renounceOwnership",
7537
+ outputs: [],
7538
+ stateMutability: "nonpayable"
7539
+ },
7540
+ {
7541
+ type: "function",
7542
+ inputs: [
7543
+ { name: "maxFillCount", internalType: "uint256", type: "uint256" }
7544
+ ],
7545
+ name: "setMaxFillCount",
7546
+ outputs: [],
7547
+ stateMutability: "nonpayable"
7548
+ },
7549
+ {
7550
+ type: "function",
7551
+ inputs: [
7552
+ { name: "callers", internalType: "address[]", type: "address[]" },
7553
+ { name: "permitted", internalType: "bool[]", type: "bool[]" }
7554
+ ],
7555
+ name: "setPermittedCallers",
7556
+ outputs: [],
7557
+ stateMutability: "nonpayable"
7558
+ },
7559
+ {
7560
+ type: "function",
7561
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
7562
+ name: "transferOwnership",
7563
+ outputs: [],
7564
+ stateMutability: "nonpayable"
7565
+ },
7566
+ {
7567
+ type: "function",
7568
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
7569
+ name: "unlockCallback",
7570
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
7571
+ stateMutability: "nonpayable"
7572
+ },
7573
+ {
7574
+ type: "function",
7575
+ inputs: [],
7576
+ name: "weth",
7577
+ outputs: [{ name: "", internalType: "address", type: "address" }],
7578
+ stateMutability: "view"
7579
+ },
7580
+ {
7581
+ type: "function",
7582
+ inputs: [
7583
+ { name: "orderIds", internalType: "bytes32[]", type: "bytes32[]" },
7584
+ { name: "coin", internalType: "address", type: "address" },
7585
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" },
7586
+ { name: "recipient", internalType: "address", type: "address" }
7587
+ ],
7588
+ name: "withdraw",
7589
+ outputs: [],
7590
+ stateMutability: "nonpayable"
7591
+ },
7592
+ {
7593
+ type: "function",
7594
+ inputs: [],
7595
+ name: "zoraCoinVersionLookup",
7596
+ outputs: [
7597
+ {
7598
+ name: "",
7599
+ internalType: "contract IDeployedCoinVersionLookup",
7600
+ type: "address"
7601
+ }
7602
+ ],
7603
+ stateMutability: "view"
7604
+ },
7605
+ {
7606
+ type: "function",
7607
+ inputs: [],
7608
+ name: "zoraHookRegistry",
7609
+ outputs: [
7610
+ { name: "", internalType: "contract IZoraHookRegistry", type: "address" }
7611
+ ],
7612
+ stateMutability: "view"
7613
+ },
7614
+ {
7615
+ type: "event",
7616
+ anonymous: false,
7617
+ inputs: [
7618
+ {
7619
+ name: "maker",
7620
+ internalType: "address",
7621
+ type: "address",
7622
+ indexed: true
7623
+ },
7624
+ { name: "coin", internalType: "address", type: "address", indexed: true },
7625
+ {
7626
+ name: "poolKeyHash",
7627
+ internalType: "bytes32",
7628
+ type: "bytes32",
7629
+ indexed: false
7630
+ },
7631
+ {
7632
+ name: "isCurrency0",
7633
+ internalType: "bool",
7634
+ type: "bool",
7635
+ indexed: false
7636
+ },
7637
+ {
7638
+ name: "orderTick",
7639
+ internalType: "int24",
7640
+ type: "int24",
7641
+ indexed: false
7642
+ },
7643
+ {
7644
+ name: "currentTick",
7645
+ internalType: "int24",
7646
+ type: "int24",
7647
+ indexed: false
7648
+ },
7649
+ {
7650
+ name: "orderSize",
7651
+ internalType: "uint128",
7652
+ type: "uint128",
7653
+ indexed: false
7654
+ },
7655
+ {
7656
+ name: "orderId",
7657
+ internalType: "bytes32",
7658
+ type: "bytes32",
7659
+ indexed: false
7660
+ }
7661
+ ],
7662
+ name: "LimitOrderCreated"
7663
+ },
7664
+ {
7665
+ type: "event",
7666
+ anonymous: false,
7667
+ inputs: [
7668
+ {
7669
+ name: "maker",
7670
+ internalType: "address",
7671
+ type: "address",
7672
+ indexed: true
7673
+ },
7674
+ {
7675
+ name: "coinIn",
7676
+ internalType: "address",
7677
+ type: "address",
7678
+ indexed: true
7679
+ },
7680
+ {
7681
+ name: "coinOut",
7682
+ internalType: "address",
7683
+ type: "address",
7684
+ indexed: false
7685
+ },
7686
+ {
7687
+ name: "amountIn",
7688
+ internalType: "uint128",
7689
+ type: "uint128",
7690
+ indexed: false
7691
+ },
7692
+ {
7693
+ name: "amountOut",
7694
+ internalType: "uint128",
7695
+ type: "uint128",
7696
+ indexed: false
7697
+ },
7698
+ {
7699
+ name: "fillReferral",
7700
+ internalType: "address",
7701
+ type: "address",
7702
+ indexed: false
7703
+ },
7704
+ {
7705
+ name: "fillReferralAmount",
7706
+ internalType: "uint128",
7707
+ type: "uint128",
7708
+ indexed: false
7709
+ },
7710
+ {
7711
+ name: "poolKeyHash",
7712
+ internalType: "bytes32",
7713
+ type: "bytes32",
7714
+ indexed: false
7715
+ },
7716
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
7717
+ {
7718
+ name: "orderId",
7719
+ internalType: "bytes32",
7720
+ type: "bytes32",
7721
+ indexed: false
7722
+ }
7723
+ ],
7724
+ name: "LimitOrderFilled"
7725
+ },
7726
+ {
7727
+ type: "event",
7728
+ anonymous: false,
7729
+ inputs: [
7730
+ {
7731
+ name: "maker",
7732
+ internalType: "address",
7733
+ type: "address",
7734
+ indexed: true
7735
+ },
7736
+ { name: "coin", internalType: "address", type: "address", indexed: true },
7737
+ {
7738
+ name: "poolKeyHash",
7739
+ internalType: "bytes32",
7740
+ type: "bytes32",
7741
+ indexed: false
7742
+ },
7743
+ {
7744
+ name: "isCurrency0",
7745
+ internalType: "bool",
7746
+ type: "bool",
7747
+ indexed: false
7748
+ },
7749
+ { name: "tick", internalType: "int24", type: "int24", indexed: false },
7750
+ {
7751
+ name: "orderSize",
7752
+ internalType: "uint128",
7753
+ type: "uint128",
7754
+ indexed: false
7755
+ },
7756
+ {
7757
+ name: "orderId",
7758
+ internalType: "bytes32",
7759
+ type: "bytes32",
7760
+ indexed: false
7761
+ },
7762
+ {
7763
+ name: "isCancelled",
7764
+ internalType: "bool",
7765
+ type: "bool",
7766
+ indexed: false
7767
+ }
7768
+ ],
7769
+ name: "LimitOrderUpdated"
7770
+ },
7771
+ {
7772
+ type: "event",
7773
+ anonymous: false,
7774
+ inputs: [
7775
+ {
7776
+ name: "maker",
7777
+ internalType: "address",
7778
+ type: "address",
7779
+ indexed: true
7780
+ },
7781
+ { name: "coin", internalType: "address", type: "address", indexed: true },
7782
+ {
7783
+ name: "newBalance",
7784
+ internalType: "uint256",
7785
+ type: "uint256",
7786
+ indexed: false
7787
+ }
7788
+ ],
7789
+ name: "MakerBalanceUpdated"
7790
+ },
7791
+ {
7792
+ type: "event",
7793
+ anonymous: false,
7794
+ inputs: [
7795
+ {
7796
+ name: "previousOwner",
7797
+ internalType: "address",
7798
+ type: "address",
7799
+ indexed: true
7800
+ },
7801
+ {
7802
+ name: "newOwner",
7803
+ internalType: "address",
7804
+ type: "address",
7805
+ indexed: true
7806
+ }
7807
+ ],
7808
+ name: "OwnershipTransferStarted"
7809
+ },
7810
+ {
7811
+ type: "event",
7812
+ anonymous: false,
7813
+ inputs: [
7814
+ {
7815
+ name: "previousOwner",
7816
+ internalType: "address",
7817
+ type: "address",
7818
+ indexed: true
7819
+ },
7820
+ {
7821
+ name: "newOwner",
7822
+ internalType: "address",
7823
+ type: "address",
7824
+ indexed: true
7825
+ }
7826
+ ],
7827
+ name: "OwnershipTransferred"
7828
+ },
7829
+ {
7830
+ type: "event",
7831
+ anonymous: false,
7832
+ inputs: [
7833
+ {
7834
+ name: "caller",
7835
+ internalType: "address",
7836
+ type: "address",
7837
+ indexed: true
7838
+ },
7839
+ { name: "permitted", internalType: "bool", type: "bool", indexed: false }
7840
+ ],
7841
+ name: "PermittedCallerUpdated"
7842
+ },
7843
+ { type: "error", inputs: [], name: "AddressZero" },
7844
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
7845
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
7846
+ {
7847
+ type: "error",
7848
+ inputs: [
7849
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
7850
+ { name: "expectedCoin", internalType: "address", type: "address" },
7851
+ { name: "actualCoin", internalType: "address", type: "address" }
7852
+ ],
7853
+ name: "CoinMismatch"
7854
+ },
7855
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
7856
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
7857
+ {
7858
+ type: "error",
7859
+ inputs: [
7860
+ { name: "startTick", internalType: "int24", type: "int24" },
7861
+ { name: "endTick", internalType: "int24", type: "int24" },
7862
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
7863
+ ],
7864
+ name: "InvalidFillWindow"
7865
+ },
7866
+ { type: "error", inputs: [], name: "InvalidOrder" },
7867
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
7868
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
7869
+ {
7870
+ type: "error",
7871
+ inputs: [
7872
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
7873
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
7874
+ ],
7875
+ name: "MinAmountNotReached"
7876
+ },
7877
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
7878
+ { type: "error", inputs: [], name: "NotPoolManager" },
7879
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
7880
+ { type: "error", inputs: [], name: "OrderClosed" },
7881
+ { type: "error", inputs: [], name: "OrderFillable" },
7882
+ { type: "error", inputs: [], name: "OrderNotMaker" },
7883
+ {
7884
+ type: "error",
7885
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
7886
+ name: "OwnableInvalidOwner"
7887
+ },
7888
+ {
7889
+ type: "error",
7890
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
7891
+ name: "OwnableUnauthorizedAccount"
7892
+ },
7893
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
7894
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
7895
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
7896
+ { type: "error", inputs: [], name: "UnknownCallback" },
7897
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
7898
+ { type: "error", inputs: [], name: "WethTransferFailed" },
7899
+ { type: "error", inputs: [], name: "ZeroMaker" },
7900
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
7901
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" },
7902
+ { type: "error", inputs: [], name: "AddressZero" },
7903
+ { type: "error", inputs: [], name: "AlreadyOwner" },
7904
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
7905
+ {
7906
+ type: "error",
7907
+ inputs: [],
7908
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
7909
+ },
7910
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
7911
+ {
7912
+ type: "error",
7913
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
7914
+ name: "ECDSAInvalidSignatureLength"
7915
+ },
7916
+ {
7917
+ type: "error",
7918
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
7919
+ name: "ECDSAInvalidSignatureS"
7920
+ },
7921
+ {
7922
+ type: "error",
7923
+ inputs: [
7924
+ { name: "spender", internalType: "address", type: "address" },
7925
+ { name: "allowance", internalType: "uint256", type: "uint256" },
7926
+ { name: "needed", internalType: "uint256", type: "uint256" }
7927
+ ],
7928
+ name: "ERC20InsufficientAllowance"
7929
+ },
7930
+ {
7931
+ type: "error",
7932
+ inputs: [
7933
+ { name: "sender", internalType: "address", type: "address" },
7934
+ { name: "balance", internalType: "uint256", type: "uint256" },
7935
+ { name: "needed", internalType: "uint256", type: "uint256" }
7936
+ ],
7937
+ name: "ERC20InsufficientBalance"
7938
+ },
7939
+ {
7940
+ type: "error",
7941
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
7942
+ name: "ERC20InvalidApprover"
7943
+ },
7944
+ {
7945
+ type: "error",
7946
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
7947
+ name: "ERC20InvalidReceiver"
7948
+ },
7949
+ {
7950
+ type: "error",
7951
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
7952
+ name: "ERC20InvalidSender"
7953
+ },
7954
+ {
7955
+ type: "error",
7956
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
7957
+ name: "ERC20InvalidSpender"
7958
+ },
7959
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
7960
+ {
7961
+ type: "error",
7962
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
7963
+ name: "ERC2612ExpiredSignature"
7964
+ },
7965
+ {
7966
+ type: "error",
7967
+ inputs: [
7968
+ { name: "signer", internalType: "address", type: "address" },
7969
+ { name: "owner", internalType: "address", type: "address" }
7970
+ ],
7971
+ name: "ERC2612InvalidSigner"
7972
+ },
7973
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
7974
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
7975
+ { type: "error", inputs: [], name: "EthTransferFailed" },
7976
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
7977
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
7978
+ { type: "error", inputs: [], name: "InsufficientFunds" },
7979
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
7980
+ {
7981
+ type: "error",
7982
+ inputs: [
7983
+ { name: "account", internalType: "address", type: "address" },
7984
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
7985
+ ],
7986
+ name: "InvalidAccountNonce"
7987
+ },
7988
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
7989
+ { type: "error", inputs: [], name: "InvalidInitialization" },
7990
+ { type: "error", inputs: [], name: "InvalidMarketType" },
7991
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
7992
+ {
7993
+ type: "error",
7994
+ inputs: [
7995
+ { name: "tickLower", internalType: "int24", type: "int24" },
7996
+ { name: "tickUpper", internalType: "int24", type: "int24" }
7997
+ ],
7998
+ name: "InvalidTickRangeMisordered"
7999
+ },
8000
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
8001
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
8002
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
8003
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
8004
+ {
8005
+ type: "error",
8006
+ inputs: [
8007
+ { name: "value", internalType: "uint256", type: "uint256" },
8008
+ { name: "limit", internalType: "uint256", type: "uint256" }
8009
+ ],
8010
+ name: "MaxShareToBeSoldExceeded"
8011
+ },
8012
+ { type: "error", inputs: [], name: "NameIsRequired" },
8013
+ { type: "error", inputs: [], name: "NotInitializing" },
8014
+ { type: "error", inputs: [], name: "NotOwner" },
8015
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
8016
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
8017
+ { type: "error", inputs: [], name: "OnlyOwner" },
8018
+ {
8019
+ type: "error",
8020
+ inputs: [
8021
+ { name: "sender", internalType: "address", type: "address" },
8022
+ { name: "pool", internalType: "address", type: "address" }
8023
+ ],
8024
+ name: "OnlyPool"
8025
+ },
8026
+ { type: "error", inputs: [], name: "OnlyWeth" },
8027
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
8028
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
8029
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
8030
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
8031
+ { type: "error", inputs: [], name: "EthTransferFailed" },
8032
+ { type: "error", inputs: [], name: "HookNotImplemented" },
8033
+ {
8034
+ type: "error",
8035
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
8036
+ name: "InvalidCallbackId"
8037
+ },
8038
+ {
8039
+ type: "error",
8040
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
8041
+ name: "InvalidNewHook"
8042
+ },
8043
+ {
8044
+ type: "error",
8045
+ inputs: [
8046
+ {
8047
+ name: "key",
8048
+ internalType: "struct PoolKey",
8049
+ type: "tuple",
8050
+ components: [
8051
+ { name: "currency0", internalType: "Currency", type: "address" },
8052
+ { name: "currency1", internalType: "Currency", type: "address" },
8053
+ { name: "fee", internalType: "uint24", type: "uint24" },
8054
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
8055
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
8056
+ ]
8057
+ }
8058
+ ],
8059
+ name: "NoCoinForHook"
8060
+ },
8061
+ {
8062
+ type: "error",
8063
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
8064
+ name: "NotACoin"
8065
+ },
8066
+ { type: "error", inputs: [], name: "NotPoolManager" },
8067
+ {
8068
+ type: "error",
8069
+ inputs: [
8070
+ { name: "caller", internalType: "address", type: "address" },
8071
+ { name: "expectedCoin", internalType: "address", type: "address" }
8072
+ ],
8073
+ name: "OnlyCoin"
8074
+ },
8075
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
8076
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
8077
+ {
8078
+ type: "error",
8079
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
8080
+ name: "SafeERC20FailedOperation"
8081
+ },
8082
+ {
8083
+ type: "error",
8084
+ inputs: [],
8085
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
8086
+ },
8087
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
8088
+ {
8089
+ type: "error",
8090
+ inputs: [
8091
+ { name: "oldHook", internalType: "address", type: "address" },
8092
+ { name: "newHook", internalType: "address", type: "address" }
8093
+ ],
8094
+ name: "UpgradePathNotRegistered"
8095
+ },
8096
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
8097
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
8098
+ ];
8099
+ var devZoraLimitOrderBookAddress = {
8100
+ 8453: "0xE9443442e7b3c024e69c427D21580b9342450121"
8101
+ };
8102
+ var devZoraLimitOrderBookConfig = {
8103
+ address: devZoraLimitOrderBookAddress,
8104
+ abi: devZoraLimitOrderBookABI
8105
+ };
8106
+ var devZoraRouterABI = [
8107
+ {
8108
+ type: "constructor",
8109
+ inputs: [
8110
+ {
8111
+ name: "poolManager_",
8112
+ internalType: "contract IPoolManager",
8113
+ type: "address"
8114
+ },
8115
+ {
8116
+ name: "zoraLimitOrderBook_",
8117
+ internalType: "contract IZoraLimitOrderBook",
8118
+ type: "address"
8119
+ },
8120
+ {
8121
+ name: "swapRouter_",
8122
+ internalType: "contract ISwapRouter",
8123
+ type: "address"
8124
+ },
8125
+ { name: "permit2_", internalType: "address", type: "address" },
8126
+ { name: "owner_", internalType: "address", type: "address" }
8127
+ ],
8128
+ stateMutability: "nonpayable"
8129
+ },
8130
+ { type: "receive", stateMutability: "payable" },
8131
+ {
8132
+ type: "function",
8133
+ inputs: [],
8134
+ name: "acceptOwnership",
8135
+ outputs: [],
8136
+ stateMutability: "nonpayable"
8137
+ },
8138
+ {
8139
+ type: "function",
8140
+ inputs: [],
8141
+ name: "getLimitOrderConfig",
8142
+ outputs: [
8143
+ {
8144
+ name: "",
8145
+ internalType: "struct LimitOrderConfig",
8146
+ type: "tuple",
8147
+ components: [
8148
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
8149
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
8150
+ ]
8151
+ }
8152
+ ],
8153
+ stateMutability: "view"
8154
+ },
8155
+ {
8156
+ type: "function",
8157
+ inputs: [],
8158
+ name: "msgSender",
8159
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8160
+ stateMutability: "view"
8161
+ },
8162
+ {
8163
+ type: "function",
8164
+ inputs: [],
8165
+ name: "owner",
8166
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8167
+ stateMutability: "view"
8168
+ },
8169
+ {
8170
+ type: "function",
8171
+ inputs: [],
8172
+ name: "pendingOwner",
8173
+ outputs: [{ name: "", internalType: "address", type: "address" }],
8174
+ stateMutability: "view"
8175
+ },
8176
+ {
8177
+ type: "function",
8178
+ inputs: [],
8179
+ name: "poolManager",
8180
+ outputs: [
8181
+ { name: "", internalType: "contract IPoolManager", type: "address" }
8182
+ ],
8183
+ stateMutability: "view"
8184
+ },
8185
+ {
8186
+ type: "function",
8187
+ inputs: [],
8188
+ name: "renounceOwnership",
8189
+ outputs: [],
8190
+ stateMutability: "nonpayable"
8191
+ },
8192
+ {
8193
+ type: "function",
8194
+ inputs: [
8195
+ {
8196
+ name: "config",
8197
+ internalType: "struct LimitOrderConfig",
8198
+ type: "tuple",
8199
+ components: [
8200
+ { name: "multiples", internalType: "uint256[]", type: "uint256[]" },
8201
+ { name: "percentages", internalType: "uint256[]", type: "uint256[]" }
8202
+ ]
8203
+ }
8204
+ ],
8205
+ name: "setLimitOrderConfig",
8206
+ outputs: [],
8207
+ stateMutability: "nonpayable"
8208
+ },
8209
+ {
8210
+ type: "function",
8211
+ inputs: [],
8212
+ name: "swapRouter",
8213
+ outputs: [
8214
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
8215
+ ],
8216
+ stateMutability: "view"
8217
+ },
8218
+ {
8219
+ type: "function",
8220
+ inputs: [
8221
+ {
8222
+ name: "params",
8223
+ internalType: "struct SwapWithLimitOrders.SwapWithLimitOrdersParams",
8224
+ type: "tuple",
8225
+ components: [
8226
+ { name: "recipient", internalType: "address", type: "address" },
8227
+ {
8228
+ name: "limitOrderConfig",
8229
+ internalType: "struct LimitOrderConfig",
8230
+ type: "tuple",
8231
+ components: [
8232
+ {
8233
+ name: "multiples",
8234
+ internalType: "uint256[]",
8235
+ type: "uint256[]"
8236
+ },
8237
+ {
8238
+ name: "percentages",
8239
+ internalType: "uint256[]",
8240
+ type: "uint256[]"
8241
+ }
8242
+ ]
8243
+ },
8244
+ { name: "inputCurrency", internalType: "address", type: "address" },
8245
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
8246
+ { name: "v3Route", internalType: "bytes", type: "bytes" },
8247
+ {
8248
+ name: "v4Route",
8249
+ internalType: "struct PoolKey[]",
8250
+ type: "tuple[]",
8251
+ components: [
8252
+ { name: "currency0", internalType: "Currency", type: "address" },
8253
+ { name: "currency1", internalType: "Currency", type: "address" },
8254
+ { name: "fee", internalType: "uint24", type: "uint24" },
8255
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
8256
+ {
8257
+ name: "hooks",
8258
+ internalType: "contract IHooks",
8259
+ type: "address"
8260
+ }
8261
+ ]
8262
+ },
8263
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
8264
+ ]
8265
+ }
8266
+ ],
8267
+ name: "swapWithLimitOrders",
8268
+ outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
8269
+ stateMutability: "payable"
8270
+ },
8271
+ {
8272
+ type: "function",
8273
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
8274
+ name: "transferOwnership",
8275
+ outputs: [],
8276
+ stateMutability: "nonpayable"
8277
+ },
8278
+ {
8279
+ type: "function",
8280
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
8281
+ name: "unlockCallback",
8282
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
8283
+ stateMutability: "nonpayable"
8284
+ },
8285
+ {
8286
+ type: "function",
8287
+ inputs: [],
8288
+ name: "zoraLimitOrderBook",
8289
+ outputs: [
8290
+ {
8291
+ name: "",
8292
+ internalType: "contract IZoraLimitOrderBook",
8293
+ type: "address"
8294
+ }
8295
+ ],
8296
+ stateMutability: "view"
8297
+ },
8298
+ {
8299
+ type: "event",
8300
+ anonymous: false,
8301
+ inputs: [
8302
+ {
8303
+ name: "multiples",
8304
+ internalType: "uint256[]",
8305
+ type: "uint256[]",
8306
+ indexed: false
8307
+ },
8308
+ {
8309
+ name: "percentages",
8310
+ internalType: "uint256[]",
8311
+ type: "uint256[]",
8312
+ indexed: false
8313
+ }
8314
+ ],
8315
+ name: "LimitOrderConfigUpdated"
8316
+ },
8317
+ {
8318
+ type: "event",
8319
+ anonymous: false,
8320
+ inputs: [
8321
+ {
8322
+ name: "previousOwner",
8323
+ internalType: "address",
8324
+ type: "address",
8325
+ indexed: true
8326
+ },
8327
+ {
8328
+ name: "newOwner",
8329
+ internalType: "address",
8330
+ type: "address",
8331
+ indexed: true
8332
+ }
8333
+ ],
8334
+ name: "OwnershipTransferStarted"
8335
+ },
8336
+ {
8337
+ type: "event",
8338
+ anonymous: false,
8339
+ inputs: [
8340
+ {
8341
+ name: "previousOwner",
8342
+ internalType: "address",
8343
+ type: "address",
8344
+ indexed: true
8345
+ },
8346
+ {
8347
+ name: "newOwner",
8348
+ internalType: "address",
8349
+ type: "address",
8350
+ indexed: true
8351
+ }
8352
+ ],
8353
+ name: "OwnershipTransferred"
8354
+ },
8355
+ {
8356
+ type: "event",
8357
+ anonymous: false,
8358
+ inputs: [
8359
+ {
8360
+ name: "sender",
8361
+ internalType: "address",
8362
+ type: "address",
8363
+ indexed: true
8364
+ },
8365
+ {
8366
+ name: "recipient",
8367
+ internalType: "address",
8368
+ type: "address",
8369
+ indexed: true
8370
+ },
8371
+ {
8372
+ name: "poolKey",
8373
+ internalType: "struct PoolKey",
8374
+ type: "tuple",
8375
+ components: [
8376
+ { name: "currency0", internalType: "Currency", type: "address" },
8377
+ { name: "currency1", internalType: "Currency", type: "address" },
8378
+ { name: "fee", internalType: "uint24", type: "uint24" },
8379
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
8380
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
8381
+ ],
8382
+ indexed: false
8383
+ },
8384
+ {
8385
+ name: "tickBeforeSwap",
8386
+ internalType: "int24",
8387
+ type: "int24",
8388
+ indexed: false
8389
+ },
8390
+ {
8391
+ name: "tickAfterSwap",
8392
+ internalType: "int24",
8393
+ type: "int24",
8394
+ indexed: false
8395
+ },
8396
+ {
8397
+ name: "amount0",
8398
+ internalType: "int128",
8399
+ type: "int128",
8400
+ indexed: false
8401
+ },
8402
+ {
8403
+ name: "amount1",
8404
+ internalType: "int128",
8405
+ type: "int128",
8406
+ indexed: false
8407
+ },
8408
+ {
8409
+ name: "sqrtPriceX96",
8410
+ internalType: "uint160",
8411
+ type: "uint160",
8412
+ indexed: false
8413
+ },
8414
+ {
8415
+ name: "orders",
8416
+ internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
8417
+ type: "tuple[]",
8418
+ components: [
8419
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
8420
+ { name: "multiple", internalType: "uint256", type: "uint256" },
8421
+ { name: "percentage", internalType: "uint256", type: "uint256" }
8422
+ ],
8423
+ indexed: false
8424
+ }
8425
+ ],
8426
+ name: "SwapWithLimitOrdersExecuted"
8427
+ },
8428
+ { type: "error", inputs: [], name: "EmptyV4Route" },
8429
+ {
8430
+ type: "error",
8431
+ inputs: [
8432
+ { name: "inputAmount", internalType: "uint256", type: "uint256" },
8433
+ { name: "availableAmount", internalType: "uint256", type: "uint256" }
8434
+ ],
8435
+ name: "InsufficientInputCurrency"
8436
+ },
8437
+ { type: "error", inputs: [], name: "InsufficientOutputAmount" },
8438
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
8439
+ { type: "error", inputs: [], name: "InvalidLimitOrderConfig" },
8440
+ { type: "error", inputs: [], name: "InvalidMultiple" },
8441
+ { type: "error", inputs: [], name: "InvalidPercent" },
8442
+ { type: "error", inputs: [], name: "LengthMismatch" },
8443
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
8444
+ {
8445
+ type: "error",
8446
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
8447
+ name: "OwnableInvalidOwner"
8448
+ },
8449
+ {
8450
+ type: "error",
8451
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
8452
+ name: "OwnableUnauthorizedAccount"
8453
+ },
8454
+ { type: "error", inputs: [], name: "PercentOverflow" },
8455
+ {
8456
+ type: "error",
8457
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
8458
+ name: "SafeERC20FailedOperation"
8459
+ },
8460
+ { type: "error", inputs: [], name: "UnsafeCast" },
8461
+ { type: "error", inputs: [], name: "V3RouteDoesNotConnectToV4RouteStart" },
8462
+ { type: "error", inputs: [], name: "ZeroSwapDelta" },
8463
+ { type: "error", inputs: [], name: "AddressZero" },
8464
+ { type: "error", inputs: [], name: "AlreadyOwner" },
8465
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
8466
+ {
8467
+ type: "error",
8468
+ inputs: [],
8469
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
8470
+ },
8471
+ { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
8472
+ {
8473
+ type: "error",
8474
+ inputs: [{ name: "length", internalType: "uint256", type: "uint256" }],
8475
+ name: "ECDSAInvalidSignatureLength"
8476
+ },
8477
+ {
8478
+ type: "error",
8479
+ inputs: [{ name: "s", internalType: "bytes32", type: "bytes32" }],
8480
+ name: "ECDSAInvalidSignatureS"
8481
+ },
8482
+ {
8483
+ type: "error",
8484
+ inputs: [
8485
+ { name: "spender", internalType: "address", type: "address" },
8486
+ { name: "allowance", internalType: "uint256", type: "uint256" },
8487
+ { name: "needed", internalType: "uint256", type: "uint256" }
8488
+ ],
8489
+ name: "ERC20InsufficientAllowance"
8490
+ },
8491
+ {
8492
+ type: "error",
8493
+ inputs: [
8494
+ { name: "sender", internalType: "address", type: "address" },
8495
+ { name: "balance", internalType: "uint256", type: "uint256" },
8496
+ { name: "needed", internalType: "uint256", type: "uint256" }
8497
+ ],
8498
+ name: "ERC20InsufficientBalance"
8499
+ },
8500
+ {
8501
+ type: "error",
8502
+ inputs: [{ name: "approver", internalType: "address", type: "address" }],
8503
+ name: "ERC20InvalidApprover"
8504
+ },
8505
+ {
8506
+ type: "error",
8507
+ inputs: [{ name: "receiver", internalType: "address", type: "address" }],
8508
+ name: "ERC20InvalidReceiver"
8509
+ },
8510
+ {
8511
+ type: "error",
8512
+ inputs: [{ name: "sender", internalType: "address", type: "address" }],
8513
+ name: "ERC20InvalidSender"
8514
+ },
8515
+ {
8516
+ type: "error",
8517
+ inputs: [{ name: "spender", internalType: "address", type: "address" }],
8518
+ name: "ERC20InvalidSpender"
8519
+ },
8520
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
8521
+ {
8522
+ type: "error",
8523
+ inputs: [{ name: "deadline", internalType: "uint256", type: "uint256" }],
8524
+ name: "ERC2612ExpiredSignature"
8525
+ },
8526
+ {
8527
+ type: "error",
8528
+ inputs: [
8529
+ { name: "signer", internalType: "address", type: "address" },
8530
+ { name: "owner", internalType: "address", type: "address" }
8531
+ ],
8532
+ name: "ERC2612InvalidSigner"
8533
+ },
8534
+ { type: "error", inputs: [], name: "EthAmountMismatch" },
8535
+ { type: "error", inputs: [], name: "EthAmountTooSmall" },
8536
+ { type: "error", inputs: [], name: "EthTransferFailed" },
8537
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
8538
+ { type: "error", inputs: [], name: "InitialOrderSizeTooLarge" },
8539
+ { type: "error", inputs: [], name: "InsufficientFunds" },
8540
+ { type: "error", inputs: [], name: "InsufficientLiquidity" },
8541
+ {
8542
+ type: "error",
8543
+ inputs: [
8544
+ { name: "account", internalType: "address", type: "address" },
8545
+ { name: "currentNonce", internalType: "uint256", type: "uint256" }
8546
+ ],
8547
+ name: "InvalidAccountNonce"
8548
+ },
8549
+ { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
8550
+ { type: "error", inputs: [], name: "InvalidInitialization" },
8551
+ { type: "error", inputs: [], name: "InvalidMarketType" },
8552
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
8553
+ {
8554
+ type: "error",
8555
+ inputs: [
8556
+ { name: "tickLower", internalType: "int24", type: "int24" },
8557
+ { name: "tickUpper", internalType: "int24", type: "int24" }
8558
+ ],
8559
+ name: "InvalidTickRangeMisordered"
8560
+ },
8561
+ { type: "error", inputs: [], name: "InvalidWethLowerTick" },
8562
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
8563
+ { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
8564
+ { type: "error", inputs: [], name: "MarketNotGraduated" },
8565
+ {
8566
+ type: "error",
8567
+ inputs: [
8568
+ { name: "value", internalType: "uint256", type: "uint256" },
8569
+ { name: "limit", internalType: "uint256", type: "uint256" }
8570
+ ],
8571
+ name: "MaxShareToBeSoldExceeded"
8572
+ },
8573
+ { type: "error", inputs: [], name: "NameIsRequired" },
8574
+ { type: "error", inputs: [], name: "NotInitializing" },
8575
+ { type: "error", inputs: [], name: "NotOwner" },
8576
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
8577
+ { type: "error", inputs: [], name: "OneOwnerRequired" },
8578
+ { type: "error", inputs: [], name: "OnlyOwner" },
8579
+ {
8580
+ type: "error",
8581
+ inputs: [
8582
+ { name: "sender", internalType: "address", type: "address" },
8583
+ { name: "pool", internalType: "address", type: "address" }
8584
+ ],
8585
+ name: "OnlyPool"
8586
+ },
8587
+ { type: "error", inputs: [], name: "OnlyWeth" },
8588
+ { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
8589
+ { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
8590
+ { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" },
8591
+ { type: "error", inputs: [], name: "CoinVersionLookupCannotBeZeroAddress" },
8592
+ { type: "error", inputs: [], name: "EthTransferFailed" },
8593
+ { type: "error", inputs: [], name: "HookNotImplemented" },
8594
+ {
8595
+ type: "error",
8596
+ inputs: [{ name: "callbackId", internalType: "uint8", type: "uint8" }],
8597
+ name: "InvalidCallbackId"
8598
+ },
8599
+ {
8600
+ type: "error",
8601
+ inputs: [{ name: "newHook", internalType: "address", type: "address" }],
8602
+ name: "InvalidNewHook"
8603
+ },
8604
+ {
8605
+ type: "error",
8606
+ inputs: [
8607
+ {
8608
+ name: "key",
8609
+ internalType: "struct PoolKey",
8610
+ type: "tuple",
8611
+ components: [
8612
+ { name: "currency0", internalType: "Currency", type: "address" },
8613
+ { name: "currency1", internalType: "Currency", type: "address" },
8614
+ { name: "fee", internalType: "uint24", type: "uint24" },
8615
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
8616
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
8617
+ ]
8618
+ }
8619
+ ],
8620
+ name: "NoCoinForHook"
8621
+ },
8622
+ {
8623
+ type: "error",
8624
+ inputs: [{ name: "coin", internalType: "address", type: "address" }],
8625
+ name: "NotACoin"
8626
+ },
8627
+ { type: "error", inputs: [], name: "NotPoolManager" },
8628
+ {
8629
+ type: "error",
8630
+ inputs: [
8631
+ { name: "caller", internalType: "address", type: "address" },
8632
+ { name: "expectedCoin", internalType: "address", type: "address" }
8633
+ ],
8634
+ name: "OnlyCoin"
8635
+ },
8636
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
8637
+ { type: "error", inputs: [], name: "SafeCastOverflow" },
8638
+ {
8639
+ type: "error",
8640
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
8641
+ name: "SafeERC20FailedOperation"
8642
+ },
8643
+ {
8644
+ type: "error",
8645
+ inputs: [],
8646
+ name: "TrustedMsgSenderLookupCannotBeZeroAddress"
8647
+ },
8648
+ { type: "error", inputs: [], name: "UpgradeGateCannotBeZeroAddress" },
8649
+ {
8650
+ type: "error",
8651
+ inputs: [
8652
+ { name: "oldHook", internalType: "address", type: "address" },
8653
+ { name: "newHook", internalType: "address", type: "address" }
8654
+ ],
8655
+ name: "UpgradePathNotRegistered"
8656
+ },
8657
+ { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
8658
+ { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
8659
+ { type: "error", inputs: [], name: "AddressZero" },
8660
+ { type: "error", inputs: [], name: "ArrayLengthMismatch" },
8661
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
8662
+ {
8663
+ type: "error",
8664
+ inputs: [
8665
+ { name: "orderId", internalType: "bytes32", type: "bytes32" },
8666
+ { name: "expectedCoin", internalType: "address", type: "address" },
8667
+ { name: "actualCoin", internalType: "address", type: "address" }
8668
+ ],
8669
+ name: "CoinMismatch"
8670
+ },
8671
+ { type: "error", inputs: [], name: "InsufficientForwardedFunds" },
8672
+ { type: "error", inputs: [], name: "InsufficientTransferFunds" },
8673
+ {
8674
+ type: "error",
8675
+ inputs: [
8676
+ { name: "startTick", internalType: "int24", type: "int24" },
8677
+ { name: "endTick", internalType: "int24", type: "int24" },
8678
+ { name: "isCurrency0", internalType: "bool", type: "bool" }
8679
+ ],
8680
+ name: "InvalidFillWindow"
8681
+ },
8682
+ { type: "error", inputs: [], name: "InvalidOrder" },
8683
+ { type: "error", inputs: [], name: "InvalidPoolKey" },
8684
+ { type: "error", inputs: [], name: "MaxFillCountCannotBeZero" },
8685
+ {
8686
+ type: "error",
8687
+ inputs: [
8688
+ { name: "withdrawn", internalType: "uint256", type: "uint256" },
8689
+ { name: "minAmountOut", internalType: "uint256", type: "uint256" }
8690
+ ],
8691
+ name: "MinAmountNotReached"
8692
+ },
8693
+ { type: "error", inputs: [], name: "NativeValueMismatch" },
8694
+ { type: "error", inputs: [], name: "NotPoolManager" },
8695
+ { type: "error", inputs: [], name: "OnlyZoraHook" },
8696
+ { type: "error", inputs: [], name: "OrderClosed" },
8697
+ { type: "error", inputs: [], name: "OrderFillable" },
8698
+ { type: "error", inputs: [], name: "OrderNotMaker" },
8699
+ {
8700
+ type: "error",
8701
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
8702
+ name: "OwnableInvalidOwner"
8703
+ },
8704
+ {
8705
+ type: "error",
8706
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
8707
+ name: "OwnableUnauthorizedAccount"
8708
+ },
8709
+ { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
8710
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
8711
+ { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
8712
+ { type: "error", inputs: [], name: "UnknownCallback" },
8713
+ { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
8714
+ { type: "error", inputs: [], name: "WethTransferFailed" },
8715
+ { type: "error", inputs: [], name: "ZeroMaker" },
8716
+ { type: "error", inputs: [], name: "ZeroOrderSize" },
8717
+ { type: "error", inputs: [], name: "ZeroRealizedOrder" }
8718
+ ];
8719
+ var devZoraRouterAddress = {
8720
+ 8453: "0xb3F0aAFd6d69e524DC83ae773bc739688d4F658d"
8721
+ };
8722
+ var devZoraRouterConfig = {
8723
+ address: devZoraRouterAddress,
8724
+ abi: devZoraRouterABI
6355
8725
  };
6356
8726
  var erc20MinterABI = [
6357
8727
  {
@@ -14484,7 +16854,8 @@ var zoraLimitOrderBookABI = [
14484
16854
  type: "address"
14485
16855
  },
14486
16856
  { name: "zoraHookRegistry_", internalType: "address", type: "address" },
14487
- { name: "authority_", internalType: "address", type: "address" }
16857
+ { name: "owner_", internalType: "address", type: "address" },
16858
+ { name: "weth_", internalType: "address", type: "address" }
14488
16859
  ],
14489
16860
  stateMutability: "nonpayable"
14490
16861
  },
@@ -14492,9 +16863,9 @@ var zoraLimitOrderBookABI = [
14492
16863
  {
14493
16864
  type: "function",
14494
16865
  inputs: [],
14495
- name: "authority",
14496
- outputs: [{ name: "", internalType: "address", type: "address" }],
14497
- stateMutability: "view"
16866
+ name: "acceptOwnership",
16867
+ outputs: [],
16868
+ stateMutability: "nonpayable"
14498
16869
  },
14499
16870
  {
14500
16871
  type: "function",
@@ -14596,6 +16967,27 @@ var zoraLimitOrderBookABI = [
14596
16967
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
14597
16968
  stateMutability: "view"
14598
16969
  },
16970
+ {
16971
+ type: "function",
16972
+ inputs: [{ name: "caller", internalType: "address", type: "address" }],
16973
+ name: "isPermittedCaller",
16974
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
16975
+ stateMutability: "view"
16976
+ },
16977
+ {
16978
+ type: "function",
16979
+ inputs: [],
16980
+ name: "owner",
16981
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16982
+ stateMutability: "view"
16983
+ },
16984
+ {
16985
+ type: "function",
16986
+ inputs: [],
16987
+ name: "pendingOwner",
16988
+ outputs: [{ name: "", internalType: "address", type: "address" }],
16989
+ stateMutability: "view"
16990
+ },
14599
16991
  {
14600
16992
  type: "function",
14601
16993
  inputs: [],
@@ -14607,10 +16999,8 @@ var zoraLimitOrderBookABI = [
14607
16999
  },
14608
17000
  {
14609
17001
  type: "function",
14610
- inputs: [
14611
- { name: "newAuthority", internalType: "address", type: "address" }
14612
- ],
14613
- name: "setAuthority",
17002
+ inputs: [],
17003
+ name: "renounceOwnership",
14614
17004
  outputs: [],
14615
17005
  stateMutability: "nonpayable"
14616
17006
  },
@@ -14623,6 +17013,23 @@ var zoraLimitOrderBookABI = [
14623
17013
  outputs: [],
14624
17014
  stateMutability: "nonpayable"
14625
17015
  },
17016
+ {
17017
+ type: "function",
17018
+ inputs: [
17019
+ { name: "callers", internalType: "address[]", type: "address[]" },
17020
+ { name: "permitted", internalType: "bool[]", type: "bool[]" }
17021
+ ],
17022
+ name: "setPermittedCallers",
17023
+ outputs: [],
17024
+ stateMutability: "nonpayable"
17025
+ },
17026
+ {
17027
+ type: "function",
17028
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
17029
+ name: "transferOwnership",
17030
+ outputs: [],
17031
+ stateMutability: "nonpayable"
17032
+ },
14626
17033
  {
14627
17034
  type: "function",
14628
17035
  inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
@@ -14630,6 +17037,13 @@ var zoraLimitOrderBookABI = [
14630
17037
  outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
14631
17038
  stateMutability: "nonpayable"
14632
17039
  },
17040
+ {
17041
+ type: "function",
17042
+ inputs: [],
17043
+ name: "weth",
17044
+ outputs: [{ name: "", internalType: "address", type: "address" }],
17045
+ stateMutability: "view"
17046
+ },
14633
17047
  {
14634
17048
  type: "function",
14635
17049
  inputs: [
@@ -14664,19 +17078,6 @@ var zoraLimitOrderBookABI = [
14664
17078
  ],
14665
17079
  stateMutability: "view"
14666
17080
  },
14667
- {
14668
- type: "event",
14669
- anonymous: false,
14670
- inputs: [
14671
- {
14672
- name: "authority",
14673
- internalType: "address",
14674
- type: "address",
14675
- indexed: false
14676
- }
14677
- ],
14678
- name: "AuthorityUpdated"
14679
- },
14680
17081
  {
14681
17082
  type: "event",
14682
17083
  anonymous: false,
@@ -14855,13 +17256,60 @@ var zoraLimitOrderBookABI = [
14855
17256
  name: "MakerBalanceUpdated"
14856
17257
  },
14857
17258
  {
14858
- type: "error",
14859
- inputs: [{ name: "authority", internalType: "address", type: "address" }],
14860
- name: "AccessManagedInvalidAuthority"
17259
+ type: "event",
17260
+ anonymous: false,
17261
+ inputs: [
17262
+ {
17263
+ name: "previousOwner",
17264
+ internalType: "address",
17265
+ type: "address",
17266
+ indexed: true
17267
+ },
17268
+ {
17269
+ name: "newOwner",
17270
+ internalType: "address",
17271
+ type: "address",
17272
+ indexed: true
17273
+ }
17274
+ ],
17275
+ name: "OwnershipTransferStarted"
17276
+ },
17277
+ {
17278
+ type: "event",
17279
+ anonymous: false,
17280
+ inputs: [
17281
+ {
17282
+ name: "previousOwner",
17283
+ internalType: "address",
17284
+ type: "address",
17285
+ indexed: true
17286
+ },
17287
+ {
17288
+ name: "newOwner",
17289
+ internalType: "address",
17290
+ type: "address",
17291
+ indexed: true
17292
+ }
17293
+ ],
17294
+ name: "OwnershipTransferred"
17295
+ },
17296
+ {
17297
+ type: "event",
17298
+ anonymous: false,
17299
+ inputs: [
17300
+ {
17301
+ name: "caller",
17302
+ internalType: "address",
17303
+ type: "address",
17304
+ indexed: true
17305
+ },
17306
+ { name: "permitted", internalType: "bool", type: "bool", indexed: false }
17307
+ ],
17308
+ name: "PermittedCallerUpdated"
14861
17309
  },
14862
- { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
14863
17310
  { type: "error", inputs: [], name: "AddressZero" },
14864
17311
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
17312
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
14865
17313
  {
14866
17314
  type: "error",
14867
17315
  inputs: [
@@ -14897,11 +17345,24 @@ var zoraLimitOrderBookABI = [
14897
17345
  { type: "error", inputs: [], name: "NotPoolManager" },
14898
17346
  { type: "error", inputs: [], name: "OnlyZoraHook" },
14899
17347
  { type: "error", inputs: [], name: "OrderClosed" },
17348
+ { type: "error", inputs: [], name: "OrderFillable" },
14900
17349
  { type: "error", inputs: [], name: "OrderNotMaker" },
17350
+ {
17351
+ type: "error",
17352
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
17353
+ name: "OwnableInvalidOwner"
17354
+ },
17355
+ {
17356
+ type: "error",
17357
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
17358
+ name: "OwnableUnauthorizedAccount"
17359
+ },
14901
17360
  { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
17361
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
14902
17362
  { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
14903
17363
  { type: "error", inputs: [], name: "UnknownCallback" },
14904
17364
  { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
17365
+ { type: "error", inputs: [], name: "WethTransferFailed" },
14905
17366
  { type: "error", inputs: [], name: "ZeroMaker" },
14906
17367
  { type: "error", inputs: [], name: "ZeroOrderSize" },
14907
17368
  { type: "error", inputs: [], name: "ZeroRealizedOrder" },
@@ -14991,7 +17452,6 @@ var zoraLimitOrderBookABI = [
14991
17452
  ],
14992
17453
  name: "InvalidAccountNonce"
14993
17454
  },
14994
- { type: "error", inputs: [], name: "InvalidCurrency" },
14995
17455
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
14996
17456
  { type: "error", inputs: [], name: "InvalidInitialization" },
14997
17457
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -15104,7 +17564,7 @@ var zoraLimitOrderBookABI = [
15104
17564
  { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" }
15105
17565
  ];
15106
17566
  var zoraLimitOrderBookAddress = {
15107
- 8453: "0x198419084C13d59c7b3E4c469A3d15b31263B06C"
17567
+ 8453: "0xeD29E55a73b3D907eB57f0c7B89019B37dd1a1c8"
15108
17568
  };
15109
17569
  var zoraLimitOrderBookConfig = {
15110
17570
  address: zoraLimitOrderBookAddress,
@@ -16794,11 +19254,19 @@ var zoraRouterABI = [
16794
19254
  internalType: "contract ISwapRouter",
16795
19255
  type: "address"
16796
19256
  },
16797
- { name: "permit2_", internalType: "address", type: "address" }
19257
+ { name: "permit2_", internalType: "address", type: "address" },
19258
+ { name: "owner_", internalType: "address", type: "address" }
16798
19259
  ],
16799
19260
  stateMutability: "nonpayable"
16800
19261
  },
16801
19262
  { type: "receive", stateMutability: "payable" },
19263
+ {
19264
+ type: "function",
19265
+ inputs: [],
19266
+ name: "acceptOwnership",
19267
+ outputs: [],
19268
+ stateMutability: "nonpayable"
19269
+ },
16802
19270
  {
16803
19271
  type: "function",
16804
19272
  inputs: [],
@@ -16823,6 +19291,20 @@ var zoraRouterABI = [
16823
19291
  outputs: [{ name: "", internalType: "address", type: "address" }],
16824
19292
  stateMutability: "view"
16825
19293
  },
19294
+ {
19295
+ type: "function",
19296
+ inputs: [],
19297
+ name: "owner",
19298
+ outputs: [{ name: "", internalType: "address", type: "address" }],
19299
+ stateMutability: "view"
19300
+ },
19301
+ {
19302
+ type: "function",
19303
+ inputs: [],
19304
+ name: "pendingOwner",
19305
+ outputs: [{ name: "", internalType: "address", type: "address" }],
19306
+ stateMutability: "view"
19307
+ },
16826
19308
  {
16827
19309
  type: "function",
16828
19310
  inputs: [],
@@ -16832,6 +19314,13 @@ var zoraRouterABI = [
16832
19314
  ],
16833
19315
  stateMutability: "view"
16834
19316
  },
19317
+ {
19318
+ type: "function",
19319
+ inputs: [],
19320
+ name: "renounceOwnership",
19321
+ outputs: [],
19322
+ stateMutability: "nonpayable"
19323
+ },
16835
19324
  {
16836
19325
  type: "function",
16837
19326
  inputs: [
@@ -16911,6 +19400,13 @@ var zoraRouterABI = [
16911
19400
  outputs: [{ name: "delta", internalType: "BalanceDelta", type: "int256" }],
16912
19401
  stateMutability: "payable"
16913
19402
  },
19403
+ {
19404
+ type: "function",
19405
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
19406
+ name: "transferOwnership",
19407
+ outputs: [],
19408
+ stateMutability: "nonpayable"
19409
+ },
16914
19410
  {
16915
19411
  type: "function",
16916
19412
  inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
@@ -16950,6 +19446,44 @@ var zoraRouterABI = [
16950
19446
  ],
16951
19447
  name: "LimitOrderConfigUpdated"
16952
19448
  },
19449
+ {
19450
+ type: "event",
19451
+ anonymous: false,
19452
+ inputs: [
19453
+ {
19454
+ name: "previousOwner",
19455
+ internalType: "address",
19456
+ type: "address",
19457
+ indexed: true
19458
+ },
19459
+ {
19460
+ name: "newOwner",
19461
+ internalType: "address",
19462
+ type: "address",
19463
+ indexed: true
19464
+ }
19465
+ ],
19466
+ name: "OwnershipTransferStarted"
19467
+ },
19468
+ {
19469
+ type: "event",
19470
+ anonymous: false,
19471
+ inputs: [
19472
+ {
19473
+ name: "previousOwner",
19474
+ internalType: "address",
19475
+ type: "address",
19476
+ indexed: true
19477
+ },
19478
+ {
19479
+ name: "newOwner",
19480
+ internalType: "address",
19481
+ type: "address",
19482
+ indexed: true
19483
+ }
19484
+ ],
19485
+ name: "OwnershipTransferred"
19486
+ },
16953
19487
  {
16954
19488
  type: "event",
16955
19489
  anonymous: false,
@@ -16979,12 +19513,6 @@ var zoraRouterABI = [
16979
19513
  ],
16980
19514
  indexed: false
16981
19515
  },
16982
- {
16983
- name: "delta",
16984
- internalType: "BalanceDelta",
16985
- type: "int256",
16986
- indexed: false
16987
- },
16988
19516
  {
16989
19517
  name: "tickBeforeSwap",
16990
19518
  internalType: "int24",
@@ -16997,6 +19525,24 @@ var zoraRouterABI = [
16997
19525
  type: "int24",
16998
19526
  indexed: false
16999
19527
  },
19528
+ {
19529
+ name: "amount0",
19530
+ internalType: "int128",
19531
+ type: "int128",
19532
+ indexed: false
19533
+ },
19534
+ {
19535
+ name: "amount1",
19536
+ internalType: "int128",
19537
+ type: "int128",
19538
+ indexed: false
19539
+ },
19540
+ {
19541
+ name: "sqrtPriceX96",
19542
+ internalType: "uint160",
19543
+ type: "uint160",
19544
+ indexed: false
19545
+ },
17000
19546
  {
17001
19547
  name: "orders",
17002
19548
  internalType: "struct SwapWithLimitOrders.CreatedOrder[]",
@@ -17012,7 +19558,6 @@ var zoraRouterABI = [
17012
19558
  name: "SwapWithLimitOrdersExecuted"
17013
19559
  },
17014
19560
  { type: "error", inputs: [], name: "EmptyV4Route" },
17015
- { type: "error", inputs: [], name: "FromAddressIsNotOwner" },
17016
19561
  {
17017
19562
  type: "error",
17018
19563
  inputs: [
@@ -17027,8 +19572,17 @@ var zoraRouterABI = [
17027
19572
  { type: "error", inputs: [], name: "InvalidMultiple" },
17028
19573
  { type: "error", inputs: [], name: "InvalidPercent" },
17029
19574
  { type: "error", inputs: [], name: "LengthMismatch" },
17030
- { type: "error", inputs: [], name: "OnlyAuthority" },
17031
19575
  { type: "error", inputs: [], name: "OnlyPoolManager" },
19576
+ {
19577
+ type: "error",
19578
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
19579
+ name: "OwnableInvalidOwner"
19580
+ },
19581
+ {
19582
+ type: "error",
19583
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
19584
+ name: "OwnableUnauthorizedAccount"
19585
+ },
17032
19586
  { type: "error", inputs: [], name: "PercentOverflow" },
17033
19587
  {
17034
19588
  type: "error",
@@ -17124,7 +19678,6 @@ var zoraRouterABI = [
17124
19678
  ],
17125
19679
  name: "InvalidAccountNonce"
17126
19680
  },
17127
- { type: "error", inputs: [], name: "InvalidCurrency" },
17128
19681
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
17129
19682
  { type: "error", inputs: [], name: "InvalidInitialization" },
17130
19683
  { type: "error", inputs: [], name: "InvalidMarketType" },
@@ -17235,14 +19788,9 @@ var zoraRouterABI = [
17235
19788
  },
17236
19789
  { type: "error", inputs: [], name: "ZoraHookRegistryCannotBeZeroAddress" },
17237
19790
  { type: "error", inputs: [], name: "ZoraLimitOrderBookCannotBeZeroAddress" },
17238
- {
17239
- type: "error",
17240
- inputs: [{ name: "authority", internalType: "address", type: "address" }],
17241
- name: "AccessManagedInvalidAuthority"
17242
- },
17243
- { type: "error", inputs: [], name: "AccessManagedUnauthorized" },
17244
19791
  { type: "error", inputs: [], name: "AddressZero" },
17245
19792
  { type: "error", inputs: [], name: "ArrayLengthMismatch" },
19793
+ { type: "error", inputs: [], name: "CallerNotPermitted" },
17246
19794
  {
17247
19795
  type: "error",
17248
19796
  inputs: [
@@ -17278,17 +19826,30 @@ var zoraRouterABI = [
17278
19826
  { type: "error", inputs: [], name: "NotPoolManager" },
17279
19827
  { type: "error", inputs: [], name: "OnlyZoraHook" },
17280
19828
  { type: "error", inputs: [], name: "OrderClosed" },
19829
+ { type: "error", inputs: [], name: "OrderFillable" },
17281
19830
  { type: "error", inputs: [], name: "OrderNotMaker" },
19831
+ {
19832
+ type: "error",
19833
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
19834
+ name: "OwnableInvalidOwner"
19835
+ },
19836
+ {
19837
+ type: "error",
19838
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
19839
+ name: "OwnableUnauthorizedAccount"
19840
+ },
17282
19841
  { type: "error", inputs: [], name: "PathMustHaveAtLeastOneStep" },
19842
+ { type: "error", inputs: [], name: "PermittedCallersLengthMismatch" },
17283
19843
  { type: "error", inputs: [], name: "RouterMsgSenderInvalid" },
17284
19844
  { type: "error", inputs: [], name: "UnknownCallback" },
17285
19845
  { type: "error", inputs: [], name: "UnlockedFillNotAllowed" },
19846
+ { type: "error", inputs: [], name: "WethTransferFailed" },
17286
19847
  { type: "error", inputs: [], name: "ZeroMaker" },
17287
19848
  { type: "error", inputs: [], name: "ZeroOrderSize" },
17288
19849
  { type: "error", inputs: [], name: "ZeroRealizedOrder" }
17289
19850
  ];
17290
19851
  var zoraRouterAddress = {
17291
- 8453: "0x42E354928b1BD9082FAFc2dF01222827E9fD098F"
19852
+ 8453: "0x479b190b78Be5bf020fbb496dDD2cE3d6e573bb1"
17292
19853
  };
17293
19854
  var zoraRouterConfig = {
17294
19855
  address: zoraRouterAddress,
@@ -20321,6 +22882,18 @@ export {
20321
22882
  commentsConfig,
20322
22883
  __exports as contracts1155,
20323
22884
  decodeBuySupplyWithSwapRouterHookReturn,
22885
+ devBuySupplyWithSwapRouterHookABI,
22886
+ devBuySupplyWithSwapRouterHookAddress,
22887
+ devBuySupplyWithSwapRouterHookConfig,
22888
+ devCoinFactoryABI,
22889
+ devCoinFactoryAddress,
22890
+ devCoinFactoryConfig,
22891
+ devZoraLimitOrderBookABI,
22892
+ devZoraLimitOrderBookAddress,
22893
+ devZoraLimitOrderBookConfig,
22894
+ devZoraRouterABI,
22895
+ devZoraRouterAddress,
22896
+ devZoraRouterConfig,
20324
22897
  emptyCommentIdentifier,
20325
22898
  encodeMultiCurvePoolConfig,
20326
22899
  encodePremintConfig,