@zoralabs/protocol-deployments 0.5.5-PRE.0 → 0.5.5

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
@@ -70,6 +70,7 @@ var buySupplyWithSwapRouterHookABI = [
70
70
  }
71
71
  ];
72
72
  var buySupplyWithSwapRouterHookAddress = {
73
+ 8453: "0x264b731e40691Da5B40aA63AC5c3B7F7DAafA721",
73
74
  84532: "0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8"
74
75
  };
75
76
  var buySupplyWithSwapRouterHookConfig = {
@@ -1131,55 +1132,6 @@ var coinABI = [
1131
1132
  outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
1132
1133
  stateMutability: "view"
1133
1134
  },
1134
- {
1135
- type: "function",
1136
- inputs: [],
1137
- name: "MAX_TOTAL_SUPPLY",
1138
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1139
- stateMutability: "view"
1140
- },
1141
- {
1142
- type: "function",
1143
- inputs: [],
1144
- name: "MIN_ORDER_SIZE",
1145
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1146
- stateMutability: "view"
1147
- },
1148
- {
1149
- type: "function",
1150
- inputs: [],
1151
- name: "PLATFORM_REFERRER_FEE_BPS",
1152
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1153
- stateMutability: "view"
1154
- },
1155
- {
1156
- type: "function",
1157
- inputs: [],
1158
- name: "PROTOCOL_FEE_BPS",
1159
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1160
- stateMutability: "view"
1161
- },
1162
- {
1163
- type: "function",
1164
- inputs: [],
1165
- name: "TOKEN_CREATOR_FEE_BPS",
1166
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1167
- stateMutability: "view"
1168
- },
1169
- {
1170
- type: "function",
1171
- inputs: [],
1172
- name: "TOTAL_FEE_BPS",
1173
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1174
- stateMutability: "view"
1175
- },
1176
- {
1177
- type: "function",
1178
- inputs: [],
1179
- name: "TRADE_REFERRER_FEE_BPS",
1180
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1181
- stateMutability: "view"
1182
- },
1183
1135
  {
1184
1136
  type: "function",
1185
1137
  inputs: [],
@@ -1332,6 +1284,20 @@ var coinABI = [
1332
1284
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1333
1285
  stateMutability: "view"
1334
1286
  },
1287
+ {
1288
+ type: "function",
1289
+ inputs: [],
1290
+ name: "market",
1291
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
1292
+ stateMutability: "view"
1293
+ },
1294
+ {
1295
+ type: "function",
1296
+ inputs: [],
1297
+ name: "marketVersion",
1298
+ outputs: [{ name: "", internalType: "uint8", type: "uint8" }],
1299
+ stateMutability: "view"
1300
+ },
1335
1301
  {
1336
1302
  type: "function",
1337
1303
  inputs: [],
@@ -1977,6 +1943,7 @@ var coinABI = [
1977
1943
  name: "AddressInsufficientBalance"
1978
1944
  },
1979
1945
  { type: "error", inputs: [], name: "AddressZero" },
1946
+ { type: "error", inputs: [], name: "AddressZero" },
1980
1947
  { type: "error", inputs: [], name: "AlreadyOwner" },
1981
1948
  { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
1982
1949
  {
@@ -2067,6 +2034,7 @@ var coinABI = [
2067
2034
  { type: "error", inputs: [], name: "InvalidInitialization" },
2068
2035
  { type: "error", inputs: [], name: "InvalidMarketType" },
2069
2036
  { type: "error", inputs: [], name: "InvalidPoolVersion" },
2037
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
2070
2038
  {
2071
2039
  type: "error",
2072
2040
  inputs: [
@@ -2092,7 +2060,14 @@ var coinABI = [
2092
2060
  { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
2093
2061
  { type: "error", inputs: [], name: "OneOwnerRequired" },
2094
2062
  { type: "error", inputs: [], name: "OnlyOwner" },
2095
- { type: "error", inputs: [], name: "OnlyPool" },
2063
+ {
2064
+ type: "error",
2065
+ inputs: [
2066
+ { name: "sender", internalType: "address", type: "address" },
2067
+ { name: "pool", internalType: "address", type: "address" }
2068
+ ],
2069
+ name: "OnlyPool"
2070
+ },
2096
2071
  { type: "error", inputs: [], name: "OnlyWeth" },
2097
2072
  { type: "error", inputs: [], name: "OwnerCannotBeAddressZero" },
2098
2073
  { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
@@ -15892,7 +15867,7 @@ var encodeBuySupplyWithSingleHopSwapRouterHookCall = ({
15892
15867
  ]
15893
15868
  });
15894
15869
  return {
15895
- hook: encodeBuySupplyWithSwapRouterHookCalldata(hook, callToSwapRouter),
15870
+ hook,
15896
15871
  hookData: encodeBuySupplyWithSwapRouterHookCalldata(
15897
15872
  buyRecipient,
15898
15873
  callToSwapRouter
@@ -15918,7 +15893,7 @@ var encodeBuySupplyWithMultiHopSwapRouterHookCall = ({
15918
15893
  ]
15919
15894
  });
15920
15895
  return {
15921
- hook: encodeBuySupplyWithSwapRouterHookCalldata(hook, callToSwapRouter),
15896
+ hook,
15922
15897
  hookData: encodeBuySupplyWithSwapRouterHookCalldata(
15923
15898
  buyRecipient,
15924
15899
  callToSwapRouter