@zoralabs/protocol-deployments 0.5.9 → 0.5.10

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
@@ -22,7 +22,8 @@ var buySupplyWithSwapRouterHookABI = [
22
22
  internalType: "contract IZoraFactory",
23
23
  type: "address"
24
24
  },
25
- { name: "_swapRouter", internalType: "address", type: "address" }
25
+ { name: "_swapRouter", internalType: "address", type: "address" },
26
+ { name: "_poolManager", internalType: "address", type: "address" }
26
27
  ],
27
28
  stateMutability: "nonpayable"
28
29
  },
@@ -53,16 +54,29 @@ var buySupplyWithSwapRouterHookABI = [
53
54
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
54
55
  stateMutability: "pure"
55
56
  },
57
+ {
58
+ type: "function",
59
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
60
+ name: "unlockCallback",
61
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
62
+ stateMutability: "nonpayable"
63
+ },
56
64
  { type: "error", inputs: [], name: "AddressZero" },
57
65
  {
58
66
  type: "error",
59
67
  inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
60
68
  name: "CoinBalanceNot0"
61
69
  },
70
+ {
71
+ type: "error",
72
+ inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
73
+ name: "CurrencyBalanceNot0"
74
+ },
62
75
  { type: "error", inputs: [], name: "Erc20NotReceived" },
63
76
  { type: "error", inputs: [], name: "HookNotImplemented" },
64
77
  { type: "error", inputs: [], name: "InvalidSwapRouterCall" },
65
78
  { type: "error", inputs: [], name: "NotFactory" },
79
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
66
80
  {
67
81
  type: "error",
68
82
  inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
@@ -70,7 +84,7 @@ var buySupplyWithSwapRouterHookABI = [
70
84
  }
71
85
  ];
72
86
  var buySupplyWithSwapRouterHookAddress = {
73
- 8453: "0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed",
87
+ 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25",
74
88
  84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE"
75
89
  };
76
90
  var buySupplyWithSwapRouterHookConfig = {
@@ -1250,7 +1264,7 @@ var coinABI = [
1250
1264
  {
1251
1265
  type: "function",
1252
1266
  inputs: [],
1253
- name: "doppler",
1267
+ name: "dopplerFeeRecipient",
1254
1268
  outputs: [{ name: "", internalType: "address", type: "address" }],
1255
1269
  stateMutability: "view"
1256
1270
  },
@@ -2717,7 +2731,7 @@ var coinV4ABI = [
2717
2731
  {
2718
2732
  type: "function",
2719
2733
  inputs: [],
2720
- name: "doppler",
2734
+ name: "dopplerFeeRecipient",
2721
2735
  outputs: [{ name: "", internalType: "address", type: "address" }],
2722
2736
  stateMutability: "view"
2723
2737
  },
@@ -5364,7 +5378,8 @@ var devBuySupplyWithSwapRouterHookABI = [
5364
5378
  internalType: "contract IZoraFactory",
5365
5379
  type: "address"
5366
5380
  },
5367
- { name: "_swapRouter", internalType: "address", type: "address" }
5381
+ { name: "_swapRouter", internalType: "address", type: "address" },
5382
+ { name: "_poolManager", internalType: "address", type: "address" }
5368
5383
  ],
5369
5384
  stateMutability: "nonpayable"
5370
5385
  },
@@ -5395,16 +5410,29 @@ var devBuySupplyWithSwapRouterHookABI = [
5395
5410
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
5396
5411
  stateMutability: "pure"
5397
5412
  },
5413
+ {
5414
+ type: "function",
5415
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
5416
+ name: "unlockCallback",
5417
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
5418
+ stateMutability: "nonpayable"
5419
+ },
5398
5420
  { type: "error", inputs: [], name: "AddressZero" },
5399
5421
  {
5400
5422
  type: "error",
5401
5423
  inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
5402
5424
  name: "CoinBalanceNot0"
5403
5425
  },
5426
+ {
5427
+ type: "error",
5428
+ inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
5429
+ name: "CurrencyBalanceNot0"
5430
+ },
5404
5431
  { type: "error", inputs: [], name: "Erc20NotReceived" },
5405
5432
  { type: "error", inputs: [], name: "HookNotImplemented" },
5406
5433
  { type: "error", inputs: [], name: "InvalidSwapRouterCall" },
5407
5434
  { type: "error", inputs: [], name: "NotFactory" },
5435
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
5408
5436
  {
5409
5437
  type: "error",
5410
5438
  inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
@@ -5412,7 +5440,7 @@ var devBuySupplyWithSwapRouterHookABI = [
5412
5440
  }
5413
5441
  ];
5414
5442
  var devBuySupplyWithSwapRouterHookAddress = {
5415
- 8453: "0x8A329330481Ee53FADb75068fEe531dCb8Cf1c98"
5443
+ 8453: "0x0a747629609b22E348d0ea9865fC2A5a04ED945d"
5416
5444
  };
5417
5445
  var devBuySupplyWithSwapRouterHookConfig = {
5418
5446
  address: devBuySupplyWithSwapRouterHookAddress,