@zoralabs/protocol-deployments 0.5.7 → 0.5.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.5.7",
3
+ "version": "0.5.9",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -4,7 +4,7 @@
4
4
 
5
5
  /**
6
6
  * - [__View Contract on Base Basescan__](https://basescan.org/address/0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed)
7
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x1463f270201b846a8B243243D4B982CB0720fA86)
7
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
8
8
  */
9
9
  export const buySupplyWithSwapRouterHookABI = [
10
10
  {
@@ -65,16 +65,16 @@ export const buySupplyWithSwapRouterHookABI = [
65
65
 
66
66
  /**
67
67
  * - [__View Contract on Base Basescan__](https://basescan.org/address/0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed)
68
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x1463f270201b846a8B243243D4B982CB0720fA86)
68
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
69
69
  */
70
70
  export const buySupplyWithSwapRouterHookAddress = {
71
71
  8453: '0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed',
72
- 84532: '0x1463f270201b846a8B243243D4B982CB0720fA86',
72
+ 84532: '0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE',
73
73
  } as const
74
74
 
75
75
  /**
76
76
  * - [__View Contract on Base Basescan__](https://basescan.org/address/0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed)
77
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x1463f270201b846a8B243243D4B982CB0720fA86)
77
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
78
78
  */
79
79
  export const buySupplyWithSwapRouterHookConfig = {
80
80
  address: buySupplyWithSwapRouterHookAddress,
@@ -2197,7 +2197,7 @@ export const coinABI = [
2197
2197
 
2198
2198
  /**
2199
2199
  * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
2200
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
2200
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
2201
2201
  */
2202
2202
  export const coinFactoryABI = [
2203
2203
  {
@@ -2661,16 +2661,16 @@ export const coinFactoryABI = [
2661
2661
 
2662
2662
  /**
2663
2663
  * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
2664
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
2664
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
2665
2665
  */
2666
2666
  export const coinFactoryAddress = {
2667
2667
  8453: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
2668
- 84532: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
2668
+ 84532: '0xaF88840cb637F2684A9E460316b1678AD6245e4a',
2669
2669
  } as const
2670
2670
 
2671
2671
  /**
2672
2672
  * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
2673
- * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
2673
+ * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
2674
2674
  */
2675
2675
  export const coinFactoryConfig = {
2676
2676
  address: coinFactoryAddress,
@@ -5508,6 +5508,85 @@ export const commentsConfig = {
5508
5508
  abi: commentsABI,
5509
5509
  } as const
5510
5510
 
5511
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5512
+ // DevBuySupplyWithSwapRouterHook
5513
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5514
+
5515
+ /**
5516
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x8A329330481Ee53FADb75068fEe531dCb8Cf1c98)
5517
+ */
5518
+ export const devBuySupplyWithSwapRouterHookABI = [
5519
+ {
5520
+ type: 'constructor',
5521
+ inputs: [
5522
+ {
5523
+ name: '_factory',
5524
+ internalType: 'contract IZoraFactory',
5525
+ type: 'address',
5526
+ },
5527
+ { name: '_swapRouter', internalType: 'address', type: 'address' },
5528
+ ],
5529
+ stateMutability: 'nonpayable',
5530
+ },
5531
+ {
5532
+ type: 'function',
5533
+ inputs: [
5534
+ { name: 'sender', internalType: 'address', type: 'address' },
5535
+ { name: 'coin', internalType: 'contract ICoin', type: 'address' },
5536
+ { name: 'hookData', internalType: 'bytes', type: 'bytes' },
5537
+ ],
5538
+ name: 'afterCoinDeploy',
5539
+ outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
5540
+ stateMutability: 'payable',
5541
+ },
5542
+ {
5543
+ type: 'function',
5544
+ inputs: [],
5545
+ name: 'factory',
5546
+ outputs: [
5547
+ { name: '', internalType: 'contract IZoraFactory', type: 'address' },
5548
+ ],
5549
+ stateMutability: 'view',
5550
+ },
5551
+ {
5552
+ type: 'function',
5553
+ inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
5554
+ name: 'supportsInterface',
5555
+ outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
5556
+ stateMutability: 'pure',
5557
+ },
5558
+ { type: 'error', inputs: [], name: 'AddressZero' },
5559
+ {
5560
+ type: 'error',
5561
+ inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
5562
+ name: 'CoinBalanceNot0',
5563
+ },
5564
+ { type: 'error', inputs: [], name: 'Erc20NotReceived' },
5565
+ { type: 'error', inputs: [], name: 'HookNotImplemented' },
5566
+ { type: 'error', inputs: [], name: 'InvalidSwapRouterCall' },
5567
+ { type: 'error', inputs: [], name: 'NotFactory' },
5568
+ {
5569
+ type: 'error',
5570
+ inputs: [{ name: 'error', internalType: 'bytes', type: 'bytes' }],
5571
+ name: 'SwapReverted',
5572
+ },
5573
+ ] as const
5574
+
5575
+ /**
5576
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x8A329330481Ee53FADb75068fEe531dCb8Cf1c98)
5577
+ */
5578
+ export const devBuySupplyWithSwapRouterHookAddress = {
5579
+ 8453: '0x8A329330481Ee53FADb75068fEe531dCb8Cf1c98',
5580
+ } as const
5581
+
5582
+ /**
5583
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x8A329330481Ee53FADb75068fEe531dCb8Cf1c98)
5584
+ */
5585
+ export const devBuySupplyWithSwapRouterHookConfig = {
5586
+ address: devBuySupplyWithSwapRouterHookAddress,
5587
+ abi: devBuySupplyWithSwapRouterHookABI,
5588
+ } as const
5589
+
5511
5590
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5512
5591
  // DevCoinFactory
5513
5592
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////