@zoralabs/protocol-deployments 0.5.5 → 0.5.6-PRE.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
@@ -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",
@@ -2385,8 +2460,7 @@ var coinFactoryABI = [
2385
2460
  }
2386
2461
  ];
2387
2462
  var coinFactoryAddress = {
2388
- 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
2389
- 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3"
2463
+ 8453: "0x8A7d3ae26c4De36A24BcC892953e6c3823bBFA85"
2390
2464
  };
2391
2465
  var coinFactoryConfig = {
2392
2466
  address: coinFactoryAddress,
@@ -16178,7 +16252,11 @@ var chainConfigs2 = {
16178
16252
  DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
16179
16253
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
16180
16254
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
16181
- WETH: "0x4200000000000000000000000000000000000006"
16255
+ WETH: "0x4200000000000000000000000000000000000006",
16256
+ UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
16257
+ UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
16258
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
16259
+ UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43"
16182
16260
  },
16183
16261
  42161: {
16184
16262
  NONFUNGIBLE_POSITION_MANAGER: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
@@ -16201,7 +16279,11 @@ var chainConfigs2 = {
16201
16279
  DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
16202
16280
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
16203
16281
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
16204
- WETH: "0x4200000000000000000000000000000000000006"
16282
+ WETH: "0x4200000000000000000000000000000000000006",
16283
+ UNISWAP_V4_POOL_MANAGER: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
16284
+ UNISWAP_V4_POSITION_MANAGER: "0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80",
16285
+ UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
16286
+ UNISWAP_UNIVERSAL_ROUTER: "0x492E6456D9528771018DeB9E87ef7750EF184104"
16205
16287
  },
16206
16288
  421614: {
16207
16289
  NONFUNGIBLE_POSITION_MANAGER: "0x6b2937Bde17889EDCf8fbD8dE31C3C2a70Bc4d65",