-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontracts.json
More file actions
318 lines (318 loc) · 10.2 KB
/
Copy pathcontracts.json
File metadata and controls
318 lines (318 loc) · 10.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
{
"schema_version": "6529stream.release-artifact-contracts.v1",
"production_contracts": [
{
"name": "DependencyRegistry",
"source": "smart-contracts/DependencyRegistry.sol"
},
{
"name": "NextGenRandomizerRNG",
"source": "smart-contracts/RandomizerRNG.sol"
},
{
"name": "NextGenRandomizerVRF",
"source": "smart-contracts/RandomizerVRF.sol"
},
{
"name": "StreamAdmins",
"source": "smart-contracts/StreamAdmins.sol"
},
{
"name": "StreamAssetPolicyRegistry",
"source": "smart-contracts/StreamAssetPolicyRegistry.sol"
},
{
"name": "StreamAuctions",
"source": "smart-contracts/AuctionContract.sol"
},
{
"name": "StreamContractMetadata",
"source": "smart-contracts/StreamContractMetadata.sol"
},
{
"name": "StreamCollectionMetadata",
"source": "smart-contracts/StreamCollectionMetadata.sol"
},
{
"name": "StreamCore",
"source": "smart-contracts/StreamCore.sol"
},
{
"name": "StreamCuratorsPool",
"source": "smart-contracts/StreamCuratorsPool.sol"
},
{
"name": "StreamDrops",
"source": "smart-contracts/StreamDrops.sol"
},
{
"name": "StreamMinter",
"source": "smart-contracts/StreamMinter.sol"
},
{
"name": "StreamMintLedger",
"source": "smart-contracts/StreamMintLedger.sol"
},
{
"name": "StreamMintModuleRegistry",
"source": "smart-contracts/StreamMintModuleRegistry.sol"
},
{
"name": "StreamMintManager",
"source": "smart-contracts/StreamMintManager.sol"
},
{
"name": "StreamPrimarySaleSettlement",
"source": "smart-contracts/StreamPrimarySaleSettlement.sol"
},
{
"name": "StreamPreservationRecords",
"source": "smart-contracts/StreamPreservationRecords.sol"
},
{
"name": "StreamRevenueResolver",
"source": "smart-contracts/StreamRevenueResolver.sol"
},
{
"name": "StreamSplitFactory",
"source": "smart-contracts/StreamSplitFactory.sol"
},
{
"name": "StreamSplitWallet",
"source": "smart-contracts/StreamSplitWallet.sol",
"deployment_scope": "factory_spawned"
}
],
"runtime_size_budget": {
"schema_version": "6529stream.contract-runtime-size-budget.v1",
"eip_170_runtime_limit_bytes": 24576,
"contracts": {
"StreamCore": {
"source": "smart-contracts/StreamCore.sol",
"minimum_runtime_margin_bytes": 384,
"warning_runtime_margin_bytes": 512,
"tracking": "https://github.com/6529-Collections/6529Stream/issues/414",
"policy": "hard fail below the minimum release floor; warn below the future-work threshold"
}
}
},
"core_bytecode_spend_policy": {
"schema_version": "6529stream.core-bytecode-spend-policy.v1",
"contract": "StreamCore",
"approved_runtime_size_bytes": 22184,
"approved_runtime_margin_bytes": 2392,
"baseline_command": "python scripts/build_release_artifacts.py",
"tracking": "https://github.com/6529-Collections/6529Stream/issues/478",
"policy": "Core runtime bytecode may decrease freely. Any increase above the approved runtime baseline requires an accepted exception record before merge, even when the EIP-170 release floor still passes.",
"exceptions": [
{
"id": "CORE-SPEND-2026-06-24-001",
"issue": "https://github.com/6529-Collections/6529Stream/issues/631",
"status": "accepted",
"rationale": "Add the Core-owned mint-manager boundary, prepared-mint lock surface, and explicit token identity reads required for launch v1 mint accounting, royalty, metadata, and entropy coordination without relying on token ID range heuristics.",
"mitigation": "Keep manager policy, beneficiary/payment evidence, batch commitments, and sale-specific manager events in StreamMintManager, StreamMintLedger, sale adapters, and settlement satellites; limit Core to the manager pointer, immediate mint hook, prepared-mint state, and replay/identity guards required for safe composition; require future roadmap items to recover Core headroom before adding more Core behavior.",
"max_runtime_size_bytes": 24172,
"measured_delta_bytes": 1988
}
],
"rejected_experiments": [
{
"id": "CORE-EXPERIMENT-2026-06-17-001",
"summary": "Change unused public view functions to external visibility",
"runtime_size_bytes": 22184,
"measured_delta_bytes": 0,
"decision": "rejected-no-headroom-gain"
},
{
"id": "CORE-EXPERIMENT-2026-06-17-002",
"summary": "Move freeze-manifest hash assembly into StreamMetadataRenderer",
"runtime_size_bytes": 22365,
"measured_delta_bytes": 181,
"decision": "rejected-negative-headroom"
},
{
"id": "CORE-EXPERIMENT-2026-06-17-003",
"summary": "Replace public metadata constants with explicit getter functions",
"runtime_size_bytes": 22189,
"measured_delta_bytes": 5,
"decision": "rejected-negative-headroom"
}
],
"accepted_reductions": [
{
"id": "CORE-REDUCTION-2026-06-18-001",
"issue": "https://github.com/6529-Collections/6529Stream/issues/577",
"summary": "Cache repeated collection storage reads and use invariant-bounded unchecked counter arithmetic in StreamCore hot paths.",
"baseline_runtime_size_bytes": 22184,
"runtime_size_bytes": 21792,
"measured_delta_bytes": -392,
"runtime_margin_bytes": 2784,
"decision": "accepted-headroom-recovery"
},
{
"id": "CORE-REDUCTION-2026-07-28-001",
"issue": "https://github.com/6529-Collections/6529Stream/issues/654",
"summary": "Replace the transitional Core with the locked permanent ABI, linked bounded external reads, authenticated metadata/entropy pointers, exact mint completion gas admission, and restricted metadata emitters.",
"baseline_runtime_size_bytes": 24128,
"runtime_size_bytes": 18997,
"measured_delta_bytes": -5131,
"runtime_margin_bytes": 5579,
"decision": "accepted-permanent-core-cutover-and-headroom-recovery"
}
]
},
"interfaces": [
{
"name": "IDependencyRegistry",
"source": "smart-contracts/IDependencyRegistry.sol"
},
{
"name": "IERC165",
"source": "smart-contracts/IERC165.sol",
"interface_id": "0x01ffc9a7"
},
{
"name": "IERC2981",
"source": "smart-contracts/IERC2981.sol",
"interface_id": "0x2a55205a"
},
{
"name": "IERC4906",
"source": "smart-contracts/IERC4906.sol",
"interface_id": "0x49064906"
},
{
"name": "IERC7572",
"source": "smart-contracts/IERC7572.sol"
},
{
"name": "IERC721",
"source": "smart-contracts/IERC721.sol",
"interface_id": "0x80ac58cd"
},
{
"name": "IERC721Metadata",
"source": "smart-contracts/IERC721Metadata.sol",
"interface_id": "0x5b5e139f"
},
{
"name": "IRandomizer",
"source": "smart-contracts/IRandomizer.sol"
},
{
"name": "IRandomizerLifecycle",
"source": "smart-contracts/IRandomizerLifecycle.sol"
},
{
"name": "IStreamAdmins",
"source": "smart-contracts/IStreamAdmins.sol"
},
{
"name": "IStreamArtworkFinalityRegistry",
"source": "smart-contracts/IStreamArtworkFinalityRegistry.sol"
},
{
"name": "IStreamAssetPolicyRegistry",
"source": "smart-contracts/IStreamAssetPolicyRegistry.sol"
},
{
"name": "IStreamAuctions",
"source": "smart-contracts/IStreamAuctions.sol"
},
{
"name": "IStreamCompatibility",
"source": "smart-contracts/IStreamCompatibility.sol"
},
{
"name": "IStreamContractMetadata",
"source": "smart-contracts/IStreamContractMetadata.sol"
},
{
"name": "IStreamCollectionMetadata",
"source": "smart-contracts/IStreamCollectionMetadata.sol"
},
{
"name": "IStreamCore",
"source": "smart-contracts/IStreamCore.sol"
},
{
"name": "IStreamCoreFinalityAdapter",
"source": "smart-contracts/IStreamCoreFinalityAdapter.sol",
"interface_id": "0xebf35615"
},
{
"name": "IStreamDrops",
"source": "smart-contracts/IStreamDrops.sol"
},
{
"name": "IStreamEntropyCoordinator",
"source": "smart-contracts/IStreamEntropyCoordinator.sol"
},
{
"name": "IStreamGasParameterHost",
"source": "smart-contracts/IStreamGasParameterHost.sol",
"interface_id": "0xc5eef2ab"
},
{
"name": "IStreamGovernanceExecutor",
"source": "smart-contracts/IStreamGovernanceExecutor.sol"
},
{
"name": "IStreamGovernedParameterAuthority",
"source": "smart-contracts/IStreamGovernedParameterAuthority.sol"
},
{
"name": "IStreamMetadataRouter",
"source": "smart-contracts/IStreamMetadataRouter.sol"
},
{
"name": "IStreamMinter",
"source": "smart-contracts/IStreamMinter.sol"
},
{
"name": "IStreamMintGate",
"source": "smart-contracts/IStreamMintGate.sol"
},
{
"name": "IStreamMintManager",
"source": "smart-contracts/IStreamMintManager.sol"
},
{
"name": "IStreamMintLedger",
"source": "smart-contracts/IStreamMintLedger.sol"
},
{
"name": "IStreamMintModuleRegistry",
"source": "smart-contracts/IStreamMintModuleRegistry.sol"
},
{
"name": "IStreamPrimarySaleSettlement",
"source": "smart-contracts/IStreamPrimarySaleSettlement.sol"
},
{
"name": "IStreamPreservationRecords",
"source": "smart-contracts/IStreamPreservationRecords.sol"
},
{
"name": "IStreamRevenueResolver",
"source": "smart-contracts/IStreamRevenueResolver.sol"
},
{
"name": "IStreamSystemManifest",
"source": "smart-contracts/IStreamSystemManifest.sol"
},
{
"name": "IStreamSplitFactory",
"source": "smart-contracts/IStreamSplitFactory.sol"
},
{
"name": "IStreamSplitWallet",
"source": "smart-contracts/IStreamSplitWallet.sol"
},
{
"name": "IStreamTimeParameterHost",
"source": "smart-contracts/IStreamTimeParameterHost.sol",
"interface_id": "0xc185242a"
}
]
}