@zoralabs/protocol-deployments 0.5.3 → 0.5.4

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
@@ -1052,12 +1052,9 @@ var coinABI = [
1052
1052
  },
1053
1053
  { name: "_protocolRewards", internalType: "address", type: "address" },
1054
1054
  { name: "_weth", internalType: "address", type: "address" },
1055
- {
1056
- name: "_nonfungiblePositionManager",
1057
- internalType: "address",
1058
- type: "address"
1059
- },
1060
- { name: "_swapRouter", internalType: "address", type: "address" }
1055
+ { name: "_v3Factory", internalType: "address", type: "address" },
1056
+ { name: "_swapRouter", internalType: "address", type: "address" },
1057
+ { name: "_airlock", internalType: "address", type: "address" }
1061
1058
  ],
1062
1059
  stateMutability: "nonpayable"
1063
1060
  },
@@ -1141,6 +1138,13 @@ var coinABI = [
1141
1138
  outputs: [],
1142
1139
  stateMutability: "nonpayable"
1143
1140
  },
1141
+ {
1142
+ type: "function",
1143
+ inputs: [],
1144
+ name: "airlock",
1145
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1146
+ stateMutability: "view"
1147
+ },
1144
1148
  {
1145
1149
  type: "function",
1146
1150
  inputs: [
@@ -1249,9 +1253,8 @@ var coinABI = [
1249
1253
  { name: "tokenURI_", internalType: "string", type: "string" },
1250
1254
  { name: "name_", internalType: "string", type: "string" },
1251
1255
  { name: "symbol_", internalType: "string", type: "string" },
1252
- { name: "platformReferrer_", internalType: "address", type: "address" },
1253
- { name: "currency_", internalType: "address", type: "address" },
1254
- { name: "tickLower_", internalType: "int24", type: "int24" }
1256
+ { name: "poolConfig_", internalType: "bytes", type: "bytes" },
1257
+ { name: "platformReferrer_", internalType: "address", type: "address" }
1255
1258
  ],
1256
1259
  name: "initialize",
1257
1260
  outputs: [],
@@ -1264,13 +1267,6 @@ var coinABI = [
1264
1267
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
1265
1268
  stateMutability: "view"
1266
1269
  },
1267
- {
1268
- type: "function",
1269
- inputs: [],
1270
- name: "lpTokenId",
1271
- outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1272
- stateMutability: "view"
1273
- },
1274
1270
  {
1275
1271
  type: "function",
1276
1272
  inputs: [],
@@ -1285,25 +1281,6 @@ var coinABI = [
1285
1281
  outputs: [{ name: "", internalType: "uint256", type: "uint256" }],
1286
1282
  stateMutability: "view"
1287
1283
  },
1288
- {
1289
- type: "function",
1290
- inputs: [],
1291
- name: "nonfungiblePositionManager",
1292
- outputs: [{ name: "", internalType: "address", type: "address" }],
1293
- stateMutability: "view"
1294
- },
1295
- {
1296
- type: "function",
1297
- inputs: [
1298
- { name: "", internalType: "address", type: "address" },
1299
- { name: "", internalType: "address", type: "address" },
1300
- { name: "", internalType: "uint256", type: "uint256" },
1301
- { name: "", internalType: "bytes", type: "bytes" }
1302
- ],
1303
- name: "onERC721Received",
1304
- outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }],
1305
- stateMutability: "view"
1306
- },
1307
1284
  {
1308
1285
  type: "function",
1309
1286
  inputs: [],
@@ -1347,6 +1324,44 @@ var coinABI = [
1347
1324
  outputs: [{ name: "", internalType: "address", type: "address" }],
1348
1325
  stateMutability: "view"
1349
1326
  },
1327
+ {
1328
+ type: "function",
1329
+ inputs: [],
1330
+ name: "poolConfiguration",
1331
+ outputs: [
1332
+ { name: "version", internalType: "uint8", type: "uint8" },
1333
+ { name: "tickLower", internalType: "int24", type: "int24" },
1334
+ { name: "tickUpper", internalType: "int24", type: "int24" },
1335
+ { name: "numPositions", internalType: "uint16", type: "uint16" },
1336
+ {
1337
+ name: "maxDiscoverySupplyShare",
1338
+ internalType: "uint256",
1339
+ type: "uint256"
1340
+ }
1341
+ ],
1342
+ stateMutability: "view"
1343
+ },
1344
+ {
1345
+ type: "function",
1346
+ inputs: [],
1347
+ name: "poolState",
1348
+ outputs: [
1349
+ { name: "asset", internalType: "address", type: "address" },
1350
+ { name: "numeraire", internalType: "address", type: "address" },
1351
+ { name: "tickLower", internalType: "int24", type: "int24" },
1352
+ { name: "tickUpper", internalType: "int24", type: "int24" },
1353
+ { name: "numPositions", internalType: "uint16", type: "uint16" },
1354
+ { name: "isInitialized", internalType: "bool", type: "bool" },
1355
+ { name: "isExited", internalType: "bool", type: "bool" },
1356
+ { name: "maxShareToBeSold", internalType: "uint256", type: "uint256" },
1357
+ {
1358
+ name: "totalTokensOnBondingCurve",
1359
+ internalType: "uint256",
1360
+ type: "uint256"
1361
+ }
1362
+ ],
1363
+ stateMutability: "view"
1364
+ },
1350
1365
  {
1351
1366
  type: "function",
1352
1367
  inputs: [],
@@ -1475,14 +1490,21 @@ var coinABI = [
1475
1490
  {
1476
1491
  type: "function",
1477
1492
  inputs: [
1478
- { name: "amount0Delta", internalType: "int256", type: "int256" },
1479
- { name: "amount1Delta", internalType: "int256", type: "int256" },
1493
+ { name: "amount0Owed", internalType: "uint256", type: "uint256" },
1494
+ { name: "amount1Owed", internalType: "uint256", type: "uint256" },
1480
1495
  { name: "", internalType: "bytes", type: "bytes" }
1481
1496
  ],
1482
- name: "uniswapV3SwapCallback",
1497
+ name: "uniswapV3MintCallback",
1483
1498
  outputs: [],
1484
1499
  stateMutability: "nonpayable"
1485
1500
  },
1501
+ {
1502
+ type: "function",
1503
+ inputs: [],
1504
+ name: "v3Factory",
1505
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1506
+ stateMutability: "view"
1507
+ },
1486
1508
  {
1487
1509
  type: "event",
1488
1510
  anonymous: false,
@@ -1891,6 +1913,12 @@ var coinABI = [
1891
1913
  },
1892
1914
  { type: "error", inputs: [], name: "AddressZero" },
1893
1915
  { type: "error", inputs: [], name: "AlreadyOwner" },
1916
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
1917
+ {
1918
+ type: "error",
1919
+ inputs: [],
1920
+ name: "DopplerPoolMustHaveMoreThan2DiscoveryPositions"
1921
+ },
1894
1922
  { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
1895
1923
  {
1896
1924
  type: "error",
@@ -1973,11 +2001,30 @@ var coinABI = [
1973
2001
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
1974
2002
  { type: "error", inputs: [], name: "InvalidInitialization" },
1975
2003
  { type: "error", inputs: [], name: "InvalidMarketType" },
2004
+ { type: "error", inputs: [], name: "InvalidPoolVersion" },
2005
+ {
2006
+ type: "error",
2007
+ inputs: [
2008
+ { name: "tickLower", internalType: "int24", type: "int24" },
2009
+ { name: "tickUpper", internalType: "int24", type: "int24" }
2010
+ ],
2011
+ name: "InvalidTickRangeMisordered"
2012
+ },
1976
2013
  { type: "error", inputs: [], name: "InvalidWethLowerTick" },
2014
+ { type: "error", inputs: [], name: "LegacyPoolMustHaveOneDiscoveryPosition" },
1977
2015
  { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
1978
2016
  { type: "error", inputs: [], name: "MarketNotGraduated" },
2017
+ {
2018
+ type: "error",
2019
+ inputs: [
2020
+ { name: "value", internalType: "uint256", type: "uint256" },
2021
+ { name: "limit", internalType: "uint256", type: "uint256" }
2022
+ ],
2023
+ name: "MaxShareToBeSoldExceeded"
2024
+ },
1979
2025
  { type: "error", inputs: [], name: "NotInitializing" },
1980
2026
  { type: "error", inputs: [], name: "NotOwner" },
2027
+ { type: "error", inputs: [], name: "NumDiscoveryPositionsOutOfRange" },
1981
2028
  { type: "error", inputs: [], name: "OneOwnerRequired" },
1982
2029
  { type: "error", inputs: [], name: "OnlyOwner" },
1983
2030
  { type: "error", inputs: [], name: "OnlyPool" },
@@ -2032,6 +2079,25 @@ var coinFactoryABI = [
2032
2079
  ],
2033
2080
  stateMutability: "payable"
2034
2081
  },
2082
+ {
2083
+ type: "function",
2084
+ inputs: [
2085
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2086
+ { name: "owners", internalType: "address[]", type: "address[]" },
2087
+ { name: "uri", internalType: "string", type: "string" },
2088
+ { name: "name", internalType: "string", type: "string" },
2089
+ { name: "symbol", internalType: "string", type: "string" },
2090
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
2091
+ { name: "platformReferrer", internalType: "address", type: "address" },
2092
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
2093
+ ],
2094
+ name: "deploy",
2095
+ outputs: [
2096
+ { name: "", internalType: "address", type: "address" },
2097
+ { name: "", internalType: "uint256", type: "uint256" }
2098
+ ],
2099
+ stateMutability: "payable"
2100
+ },
2035
2101
  {
2036
2102
  type: "function",
2037
2103
  inputs: [],
@@ -15907,6 +15973,8 @@ var chainConfigs2 = {
15907
15973
  8453: {
15908
15974
  NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
15909
15975
  UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
15976
+ UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
15977
+ DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
15910
15978
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
15911
15979
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
15912
15980
  WETH: "0x4200000000000000000000000000000000000006"
@@ -15928,6 +15996,8 @@ var chainConfigs2 = {
15928
15996
  84532: {
15929
15997
  NONFUNGIBLE_POSITION_MANAGER: "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
15930
15998
  UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
15999
+ UNISWAP_V3_FACTORY: "0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24",
16000
+ DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
15931
16001
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
15932
16002
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
15933
16003
  WETH: "0x4200000000000000000000000000000000000006"