@artblocks/contracts 1.4.0 → 1.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/README.md CHANGED
@@ -99,7 +99,7 @@ A summary of our deployed infrastructure is available on our [Infrastructure Doc
99
99
 
100
100
  We use the following keyless create2 factory to deploy standard infrastructure contracts to enable permissionless deployments of infrastructure on any network that supports pre-EIP-155 transactions.
101
101
 
102
- Contracts that are deployed using the keyless create2 factory include the `BytecodeStorageReader`, `V3FlexLib`, `V3EngineLib`, and `V3TransferHookLib` external library contracts, the `GenArt721CoreV3_Engine` and `GenArt721CoreV3_Engine_Flex` implementation contracts and the `EngineFactoryV0` contracts that clone them, and first-party transfer hooks such as `OwnerHistoryTransferHook`.
102
+ Contracts that are deployed using the keyless create2 factory include the `BytecodeStorageReader`, `V3FlexLib`, `V3EngineLib`, and `V3TransferHookLib` external library contracts, the `GenArt721CoreV3_Engine` and `GenArt721CoreV3_Engine_Flex` implementation contracts and the `EngineFactoryV0` contracts that clone them, first-party transfer hooks such as `OwnerHistoryTransferHook`, and combined hooks such as `MintTimeAndTransferCountHooks`.
103
103
 
104
104
  <table>
105
105
  <tr>
@@ -0,0 +1,356 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IMintTimeAndTransferCountHooks",
4
+ "sourceName": "contracts/interfaces/v0.8.x/IMintTimeAndTransferCountHooks.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "coreContract",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "projectId",
16
+ "type": "uint256"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "configuredHook",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "name": "HookNotConfiguredForProject",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "anonymous": false,
29
+ "inputs": [
30
+ {
31
+ "indexed": true,
32
+ "internalType": "address",
33
+ "name": "coreContract",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "indexed": true,
38
+ "internalType": "uint256",
39
+ "name": "tokenId",
40
+ "type": "uint256"
41
+ },
42
+ {
43
+ "indexed": false,
44
+ "internalType": "uint64",
45
+ "name": "timestamp",
46
+ "type": "uint64"
47
+ }
48
+ ],
49
+ "name": "MintTimestampRecorded",
50
+ "type": "event"
51
+ },
52
+ {
53
+ "anonymous": false,
54
+ "inputs": [
55
+ {
56
+ "indexed": true,
57
+ "internalType": "address",
58
+ "name": "coreContract",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "indexed": true,
63
+ "internalType": "uint256",
64
+ "name": "tokenId",
65
+ "type": "uint256"
66
+ },
67
+ {
68
+ "indexed": false,
69
+ "internalType": "uint64",
70
+ "name": "transferCount",
71
+ "type": "uint64"
72
+ }
73
+ ],
74
+ "name": "TransferCountPMPSyncFailed",
75
+ "type": "event"
76
+ },
77
+ {
78
+ "anonymous": false,
79
+ "inputs": [
80
+ {
81
+ "indexed": true,
82
+ "internalType": "address",
83
+ "name": "coreContract",
84
+ "type": "address"
85
+ },
86
+ {
87
+ "indexed": true,
88
+ "internalType": "uint256",
89
+ "name": "tokenId",
90
+ "type": "uint256"
91
+ },
92
+ {
93
+ "indexed": false,
94
+ "internalType": "uint64",
95
+ "name": "transferCount",
96
+ "type": "uint64"
97
+ },
98
+ {
99
+ "indexed": false,
100
+ "internalType": "address",
101
+ "name": "from",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "indexed": false,
106
+ "internalType": "address",
107
+ "name": "to",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "TransferCounted",
112
+ "type": "event"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "coreContract",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "internalType": "uint256",
123
+ "name": "tokenId",
124
+ "type": "uint256"
125
+ }
126
+ ],
127
+ "name": "isTrackedFromMint",
128
+ "outputs": [
129
+ {
130
+ "internalType": "bool",
131
+ "name": "",
132
+ "type": "bool"
133
+ }
134
+ ],
135
+ "stateMutability": "view",
136
+ "type": "function"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "address",
142
+ "name": "coreContract",
143
+ "type": "address"
144
+ },
145
+ {
146
+ "internalType": "uint256",
147
+ "name": "tokenId",
148
+ "type": "uint256"
149
+ }
150
+ ],
151
+ "name": "mintTimestamp",
152
+ "outputs": [
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "",
156
+ "type": "uint256"
157
+ }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "address",
166
+ "name": "coreContract",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "tokenId",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "components": [
176
+ {
177
+ "internalType": "string",
178
+ "name": "key",
179
+ "type": "string"
180
+ },
181
+ {
182
+ "internalType": "string",
183
+ "name": "value",
184
+ "type": "string"
185
+ }
186
+ ],
187
+ "internalType": "struct IWeb3Call.TokenParam[]",
188
+ "name": "tokenParams",
189
+ "type": "tuple[]"
190
+ }
191
+ ],
192
+ "name": "onTokenPMPReadAugmentation",
193
+ "outputs": [
194
+ {
195
+ "components": [
196
+ {
197
+ "internalType": "string",
198
+ "name": "key",
199
+ "type": "string"
200
+ },
201
+ {
202
+ "internalType": "string",
203
+ "name": "value",
204
+ "type": "string"
205
+ }
206
+ ],
207
+ "internalType": "struct IWeb3Call.TokenParam[]",
208
+ "name": "augmentedTokenParams",
209
+ "type": "tuple[]"
210
+ }
211
+ ],
212
+ "stateMutability": "view",
213
+ "type": "function"
214
+ },
215
+ {
216
+ "inputs": [
217
+ {
218
+ "internalType": "address",
219
+ "name": "coreContract",
220
+ "type": "address"
221
+ },
222
+ {
223
+ "internalType": "uint256",
224
+ "name": "tokenId",
225
+ "type": "uint256"
226
+ },
227
+ {
228
+ "internalType": "address",
229
+ "name": "from",
230
+ "type": "address"
231
+ },
232
+ {
233
+ "internalType": "address",
234
+ "name": "to",
235
+ "type": "address"
236
+ },
237
+ {
238
+ "internalType": "address",
239
+ "name": "operator",
240
+ "type": "address"
241
+ }
242
+ ],
243
+ "name": "onTokenTransfer",
244
+ "outputs": [],
245
+ "stateMutability": "nonpayable",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "address",
252
+ "name": "coreContract",
253
+ "type": "address"
254
+ },
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "tokenId",
258
+ "type": "uint256"
259
+ }
260
+ ],
261
+ "name": "secondsSinceMint",
262
+ "outputs": [
263
+ {
264
+ "internalType": "uint256",
265
+ "name": "",
266
+ "type": "uint256"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "bytes4",
276
+ "name": "interfaceId",
277
+ "type": "bytes4"
278
+ }
279
+ ],
280
+ "name": "supportsInterface",
281
+ "outputs": [
282
+ {
283
+ "internalType": "bool",
284
+ "name": "",
285
+ "type": "bool"
286
+ }
287
+ ],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "address",
295
+ "name": "coreContract",
296
+ "type": "address"
297
+ },
298
+ {
299
+ "internalType": "uint256",
300
+ "name": "tokenId",
301
+ "type": "uint256"
302
+ }
303
+ ],
304
+ "name": "tokenTransferState",
305
+ "outputs": [
306
+ {
307
+ "components": [
308
+ {
309
+ "internalType": "uint64",
310
+ "name": "mintTimestamp",
311
+ "type": "uint64"
312
+ },
313
+ {
314
+ "internalType": "uint64",
315
+ "name": "transferCount",
316
+ "type": "uint64"
317
+ }
318
+ ],
319
+ "internalType": "struct IMintTimeAndTransferCountHooks.TokenTransferState",
320
+ "name": "state",
321
+ "type": "tuple"
322
+ }
323
+ ],
324
+ "stateMutability": "view",
325
+ "type": "function"
326
+ },
327
+ {
328
+ "inputs": [
329
+ {
330
+ "internalType": "address",
331
+ "name": "coreContract",
332
+ "type": "address"
333
+ },
334
+ {
335
+ "internalType": "uint256",
336
+ "name": "tokenId",
337
+ "type": "uint256"
338
+ }
339
+ ],
340
+ "name": "transferCount",
341
+ "outputs": [
342
+ {
343
+ "internalType": "uint256",
344
+ "name": "",
345
+ "type": "uint256"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ }
351
+ ],
352
+ "bytecode": "0x",
353
+ "deployedBytecode": "0x",
354
+ "linkReferences": {},
355
+ "deployedLinkReferences": {}
356
+ }