@zoralabs/protocol-deployments 0.5.3-PRE.0 → 0.5.4-doppler.0

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,27 @@ var coinABI = [
1347
1324
  outputs: [{ name: "", internalType: "address", type: "address" }],
1348
1325
  stateMutability: "view"
1349
1326
  },
1327
+ {
1328
+ type: "function",
1329
+ inputs: [],
1330
+ name: "poolState",
1331
+ outputs: [
1332
+ { name: "asset", internalType: "address", type: "address" },
1333
+ { name: "numeraire", internalType: "address", type: "address" },
1334
+ { name: "tickLower", internalType: "int24", type: "int24" },
1335
+ { name: "tickUpper", internalType: "int24", type: "int24" },
1336
+ { name: "numPositions", internalType: "uint16", type: "uint16" },
1337
+ { name: "isInitialized", internalType: "bool", type: "bool" },
1338
+ { name: "isExited", internalType: "bool", type: "bool" },
1339
+ { name: "maxShareToBeSold", internalType: "uint256", type: "uint256" },
1340
+ {
1341
+ name: "totalTokensOnBondingCurve",
1342
+ internalType: "uint256",
1343
+ type: "uint256"
1344
+ }
1345
+ ],
1346
+ stateMutability: "view"
1347
+ },
1350
1348
  {
1351
1349
  type: "function",
1352
1350
  inputs: [],
@@ -1475,14 +1473,21 @@ var coinABI = [
1475
1473
  {
1476
1474
  type: "function",
1477
1475
  inputs: [
1478
- { name: "amount0Delta", internalType: "int256", type: "int256" },
1479
- { name: "amount1Delta", internalType: "int256", type: "int256" },
1476
+ { name: "amount0Owed", internalType: "uint256", type: "uint256" },
1477
+ { name: "amount1Owed", internalType: "uint256", type: "uint256" },
1480
1478
  { name: "", internalType: "bytes", type: "bytes" }
1481
1479
  ],
1482
- name: "uniswapV3SwapCallback",
1480
+ name: "uniswapV3MintCallback",
1483
1481
  outputs: [],
1484
1482
  stateMutability: "nonpayable"
1485
1483
  },
1484
+ {
1485
+ type: "function",
1486
+ inputs: [],
1487
+ name: "v3Factory",
1488
+ outputs: [{ name: "", internalType: "address", type: "address" }],
1489
+ stateMutability: "view"
1490
+ },
1486
1491
  {
1487
1492
  type: "event",
1488
1493
  anonymous: false,
@@ -1891,6 +1896,7 @@ var coinABI = [
1891
1896
  },
1892
1897
  { type: "error", inputs: [], name: "AddressZero" },
1893
1898
  { type: "error", inputs: [], name: "AlreadyOwner" },
1899
+ { type: "error", inputs: [], name: "CannotMintZeroLiquidity" },
1894
1900
  { type: "error", inputs: [], name: "ECDSAInvalidSignature" },
1895
1901
  {
1896
1902
  type: "error",
@@ -1973,9 +1979,25 @@ var coinABI = [
1973
1979
  { type: "error", inputs: [], name: "InvalidCurrencyLowerTick" },
1974
1980
  { type: "error", inputs: [], name: "InvalidInitialization" },
1975
1981
  { type: "error", inputs: [], name: "InvalidMarketType" },
1982
+ {
1983
+ type: "error",
1984
+ inputs: [
1985
+ { name: "tickLower", internalType: "int24", type: "int24" },
1986
+ { name: "tickUpper", internalType: "int24", type: "int24" }
1987
+ ],
1988
+ name: "InvalidTickRangeMisordered"
1989
+ },
1976
1990
  { type: "error", inputs: [], name: "InvalidWethLowerTick" },
1977
1991
  { type: "error", inputs: [], name: "MarketAlreadyGraduated" },
1978
1992
  { type: "error", inputs: [], name: "MarketNotGraduated" },
1993
+ {
1994
+ type: "error",
1995
+ inputs: [
1996
+ { name: "value", internalType: "uint256", type: "uint256" },
1997
+ { name: "limit", internalType: "uint256", type: "uint256" }
1998
+ ],
1999
+ name: "MaxShareToBeSoldExceeded"
2000
+ },
1979
2001
  { type: "error", inputs: [], name: "NotInitializing" },
1980
2002
  { type: "error", inputs: [], name: "NotOwner" },
1981
2003
  { type: "error", inputs: [], name: "OneOwnerRequired" },
@@ -2032,6 +2054,25 @@ var coinFactoryABI = [
2032
2054
  ],
2033
2055
  stateMutability: "payable"
2034
2056
  },
2057
+ {
2058
+ type: "function",
2059
+ inputs: [
2060
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2061
+ { name: "owners", internalType: "address[]", type: "address[]" },
2062
+ { name: "uri", internalType: "string", type: "string" },
2063
+ { name: "name", internalType: "string", type: "string" },
2064
+ { name: "symbol", internalType: "string", type: "string" },
2065
+ { name: "poolConfig", internalType: "bytes", type: "bytes" },
2066
+ { name: "platformReferrer", internalType: "address", type: "address" },
2067
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
2068
+ ],
2069
+ name: "deploy",
2070
+ outputs: [
2071
+ { name: "", internalType: "address", type: "address" },
2072
+ { name: "", internalType: "uint256", type: "uint256" }
2073
+ ],
2074
+ stateMutability: "payable"
2075
+ },
2035
2076
  {
2036
2077
  type: "function",
2037
2078
  inputs: [],
@@ -2236,7 +2277,7 @@ var coinFactoryABI = [
2236
2277
  }
2237
2278
  ];
2238
2279
  var coinFactoryAddress = {
2239
- 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
2280
+ 8453: "0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc",
2240
2281
  84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3"
2241
2282
  };
2242
2283
  var coinFactoryConfig = {
@@ -15907,6 +15948,8 @@ var chainConfigs2 = {
15907
15948
  8453: {
15908
15949
  NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
15909
15950
  UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
15951
+ UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
15952
+ DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
15910
15953
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
15911
15954
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
15912
15955
  WETH: "0x4200000000000000000000000000000000000006"
@@ -15928,6 +15971,8 @@ var chainConfigs2 = {
15928
15971
  84532: {
15929
15972
  NONFUNGIBLE_POSITION_MANAGER: "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
15930
15973
  UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
15974
+ UNISWAP_V3_FACTORY: "0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24",
15975
+ DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
15931
15976
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
15932
15977
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
15933
15978
  WETH: "0x4200000000000000000000000000000000000006"