@zoralabs/protocol-deployments 0.3.1-PRE.0 → 0.3.2

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
@@ -2085,7 +2085,8 @@ var secondarySwapABI = [
2085
2085
  type: "address"
2086
2086
  },
2087
2087
  { name: "maxEthToSpend", internalType: "uint256", type: "uint256" },
2088
- { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" }
2088
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
2089
+ { name: "comment", internalType: "string", type: "string" }
2089
2090
  ],
2090
2091
  name: "buy1155",
2091
2092
  outputs: []
@@ -2144,7 +2145,8 @@ var secondarySwapABI = [
2144
2145
  { name: "num1155ToSell", internalType: "uint256", type: "uint256" },
2145
2146
  { name: "recipient", internalType: "address payable", type: "address" },
2146
2147
  { name: "minEthToAcquire", internalType: "uint256", type: "uint256" },
2147
- { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" }
2148
+ { name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
2149
+ { name: "comment", internalType: "string", type: "string" }
2148
2150
  ],
2149
2151
  name: "sell1155",
2150
2152
  outputs: []
@@ -2222,6 +2224,49 @@ var secondarySwapABI = [
2222
2224
  ],
2223
2225
  name: "SecondaryBuy"
2224
2226
  },
2227
+ {
2228
+ type: "event",
2229
+ anonymous: false,
2230
+ inputs: [
2231
+ {
2232
+ name: "sender",
2233
+ internalType: "address",
2234
+ type: "address",
2235
+ indexed: true
2236
+ },
2237
+ {
2238
+ name: "collection",
2239
+ internalType: "address",
2240
+ type: "address",
2241
+ indexed: true
2242
+ },
2243
+ {
2244
+ name: "tokenId",
2245
+ internalType: "uint256",
2246
+ type: "uint256",
2247
+ indexed: true
2248
+ },
2249
+ {
2250
+ name: "quantity",
2251
+ internalType: "uint256",
2252
+ type: "uint256",
2253
+ indexed: false
2254
+ },
2255
+ {
2256
+ name: "comment",
2257
+ internalType: "string",
2258
+ type: "string",
2259
+ indexed: false
2260
+ },
2261
+ {
2262
+ name: "secondaryType",
2263
+ internalType: "enum ISecondarySwap.SecondaryType",
2264
+ type: "uint8",
2265
+ indexed: false
2266
+ }
2267
+ ],
2268
+ name: "SecondaryComment"
2269
+ },
2225
2270
  {
2226
2271
  type: "event",
2227
2272
  anonymous: false,
@@ -2275,14 +2320,14 @@ var secondarySwapABI = [
2275
2320
  { type: "error", inputs: [], name: "SaleNotSet" }
2276
2321
  ];
2277
2322
  var secondarySwapAddress = {
2278
- 1: "0xd6992aA2Aaa87802d0104e8c4b4DFaBE6F434fF7",
2279
- 10: "0x695C9A141748D308d26Bd4f8E9F9A5df5F0623f8",
2280
- 8453: "0x370B0B539DEe6d910b93F980AE3c47AC8460d522",
2281
- 42161: "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
2282
- 81457: "0xE919b1F317C5298c1eA424B07a21635A08E1cC6C",
2283
- 84532: "0xC04050e04708b33302E30E5A0fB1e8c38F4EBbB0",
2323
+ 1: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2324
+ 10: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2325
+ 8453: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2326
+ 42161: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2327
+ 81457: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2328
+ 84532: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2284
2329
  7777777: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2285
- 11155111: "0xb30e0a41A3EC4b6Eb5415c70E32dc234432E48C2",
2330
+ 11155111: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91",
2286
2331
  999999999: "0x777777794a6e310F2A55da6f157b16ED28Fa5D91"
2287
2332
  };
2288
2333
  var secondarySwapConfig = {
@@ -3714,6 +3759,8 @@ var zoraCreator1155FactoryImplABI = [
3714
3759
  { type: "error", inputs: [], name: "InsufficientFunds" },
3715
3760
  { type: "error", inputs: [], name: "InvalidInitialization" },
3716
3761
  { type: "error", inputs: [], name: "MarketAlreadyLaunched" },
3762
+ { type: "error", inputs: [], name: "MarketMinimumNotReached" },
3763
+ { type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
3717
3764
  { type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
3718
3765
  { type: "error", inputs: [], name: "NotInitializing" },
3719
3766
  { type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
@@ -3735,6 +3782,9 @@ var zoraCreator1155FactoryImplABI = [
3735
3782
  { type: "error", inputs: [], name: "SaleHasNotStarted" },
3736
3783
  { type: "error", inputs: [], name: "SaleInProgress" },
3737
3784
  { type: "error", inputs: [], name: "SaleNotSet" },
3785
+ { type: "error", inputs: [], name: "SaleV2AlreadyStarted" },
3786
+ { type: "error", inputs: [], name: "SaleV2Ended" },
3787
+ { type: "error", inputs: [], name: "SaleV2NotSet" },
3738
3788
  { type: "error", inputs: [], name: "StartTimeCannotBeAfterEndTime" },
3739
3789
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
3740
3790
  {
@@ -5130,6 +5180,8 @@ var zoraCreator1155ImplABI = [
5130
5180
  { type: "error", inputs: [], name: "InsufficientFunds" },
5131
5181
  { type: "error", inputs: [], name: "InvalidInitialization" },
5132
5182
  { type: "error", inputs: [], name: "MarketAlreadyLaunched" },
5183
+ { type: "error", inputs: [], name: "MarketMinimumNotReached" },
5184
+ { type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
5133
5185
  { type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
5134
5186
  { type: "error", inputs: [], name: "NotInitializing" },
5135
5187
  { type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
@@ -5151,6 +5203,9 @@ var zoraCreator1155ImplABI = [
5151
5203
  { type: "error", inputs: [], name: "SaleHasNotStarted" },
5152
5204
  { type: "error", inputs: [], name: "SaleInProgress" },
5153
5205
  { type: "error", inputs: [], name: "SaleNotSet" },
5206
+ { type: "error", inputs: [], name: "SaleV2AlreadyStarted" },
5207
+ { type: "error", inputs: [], name: "SaleV2Ended" },
5208
+ { type: "error", inputs: [], name: "SaleV2NotSet" },
5154
5209
  { type: "error", inputs: [], name: "StartTimeCannotBeAfterEndTime" },
5155
5210
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
5156
5211
  {
@@ -9896,6 +9951,41 @@ var zoraTimedSaleStrategyABI = [
9896
9951
  }
9897
9952
  ]
9898
9953
  },
9954
+ {
9955
+ stateMutability: "view",
9956
+ type: "function",
9957
+ inputs: [
9958
+ { name: "collection", internalType: "address", type: "address" },
9959
+ { name: "tokenId", internalType: "uint256", type: "uint256" }
9960
+ ],
9961
+ name: "saleV2",
9962
+ outputs: [
9963
+ {
9964
+ name: "",
9965
+ internalType: "struct IZoraTimedSaleStrategy.SaleData",
9966
+ type: "tuple",
9967
+ components: [
9968
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
9969
+ { name: "marketCountdown", internalType: "uint64", type: "uint64" },
9970
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
9971
+ { name: "secondaryActivated", internalType: "bool", type: "bool" },
9972
+ {
9973
+ name: "minimumMarketEth",
9974
+ internalType: "uint256",
9975
+ type: "uint256"
9976
+ },
9977
+ { name: "poolAddress", internalType: "address", type: "address" },
9978
+ {
9979
+ name: "erc20zAddress",
9980
+ internalType: "address payable",
9981
+ type: "address"
9982
+ },
9983
+ { name: "name", internalType: "string", type: "string" },
9984
+ { name: "symbol", internalType: "string", type: "string" }
9985
+ ]
9986
+ }
9987
+ ]
9988
+ },
9899
9989
  {
9900
9990
  stateMutability: "nonpayable",
9901
9991
  type: "function",
@@ -9916,6 +10006,31 @@ var zoraTimedSaleStrategyABI = [
9916
10006
  name: "setSale",
9917
10007
  outputs: []
9918
10008
  },
10009
+ {
10010
+ stateMutability: "nonpayable",
10011
+ type: "function",
10012
+ inputs: [
10013
+ { name: "tokenId", internalType: "uint256", type: "uint256" },
10014
+ {
10015
+ name: "salesConfig",
10016
+ internalType: "struct IZoraTimedSaleStrategy.SalesConfigV2",
10017
+ type: "tuple",
10018
+ components: [
10019
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
10020
+ { name: "marketCountdown", internalType: "uint64", type: "uint64" },
10021
+ {
10022
+ name: "minimumMarketEth",
10023
+ internalType: "uint256",
10024
+ type: "uint256"
10025
+ },
10026
+ { name: "name", internalType: "string", type: "string" },
10027
+ { name: "symbol", internalType: "string", type: "string" }
10028
+ ]
10029
+ }
10030
+ ],
10031
+ name: "setSaleV2",
10032
+ outputs: []
10033
+ },
9919
10034
  {
9920
10035
  stateMutability: "nonpayable",
9921
10036
  type: "function",
@@ -9954,7 +10069,7 @@ var zoraTimedSaleStrategyABI = [
9954
10069
  inputs: [
9955
10070
  { name: "tokenId", internalType: "uint256", type: "uint256" },
9956
10071
  { name: "newStartTime", internalType: "uint64", type: "uint64" },
9957
- { name: "newEndTime", internalType: "uint64", type: "uint64" }
10072
+ { name: "newMarketCountdown", internalType: "uint64", type: "uint64" }
9958
10073
  ],
9959
10074
  name: "updateSale",
9960
10075
  outputs: []
@@ -10137,6 +10252,56 @@ var zoraTimedSaleStrategyABI = [
10137
10252
  ],
10138
10253
  name: "SaleSet"
10139
10254
  },
10255
+ {
10256
+ type: "event",
10257
+ anonymous: false,
10258
+ inputs: [
10259
+ {
10260
+ name: "collection",
10261
+ internalType: "address",
10262
+ type: "address",
10263
+ indexed: true
10264
+ },
10265
+ {
10266
+ name: "tokenId",
10267
+ internalType: "uint256",
10268
+ type: "uint256",
10269
+ indexed: true
10270
+ },
10271
+ {
10272
+ name: "saleData",
10273
+ internalType: "struct IZoraTimedSaleStrategy.SaleData",
10274
+ type: "tuple",
10275
+ components: [
10276
+ { name: "saleStart", internalType: "uint64", type: "uint64" },
10277
+ { name: "marketCountdown", internalType: "uint64", type: "uint64" },
10278
+ { name: "saleEnd", internalType: "uint64", type: "uint64" },
10279
+ { name: "secondaryActivated", internalType: "bool", type: "bool" },
10280
+ {
10281
+ name: "minimumMarketEth",
10282
+ internalType: "uint256",
10283
+ type: "uint256"
10284
+ },
10285
+ { name: "poolAddress", internalType: "address", type: "address" },
10286
+ {
10287
+ name: "erc20zAddress",
10288
+ internalType: "address payable",
10289
+ type: "address"
10290
+ },
10291
+ { name: "name", internalType: "string", type: "string" },
10292
+ { name: "symbol", internalType: "string", type: "string" }
10293
+ ],
10294
+ indexed: false
10295
+ },
10296
+ {
10297
+ name: "mintFee",
10298
+ internalType: "uint256",
10299
+ type: "uint256",
10300
+ indexed: false
10301
+ }
10302
+ ],
10303
+ name: "SaleSetV2"
10304
+ },
10140
10305
  {
10141
10306
  type: "event",
10142
10307
  anonymous: false,
@@ -10273,6 +10438,8 @@ var zoraTimedSaleStrategyABI = [
10273
10438
  { type: "error", inputs: [], name: "InsufficientFunds" },
10274
10439
  { type: "error", inputs: [], name: "InvalidInitialization" },
10275
10440
  { type: "error", inputs: [], name: "MarketAlreadyLaunched" },
10441
+ { type: "error", inputs: [], name: "MarketMinimumNotReached" },
10442
+ { type: "error", inputs: [], name: "MinimumMarketEthNotMet" },
10276
10443
  { type: "error", inputs: [], name: "NeedsToBeAtLeastOneSaleToStartMarket" },
10277
10444
  { type: "error", inputs: [], name: "NotInitializing" },
10278
10445
  { type: "error", inputs: [], name: "OnlyZoraRewardRecipient" },
@@ -10294,6 +10461,9 @@ var zoraTimedSaleStrategyABI = [
10294
10461
  { type: "error", inputs: [], name: "SaleHasNotStarted" },
10295
10462
  { type: "error", inputs: [], name: "SaleInProgress" },
10296
10463
  { type: "error", inputs: [], name: "SaleNotSet" },
10464
+ { type: "error", inputs: [], name: "SaleV2AlreadyStarted" },
10465
+ { type: "error", inputs: [], name: "SaleV2Ended" },
10466
+ { type: "error", inputs: [], name: "SaleV2NotSet" },
10297
10467
  { type: "error", inputs: [], name: "StartTimeCannotBeAfterEndTime" },
10298
10468
  { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
10299
10469
  {