@zoralabs/protocol-deployments 0.4.1 → 0.5.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
@@ -1547,12 +1547,6 @@ var coinABI = [
1547
1547
  internalType: "uint256",
1548
1548
  type: "uint256",
1549
1549
  indexed: false
1550
- },
1551
- {
1552
- name: "comment",
1553
- internalType: "string",
1554
- type: "string",
1555
- indexed: false
1556
1550
  }
1557
1551
  ],
1558
1552
  name: "CoinBuy"
@@ -1562,7 +1556,7 @@ var coinABI = [
1562
1556
  anonymous: false,
1563
1557
  inputs: [
1564
1558
  {
1565
- name: "creatorPayoutAddress",
1559
+ name: "payoutRecipient",
1566
1560
  internalType: "address",
1567
1561
  type: "address",
1568
1562
  indexed: true
@@ -1702,12 +1696,6 @@ var coinABI = [
1702
1696
  internalType: "uint256",
1703
1697
  type: "uint256",
1704
1698
  indexed: false
1705
- },
1706
- {
1707
- name: "comment",
1708
- internalType: "string",
1709
- type: "string",
1710
- indexed: false
1711
1699
  }
1712
1700
  ],
1713
1701
  name: "CoinSell"
@@ -1717,7 +1705,7 @@ var coinABI = [
1717
1705
  anonymous: false,
1718
1706
  inputs: [
1719
1707
  {
1720
- name: "creatorPayoutRecipient",
1708
+ name: "payoutRecipient",
1721
1709
  internalType: "address",
1722
1710
  type: "address",
1723
1711
  indexed: true
@@ -1998,6 +1986,254 @@ var coinABI = [
1998
1986
  { type: "error", inputs: [], name: "SlippageBoundsExceeded" },
1999
1987
  { type: "error", inputs: [], name: "UseRevokeOwnershipToRemoveSelf" }
2000
1988
  ];
1989
+ var coinFactoryABI = [
1990
+ {
1991
+ type: "constructor",
1992
+ inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
1993
+ stateMutability: "nonpayable"
1994
+ },
1995
+ {
1996
+ type: "function",
1997
+ inputs: [],
1998
+ name: "UPGRADE_INTERFACE_VERSION",
1999
+ outputs: [{ name: "", internalType: "string", type: "string" }],
2000
+ stateMutability: "view"
2001
+ },
2002
+ {
2003
+ type: "function",
2004
+ inputs: [],
2005
+ name: "coinImpl",
2006
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2007
+ stateMutability: "view"
2008
+ },
2009
+ {
2010
+ type: "function",
2011
+ inputs: [
2012
+ { name: "payoutRecipient", internalType: "address", type: "address" },
2013
+ { name: "owners", internalType: "address[]", type: "address[]" },
2014
+ { name: "uri", internalType: "string", type: "string" },
2015
+ { name: "name", internalType: "string", type: "string" },
2016
+ { name: "symbol", internalType: "string", type: "string" },
2017
+ { name: "platformReferrer", internalType: "address", type: "address" },
2018
+ { name: "currency", internalType: "address", type: "address" },
2019
+ { name: "tickLower", internalType: "int24", type: "int24" },
2020
+ { name: "orderSize", internalType: "uint256", type: "uint256" }
2021
+ ],
2022
+ name: "deploy",
2023
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2024
+ stateMutability: "payable"
2025
+ },
2026
+ {
2027
+ type: "function",
2028
+ inputs: [],
2029
+ name: "implementation",
2030
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2031
+ stateMutability: "view"
2032
+ },
2033
+ {
2034
+ type: "function",
2035
+ inputs: [
2036
+ { name: "initialOwner", internalType: "address", type: "address" }
2037
+ ],
2038
+ name: "initialize",
2039
+ outputs: [],
2040
+ stateMutability: "nonpayable"
2041
+ },
2042
+ {
2043
+ type: "function",
2044
+ inputs: [],
2045
+ name: "owner",
2046
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2047
+ stateMutability: "view"
2048
+ },
2049
+ {
2050
+ type: "function",
2051
+ inputs: [],
2052
+ name: "proxiableUUID",
2053
+ outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
2054
+ stateMutability: "view"
2055
+ },
2056
+ {
2057
+ type: "function",
2058
+ inputs: [],
2059
+ name: "renounceOwnership",
2060
+ outputs: [],
2061
+ stateMutability: "nonpayable"
2062
+ },
2063
+ {
2064
+ type: "function",
2065
+ inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
2066
+ name: "transferOwnership",
2067
+ outputs: [],
2068
+ stateMutability: "nonpayable"
2069
+ },
2070
+ {
2071
+ type: "function",
2072
+ inputs: [
2073
+ { name: "newImplementation", internalType: "address", type: "address" },
2074
+ { name: "data", internalType: "bytes", type: "bytes" }
2075
+ ],
2076
+ name: "upgradeToAndCall",
2077
+ outputs: [],
2078
+ stateMutability: "payable"
2079
+ },
2080
+ {
2081
+ type: "event",
2082
+ anonymous: false,
2083
+ inputs: [
2084
+ {
2085
+ name: "caller",
2086
+ internalType: "address",
2087
+ type: "address",
2088
+ indexed: true
2089
+ },
2090
+ {
2091
+ name: "payoutRecipient",
2092
+ internalType: "address",
2093
+ type: "address",
2094
+ indexed: true
2095
+ },
2096
+ {
2097
+ name: "platformReferrer",
2098
+ internalType: "address",
2099
+ type: "address",
2100
+ indexed: true
2101
+ },
2102
+ {
2103
+ name: "currency",
2104
+ internalType: "address",
2105
+ type: "address",
2106
+ indexed: false
2107
+ },
2108
+ { name: "uri", internalType: "string", type: "string", indexed: false },
2109
+ { name: "name", internalType: "string", type: "string", indexed: false },
2110
+ {
2111
+ name: "symbol",
2112
+ internalType: "string",
2113
+ type: "string",
2114
+ indexed: false
2115
+ },
2116
+ {
2117
+ name: "coin",
2118
+ internalType: "address",
2119
+ type: "address",
2120
+ indexed: false
2121
+ },
2122
+ {
2123
+ name: "pool",
2124
+ internalType: "address",
2125
+ type: "address",
2126
+ indexed: false
2127
+ },
2128
+ {
2129
+ name: "version",
2130
+ internalType: "string",
2131
+ type: "string",
2132
+ indexed: false
2133
+ }
2134
+ ],
2135
+ name: "CoinCreated"
2136
+ },
2137
+ {
2138
+ type: "event",
2139
+ anonymous: false,
2140
+ inputs: [
2141
+ {
2142
+ name: "version",
2143
+ internalType: "uint64",
2144
+ type: "uint64",
2145
+ indexed: false
2146
+ }
2147
+ ],
2148
+ name: "Initialized"
2149
+ },
2150
+ {
2151
+ type: "event",
2152
+ anonymous: false,
2153
+ inputs: [
2154
+ {
2155
+ name: "previousOwner",
2156
+ internalType: "address",
2157
+ type: "address",
2158
+ indexed: true
2159
+ },
2160
+ {
2161
+ name: "newOwner",
2162
+ internalType: "address",
2163
+ type: "address",
2164
+ indexed: true
2165
+ }
2166
+ ],
2167
+ name: "OwnershipTransferred"
2168
+ },
2169
+ {
2170
+ type: "event",
2171
+ anonymous: false,
2172
+ inputs: [
2173
+ {
2174
+ name: "implementation",
2175
+ internalType: "address",
2176
+ type: "address",
2177
+ indexed: true
2178
+ }
2179
+ ],
2180
+ name: "Upgraded"
2181
+ },
2182
+ {
2183
+ type: "error",
2184
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
2185
+ name: "AddressEmptyCode"
2186
+ },
2187
+ {
2188
+ type: "error",
2189
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2190
+ name: "AddressInsufficientBalance"
2191
+ },
2192
+ { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
2193
+ {
2194
+ type: "error",
2195
+ inputs: [
2196
+ { name: "implementation", internalType: "address", type: "address" }
2197
+ ],
2198
+ name: "ERC1967InvalidImplementation"
2199
+ },
2200
+ { type: "error", inputs: [], name: "ERC1967NonPayable" },
2201
+ { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
2202
+ { type: "error", inputs: [], name: "EthTransferInvalid" },
2203
+ { type: "error", inputs: [], name: "FailedInnerCall" },
2204
+ { type: "error", inputs: [], name: "InvalidInitialization" },
2205
+ { type: "error", inputs: [], name: "NotInitializing" },
2206
+ {
2207
+ type: "error",
2208
+ inputs: [{ name: "owner", internalType: "address", type: "address" }],
2209
+ name: "OwnableInvalidOwner"
2210
+ },
2211
+ {
2212
+ type: "error",
2213
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
2214
+ name: "OwnableUnauthorizedAccount"
2215
+ },
2216
+ { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
2217
+ {
2218
+ type: "error",
2219
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
2220
+ name: "SafeERC20FailedOperation"
2221
+ },
2222
+ { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
2223
+ {
2224
+ type: "error",
2225
+ inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
2226
+ name: "UUPSUnsupportedProxiableUUID"
2227
+ }
2228
+ ];
2229
+ var coinFactoryAddress = {
2230
+ 8453: "0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC",
2231
+ 84532: "0x1E670515d3A4C75C0860846c0605c84AF0e0db0d"
2232
+ };
2233
+ var coinFactoryConfig = {
2234
+ address: coinFactoryAddress,
2235
+ abi: coinFactoryABI
2236
+ };
2001
2237
  var cointagABI = [
2002
2238
  {
2003
2239
  type: "constructor",
@@ -11190,259 +11426,6 @@ var zoraCreatorRedeemMinterFactoryConfig = {
11190
11426
  address: zoraCreatorRedeemMinterFactoryAddress,
11191
11427
  abi: zoraCreatorRedeemMinterFactoryABI
11192
11428
  };
11193
- var zoraFactoryABI = [
11194
- {
11195
- type: "constructor",
11196
- inputs: [{ name: "_coinImpl", internalType: "address", type: "address" }],
11197
- stateMutability: "nonpayable"
11198
- },
11199
- {
11200
- type: "function",
11201
- inputs: [],
11202
- name: "UPGRADE_INTERFACE_VERSION",
11203
- outputs: [{ name: "", internalType: "string", type: "string" }],
11204
- stateMutability: "view"
11205
- },
11206
- {
11207
- type: "function",
11208
- inputs: [],
11209
- name: "coinImpl",
11210
- outputs: [{ name: "", internalType: "address", type: "address" }],
11211
- stateMutability: "view"
11212
- },
11213
- {
11214
- type: "function",
11215
- inputs: [
11216
- { name: "payoutRecipient", internalType: "address", type: "address" },
11217
- { name: "owners", internalType: "address[]", type: "address[]" },
11218
- { name: "uri", internalType: "string", type: "string" },
11219
- { name: "name", internalType: "string", type: "string" },
11220
- { name: "symbol", internalType: "string", type: "string" },
11221
- { name: "platformReferrer", internalType: "address", type: "address" },
11222
- { name: "currency", internalType: "address", type: "address" },
11223
- { name: "tickLower", internalType: "int24", type: "int24" },
11224
- { name: "orderSize", internalType: "uint256", type: "uint256" }
11225
- ],
11226
- name: "deploy",
11227
- outputs: [{ name: "", internalType: "address", type: "address" }],
11228
- stateMutability: "payable"
11229
- },
11230
- {
11231
- type: "function",
11232
- inputs: [],
11233
- name: "implementation",
11234
- outputs: [{ name: "", internalType: "address", type: "address" }],
11235
- stateMutability: "view"
11236
- },
11237
- {
11238
- type: "function",
11239
- inputs: [
11240
- { name: "initialOwner", internalType: "address", type: "address" }
11241
- ],
11242
- name: "initialize",
11243
- outputs: [],
11244
- stateMutability: "nonpayable"
11245
- },
11246
- {
11247
- type: "function",
11248
- inputs: [],
11249
- name: "owner",
11250
- outputs: [{ name: "", internalType: "address", type: "address" }],
11251
- stateMutability: "view"
11252
- },
11253
- {
11254
- type: "function",
11255
- inputs: [],
11256
- name: "proxiableUUID",
11257
- outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
11258
- stateMutability: "view"
11259
- },
11260
- {
11261
- type: "function",
11262
- inputs: [],
11263
- name: "renounceOwnership",
11264
- outputs: [],
11265
- stateMutability: "nonpayable"
11266
- },
11267
- {
11268
- type: "function",
11269
- inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
11270
- name: "transferOwnership",
11271
- outputs: [],
11272
- stateMutability: "nonpayable"
11273
- },
11274
- {
11275
- type: "function",
11276
- inputs: [
11277
- { name: "newImplementation", internalType: "address", type: "address" },
11278
- { name: "data", internalType: "bytes", type: "bytes" }
11279
- ],
11280
- name: "upgradeToAndCall",
11281
- outputs: [],
11282
- stateMutability: "payable"
11283
- },
11284
- {
11285
- type: "event",
11286
- anonymous: false,
11287
- inputs: [
11288
- {
11289
- name: "deployer",
11290
- internalType: "address",
11291
- type: "address",
11292
- indexed: true
11293
- },
11294
- {
11295
- name: "creator",
11296
- internalType: "address",
11297
- type: "address",
11298
- indexed: true
11299
- },
11300
- {
11301
- name: "payoutRecipient",
11302
- internalType: "address",
11303
- type: "address",
11304
- indexed: true
11305
- },
11306
- {
11307
- name: "platformReferrer",
11308
- internalType: "address",
11309
- type: "address",
11310
- indexed: false
11311
- },
11312
- {
11313
- name: "currency",
11314
- internalType: "address",
11315
- type: "address",
11316
- indexed: false
11317
- },
11318
- {
11319
- name: "tokenURI",
11320
- internalType: "string",
11321
- type: "string",
11322
- indexed: false
11323
- },
11324
- { name: "name", internalType: "string", type: "string", indexed: false },
11325
- {
11326
- name: "symbol",
11327
- internalType: "string",
11328
- type: "string",
11329
- indexed: false
11330
- },
11331
- {
11332
- name: "coin",
11333
- internalType: "address",
11334
- type: "address",
11335
- indexed: false
11336
- },
11337
- {
11338
- name: "pool",
11339
- internalType: "address",
11340
- type: "address",
11341
- indexed: false
11342
- }
11343
- ],
11344
- name: "CoinCreated"
11345
- },
11346
- {
11347
- type: "event",
11348
- anonymous: false,
11349
- inputs: [
11350
- {
11351
- name: "version",
11352
- internalType: "uint64",
11353
- type: "uint64",
11354
- indexed: false
11355
- }
11356
- ],
11357
- name: "Initialized"
11358
- },
11359
- {
11360
- type: "event",
11361
- anonymous: false,
11362
- inputs: [
11363
- {
11364
- name: "previousOwner",
11365
- internalType: "address",
11366
- type: "address",
11367
- indexed: true
11368
- },
11369
- {
11370
- name: "newOwner",
11371
- internalType: "address",
11372
- type: "address",
11373
- indexed: true
11374
- }
11375
- ],
11376
- name: "OwnershipTransferred"
11377
- },
11378
- {
11379
- type: "event",
11380
- anonymous: false,
11381
- inputs: [
11382
- {
11383
- name: "implementation",
11384
- internalType: "address",
11385
- type: "address",
11386
- indexed: true
11387
- }
11388
- ],
11389
- name: "Upgraded"
11390
- },
11391
- {
11392
- type: "error",
11393
- inputs: [{ name: "target", internalType: "address", type: "address" }],
11394
- name: "AddressEmptyCode"
11395
- },
11396
- {
11397
- type: "error",
11398
- inputs: [{ name: "account", internalType: "address", type: "address" }],
11399
- name: "AddressInsufficientBalance"
11400
- },
11401
- { type: "error", inputs: [], name: "ERC1167FailedCreateClone" },
11402
- {
11403
- type: "error",
11404
- inputs: [
11405
- { name: "implementation", internalType: "address", type: "address" }
11406
- ],
11407
- name: "ERC1967InvalidImplementation"
11408
- },
11409
- { type: "error", inputs: [], name: "ERC1967NonPayable" },
11410
- { type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
11411
- { type: "error", inputs: [], name: "EthTransferInvalid" },
11412
- { type: "error", inputs: [], name: "FailedInnerCall" },
11413
- { type: "error", inputs: [], name: "InvalidInitialization" },
11414
- { type: "error", inputs: [], name: "NotInitializing" },
11415
- {
11416
- type: "error",
11417
- inputs: [{ name: "owner", internalType: "address", type: "address" }],
11418
- name: "OwnableInvalidOwner"
11419
- },
11420
- {
11421
- type: "error",
11422
- inputs: [{ name: "account", internalType: "address", type: "address" }],
11423
- name: "OwnableUnauthorizedAccount"
11424
- },
11425
- { type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
11426
- {
11427
- type: "error",
11428
- inputs: [{ name: "token", internalType: "address", type: "address" }],
11429
- name: "SafeERC20FailedOperation"
11430
- },
11431
- { type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
11432
- {
11433
- type: "error",
11434
- inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
11435
- name: "UUPSUnsupportedProxiableUUID"
11436
- }
11437
- ];
11438
- var zoraFactoryAddress = {
11439
- 8453: "0xC1d310288E76bE71E7A26d269Fd6cbd3A1D9febC",
11440
- 84532: "0x1E670515d3A4C75C0860846c0605c84AF0e0db0d"
11441
- };
11442
- var zoraFactoryConfig = {
11443
- address: zoraFactoryAddress,
11444
- abi: zoraFactoryABI
11445
- };
11446
11429
  var zoraMints1155ABI = [
11447
11430
  { type: "constructor", inputs: [], stateMutability: "nonpayable" },
11448
11431
  {
@@ -16049,6 +16032,9 @@ export {
16049
16032
  callerAndCommenterAddress,
16050
16033
  callerAndCommenterConfig,
16051
16034
  coinABI,
16035
+ coinFactoryABI,
16036
+ coinFactoryAddress,
16037
+ coinFactoryConfig,
16052
16038
  cointagABI,
16053
16039
  cointagFactoryABI,
16054
16040
  cointagFactoryAddress,
@@ -16124,9 +16110,6 @@ export {
16124
16110
  zoraCreatorRedeemMinterFactoryABI,
16125
16111
  zoraCreatorRedeemMinterFactoryAddress,
16126
16112
  zoraCreatorRedeemMinterFactoryConfig,
16127
- zoraFactoryABI,
16128
- zoraFactoryAddress,
16129
- zoraFactoryConfig,
16130
16113
  zoraMints1155ABI,
16131
16114
  zoraMints1155Address,
16132
16115
  zoraMints1155Config,