utxo-lib 1.1.3 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/address.d.ts.map +1 -1
- package/dist/src/address.js +1 -11
- package/dist/src/addressFormat.d.ts +1 -1
- package/dist/src/addressFormat.d.ts.map +1 -1
- package/dist/src/addressFormat.js +1 -1
- package/dist/src/bitgo/Musig2.d.ts +17 -115
- package/dist/src/bitgo/Musig2.d.ts.map +1 -1
- package/dist/src/bitgo/Musig2.js +101 -283
- package/dist/src/bitgo/UtxoPsbt.d.ts +49 -173
- package/dist/src/bitgo/UtxoPsbt.d.ts.map +1 -1
- package/dist/src/bitgo/UtxoPsbt.js +112 -634
- package/dist/src/bitgo/bbc/DashPsbt.d.ts +12 -0
- package/dist/src/bitgo/bbc/DashPsbt.d.ts.map +1 -0
- package/dist/src/bitgo/bbc/DashPsbt.js +27 -0
- package/dist/src/bitgo/bbc/DashTransaction.d.ts +39 -0
- package/dist/src/bitgo/bbc/DashTransaction.d.ts.map +1 -0
- package/dist/src/bitgo/bbc/DashTransaction.js +109 -0
- package/dist/src/bitgo/bbc/DashTransactionBuilder.d.ts +14 -0
- package/dist/src/bitgo/bbc/DashTransactionBuilder.d.ts.map +1 -0
- package/dist/src/bitgo/bbc/DashTransactionBuilder.js +28 -0
- package/dist/src/bitgo/bbc/index.d.ts +4 -0
- package/dist/src/bitgo/bbc/index.d.ts.map +1 -0
- package/dist/src/bitgo/{litecoin → bbc}/index.js +4 -4
- package/dist/src/bitgo/bitcoincash/address.js +2 -2
- package/dist/src/bitgo/index.d.ts +0 -10
- package/dist/src/bitgo/index.d.ts.map +1 -1
- package/dist/src/bitgo/index.js +2 -5
- package/dist/src/bitgo/outputScripts.d.ts +1 -3
- package/dist/src/bitgo/outputScripts.d.ts.map +1 -1
- package/dist/src/bitgo/outputScripts.js +10 -18
- package/dist/src/bitgo/parseInput.d.ts +20 -49
- package/dist/src/bitgo/parseInput.d.ts.map +1 -1
- package/dist/src/bitgo/parseInput.js +24 -108
- package/dist/src/bitgo/psbt/fromHalfSigned.d.ts.map +1 -1
- package/dist/src/bitgo/psbt/fromHalfSigned.js +6 -9
- package/dist/src/bitgo/signature.d.ts +3 -3
- package/dist/src/bitgo/signature.d.ts.map +1 -1
- package/dist/src/bitgo/signature.js +16 -48
- package/dist/src/bitgo/transaction.d.ts +3 -18
- package/dist/src/bitgo/transaction.d.ts.map +1 -1
- package/dist/src/bitgo/transaction.js +15 -28
- package/dist/src/bitgo/types.d.ts +0 -2
- package/dist/src/bitgo/types.d.ts.map +1 -1
- package/dist/src/bitgo/types.js +1 -1
- package/dist/src/bitgo/wallet/Psbt.d.ts +12 -90
- package/dist/src/bitgo/wallet/Psbt.d.ts.map +1 -1
- package/dist/src/bitgo/wallet/Psbt.js +71 -221
- package/dist/src/bitgo/wallet/Unspent.d.ts +0 -28
- package/dist/src/bitgo/wallet/Unspent.d.ts.map +1 -1
- package/dist/src/bitgo/wallet/Unspent.js +68 -173
- package/dist/src/bitgo/wallet/chains.d.ts +2 -2
- package/dist/src/bitgo/wallet/chains.d.ts.map +1 -1
- package/dist/src/bitgo/wallet/chains.js +1 -1
- package/dist/src/bitgo/zcash/ZcashPsbt.d.ts.map +1 -1
- package/dist/src/bitgo/zcash/ZcashPsbt.js +3 -4
- package/dist/src/networks.d.ts +2 -1
- package/dist/src/networks.d.ts.map +1 -1
- package/dist/src/networks.js +29 -22
- package/dist/src/noble_ecc.d.ts.map +1 -1
- package/dist/src/noble_ecc.js +2 -6
- package/dist/src/payments/p2tr.d.ts.map +1 -1
- package/dist/src/payments/p2tr.js +9 -15
- package/dist/src/taproot.d.ts +0 -16
- package/dist/src/taproot.d.ts.map +1 -1
- package/dist/src/taproot.js +2 -44
- package/dist/src/testutil/index.d.ts +0 -2
- package/dist/src/testutil/index.d.ts.map +1 -1
- package/dist/src/testutil/index.js +1 -3
- package/dist/src/testutil/mock.d.ts +1 -1
- package/dist/src/testutil/mock.d.ts.map +1 -1
- package/dist/src/testutil/mock.js +4 -12
- package/package.json +3 -5
- package/dist/src/bitgo/PsbtUtil.d.ts +0 -54
- package/dist/src/bitgo/PsbtUtil.d.ts.map +0 -1
- package/dist/src/bitgo/PsbtUtil.js +0 -79
- package/dist/src/bitgo/litecoin/LitecoinPsbt.d.ts +0 -10
- package/dist/src/bitgo/litecoin/LitecoinPsbt.d.ts.map +0 -1
- package/dist/src/bitgo/litecoin/LitecoinPsbt.js +0 -17
- package/dist/src/bitgo/litecoin/LitecoinTransaction.d.ts +0 -16
- package/dist/src/bitgo/litecoin/LitecoinTransaction.d.ts.map +0 -1
- package/dist/src/bitgo/litecoin/LitecoinTransaction.js +0 -46
- package/dist/src/bitgo/litecoin/LitecoinTransactionBuilder.d.ts +0 -10
- package/dist/src/bitgo/litecoin/LitecoinTransactionBuilder.d.ts.map +0 -1
- package/dist/src/bitgo/litecoin/LitecoinTransactionBuilder.js +0 -15
- package/dist/src/bitgo/litecoin/index.d.ts +0 -4
- package/dist/src/bitgo/litecoin/index.d.ts.map +0 -1
- package/dist/src/testutil/psbt.d.ts +0 -71
- package/dist/src/testutil/psbt.d.ts.map +0 -1
- package/dist/src/testutil/psbt.js +0 -147
- package/dist/src/testutil/transaction.d.ts +0 -61
- package/dist/src/testutil/transaction.d.ts.map +0 -1
- package/dist/src/testutil/transaction.js +0 -107
@@ -1,20 +1,14 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
import { Psbt as PsbtBase } from 'bip174';
|
3
|
-
import { Bip32Derivation, PsbtInput } from 'bip174/src/lib/interfaces';
|
4
|
-
import { BIP32Interface } from 'bip32';
|
5
3
|
import { HDSigner, Psbt, TxOutput, Network } from '..';
|
6
4
|
import { UtxoTransaction } from './UtxoTransaction';
|
7
|
-
import {
|
8
|
-
|
9
|
-
declare
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
deterministic: boolean;
|
15
|
-
/** Allowed sighash types */
|
16
|
-
sighashTypes: number[];
|
17
|
-
};
|
5
|
+
import { ProprietaryKey } from 'bip174/src/lib/proprietaryKeyVal';
|
6
|
+
export declare const PSBT_PROPRIETARY_IDENTIFIER = "BITGO";
|
7
|
+
export declare enum ProprietaryKeySubtype {
|
8
|
+
ZEC_CONSENSUS_BRANCH_ID = 0,
|
9
|
+
MUSIG2_PARTICIPANT_PUB_KEYS = 1,
|
10
|
+
MUSIG2_PUB_NONCE = 2
|
11
|
+
}
|
18
12
|
export interface HDTaprootSigner extends HDSigner {
|
19
13
|
/**
|
20
14
|
* The path string must match /^m(\/\d+'?)+$/
|
@@ -27,28 +21,10 @@ export interface HDTaprootSigner extends HDSigner {
|
|
27
21
|
*/
|
28
22
|
signSchnorr(hash: Buffer): Buffer;
|
29
23
|
}
|
30
|
-
/**
|
31
|
-
* HD signer object for taproot p2tr musig2 key path sign
|
32
|
-
*/
|
33
|
-
export interface HDTaprootMusig2Signer extends HDSigner {
|
34
|
-
/**
|
35
|
-
* Musig2 requires signer's 32-bytes private key to be passed to it.
|
36
|
-
*/
|
37
|
-
privateKey: Buffer;
|
38
|
-
/**
|
39
|
-
* The path string must match /^m(\/\d+'?)+$/
|
40
|
-
* ex. m/44'/0'/0'/1/23 levels with ' must be hard derivations
|
41
|
-
*/
|
42
|
-
derivePath(path: string): HDTaprootMusig2Signer;
|
43
|
-
}
|
44
24
|
export interface SchnorrSigner {
|
45
25
|
publicKey: Buffer;
|
46
26
|
signSchnorr(hash: Buffer): Buffer;
|
47
27
|
}
|
48
|
-
export interface Musig2Signer {
|
49
|
-
publicKey: Buffer;
|
50
|
-
privateKey: Buffer;
|
51
|
-
}
|
52
28
|
export interface TaprootSigner {
|
53
29
|
leafHashes: Buffer[];
|
54
30
|
signer: SchnorrSigner;
|
@@ -58,25 +34,40 @@ export interface PsbtOpts {
|
|
58
34
|
maximumFeeRate?: number;
|
59
35
|
bip32PathsAbsolute?: boolean;
|
60
36
|
}
|
37
|
+
/**
|
38
|
+
* Psbt proprietary keydata object.
|
39
|
+
* <compact size uint identifier length> <bytes identifier> <compact size uint subtype> <bytes subkeydata>
|
40
|
+
* => <bytes valuedata>
|
41
|
+
*/
|
42
|
+
export interface ProprietaryKeyValueData {
|
43
|
+
key: ProprietaryKey;
|
44
|
+
value: Buffer;
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* Psbt proprietary keydata object search fields.
|
48
|
+
* <compact size uint identifier length> <bytes identifier> <compact size uint subtype> <bytes subkeydata>
|
49
|
+
*/
|
50
|
+
export interface ProprietaryKeySearch {
|
51
|
+
identifier: string;
|
52
|
+
subtype: number;
|
53
|
+
keydata?: Buffer;
|
54
|
+
identifierEncoding?: BufferEncoding;
|
55
|
+
}
|
61
56
|
export declare class UtxoPsbt<Tx extends UtxoTransaction<bigint> = UtxoTransaction<bigint>> extends Psbt {
|
62
|
-
private nonceStore;
|
63
57
|
protected static transactionFromBuffer(buffer: Buffer, network: Network): UtxoTransaction<bigint>;
|
64
58
|
static createPsbt(opts: PsbtOpts, data?: PsbtBase): UtxoPsbt;
|
65
59
|
static fromBuffer(buffer: Buffer, opts: PsbtOpts): UtxoPsbt;
|
66
60
|
static fromHex(data: string, opts: PsbtOpts): UtxoPsbt;
|
67
|
-
/**
|
68
|
-
* @param parent - Parent key. Matched with `bip32Derivations` using `fingerprint` property.
|
69
|
-
* @param bip32Derivations - possible derivations for input or output
|
70
|
-
* @param ignoreY - when true, ignore the y coordinate when matching public keys
|
71
|
-
* @return derived bip32 node if matching derivation is found, undefined if none is found
|
72
|
-
* @throws Error if more than one match is found
|
73
|
-
*/
|
74
|
-
static deriveKeyPair(parent: BIP32Interface, bip32Derivations: Bip32Derivation[], { ignoreY }: {
|
75
|
-
ignoreY: boolean;
|
76
|
-
}): BIP32Interface | undefined;
|
77
|
-
static deriveKeyPairForInput(bip32: BIP32Interface, input: PsbtInput): Buffer | undefined;
|
78
61
|
get network(): Network;
|
79
62
|
toHex(): string;
|
63
|
+
/**
|
64
|
+
* @return true iff PSBT input is finalized
|
65
|
+
*/
|
66
|
+
isInputFinalized(inputIndex: number): boolean;
|
67
|
+
/**
|
68
|
+
* @return partialSig/tapScriptSig count iff input is not finalized
|
69
|
+
*/
|
70
|
+
getSignatureCount(inputIndex: number): number;
|
80
71
|
getNonWitnessPreviousTxids(): string[];
|
81
72
|
addNonWitnessUtxos(txBufs: Record<string, Buffer>): this;
|
82
73
|
static fromTransaction(transaction: UtxoTransaction<bigint>, prevOutputs: TxOutput<bigint>[]): UtxoPsbt;
|
@@ -84,30 +75,11 @@ export declare class UtxoPsbt<Tx extends UtxoTransaction<bigint> = UtxoTransacti
|
|
84
75
|
protected static newTransaction(network: Network): UtxoTransaction<bigint>;
|
85
76
|
protected get tx(): Tx;
|
86
77
|
protected checkForSignatures(propName?: string): void;
|
87
|
-
/**
|
88
|
-
* @returns true if the input at inputIndex is a taproot key path.
|
89
|
-
* Checks for presence of minimum required key path input fields and absence of any script path only input fields.
|
90
|
-
*/
|
91
|
-
isTaprootKeyPathInput(inputIndex: number): boolean;
|
92
|
-
/**
|
93
|
-
* @returns true if the input at inputIndex is a taproot script path.
|
94
|
-
* Checks for presence of minimum required script path input fields and absence of any key path only input fields.
|
95
|
-
*/
|
96
|
-
isTaprootScriptPathInput(inputIndex: number): boolean;
|
97
|
-
/**
|
98
|
-
* @returns true if the input at inputIndex is a taproot
|
99
|
-
*/
|
100
|
-
isTaprootInput(inputIndex: number): boolean;
|
101
78
|
/**
|
102
79
|
* Mostly copied from bitcoinjs-lib/ts_src/psbt.ts
|
103
80
|
*/
|
104
81
|
finalizeAllInputs(): this;
|
105
82
|
finalizeTaprootInput(inputIndex: number): this;
|
106
|
-
/**
|
107
|
-
* Finalizes a taproot musig2 input by aggregating all partial sigs.
|
108
|
-
* IMPORTANT: Always call validate* function before finalizing.
|
109
|
-
*/
|
110
|
-
finalizeTaprootMusig2Input(inputIndex: number): this;
|
111
83
|
finalizeTapInputWithSingleLeafScriptAndSignature(inputIndex: number): this;
|
112
84
|
/**
|
113
85
|
* Mostly copied from bitcoinjs-lib/ts_src/psbt.ts
|
@@ -117,140 +89,44 @@ export declare class UtxoPsbt<Tx extends UtxoTransaction<bigint> = UtxoTransacti
|
|
117
89
|
* validator.
|
118
90
|
*/
|
119
91
|
validateSignaturesOfAllInputs(): boolean;
|
120
|
-
/**
|
121
|
-
* @returns true iff any matching valid signature is found for a derived pub key from given HD key pair.
|
122
|
-
*/
|
123
|
-
validateSignaturesOfInputHD(inputIndex: number, hdKeyPair: BIP32Interface): boolean;
|
124
|
-
/**
|
125
|
-
* @returns true iff any valid signature(s) are found from bip32 data of PSBT or for given pub key.
|
126
|
-
*/
|
127
|
-
validateSignaturesOfInputCommon(inputIndex: number, pubkey?: Buffer): boolean;
|
128
|
-
private getMusig2SessionKey;
|
129
|
-
/**
|
130
|
-
* @returns true for following cases.
|
131
|
-
* If valid musig2 partial signatures exists for both 2 keys, it will also verify aggregated sig
|
132
|
-
* for aggregated tweaked key (output key), otherwise only verifies partial sig.
|
133
|
-
* If pubkey is passed in input, it will check sig only for that pubkey,
|
134
|
-
* if no sig exits for such key, throws error.
|
135
|
-
* For invalid state of input data, it will throw errors.
|
136
|
-
*/
|
137
|
-
validateTaprootMusig2SignaturesOfInput(inputIndex: number, pubkey?: Buffer): boolean;
|
138
92
|
validateTaprootSignaturesOfInput(inputIndex: number, pubkey?: Buffer): boolean;
|
139
93
|
/**
|
140
|
-
* @param inputIndex
|
141
|
-
* @param rootNodes optional input root bip32 nodes to verify with. If it is not provided, globalXpub will be used.
|
142
94
|
* @return array of boolean values. True when corresponding index in `publicKeys` has signed the transaction.
|
143
95
|
* If no signature in the tx or no public key matching signature, the validation is considered as false.
|
144
96
|
*/
|
145
|
-
getSignatureValidationArray(inputIndex: number
|
146
|
-
rootNodes?: Triple<BIP32Interface>;
|
147
|
-
}): Triple<boolean>;
|
97
|
+
getSignatureValidationArray(inputIndex: number): boolean[];
|
148
98
|
/**
|
149
99
|
* Mostly copied from bitcoinjs-lib/ts_src/psbt.ts
|
150
100
|
*/
|
151
|
-
signAllInputsHD(hdKeyPair: HDTaprootSigner
|
101
|
+
signAllInputsHD(hdKeyPair: HDTaprootSigner, sighashTypes?: number[]): this;
|
152
102
|
/**
|
153
103
|
* Mostly copied from bitcoinjs-lib/ts_src/psbt.ts:signInputHD
|
154
104
|
*/
|
155
|
-
signTaprootInputHD(inputIndex: number, hdKeyPair: HDTaprootSigner
|
156
|
-
sighashTypes?: number[] | undefined;
|
157
|
-
deterministic?: boolean | undefined;
|
158
|
-
}): this;
|
159
|
-
signInputHD(inputIndex: number, hdKeyPair: HDTaprootSigner | HDTaprootMusig2Signer, params?: number[] | Partial<SignatureParams>): this;
|
160
|
-
private getMusig2Participants;
|
161
|
-
private getMusig2Nonces;
|
162
|
-
/**
|
163
|
-
* Signs p2tr musig2 key path input with 2 aggregated keys.
|
164
|
-
*
|
165
|
-
* Note: Only can sign deterministically as the cosigner
|
166
|
-
* @param inputIndex
|
167
|
-
* @param signer - XY public key and private key are required
|
168
|
-
* @param sighashTypes
|
169
|
-
* @param deterministic If true, sign the musig input deterministically
|
170
|
-
*/
|
171
|
-
signTaprootMusig2Input(inputIndex: number, signer: Musig2Signer, { sighashTypes, deterministic }?: {
|
172
|
-
sighashTypes?: number[] | undefined;
|
173
|
-
deterministic?: boolean | undefined;
|
174
|
-
}): this;
|
105
|
+
signTaprootInputHD(inputIndex: number, hdKeyPair: HDTaprootSigner, sighashTypes?: number[]): this;
|
175
106
|
signTaprootInput(inputIndex: number, signer: SchnorrSigner, leafHashes: Buffer[], sighashTypes?: number[]): this;
|
176
|
-
private getTaprootOutputScript;
|
177
107
|
private getTaprootHashForSig;
|
178
108
|
/**
|
179
|
-
*
|
180
|
-
* Default identifierEncoding is utf-8 for identifier.
|
109
|
+
* @retuns true iff the input is taproot.
|
181
110
|
*/
|
182
|
-
|
111
|
+
isTaprootInput(inputIndex: number): boolean;
|
183
112
|
/**
|
184
|
-
*
|
185
|
-
*
|
113
|
+
* @returns hash and hashType for taproot input at inputIndex
|
114
|
+
* @throws error if input at inputIndex is not a taproot input
|
186
115
|
*/
|
187
|
-
|
116
|
+
getTaprootHashForSigChecked(inputIndex: number, sighashTypes?: number[], leafHash?: Buffer): {
|
117
|
+
hash: Buffer;
|
118
|
+
sighashType: number;
|
119
|
+
};
|
188
120
|
/**
|
189
|
-
*
|
121
|
+
* Adds proprietary key value pair to PSBT input.
|
190
122
|
* Default identifierEncoding is utf-8 for identifier.
|
191
123
|
*/
|
192
|
-
|
124
|
+
addProprietaryKeyValToInput(inputIndex: number, keyValueData: ProprietaryKeyValueData): this;
|
193
125
|
/**
|
194
|
-
* To
|
126
|
+
* To search any data from proprietary key value againts keydata.
|
195
127
|
* Default identifierEncoding is utf-8 for identifier.
|
196
128
|
*/
|
197
|
-
|
198
|
-
private createMusig2NonceForInput;
|
199
|
-
private setMusig2NoncesInner;
|
200
|
-
/**
|
201
|
-
* Generates and sets MuSig2 nonce to taproot key path input at inputIndex.
|
202
|
-
* If input is not a taproot key path, no action.
|
203
|
-
*
|
204
|
-
* @param inputIndex input index
|
205
|
-
* @param keyPair derived key pair
|
206
|
-
* @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
|
207
|
-
* (converted to an array of 32 bytes), or 32 uniformly random bytes.
|
208
|
-
* @param deterministic If true, set the cosigner nonce deterministically
|
209
|
-
*/
|
210
|
-
setInputMusig2Nonce(inputIndex: number, derivedKeyPair: BIP32Interface, params?: {
|
211
|
-
sessionId?: Buffer;
|
212
|
-
deterministic?: boolean;
|
213
|
-
}): this;
|
214
|
-
/**
|
215
|
-
* Generates and sets MuSig2 nonce to taproot key path input at inputIndex.
|
216
|
-
* If input is not a taproot key path, no action.
|
217
|
-
*
|
218
|
-
* @param inputIndex input index
|
219
|
-
* @param keyPair HD root key pair
|
220
|
-
* @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
|
221
|
-
* (converted to an array of 32 bytes), or 32 uniformly random bytes.
|
222
|
-
* @param deterministic If true, set the cosigner nonce deterministically
|
223
|
-
*/
|
224
|
-
setInputMusig2NonceHD(inputIndex: number, keyPair: BIP32Interface, params?: {
|
225
|
-
sessionId?: Buffer;
|
226
|
-
deterministic?: boolean;
|
227
|
-
}): this;
|
228
|
-
/**
|
229
|
-
* Generates and sets MuSig2 nonce to all taproot key path inputs. Other inputs will be skipped.
|
230
|
-
*
|
231
|
-
* @param inputIndex input index
|
232
|
-
* @param keyPair derived key pair
|
233
|
-
* @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
|
234
|
-
* (converted to an array of 32 bytes), or 32 uniformly random bytes.
|
235
|
-
*/
|
236
|
-
setAllInputsMusig2Nonce(keyPair: BIP32Interface, params?: {
|
237
|
-
sessionId?: Buffer;
|
238
|
-
deterministic?: boolean;
|
239
|
-
}): this;
|
240
|
-
/**
|
241
|
-
* Generates and sets MuSig2 nonce to all taproot key path inputs. Other inputs will be skipped.
|
242
|
-
*
|
243
|
-
* @param inputIndex input index
|
244
|
-
* @param keyPair HD root key pair
|
245
|
-
* @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
|
246
|
-
* (converted to an array of 32 bytes), or 32 uniformly random bytes.
|
247
|
-
*/
|
248
|
-
setAllInputsMusig2NonceHD(keyPair: BIP32Interface, params?: {
|
249
|
-
sessionId?: Buffer;
|
250
|
-
deterministic?: boolean;
|
251
|
-
}): this;
|
129
|
+
getProprietaryKeyVals(inputIndex: number, keySearch?: ProprietaryKeySearch): ProprietaryKeyValueData[];
|
252
130
|
clone(): this;
|
253
|
-
extractTransaction(disableFeeCheck?: boolean): UtxoTransaction<bigint>;
|
254
131
|
}
|
255
|
-
export {};
|
256
132
|
//# sourceMappingURL=UtxoPsbt.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"UtxoPsbt.d.ts","sourceRoot":"","sources":["../../../src/bitgo/UtxoPsbt.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAC;
|
1
|
+
{"version":3,"file":"UtxoPsbt.d.ts","sourceRoot":"","sources":["../../../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