@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/index.js CHANGED
@@ -5355,6 +5355,69 @@ var commentsConfig = {
5355
5355
  address: commentsAddress,
5356
5356
  abi: commentsABI
5357
5357
  };
5358
+ var devBuySupplyWithSwapRouterHookABI = [
5359
+ {
5360
+ type: "constructor",
5361
+ inputs: [
5362
+ {
5363
+ name: "_factory",
5364
+ internalType: "contract IZoraFactory",
5365
+ type: "address"
5366
+ },
5367
+ { name: "_swapRouter", internalType: "address", type: "address" }
5368
+ ],
5369
+ stateMutability: "nonpayable"
5370
+ },
5371
+ {
5372
+ type: "function",
5373
+ inputs: [
5374
+ { name: "sender", internalType: "address", type: "address" },
5375
+ { name: "coin", internalType: "contract ICoin", type: "address" },
5376
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5377
+ ],
5378
+ name: "afterCoinDeploy",
5379
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
5380
+ stateMutability: "payable"
5381
+ },
5382
+ {
5383
+ type: "function",
5384
+ inputs: [],
5385
+ name: "factory",
5386
+ outputs: [
5387
+ { name: "", internalType: "contract IZoraFactory", type: "address" }
5388
+ ],
5389
+ stateMutability: "view"
5390
+ },
5391
+ {
5392
+ type: "function",
5393
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
5394
+ name: "supportsInterface",
5395
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5396
+ stateMutability: "pure"
5397
+ },
5398
+ { type: "error", inputs: [], name: "AddressZero" },
5399
+ {
5400
+ type: "error",
5401
+ inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
5402
+ name: "CoinBalanceNot0"
5403
+ },
5404
+ { type: "error", inputs: [], name: "Erc20NotReceived" },
5405
+ { type: "error", inputs: [], name: "HookNotImplemented" },
5406
+ { type: "error", inputs: [], name: "InvalidSwapRouterCall" },
5407
+ { type: "error", inputs: [], name: "NotFactory" },
5408
+ {
5409
+ type: "error",
5410
+ inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
5411
+ name: "SwapReverted"
5412
+ }
5413
+ ];
5414
+ var devBuySupplyWithSwapRouterHookAddress = {
5415
+ 8453: "0x8A329330481Ee53FADb75068fEe531dCb8Cf1c98"
5416
+ };
5417
+ var devBuySupplyWithSwapRouterHookConfig = {
5418
+ address: devBuySupplyWithSwapRouterHookAddress,
5419
+ abi: devBuySupplyWithSwapRouterHookABI
5420
+ };
5358
5421
  var devCoinFactoryABI = [
5359
5422
  {
5360
5423
  type: "constructor",
@@ -18585,6 +18648,9 @@ export {
18585
18648
  commentsConfig,
18586
18649
  __exports as contracts1155,
18587
18650
  decodeBuySupplyWithSwapRouterHookReturn,
18651
+ devBuySupplyWithSwapRouterHookABI,
18652
+ devBuySupplyWithSwapRouterHookAddress,
18653
+ devBuySupplyWithSwapRouterHookConfig,
18588
18654
  devCoinFactoryABI,
18589
18655
  devCoinFactoryAddress,
18590
18656
  devCoinFactoryConfig,