@sig-net/midnight 0.27.0-rc.3 → 0.27.0-rc.5
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 +4 -3
- package/dist/abi-serde.d.ts +18 -0
- package/dist/abi-serde.d.ts.map +1 -1
- package/dist/abi-serde.js +28 -0
- package/dist/abi-serde.js.map +1 -1
- package/dist/compact-descriptors.d.ts +6 -5
- package/dist/compact-descriptors.d.ts.map +1 -1
- package/dist/compact-descriptors.js +4 -4
- package/dist/compact-descriptors.js.map +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/constants.js +2 -2
- package/dist/ecdsa-attestation.d.ts +2 -1
- package/dist/ecdsa-attestation.d.ts.map +1 -1
- package/dist/ecdsa-attestation.js +4 -1
- package/dist/ecdsa-attestation.js.map +1 -1
- package/dist/epsilon-derivation.d.ts +8 -8
- package/dist/epsilon-derivation.js +7 -7
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/managed/compiler/contract-info.json +181 -0
- package/dist/managed/compiler/contract-manifest.json +16 -8
- package/dist/managed/contract/index.d.ts +48 -0
- package/dist/managed/contract/index.js +561 -349
- package/dist/managed/contract/index.js.map +2 -2
- package/dist/managed/zkir/assertTronExpirationWindowV1.zkir +63 -0
- package/dist/signature-requests-state-reader.d.ts +16 -10
- package/dist/signature-requests-state-reader.d.ts.map +1 -1
- package/dist/signature-requests-state-reader.js +31 -13
- package/dist/signature-requests-state-reader.js.map +1 -1
- package/dist/signature-response-verification.d.ts +52 -7
- package/dist/signature-response-verification.d.ts.map +1 -1
- package/dist/signature-response-verification.js +63 -13
- package/dist/signature-response-verification.js.map +1 -1
- package/dist/signet-contract-events.d.ts +1 -1
- package/dist/signet-request-id.js +3 -3
- package/dist/signet-request-id.js.map +1 -1
- package/dist/signet-request-response-reader.d.ts +112 -34
- package/dist/signet-request-response-reader.d.ts.map +1 -1
- package/dist/signet-request-response-reader.js +279 -96
- package/dist/signet-request-response-reader.js.map +1 -1
- package/dist/signet-requests.d.ts +9 -5
- package/dist/signet-requests.d.ts.map +1 -1
- package/dist/signet-requests.js +6 -2
- package/dist/signet-requests.js.map +1 -1
- package/dist/signet-tron-record-decoding.d.ts +2 -0
- package/dist/signet-tron-record-decoding.d.ts.map +1 -1
- package/dist/signet-tron-record-decoding.js +2 -0
- package/dist/signet-tron-record-decoding.js.map +1 -1
- package/dist/signet-tron-requests.d.ts +7 -3
- package/dist/signet-tron-requests.d.ts.map +1 -1
- package/dist/signet-tron-requests.js +6 -2
- package/dist/signet-tron-requests.js.map +1 -1
- package/dist/tron-node-api.d.ts +83 -0
- package/dist/tron-node-api.d.ts.map +1 -0
- package/dist/tron-node-api.js +134 -0
- package/dist/tron-node-api.js.map +1 -0
- package/dist/tron-transactions.d.ts +38 -1
- package/dist/tron-transactions.d.ts.map +1 -1
- package/dist/tron-transactions.js +35 -0
- package/dist/tron-transactions.js.map +1 -1
- package/package.json +2 -2
- package/src/Signet.compact +79 -10
- package/src/circuits.compact +9 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PublicDataProvider, SerializedContractState } from "@midnight-ntwrk/midnight-js-types";
|
|
2
2
|
import { type Transaction } from "ethers";
|
|
3
3
|
import { type Secp256k1Point } from "./ecdsa-attestation.ts";
|
|
4
|
-
import { type DecodedSignetEvent, type RespondBidirectionalEvent, type SignatureRespondedEvent, type SignetEventSource } from "./signet-contract-events.ts";
|
|
4
|
+
import { type DecodedSignetEvent, type IndexedSignetMiscEvent, type RespondBidirectionalEvent, type SignatureRespondedEvent, type SignetEventSource } from "./signet-contract-events.ts";
|
|
5
5
|
import { type AnySignBidirectionalEvent, type RequestIdHex, type SignBidirectionalEvent } from "./signet-requests.ts";
|
|
6
6
|
import type { TronTxParams } from "./signet-tron-requests.ts";
|
|
7
7
|
/**
|
|
@@ -40,22 +40,26 @@ export interface SignetRequestResponseReaderConfig {
|
|
|
40
40
|
/** Source of raw contract state, e.g. midnight-js's `indexerPublicDataProvider`. */
|
|
41
41
|
readonly publicDataProvider: SignetPublicStateSource;
|
|
42
42
|
/**
|
|
43
|
-
* Source of the responder contract's emitted events
|
|
44
|
-
*
|
|
43
|
+
* Source of the responder contract's emitted events, each carrying the
|
|
44
|
+
* indexer's event cursor the reader resumes its scans from. Read a live
|
|
45
|
+
* indexer with `signetEventSourceFromIndexer`.
|
|
45
46
|
*/
|
|
46
|
-
readonly eventSource: SignetEventSource
|
|
47
|
+
readonly eventSource: SignetEventSource<IndexedSignetMiscEvent>;
|
|
47
48
|
/**
|
|
48
|
-
* Inclusive lowest Midnight block
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
49
|
+
* Inclusive lowest Midnight block a request's FIRST scan for responses
|
|
50
|
+
* starts at: later scans of that request resume from its own cursor. Omit
|
|
51
|
+
* to start at the beginning of the history. Set it to the block just
|
|
52
|
+
* before the oldest request whose responses are still pending: responses
|
|
53
|
+
* are emitted after their request, so the tip taken BEFORE submitting the
|
|
54
|
+
* first request is safe for a fresh client. A value above that block hides
|
|
55
|
+
* the request's responses without error, and a value far below it makes
|
|
56
|
+
* every first scan walk history that cannot hold a response.
|
|
53
57
|
*/
|
|
54
58
|
readonly responderEventsFromBlock?: number;
|
|
55
59
|
}
|
|
56
60
|
/** The verdict on one emitted response, in emission order. */
|
|
57
61
|
export interface SignatureResponseVerdict {
|
|
58
|
-
/** 0-based position of the post among the
|
|
62
|
+
/** 0-based position of the post among the signature responses judged. */
|
|
59
63
|
index: bigint;
|
|
60
64
|
/** The posted signature record, verbatim. */
|
|
61
65
|
response: SignatureRespondedEvent;
|
|
@@ -64,7 +68,7 @@ export interface SignatureResponseVerdict {
|
|
|
64
68
|
/** Why the post was rejected, absent when the post is valid. */
|
|
65
69
|
rejectedReason?: string;
|
|
66
70
|
}
|
|
67
|
-
/** Result of {@link SignetRequestResponseReader['
|
|
71
|
+
/** Result of {@link SignetRequestResponseReader['getSignatureResponseVerdicts']}. */
|
|
68
72
|
export interface VerifiedSignatureResponseResult {
|
|
69
73
|
/**
|
|
70
74
|
* The first valid response (lowest index), or `undefined` when no valid
|
|
@@ -93,12 +97,15 @@ export interface VerifiedSignatureResponseResult {
|
|
|
93
97
|
export declare function findVerifiedRespondBidirectionalEvent(requestId: RequestIdHex, serializedOutput: Uint8Array, mpcResponseKey: Secp256k1Point, events: readonly DecodedSignetEvent[]): RespondBidirectionalEvent | undefined;
|
|
94
98
|
/**
|
|
95
99
|
* Reader over one requester contract / responder contract pair. Construct once
|
|
96
|
-
* per pair and reuse:
|
|
97
|
-
*
|
|
100
|
+
* per pair and reuse across polls: per request it caches the request record,
|
|
101
|
+
* the distinct responses read so far with each one's verification outcome,
|
|
102
|
+
* and the event cursor, so a poll handles only events it has not seen yet
|
|
103
|
+
* and no response is verified twice.
|
|
98
104
|
*/
|
|
99
105
|
export declare class SignetRequestResponseReader {
|
|
100
106
|
private readonly config;
|
|
101
107
|
private readonly requestCache;
|
|
108
|
+
private readonly responseScans;
|
|
102
109
|
/**
|
|
103
110
|
* @param config - The contract pair, state source and event source to read
|
|
104
111
|
* through.
|
|
@@ -116,60 +123,117 @@ export declare class SignetRequestResponseReader {
|
|
|
116
123
|
*/
|
|
117
124
|
getSignatureRequest(requestId: RequestIdHex): Promise<AnySignBidirectionalEvent>;
|
|
118
125
|
/**
|
|
126
|
+
* Fetch a request record that must carry the evmType2 decomposition.
|
|
127
|
+
*
|
|
119
128
|
* @param requestId - The request id to look up
|
|
120
129
|
* @returns The stored evmType2 request record
|
|
121
130
|
* @throws {Error} When the request cannot be fetched (see {@link getSignatureRequest}) or carries another decomposition
|
|
122
131
|
*/
|
|
123
132
|
getEvmType2SignatureRequest(requestId: RequestIdHex): Promise<SignBidirectionalEvent>;
|
|
124
133
|
/**
|
|
134
|
+
* Fetch a request record that must carry the Tron decomposition.
|
|
135
|
+
*
|
|
125
136
|
* @param requestId - The request id to look up
|
|
126
137
|
* @returns The stored Tron request record
|
|
127
138
|
* @throws {Error} When the request cannot be fetched (see {@link getSignatureRequest}) or carries another decomposition
|
|
128
139
|
*/
|
|
129
140
|
getTronSignatureRequest(requestId: RequestIdHex): Promise<SignBidirectionalEvent<TronTxParams>>;
|
|
141
|
+
private evmSignerCheck;
|
|
142
|
+
private tronSignerCheck;
|
|
143
|
+
/**
|
|
144
|
+
* The responses read so far for `requestId`, without touching the event
|
|
145
|
+
* source.
|
|
146
|
+
*
|
|
147
|
+
* @param requestId - The request id.
|
|
148
|
+
* @returns The request's scan state, empty before its first scan.
|
|
149
|
+
*/
|
|
150
|
+
private responseScanOf;
|
|
130
151
|
/**
|
|
131
|
-
*
|
|
132
|
-
* `requestId
|
|
133
|
-
*
|
|
152
|
+
* Read the responder contract's events from the block where the previous
|
|
153
|
+
* scan of `requestId` stopped, skip the ones it already saw, and keep the
|
|
154
|
+
* posts of either response kind that declare it, skipping posts whose
|
|
155
|
+
* payload does not decode and repeats of a post already kept. The declared id is routing data only.
|
|
134
156
|
*
|
|
135
|
-
* @param name - The signet event name to keep.
|
|
136
157
|
* @param requestId - The request id the kept posts must declare.
|
|
137
|
-
* @returns The
|
|
158
|
+
* @returns The request's scan state, read up to the indexer's tip.
|
|
138
159
|
*/
|
|
139
|
-
private
|
|
160
|
+
private scanResponses;
|
|
140
161
|
/**
|
|
141
|
-
* Fetch every decodable signature response posted under
|
|
142
|
-
* emission order. UNVERIFIED: any post may still be
|
|
143
|
-
* {@link getVerifiedSignatureRespondedEvent} first.
|
|
162
|
+
* Fetch every distinct decodable signature response posted under
|
|
163
|
+
* `requestId`, in emission order. UNVERIFIED: any post may still be
|
|
164
|
+
* garbage, sift with {@link getVerifiedSignatureRespondedEvent} first.
|
|
144
165
|
*
|
|
145
166
|
* @param requestId - The request id the posts must declare.
|
|
146
167
|
* @returns The request's posted records, oldest first, empty when none yet.
|
|
147
168
|
*/
|
|
148
169
|
getSignatureRespondedEvents(requestId: RequestIdHex): Promise<SignatureRespondedEvent[]>;
|
|
149
170
|
/**
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
171
|
+
* The first of a request's signature responses read so far that passes
|
|
172
|
+
* `check`, recovering the signer of each post at most once across calls
|
|
173
|
+
* and stopping at the first match.
|
|
174
|
+
*
|
|
175
|
+
* @param check - The check the posts are judged by.
|
|
176
|
+
* @param candidates - The request's responses read so far, emission order.
|
|
177
|
+
* @returns The first valid response, or `undefined` when none is valid.
|
|
178
|
+
*/
|
|
179
|
+
private firstResponseSignedBy;
|
|
180
|
+
private firstVerifiedSignatureRespondedEvent;
|
|
181
|
+
private signatureResponseVerdicts;
|
|
182
|
+
/**
|
|
183
|
+
* Fetch the first signature response posted under `requestId` that
|
|
184
|
+
* verifies against the evmType2 request: its signature recovers to
|
|
185
|
+
* `expectedSigner` over the signing hash of the request's transaction.
|
|
186
|
+
* The fast path of a poll loop: a valid response already read is returned
|
|
187
|
+
* without touching the event source, a scan handles only the events it has
|
|
188
|
+
* not seen yet, and verification stops at the first valid post.
|
|
189
|
+
* {@link getSignatureResponseVerdicts} says why the other posts were
|
|
190
|
+
* rejected.
|
|
154
191
|
*
|
|
155
192
|
* @param requestId - The request id to fetch a verified response for.
|
|
156
193
|
* @param expectedSigner - The EVM address (0x hex, any case) the genuine
|
|
157
194
|
* response must be signed by: the requester's MPC-derived address.
|
|
158
|
-
* @returns The first valid response
|
|
195
|
+
* @returns The first valid response, or `undefined` when no valid response
|
|
196
|
+
* has been posted yet: poll again.
|
|
159
197
|
* @throws {Error} When the requester contract has no state, the request is
|
|
160
198
|
* not on its ledger, the request is not an evmType2 record, or
|
|
161
199
|
* `expectedSigner` is not an EVM address.
|
|
162
200
|
*/
|
|
163
|
-
getVerifiedSignatureRespondedEvent(requestId: RequestIdHex, expectedSigner: string): Promise<
|
|
201
|
+
getVerifiedSignatureRespondedEvent(requestId: RequestIdHex, expectedSigner: string): Promise<SignatureRespondedEvent | undefined>;
|
|
164
202
|
/**
|
|
203
|
+
* The Tron twin of {@link getVerifiedSignatureRespondedEvent}: the first response signed by the owner of the request's transaction.
|
|
204
|
+
*
|
|
165
205
|
* @param requestId - The Tron request id to fetch a verified response for
|
|
166
206
|
* @param mpcRootPublicKey - The MPC root public key of the record's `keyVersion`; the expected owner is derived from it and the record's `sender` and `path`
|
|
207
|
+
* @returns The first valid response, or `undefined` when no valid response has been posted yet
|
|
208
|
+
* @throws {Error} When the requester contract has no state, the request is not on its ledger, the request is not a Tron record, or the key does not parse
|
|
209
|
+
*/
|
|
210
|
+
getVerifiedTronSignatureRespondedEvent(requestId: RequestIdHex, mpcRootPublicKey: string): Promise<SignatureRespondedEvent | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* The diagnostic sibling of {@link getVerifiedSignatureRespondedEvent}:
|
|
213
|
+
* fetch every distinct signature response posted under the evmType2
|
|
214
|
+
* `requestId` and give each a verdict against the request. The signer of
|
|
215
|
+
* a post is recovered at most once across calls.
|
|
216
|
+
*
|
|
217
|
+
* @param requestId - The request id to judge the responses of.
|
|
218
|
+
* @param expectedSigner - The EVM address (0x hex, any case) the genuine
|
|
219
|
+
* response must be signed by: the requester's MPC-derived address.
|
|
220
|
+
* @returns The first valid response (if any) plus per-post verdicts.
|
|
221
|
+
* @throws {Error} When the requester contract has no state, the request is
|
|
222
|
+
* not on its ledger, the request is not an evmType2 record, or
|
|
223
|
+
* `expectedSigner` is not an EVM address.
|
|
224
|
+
*/
|
|
225
|
+
getSignatureResponseVerdicts(requestId: RequestIdHex, expectedSigner: string): Promise<VerifiedSignatureResponseResult>;
|
|
226
|
+
/**
|
|
227
|
+
* The Tron twin of {@link getSignatureResponseVerdicts}: every response of the request with its verdict.
|
|
228
|
+
*
|
|
229
|
+
* @param requestId - The Tron request id to judge the responses of
|
|
230
|
+
* @param mpcRootPublicKey - The MPC root public key of the record's `keyVersion`; the expected owner is derived from it and the record's `sender` and `path`
|
|
167
231
|
* @returns The first valid response (if any) plus per-post verdicts, signers in base58
|
|
168
232
|
* @throws {Error} When the requester contract has no state, the request is not on its ledger, the request is not a Tron record, or the key does not parse
|
|
169
233
|
*/
|
|
170
|
-
|
|
234
|
+
getTronSignatureResponseVerdicts(requestId: RequestIdHex, mpcRootPublicKey: string): Promise<VerifiedSignatureResponseResult>;
|
|
171
235
|
/**
|
|
172
|
-
* {@link
|
|
236
|
+
* {@link getSignatureResponseVerdicts} over decoded events already in
|
|
173
237
|
* hand: the one ledger read for the request (cached), and no walk of the
|
|
174
238
|
* responder contract's event history. For a consumer that streamed and decoded
|
|
175
239
|
* the history once and verifies many requests against it.
|
|
@@ -186,6 +250,8 @@ export declare class SignetRequestResponseReader {
|
|
|
186
250
|
*/
|
|
187
251
|
verifySignatureRespondedEvents(requestId: RequestIdHex, expectedSigner: string, events: readonly DecodedSignetEvent[]): Promise<VerifiedSignatureResponseResult>;
|
|
188
252
|
/**
|
|
253
|
+
* The Tron twin of {@link verifySignatureRespondedEvents}: judge the request's responses among decoded events already in hand.
|
|
254
|
+
*
|
|
189
255
|
* @param requestId - The Tron request id to verify responses for
|
|
190
256
|
* @param mpcRootPublicKey - The MPC root public key of the record's `keyVersion`
|
|
191
257
|
* @param events - Decoded signet events of any kinds and request ids, in emission order
|
|
@@ -193,8 +259,6 @@ export declare class SignetRequestResponseReader {
|
|
|
193
259
|
* @throws {Error} When the requester contract has no state, the request is not on its ledger, the request is not a Tron record, or the key does not parse
|
|
194
260
|
*/
|
|
195
261
|
verifyTronSignatureRespondedEvents(requestId: RequestIdHex, mpcRootPublicKey: string, events: readonly DecodedSignetEvent[]): Promise<VerifiedSignatureResponseResult>;
|
|
196
|
-
private verifyEvmSignatureResponses;
|
|
197
|
-
private verifyTronSignatureResponses;
|
|
198
262
|
/**
|
|
199
263
|
* Rebuild the unsigned EIP-1559 transaction for `requestId`: the exact
|
|
200
264
|
* transaction the MPC signs, from the request record alone (fetched via
|
|
@@ -224,6 +288,8 @@ export declare class SignetRequestResponseReader {
|
|
|
224
288
|
*/
|
|
225
289
|
getSignedEvmTransaction(requestId: RequestIdHex, expectedSigner: string): Promise<Transaction | undefined>;
|
|
226
290
|
/**
|
|
291
|
+
* Assemble the broadcast-ready signed Tron transaction for a request, attaching the first verified response.
|
|
292
|
+
*
|
|
227
293
|
* @param requestId - The request id to produce a signed transaction for
|
|
228
294
|
* @param mpcRootPublicKey - The MPC root public key of the record's `keyVersion` (e.g. `getMpcRootPublicKey(network)`); the owner is derived from it and the record's `sender` and `path`
|
|
229
295
|
* @returns The signed protobuf `Transaction` bytes, or `undefined` when no valid response has been posted yet
|
|
@@ -231,7 +297,7 @@ export declare class SignetRequestResponseReader {
|
|
|
231
297
|
*/
|
|
232
298
|
getSignedTronTransaction(requestId: RequestIdHex, mpcRootPublicKey: string): Promise<Uint8Array | undefined>;
|
|
233
299
|
/**
|
|
234
|
-
* Fetch every decodable respond-bidirectional response posted under
|
|
300
|
+
* Fetch every distinct decodable respond-bidirectional response posted under
|
|
235
301
|
* `requestId`, in emission order. UNVERIFIED: any post may still be
|
|
236
302
|
* garbage, sift with {@link getVerifiedRespondBidirectionalEvent} (or
|
|
237
303
|
* in-circuit at claim time) first.
|
|
@@ -240,6 +306,16 @@ export declare class SignetRequestResponseReader {
|
|
|
240
306
|
* @returns The request's posted records, oldest first, empty when none yet.
|
|
241
307
|
*/
|
|
242
308
|
getRespondBidirectionalEvents(requestId: RequestIdHex): Promise<RespondBidirectionalEvent[]>;
|
|
309
|
+
/**
|
|
310
|
+
* The first of a request's respond-bidirectional posts read so far whose
|
|
311
|
+
* signature verifies against `mpcResponseKey`, checking each post against
|
|
312
|
+
* a key at most once across calls and stopping at the first match.
|
|
313
|
+
*
|
|
314
|
+
* @param candidates - The request's posts read so far, emission order.
|
|
315
|
+
* @param mpcResponseKey - The MPC response key the requesting contract pinned.
|
|
316
|
+
* @returns The first attested post, or `undefined` when none verifies.
|
|
317
|
+
*/
|
|
318
|
+
private firstPostAttestedBy;
|
|
243
319
|
/**
|
|
244
320
|
* Fetch the respond-bidirectional posts declared under `requestId` and
|
|
245
321
|
* return the first (oldest) one whose signature verifies against
|
|
@@ -247,7 +323,9 @@ export declare class SignetRequestResponseReader {
|
|
|
247
323
|
* `serializedOutput`: the off-chain twin of the check the client contract
|
|
248
324
|
* runs in-circuit. The output must be the exact unpadded bytes the
|
|
249
325
|
* attestation commits to, so a post that verifies here is the post that
|
|
250
|
-
* proves at claim time.
|
|
326
|
+
* proves at claim time. An attested post already read is judged without
|
|
327
|
+
* touching the event source, and a scan handles only the events it has
|
|
328
|
+
* not seen yet.
|
|
251
329
|
*
|
|
252
330
|
* @param requestId - The request id the posts must declare and the
|
|
253
331
|
* attestation must commit to.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signet-request-response-reader.d.ts","sourceRoot":"","sources":["../src/signet-request-response-reader.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"signet-request-response-reader.d.ts","sourceRoot":"","sources":["../src/signet-request-response-reader.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,kBAAkB,EAClB,uBAAuB,EACxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AAG/D,OAAO,EAEL,KAAK,cAAc,EAGpB,MAAM,wBAAwB,CAAC;AAShC,OAAO,EACL,KAAK,kBAAkB,EAEvB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAG5B,KAAK,iBAAiB,EACvB,MAAM,6BAA6B,CAAC;AAKrC,OAAO,EACL,KAAK,yBAAyB,EAG9B,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAS9D;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,kBAAkB,CAChB,eAAe,EAAE,UAAU,CAAC,kBAAk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