@zoralabs/protocol-deployments 0.1.3 → 0.1.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/json/1155.json CHANGED
@@ -68,6 +68,7 @@
68
68
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
69
69
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
70
70
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
71
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
71
72
  "timestamp": 1706664239
72
73
  },
73
74
  "10": {
@@ -81,6 +82,7 @@
81
82
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
82
83
  "REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
83
84
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
85
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
84
86
  "timestamp": 1706664035
85
87
  },
86
88
  "999": {
@@ -107,6 +109,7 @@
107
109
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
108
110
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
109
111
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
112
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
110
113
  "timestamp": 1706663976
111
114
  },
112
115
  "42161": {
@@ -120,6 +123,7 @@
120
123
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
121
124
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
122
125
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
126
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
123
127
  "timestamp": 1706664653
124
128
  },
125
129
  "81457": {
@@ -133,6 +137,7 @@
133
137
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
134
138
  "REDEEM_MINTER_FACTORY": "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
135
139
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
140
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
136
141
  "timestamp": 1709235955
137
142
  },
138
143
  "421614": {
@@ -146,6 +151,7 @@
146
151
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
147
152
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
148
153
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
154
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
149
155
  "timestamp": 1706661669
150
156
  },
151
157
  "7777777": {
@@ -159,6 +165,7 @@
159
165
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
160
166
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
161
167
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
168
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
162
169
  "timestamp": 1706663694
163
170
  },
164
171
  "11155111": {
@@ -172,6 +179,7 @@
172
179
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
173
180
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
174
181
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
182
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
175
183
  "timestamp": 1704336497
176
184
  },
177
185
  "168587773": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoralabs/protocol-deployments",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "repository": "https://github.com/ourzora/zora-protocol",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -22,10 +22,7 @@
22
22
  "lint": "prettier --check 'src/**/*.ts' 'scripts/*' 'wagmi.config.ts'",
23
23
  "wagmi": "wagmi generate"
24
24
  },
25
- "dependencies": {
26
- "@zoralabs/1155-deployments": "*",
27
- "@zoralabs/zora-1155-contracts": "*"
28
- },
25
+ "dependencies": {},
29
26
  "devDependencies": {
30
27
  "zoralabs-tsconfig": "*",
31
28
  "typescript": "^5.2.2",
@@ -35,6 +32,8 @@
35
32
  "es-main": "^1.2.0",
36
33
  "@wagmi/cli": "^1.0.1",
37
34
  "@types/node": "^20.1.2",
38
- "@lavamoat/preinstall-always-fail": "2.0.0"
35
+ "@lavamoat/preinstall-always-fail": "2.0.0",
36
+ "@zoralabs/1155-deployments": "*",
37
+ "@zoralabs/zora-1155-contracts": "*"
39
38
  }
40
39
  }
@@ -67,6 +67,7 @@ export const addresses = {
67
67
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
68
68
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
69
69
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
70
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
70
71
  "timestamp": 1706664239
71
72
  },
72
73
  "10": {
@@ -80,6 +81,7 @@ export const addresses = {
80
81
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
81
82
  "REDEEM_MINTER_FACTORY": "0x1B28A04b7eB7b93f920ddF2021aa3fAE065395f2",
82
83
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
84
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
83
85
  "timestamp": 1706664035
84
86
  },
85
87
  "999": {
@@ -106,6 +108,7 @@ export const addresses = {
106
108
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
107
109
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
108
110
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
111
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
109
112
  "timestamp": 1706663976
110
113
  },
111
114
  "42161": {
@@ -119,6 +122,7 @@ export const addresses = {
119
122
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
120
123
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
121
124
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
125
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
122
126
  "timestamp": 1706664653
123
127
  },
124
128
  "81457": {
@@ -132,6 +136,7 @@ export const addresses = {
132
136
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
133
137
  "REDEEM_MINTER_FACTORY": "0x7A0dE1B1f5420Df5D946878fBe2cF109011BE614",
134
138
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
139
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
135
140
  "timestamp": 1709235955
136
141
  },
137
142
  "421614": {
@@ -145,6 +150,7 @@ export const addresses = {
145
150
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
146
151
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
147
152
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
153
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
148
154
  "timestamp": 1706661669
149
155
  },
150
156
  "7777777": {
@@ -158,6 +164,7 @@ export const addresses = {
158
164
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
159
165
  "REDEEM_MINTER_FACTORY": "0x78964965cF77850224513a367f899435C5B69174",
160
166
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
167
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
161
168
  "timestamp": 1706663694
162
169
  },
163
170
  "11155111": {
@@ -171,6 +178,7 @@ export const addresses = {
171
178
  "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
172
179
  "REDEEM_MINTER_FACTORY": "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
173
180
  "UPGRADE_GATE": "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
181
+ "ERC20_MINTER": "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
174
182
  "timestamp": 1704336497
175
183
  },
176
184
  "168587773": {
@@ -1425,6 +1425,7 @@ export const zoraCreator1155ImplABI = [
1425
1425
  ],
1426
1426
  name: 'ContractRendererUpdated',
1427
1427
  },
1428
+ { type: 'event', anonymous: false, inputs: [], name: 'ContractURIUpdated' },
1428
1429
  {
1429
1430
  type: 'event',
1430
1431
  anonymous: false,
@@ -1823,6 +1824,7 @@ export const zoraCreator1155ImplABI = [
1823
1824
  inputs: [],
1824
1825
  name: 'FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL',
1825
1826
  },
1827
+ { type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
1826
1828
  {
1827
1829
  type: 'error',
1828
1830
  inputs: [
@@ -1853,17 +1855,9 @@ export const zoraCreator1155ImplABI = [
1853
1855
  name: 'InvalidMerkleProof',
1854
1856
  },
1855
1857
  { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
1856
- {
1857
- type: 'error',
1858
- inputs: [
1859
- {
1860
- name: 'recoverError',
1861
- internalType: 'enum ECDSAUpgradeable.RecoverError',
1862
- type: 'uint8',
1863
- },
1864
- ],
1865
- name: 'InvalidSignature',
1866
- },
1858
+ { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
1859
+ { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
1860
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
1867
1861
  { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
1868
1862
  {
1869
1863
  type: 'error',
@@ -1872,6 +1866,7 @@ export const zoraCreator1155ImplABI = [
1872
1866
  },
1873
1867
  { type: 'error', inputs: [], name: 'MintNotYetStarted' },
1874
1868
  { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
1869
+ { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
1875
1870
  { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
1876
1871
  { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
1877
1872
  { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },
@@ -2135,6 +2130,97 @@ export const zoraCreator1155PremintExecutorImplABI = [
2135
2130
  name: 'pendingOwner',
2136
2131
  outputs: [{ name: '', internalType: 'address', type: 'address' }],
2137
2132
  },
2133
+ {
2134
+ stateMutability: 'nonpayable',
2135
+ type: 'function',
2136
+ inputs: [
2137
+ {
2138
+ name: 'contractConfig',
2139
+ internalType: 'struct ContractCreationConfig',
2140
+ type: 'tuple',
2141
+ components: [
2142
+ { name: 'contractAdmin', internalType: 'address', type: 'address' },
2143
+ { name: 'contractURI', internalType: 'string', type: 'string' },
2144
+ { name: 'contractName', internalType: 'string', type: 'string' },
2145
+ ],
2146
+ },
2147
+ {
2148
+ name: 'premintConfig',
2149
+ internalType: 'struct Erc20PremintConfigV1',
2150
+ type: 'tuple',
2151
+ components: [
2152
+ {
2153
+ name: 'tokenConfig',
2154
+ internalType: 'struct Erc20TokenCreationConfigV1',
2155
+ type: 'tuple',
2156
+ components: [
2157
+ { name: 'tokenURI', internalType: 'string', type: 'string' },
2158
+ { name: 'maxSupply', internalType: 'uint256', type: 'uint256' },
2159
+ { name: 'royaltyBPS', internalType: 'uint32', type: 'uint32' },
2160
+ {
2161
+ name: 'payoutRecipient',
2162
+ internalType: 'address',
2163
+ type: 'address',
2164
+ },
2165
+ {
2166
+ name: 'createReferral',
2167
+ internalType: 'address',
2168
+ type: 'address',
2169
+ },
2170
+ { name: 'erc20Minter', internalType: 'address', type: 'address' },
2171
+ { name: 'mintStart', internalType: 'uint64', type: 'uint64' },
2172
+ { name: 'mintDuration', internalType: 'uint64', type: 'uint64' },
2173
+ {
2174
+ name: 'maxTokensPerAddress',
2175
+ internalType: 'uint64',
2176
+ type: 'uint64',
2177
+ },
2178
+ { name: 'currency', internalType: 'address', type: 'address' },
2179
+ {
2180
+ name: 'pricePerToken',
2181
+ internalType: 'uint256',
2182
+ type: 'uint256',
2183
+ },
2184
+ ],
2185
+ },
2186
+ { name: 'uid', internalType: 'uint32', type: 'uint32' },
2187
+ { name: 'version', internalType: 'uint32', type: 'uint32' },
2188
+ { name: 'deleted', internalType: 'bool', type: 'bool' },
2189
+ ],
2190
+ },
2191
+ { name: 'signature', internalType: 'bytes', type: 'bytes' },
2192
+ { name: 'quantityToMint', internalType: 'uint256', type: 'uint256' },
2193
+ {
2194
+ name: 'mintArguments',
2195
+ internalType: 'struct MintArguments',
2196
+ type: 'tuple',
2197
+ components: [
2198
+ { name: 'mintRecipient', internalType: 'address', type: 'address' },
2199
+ { name: 'mintComment', internalType: 'string', type: 'string' },
2200
+ {
2201
+ name: 'mintRewardsRecipients',
2202
+ internalType: 'address[]',
2203
+ type: 'address[]',
2204
+ },
2205
+ ],
2206
+ },
2207
+ { name: 'firstMinter', internalType: 'address', type: 'address' },
2208
+ { name: 'signerContract', internalType: 'address', type: 'address' },
2209
+ ],
2210
+ name: 'premintErc20V1',
2211
+ outputs: [
2212
+ {
2213
+ name: 'result',
2214
+ internalType: 'struct PremintResult',
2215
+ type: 'tuple',
2216
+ components: [
2217
+ { name: 'contractAddress', internalType: 'address', type: 'address' },
2218
+ { name: 'tokenId', internalType: 'uint256', type: 'uint256' },
2219
+ { name: 'createdNewContract', internalType: 'bool', type: 'bool' },
2220
+ ],
2221
+ },
2222
+ ],
2223
+ },
2138
2224
  {
2139
2225
  stateMutability: 'view',
2140
2226
  type: 'function',
@@ -2209,7 +2295,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2209
2295
  { name: 'quantityToMint', internalType: 'uint256', type: 'uint256' },
2210
2296
  {
2211
2297
  name: 'mintArguments',
2212
- internalType: 'struct IZoraCreator1155PremintExecutor.MintArguments',
2298
+ internalType: 'struct MintArguments',
2213
2299
  type: 'tuple',
2214
2300
  components: [
2215
2301
  { name: 'mintRecipient', internalType: 'address', type: 'address' },
@@ -2226,7 +2312,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2226
2312
  outputs: [
2227
2313
  {
2228
2314
  name: 'result',
2229
- internalType: 'struct IZoraCreator1155PremintExecutor.PremintResult',
2315
+ internalType: 'struct PremintResult',
2230
2316
  type: 'tuple',
2231
2317
  components: [
2232
2318
  { name: 'contractAddress', internalType: 'address', type: 'address' },
@@ -2297,7 +2383,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2297
2383
  { name: 'quantityToMint', internalType: 'uint256', type: 'uint256' },
2298
2384
  {
2299
2385
  name: 'mintArguments',
2300
- internalType: 'struct IZoraCreator1155PremintExecutor.MintArguments',
2386
+ internalType: 'struct MintArguments',
2301
2387
  type: 'tuple',
2302
2388
  components: [
2303
2389
  { name: 'mintRecipient', internalType: 'address', type: 'address' },
@@ -2314,7 +2400,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2314
2400
  outputs: [
2315
2401
  {
2316
2402
  name: 'result',
2317
- internalType: 'struct IZoraCreator1155PremintExecutor.PremintResult',
2403
+ internalType: 'struct PremintResult',
2318
2404
  type: 'tuple',
2319
2405
  components: [
2320
2406
  { name: 'contractAddress', internalType: 'address', type: 'address' },
@@ -2385,7 +2471,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2385
2471
  { name: 'quantityToMint', internalType: 'uint256', type: 'uint256' },
2386
2472
  {
2387
2473
  name: 'mintArguments',
2388
- internalType: 'struct IZoraCreator1155PremintExecutor.MintArguments',
2474
+ internalType: 'struct MintArguments',
2389
2475
  type: 'tuple',
2390
2476
  components: [
2391
2477
  { name: 'mintRecipient', internalType: 'address', type: 'address' },
@@ -2397,13 +2483,14 @@ export const zoraCreator1155PremintExecutorImplABI = [
2397
2483
  },
2398
2484
  ],
2399
2485
  },
2486
+ { name: 'firstMinter', internalType: 'address', type: 'address' },
2400
2487
  { name: 'signerContract', internalType: 'address', type: 'address' },
2401
2488
  ],
2402
2489
  name: 'premintV2WithSignerContract',
2403
2490
  outputs: [
2404
2491
  {
2405
2492
  name: 'result',
2406
- internalType: 'struct IZoraCreator1155PremintExecutor.PremintResult',
2493
+ internalType: 'struct PremintResult',
2407
2494
  type: 'tuple',
2408
2495
  components: [
2409
2496
  { name: 'contractAddress', internalType: 'address', type: 'address' },
@@ -2752,6 +2839,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2752
2839
  { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_CONTRACT' },
2753
2840
  { type: 'error', inputs: [], name: 'ERC1967_NEW_IMPL_NOT_UUPS' },
2754
2841
  { type: 'error', inputs: [], name: 'ERC1967_UNSUPPORTED_PROXIABLEUUID' },
2842
+ { type: 'error', inputs: [], name: 'ERC20TransferSlippage' },
2755
2843
  {
2756
2844
  type: 'error',
2757
2845
  inputs: [
@@ -2770,6 +2858,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2770
2858
  inputs: [],
2771
2859
  name: 'FUNCTION_MUST_BE_CALLED_THROUGH_DELEGATECALL',
2772
2860
  },
2861
+ { type: 'error', inputs: [], name: 'FirstMinterAddressZero' },
2773
2862
  {
2774
2863
  type: 'error',
2775
2864
  inputs: [
@@ -2801,17 +2890,8 @@ export const zoraCreator1155PremintExecutorImplABI = [
2801
2890
  name: 'InvalidMerkleProof',
2802
2891
  },
2803
2892
  { type: 'error', inputs: [], name: 'InvalidMintSchedule' },
2804
- {
2805
- type: 'error',
2806
- inputs: [
2807
- {
2808
- name: 'recoverError',
2809
- internalType: 'enum ECDSAUpgradeable.RecoverError',
2810
- type: 'uint8',
2811
- },
2812
- ],
2813
- name: 'InvalidSignature',
2814
- },
2893
+ { type: 'error', inputs: [], name: 'InvalidPremintVersion' },
2894
+ { type: 'error', inputs: [], name: 'InvalidSignature' },
2815
2895
  { type: 'error', inputs: [], name: 'InvalidSignatureVersion' },
2816
2896
  {
2817
2897
  type: 'error',
@@ -2820,6 +2900,7 @@ export const zoraCreator1155PremintExecutorImplABI = [
2820
2900
  },
2821
2901
  { type: 'error', inputs: [], name: 'MintNotYetStarted' },
2822
2902
  { type: 'error', inputs: [], name: 'Mint_InsolventSaleTransfer' },
2903
+ { type: 'error', inputs: [], name: 'Mint_InvalidMintArrayLength' },
2823
2904
  { type: 'error', inputs: [], name: 'Mint_TokenIDMintNotAllowed' },
2824
2905
  { type: 'error', inputs: [], name: 'Mint_UnknownCommand' },
2825
2906
  { type: 'error', inputs: [], name: 'Mint_ValueTransferFail' },