@zoralabs/protocol-deployments 0.5.8 → 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/dist/generated/wagmi.d.ts +207 -0
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +69 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +66 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/wagmi.ts +79 -0
package/package.json
CHANGED
package/src/generated/wagmi.ts
CHANGED
|
@@ -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
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|