@zoralabs/protocol-deployments 0.6.2 → 0.6.3

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
@@ -1293,6 +1293,15 @@ var coinABI = [
1293
1293
  outputs: [],
1294
1294
  stateMutability: "nonpayable"
1295
1295
  },
1296
+ {
1297
+ type: "function",
1298
+ inputs: [],
1299
+ name: "coinType",
1300
+ outputs: [
1301
+ { name: "", internalType: "enum IHasCoinType.CoinType", type: "uint8" }
1302
+ ],
1303
+ stateMutability: "view"
1304
+ },
1296
1305
  {
1297
1306
  type: "function",
1298
1307
  inputs: [],
@@ -1674,6 +1683,13 @@ var coinABI = [
1674
1683
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1675
1684
  stateMutability: "view"
1676
1685
  },
1686
+ {
1687
+ type: "function",
1688
+ inputs: [],
1689
+ name: "totalSupplyForPositions",
1690
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1691
+ stateMutability: "view"
1692
+ },
1677
1693
  {
1678
1694
  type: "function",
1679
1695
  inputs: [
@@ -2287,7 +2303,6 @@ var coinABI = [
2287
2303
  },
2288
2304
  { type: "error", inputs: [], name: "OnlyWeth" },
2289
2305
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
2290
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2291
2306
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
2292
2307
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
2293
2308
  ];
@@ -2295,10 +2310,10 @@ var coinFactoryABI = [
2295
2310
  {
2296
2311
  type: "constructor",
2297
2312
  inputs: [
2298
- { name: "_coinV4Impl", internalType: "address", type: "address" },
2299
- { name: "_creatorCoinImpl", internalType: "address", type: "address" },
2300
- { name: "_contentCoinHook", internalType: "address", type: "address" },
2301
- { name: "_creatorCoinHook", internalType: "address", type: "address" }
2313
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
2314
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
2315
+ { name: "hook_", internalType: "address", type: "address" },
2316
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
2302
2317
  ],
2303
2318
  stateMutability: "nonpayable"
2304
2319
  },
@@ -2383,7 +2398,7 @@ var coinFactoryABI = [
2383
2398
  { name: "platformReferrer", internalType: "address", type: "address" },
2384
2399
  { name: "currency", internalType: "address", type: "address" },
2385
2400
  { name: "", internalType: "int24", type: "int24" },
2386
- { name: "orderSize", internalType: "uint256", type: "uint256" }
2401
+ { name: "", internalType: "uint256", type: "uint256" }
2387
2402
  ],
2388
2403
  name: "deploy",
2389
2404
  outputs: [
@@ -2458,7 +2473,28 @@ var coinFactoryABI = [
2458
2473
  { name: "symbol", internalType: "string", type: "string" },
2459
2474
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
2460
2475
  { name: "platformReferrer", internalType: "address", type: "address" },
2461
- { name: "hook", internalType: "address", type: "address" },
2476
+ { name: "postDeployHook", internalType: "address", type: "address" },
2477
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
2478
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
2479
+ ],
2480
+ name: "deployCreatorCoin",
2481
+ outputs: [
2482
+ { name: "coin", internalType: "address", type: "address" },
2483
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
2484
+ ],
2485
+ stateMutability: "payable"
2486
+ },
2487
+ {
2488
+ type: "function",
2489
+ inputs: [
2490
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2491
+ { name: "owners", internalType: "address[]", type: "address[]" },
2492
+ { name: "uri", internalType: "string", type: "string" },
2493
+ { name: "name", internalType: "string", type: "string" },
2494
+ { name: "symbol", internalType: "string", type: "string" },
2495
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
2496
+ { name: "platformReferrer", internalType: "address", type: "address" },
2497
+ { name: "deployHook", internalType: "address", type: "address" },
2462
2498
  { name: "hookData", internalType: "bytes", type: "bytes" }
2463
2499
  ],
2464
2500
  name: "deployWithHook",
@@ -2475,6 +2511,13 @@ var coinFactoryABI = [
2475
2511
  outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
2476
2512
  stateMutability: "view"
2477
2513
  },
2514
+ {
2515
+ type: "function",
2516
+ inputs: [],
2517
+ name: "hook",
2518
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2519
+ stateMutability: "view"
2520
+ },
2478
2521
  {
2479
2522
  type: "function",
2480
2523
  inputs: [],
@@ -2536,6 +2579,13 @@ var coinFactoryABI = [
2536
2579
  outputs: [],
2537
2580
  stateMutability: "payable"
2538
2581
  },
2582
+ {
2583
+ type: "function",
2584
+ inputs: [],
2585
+ name: "zoraHookRegistry",
2586
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2587
+ stateMutability: "view"
2588
+ },
2539
2589
  {
2540
2590
  type: "event",
2541
2591
  anonymous: false,
@@ -2879,17 +2929,17 @@ var coinV4ABI = [
2879
2929
  type: "constructor",
2880
2930
  inputs: [
2881
2931
  {
2882
- name: "_protocolRewardRecipient",
2932
+ name: "protocolRewardRecipient_",
2883
2933
  internalType: "address",
2884
2934
  type: "address"
2885
2935
  },
2886
- { name: "_protocolRewards", internalType: "address", type: "address" },
2936
+ { name: "protocolRewards_", internalType: "address", type: "address" },
2887
2937
  {
2888
- name: "_poolManager",
2938
+ name: "poolManager_",
2889
2939
  internalType: "contract IPoolManager",
2890
2940
  type: "address"
2891
2941
  },
2892
- { name: "_airlock", internalType: "address", type: "address" }
2942
+ { name: "airlock_", internalType: "address", type: "address" }
2893
2943
  ],
2894
2944
  stateMutability: "nonpayable"
2895
2945
  },
@@ -2964,6 +3014,15 @@ var coinV4ABI = [
2964
3014
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
2965
3015
  stateMutability: "nonpayable"
2966
3016
  },
3017
+ {
3018
+ type: "function",
3019
+ inputs: [],
3020
+ name: "coinType",
3021
+ outputs: [
3022
+ { name: "", internalType: "enum IHasCoinType.CoinType", type: "uint8" }
3023
+ ],
3024
+ stateMutability: "pure"
3025
+ },
2967
3026
  {
2968
3027
  type: "function",
2969
3028
  inputs: [],
@@ -3359,6 +3418,13 @@ var coinV4ABI = [
3359
3418
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3360
3419
  stateMutability: "view"
3361
3420
  },
3421
+ {
3422
+ type: "function",
3423
+ inputs: [],
3424
+ name: "totalSupplyForPositions",
3425
+ outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
3426
+ stateMutability: "pure"
3427
+ },
3362
3428
  {
3363
3429
  type: "function",
3364
3430
  inputs: [
@@ -4024,7 +4090,6 @@ var coinV4ABI = [
4024
4090
  },
4025
4091
  { type: "error", inputs: [], name: "OnlyWeth" },
4026
4092
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
4027
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
4028
4093
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
4029
4094
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
4030
4095
  ];
@@ -5899,10 +5964,10 @@ var devCoinFactoryABI = [
5899
5964
  {
5900
5965
  type: "constructor",
5901
5966
  inputs: [
5902
- { name: "_coinV4Impl", internalType: "address", type: "address" },
5903
- { name: "_creatorCoinImpl", internalType: "address", type: "address" },
5904
- { name: "_contentCoinHook", internalType: "address", type: "address" },
5905
- { name: "_creatorCoinHook", internalType: "address", type: "address" }
5967
+ { name: "coinV4Impl_", internalType: "address", type: "address" },
5968
+ { name: "creatorCoinImpl_", internalType: "address", type: "address" },
5969
+ { name: "hook_", internalType: "address", type: "address" },
5970
+ { name: "zoraHookRegistry_", internalType: "address", type: "address" }
5906
5971
  ],
5907
5972
  stateMutability: "nonpayable"
5908
5973
  },
@@ -5987,7 +6052,7 @@ var devCoinFactoryABI = [
5987
6052
  { name: "platformReferrer", internalType: "address", type: "address" },
5988
6053
  { name: "currency", internalType: "address", type: "address" },
5989
6054
  { name: "", internalType: "int24", type: "int24" },
5990
- { name: "orderSize", internalType: "uint256", type: "uint256" }
6055
+ { name: "", internalType: "uint256", type: "uint256" }
5991
6056
  ],
5992
6057
  name: "deploy",
5993
6058
  outputs: [
@@ -6062,7 +6127,28 @@ var devCoinFactoryABI = [
6062
6127
  { name: "symbol", internalType: "string", type: "string" },
6063
6128
  { name: "poolConfig", internalType: "bytes", type: "bytes" },
6064
6129
  { name: "platformReferrer", internalType: "address", type: "address" },
6065
- { name: "hook", internalType: "address", type: "address" },
6130
+ { name: "postDeployHook", internalType: "address", type: "address" },
6131
+ { name: "postDeployHookData", internalType: "bytes", type: "bytes" },
6132
+ { name: "coinSalt", internalType: "bytes32", type: "bytes32" }
6133
+ ],
6134
+ name: "deployCreatorCoin",
6135
+ outputs: [
6136
+ { name: "coin", internalType: "address", type: "address" },
6137
+ { name: "postDeployHookDataOut", internalType: "bytes", type: "bytes" }
6138
+ ],
6139
+ stateMutability: "payable"
6140
+ },
6141
+ {
6142
+ type: "function",
6143
+ inputs: [
6144
+ { name: "payoutRecipient", internalType: "address", type: "address" },
6145
+ { name: "owners", internalType: "address[]", type: "address[]" },
6146
+ { name: "uri", internalType: "string", type: "string" },
6147
+ { name: "name", internalType: "string", type: "string" },
6148
+ { name: "symbol", internalType: "string", type: "string" },
6149
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
6150
+ { name: "platformReferrer", internalType: "address", type: "address" },
6151
+ { name: "deployHook", internalType: "address", type: "address" },
6066
6152
  { name: "hookData", internalType: "bytes", type: "bytes" }
6067
6153
  ],
6068
6154
  name: "deployWithHook",
@@ -6079,6 +6165,13 @@ var devCoinFactoryABI = [
6079
6165
  outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
6080
6166
  stateMutability: "view"
6081
6167
  },
6168
+ {
6169
+ type: "function",
6170
+ inputs: [],
6171
+ name: "hook",
6172
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6173
+ stateMutability: "view"
6174
+ },
6082
6175
  {
6083
6176
  type: "function",
6084
6177
  inputs: [],
@@ -6140,6 +6233,13 @@ var devCoinFactoryABI = [
6140
6233
  outputs: [],
6141
6234
  stateMutability: "payable"
6142
6235
  },
6236
+ {
6237
+ type: "function",
6238
+ inputs: [],
6239
+ name: "zoraHookRegistry",
6240
+ outputs: [{ name: "", internalType: "address", type: "address" }],
6241
+ stateMutability: "view"
6242
+ },
6143
6243
  {
6144
6244
  type: "event",
6145
6245
  anonymous: false,