@zoralabs/protocol-deployments 0.5.5 → 0.5.6-PRE.1

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
@@ -70,8 +70,8 @@ var buySupplyWithSwapRouterHookABI = [
70
70
  }
71
71
  ];
72
72
  var buySupplyWithSwapRouterHookAddress = {
73
- 8453: "0x264b731e40691Da5B40aA63AC5c3B7F7DAafA721",
74
- 84532: "0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8"
73
+ 8453: "0x5Ee02936e2A92133aC66B5235cAf4ad59E25632d",
74
+ 84532: "0xe7D871cD216f780b1B66e2652Dc5072ebB71C14F"
75
75
  };
76
76
  var buySupplyWithSwapRouterHookConfig = {
77
77
  address: buySupplyWithSwapRouterHookAddress,
@@ -2082,7 +2082,10 @@ var coinABI = [
2082
2082
  var coinFactoryABI = [
2083
2083
  {
2084
2084
  type: "constructor",
2085
- inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
2085
+ inputs: [
2086
+ { name: "_coinImpl", internalType: "address", type: "address" },
2087
+ { name: "_coinV4Impl", internalType: "address", type: "address" }
2088
+ ],
2086
2089
  stateMutability: "nonpayable"
2087
2090
  },
2088
2091
  {
@@ -2099,6 +2102,13 @@ var coinFactoryABI = [
2099
2102
  outputs: [{ name: "", internalType: "address", type: "address" }],
2100
2103
  stateMutability: "view"
2101
2104
  },
2105
+ {
2106
+ type: "function",
2107
+ inputs: [],
2108
+ name: "coinV4Impl",
2109
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2110
+ stateMutability: "view"
2111
+ },
2102
2112
  {
2103
2113
  type: "function",
2104
2114
  inputs: [],
@@ -2283,6 +2293,70 @@ var coinFactoryABI = [
2283
2293
  ],
2284
2294
  name: "CoinCreated"
2285
2295
  },
2296
+ {
2297
+ type: "event",
2298
+ anonymous: false,
2299
+ inputs: [
2300
+ {
2301
+ name: "caller",
2302
+ internalType: "address",
2303
+ type: "address",
2304
+ indexed: true
2305
+ },
2306
+ {
2307
+ name: "payoutRecipient",
2308
+ internalType: "address",
2309
+ type: "address",
2310
+ indexed: true
2311
+ },
2312
+ {
2313
+ name: "platformReferrer",
2314
+ internalType: "address",
2315
+ type: "address",
2316
+ indexed: true
2317
+ },
2318
+ {
2319
+ name: "currency",
2320
+ internalType: "address",
2321
+ type: "address",
2322
+ indexed: false
2323
+ },
2324
+ { name: "uri", internalType: "string", type: "string", indexed: false },
2325
+ { name: "name", internalType: "string", type: "string", indexed: false },
2326
+ {
2327
+ name: "symbol",
2328
+ internalType: "string",
2329
+ type: "string",
2330
+ indexed: false
2331
+ },
2332
+ {
2333
+ name: "coin",
2334
+ internalType: "address",
2335
+ type: "address",
2336
+ indexed: false
2337
+ },
2338
+ {
2339
+ name: "poolKey",
2340
+ internalType: "struct PoolKey",
2341
+ type: "tuple",
2342
+ components: [
2343
+ { name: "currency0", internalType: "Currency", type: "address" },
2344
+ { name: "currency1", internalType: "Currency", type: "address" },
2345
+ { name: "fee", internalType: "uint24", type: "uint24" },
2346
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
2347
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
2348
+ ],
2349
+ indexed: false
2350
+ },
2351
+ {
2352
+ name: "version",
2353
+ internalType: "string",
2354
+ type: "string",
2355
+ indexed: false
2356
+ }
2357
+ ],
2358
+ name: "CoinCreatedV4"
2359
+ },
2286
2360
  {
2287
2361
  type: "event",
2288
2362
  anonymous: false,
@@ -2352,6 +2426,7 @@ var coinFactoryABI = [
2352
2426
  { type: "error", inputs: [], name: "FailedInnerCall" },
2353
2427
  { type: "error", inputs: [], name: "InvalidHook" },
2354
2428
  { type: "error", inputs: [], name: "InvalidInitialization" },
2429
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
2355
2430
  { type: "error", inputs: [], name: "NotInitializing" },
2356
2431
  {
2357
2432
  type: "error",
@@ -4167,6 +4242,393 @@ var commentsConfig = {
4167
4242
  address: commentsAddress,
4168
4243
  abi: commentsABI
4169
4244
  };
4245
+ var devCoinFactoryABI = [
4246
+ {
4247
+ type: "constructor",
4248
+ inputs: [
4249
+ { name: "_coinImpl", internalType: "address", type: "address" },
4250
+ { name: "_coinV4Impl", internalType: "address", type: "address" }
4251
+ ],
4252
+ stateMutability: "nonpayable"
4253
+ },
4254
+ {
4255
+ type: "function",
4256
+ inputs: [],
4257
+ name: "UPGRADE_INTERFACE_VERSION",
4258
+ outputs: [{ name: "", internalType: "string", type: "string" }],
4259
+ stateMutability: "view"
4260
+ },
4261
+ {
4262
+ type: "function",
4263
+ inputs: [],
4264
+ name: "coinImpl",
4265
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4266
+ stateMutability: "view"
4267
+ },
4268
+ {
4269
+ type: "function",
4270
+ inputs: [],
4271
+ name: "coinV4Impl",
4272
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4273
+ stateMutability: "view"
4274
+ },
4275
+ {
4276
+ type: "function",
4277
+ inputs: [],
4278
+ name: "contractName",
4279
+ outputs: [{ name: "", internalType: "string", type: "string" }],
4280
+ stateMutability: "pure"
4281
+ },
4282
+ {
4283
+ type: "function",
4284
+ inputs: [],
4285
+ name: "contractVersion",
4286
+ outputs: [{ name: "", internalType: "string", type: "string" }],
4287
+ stateMutability: "pure"
4288
+ },
4289
+ {
4290
+ type: "function",
4291
+ inputs: [
4292
+ { name: "payoutRecipient", internalType: "address", type: "address" },
4293
+ { name: "owners", internalType: "address[]", type: "address[]" },
4294
+ { name: "uri", internalType: "string", type: "string" },
4295
+ { name: "name", internalType: "string", type: "string" },
4296
+ { name: "symbol", internalType: "string", type: "string" },
4297
+ { name: "platformReferrer", internalType: "address", type: "address" },
4298
+ { name: "currency", internalType: "address", type: "address" },
4299
+ { name: "tickLower", internalType: "int24", type: "int24" },
4300
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
4301
+ ],
4302
+ name: "deploy",
4303
+ outputs: [
4304
+ { name: "", internalType: "address", type: "address" },
4305
+ { name: "", internalType: "uint256", type: "uint256" }
4306
+ ],
4307
+ stateMutability: "payable"
4308
+ },
4309
+ {
4310
+ type: "function",
4311
+ inputs: [
4312
+ { name: "payoutRecipient", internalType: "address", type: "address" },
4313
+ { name: "owners", internalType: "address[]", type: "address[]" },
4314
+ { name: "uri", internalType: "string", type: "string" },
4315
+ { name: "name", internalType: "string", type: "string" },
4316
+ { name: "symbol", internalType: "string", type: "string" },
4317
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
4318
+ { name: "platformReferrer", internalType: "address", type: "address" },
4319
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
4320
+ ],
4321
+ name: "deploy",
4322
+ outputs: [
4323
+ { name: "", internalType: "address", type: "address" },
4324
+ { name: "", internalType: "uint256", type: "uint256" }
4325
+ ],
4326
+ stateMutability: "payable"
4327
+ },
4328
+ {
4329
+ type: "function",
4330
+ inputs: [
4331
+ { name: "payoutRecipient", internalType: "address", type: "address" },
4332
+ { name: "owners", internalType: "address[]", type: "address[]" },
4333
+ { name: "uri", internalType: "string", type: "string" },
4334
+ { name: "name", internalType: "string", type: "string" },
4335
+ { name: "symbol", internalType: "string", type: "string" },
4336
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
4337
+ { name: "platformReferrer", internalType: "address", type: "address" },
4338
+ { name: "hook", internalType: "address", type: "address" },
4339
+ { name: "hookData", internalType: "bytes", type: "bytes" }
4340
+ ],
4341
+ name: "deployWithHook",
4342
+ outputs: [
4343
+ { name: "coin", internalType: "address", type: "address" },
4344
+ { name: "hookDataOut", internalType: "bytes", type: "bytes" }
4345
+ ],
4346
+ stateMutability: "payable"
4347
+ },
4348
+ {
4349
+ type: "function",
4350
+ inputs: [],
4351
+ name: "implementation",
4352
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4353
+ stateMutability: "view"
4354
+ },
4355
+ {
4356
+ type: "function",
4357
+ inputs: [
4358
+ { name: "initialOwner", internalType: "address", type: "address" }
4359
+ ],
4360
+ name: "initialize",
4361
+ outputs: [],
4362
+ stateMutability: "nonpayable"
4363
+ },
4364
+ {
4365
+ type: "function",
4366
+ inputs: [],
4367
+ name: "owner",
4368
+ outputs: [{ name: "", internalType: "address", type: "address" }],
4369
+ stateMutability: "view"
4370
+ },
4371
+ {
4372
+ type: "function",
4373
+ inputs: [],
4374
+ name: "proxiableUUID",
4375
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
4376
+ stateMutability: "view"
4377
+ },
4378
+ {
4379
+ type: "function",
4380
+ inputs: [],
4381
+ name: "renounceOwnership",
4382
+ outputs: [],
4383
+ stateMutability: "nonpayable"
4384
+ },
4385
+ {
4386
+ type: "function",
4387
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
4388
+ name: "transferOwnership",
4389
+ outputs: [],
4390
+ stateMutability: "nonpayable"
4391
+ },
4392
+ {
4393
+ type: "function",
4394
+ inputs: [
4395
+ { name: "newImplementation", internalType: "address", type: "address" },
4396
+ { name: "data", internalType: "bytes", type: "bytes" }
4397
+ ],
4398
+ name: "upgradeToAndCall",
4399
+ outputs: [],
4400
+ stateMutability: "payable"
4401
+ },
4402
+ {
4403
+ type: "event",
4404
+ anonymous: false,
4405
+ inputs: [
4406
+ {
4407
+ name: "caller",
4408
+ internalType: "address",
4409
+ type: "address",
4410
+ indexed: true
4411
+ },
4412
+ {
4413
+ name: "payoutRecipient",
4414
+ internalType: "address",
4415
+ type: "address",
4416
+ indexed: true
4417
+ },
4418
+ {
4419
+ name: "platformReferrer",
4420
+ internalType: "address",
4421
+ type: "address",
4422
+ indexed: true
4423
+ },
4424
+ {
4425
+ name: "currency",
4426
+ internalType: "address",
4427
+ type: "address",
4428
+ indexed: false
4429
+ },
4430
+ { name: "uri", internalType: "string", type: "string", indexed: false },
4431
+ { name: "name", internalType: "string", type: "string", indexed: false },
4432
+ {
4433
+ name: "symbol",
4434
+ internalType: "string",
4435
+ type: "string",
4436
+ indexed: false
4437
+ },
4438
+ {
4439
+ name: "coin",
4440
+ internalType: "address",
4441
+ type: "address",
4442
+ indexed: false
4443
+ },
4444
+ {
4445
+ name: "pool",
4446
+ internalType: "address",
4447
+ type: "address",
4448
+ indexed: false
4449
+ },
4450
+ {
4451
+ name: "version",
4452
+ internalType: "string",
4453
+ type: "string",
4454
+ indexed: false
4455
+ }
4456
+ ],
4457
+ name: "CoinCreated"
4458
+ },
4459
+ {
4460
+ type: "event",
4461
+ anonymous: false,
4462
+ inputs: [
4463
+ {
4464
+ name: "caller",
4465
+ internalType: "address",
4466
+ type: "address",
4467
+ indexed: true
4468
+ },
4469
+ {
4470
+ name: "payoutRecipient",
4471
+ internalType: "address",
4472
+ type: "address",
4473
+ indexed: true
4474
+ },
4475
+ {
4476
+ name: "platformReferrer",
4477
+ internalType: "address",
4478
+ type: "address",
4479
+ indexed: true
4480
+ },
4481
+ {
4482
+ name: "currency",
4483
+ internalType: "address",
4484
+ type: "address",
4485
+ indexed: false
4486
+ },
4487
+ { name: "uri", internalType: "string", type: "string", indexed: false },
4488
+ { name: "name", internalType: "string", type: "string", indexed: false },
4489
+ {
4490
+ name: "symbol",
4491
+ internalType: "string",
4492
+ type: "string",
4493
+ indexed: false
4494
+ },
4495
+ {
4496
+ name: "coin",
4497
+ internalType: "address",
4498
+ type: "address",
4499
+ indexed: false
4500
+ },
4501
+ {
4502
+ name: "poolKey",
4503
+ internalType: "struct PoolKey",
4504
+ type: "tuple",
4505
+ components: [
4506
+ { name: "currency0", internalType: "Currency", type: "address" },
4507
+ { name: "currency1", internalType: "Currency", type: "address" },
4508
+ { name: "fee", internalType: "uint24", type: "uint24" },
4509
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
4510
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
4511
+ ],
4512
+ indexed: false
4513
+ },
4514
+ {
4515
+ name: "version",
4516
+ internalType: "string",
4517
+ type: "string",
4518
+ indexed: false
4519
+ }
4520
+ ],
4521
+ name: "CoinCreatedV4"
4522
+ },
4523
+ {
4524
+ type: "event",
4525
+ anonymous: false,
4526
+ inputs: [
4527
+ {
4528
+ name: "version",
4529
+ internalType: "uint64",
4530
+ type: "uint64",
4531
+ indexed: false
4532
+ }
4533
+ ],
4534
+ name: "Initialized"
4535
+ },
4536
+ {
4537
+ type: "event",
4538
+ anonymous: false,
4539
+ inputs: [
4540
+ {
4541
+ name: "previousOwner",
4542
+ internalType: "address",
4543
+ type: "address",
4544
+ indexed: true
4545
+ },
4546
+ {
4547
+ name: "newOwner",
4548
+ internalType: "address",
4549
+ type: "address",
4550
+ indexed: true
4551
+ }
4552
+ ],
4553
+ name: "OwnershipTransferred"
4554
+ },
4555
+ {
4556
+ type: "event",
4557
+ anonymous: false,
4558
+ inputs: [
4559
+ {
4560
+ name: "implementation",
4561
+ internalType: "address",
4562
+ type: "address",
4563
+ indexed: true
4564
+ }
4565
+ ],
4566
+ name: "Upgraded"
4567
+ },
4568
+ {
4569
+ type: "error",
4570
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
4571
+ name: "AddressEmptyCode"
4572
+ },
4573
+ {
4574
+ type: "error",
4575
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
4576
+ name: "AddressInsufficientBalance"
4577
+ },
4578
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
4579
+ {
4580
+ type: "error",
4581
+ inputs: [
4582
+ { name: "implementation", internalType: "address", type: "address" }
4583
+ ],
4584
+ name: "ERC1967InvalidImplementation"
4585
+ },
4586
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
4587
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
4588
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
4589
+ { type: "error", inputs: [], name: "FailedInnerCall" },
4590
+ { type: "error", inputs: [], name: "InvalidHook" },
4591
+ { type: "error", inputs: [], name: "InvalidInitialization" },
4592
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
4593
+ { type: "error", inputs: [], name: "NotInitializing" },
4594
+ {
4595
+ type: "error",
4596
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
4597
+ name: "OwnableInvalidOwner"
4598
+ },
4599
+ {
4600
+ type: "error",
4601
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
4602
+ name: "OwnableUnauthorizedAccount"
4603
+ },
4604
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
4605
+ {
4606
+ type: "error",
4607
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
4608
+ name: "SafeERC20FailedOperation"
4609
+ },
4610
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
4611
+ {
4612
+ type: "error",
4613
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
4614
+ name: "UUPSUnsupportedProxiableUUID"
4615
+ },
4616
+ {
4617
+ type: "error",
4618
+ inputs: [
4619
+ { name: "currentName", internalType: "string", type: "string" },
4620
+ { name: "newName", internalType: "string", type: "string" }
4621
+ ],
4622
+ name: "UpgradeToMismatchedContractName"
4623
+ }
4624
+ ];
4625
+ var devCoinFactoryAddress = {
4626
+ 8453: "0x8A7d3ae26c4De36A24BcC892953e6c3823bBFA85"
4627
+ };
4628
+ var devCoinFactoryConfig = {
4629
+ address: devCoinFactoryAddress,
4630
+ abi: devCoinFactoryABI
4631
+ };
4170
4632
  var erc20MinterABI = [
4171
4633
  {
4172
4634
  type: "function",
@@ -16178,7 +16640,11 @@ var chainConfigs2 = {
16178
16640
  DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
16179
16641
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
16180
16642
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
16181
- WETH: "0x4200000000000000000000000000000000000006"
16643
+ WETH: "0x4200000000000000000000000000000000000006",
16644
+ UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
16645
+ UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
16646
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
16647
+ UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
16182
16648
  },
16183
16649
  42161: {
16184
16650
  NONFUNGIBLE_POSITION_MANAGER: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
@@ -16201,7 +16667,11 @@ var chainConfigs2 = {
16201
16667
  DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
16202
16668
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
16203
16669
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
16204
- WETH: "0x4200000000000000000000000000000000000006"
16670
+ WETH: "0x4200000000000000000000000000000000000006",
16671
+ UNISWAP_V4_POOL_MANAGER: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
16672
+ UNISWAP_V4_POSITION_MANAGER: "0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80",
16673
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
16674
+ UNISWAP_UNIVERSAL_ROUTER: "0x492E6456D9528771018DeB9E87ef7750EF184104"
16205
16675
  },
16206
16676
  421614: {
16207
16677
  NONFUNGIBLE_POSITION_MANAGER: "0x6b2937Bde17889EDCf8fbD8dE31C3C2a70Bc4d65",
@@ -16329,6 +16799,9 @@ export {
16329
16799
  commentsConfig,
16330
16800
  __exports as contracts1155,
16331
16801
  decodeBuySupplyWithSwapRouterHookReturn,
16802
+ devCoinFactoryABI,
16803
+ devCoinFactoryAddress,
16804
+ devCoinFactoryConfig,
16332
16805
  emptyCommentIdentifier,
16333
16806
  encodeBuySupplyWithMultiHopSwapRouterHookCall,
16334
16807
  encodeBuySupplyWithSingleHopSwapRouterHookCall,