@fairmint/canton-node-sdk 0.0.282 → 0.0.284
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 +129 -155
- package/build/src/utils/external-signing/wallet-ownership-challenger.d.ts.map +1 -1
- package/build/src/utils/external-signing/wallet-ownership-challenger.js +2 -3
- package/build/src/utils/external-signing/wallet-ownership-challenger.js.map +1 -1
- package/build/src/utils/external-signing/wallet-ownership.d.ts.map +1 -1
- package/build/src/utils/external-signing/wallet-ownership.js +8 -18
- package/build/src/utils/external-signing/wallet-ownership.js.map +1 -1
- package/build/src/wallets/acs.d.ts +2 -1
- package/build/src/wallets/acs.d.ts.map +1 -1
- package/build/src/wallets/acs.js +6 -31
- package/build/src/wallets/acs.js.map +1 -1
- package/build/src/wallets/cip103.d.ts +32 -68
- package/build/src/wallets/cip103.d.ts.map +1 -1
- package/build/src/wallets/cip103.js +112 -230
- package/build/src/wallets/cip103.js.map +1 -1
- package/build/src/wallets/commands.d.ts +39 -6
- package/build/src/wallets/commands.d.ts.map +1 -1
- package/build/src/wallets/commands.js +50 -5
- package/build/src/wallets/commands.js.map +1 -1
- package/build/src/wallets/contracts.d.ts +12 -0
- package/build/src/wallets/contracts.d.ts.map +1 -1
- package/build/src/wallets/contracts.js +21 -5
- package/build/src/wallets/contracts.js.map +1 -1
- package/build/src/wallets/da-utilities/client.d.ts +61 -29
- package/build/src/wallets/da-utilities/client.d.ts.map +1 -1
- package/build/src/wallets/da-utilities/client.js +78 -75
- package/build/src/wallets/da-utilities/client.js.map +1 -1
- package/build/src/wallets/errors.d.ts +11 -8
- package/build/src/wallets/errors.d.ts.map +1 -1
- package/build/src/wallets/errors.js +13 -3
- package/build/src/wallets/errors.js.map +1 -1
- package/build/src/wallets/holdings.d.ts +14 -4
- package/build/src/wallets/holdings.d.ts.map +1 -1
- package/build/src/wallets/holdings.js +27 -47
- package/build/src/wallets/holdings.js.map +1 -1
- package/build/src/wallets/index.d.ts +17 -21
- package/build/src/wallets/index.d.ts.map +1 -1
- package/build/src/wallets/index.js +14 -23
- package/build/src/wallets/index.js.map +1 -1
- package/build/src/wallets/instrument.js +1 -1
- package/build/src/wallets/instrument.js.map +1 -1
- package/build/src/wallets/ownership.d.ts +20 -26
- package/build/src/wallets/ownership.d.ts.map +1 -1
- package/build/src/wallets/ownership.js +33 -27
- package/build/src/wallets/ownership.js.map +1 -1
- package/build/src/wallets/session.d.ts +30 -68
- package/build/src/wallets/session.d.ts.map +1 -1
- package/build/src/wallets/session.js +119 -167
- package/build/src/wallets/session.js.map +1 -1
- package/build/src/wallets/store.d.ts +148 -86
- package/build/src/wallets/store.d.ts.map +1 -1
- package/build/src/wallets/store.js +267 -99
- package/build/src/wallets/store.js.map +1 -1
- package/build/src/wallets/templates.d.ts +10 -23
- package/build/src/wallets/templates.d.ts.map +1 -1
- package/build/src/wallets/templates.js +9 -33
- package/build/src/wallets/templates.js.map +1 -1
- package/build/src/wallets/types.d.ts +6 -20
- package/build/src/wallets/types.d.ts.map +1 -1
- package/build/src/wallets/wallet.d.ts +130 -74
- package/build/src/wallets/wallet.d.ts.map +1 -1
- package/build/src/wallets/wallet.js +347 -185
- package/build/src/wallets/wallet.js.map +1 -1
- package/package.json +2 -2
- package/build/src/wallets/cip56-core.d.ts +0 -175
- package/build/src/wallets/cip56-core.d.ts.map +0 -1
- package/build/src/wallets/cip56-core.js +0 -325
- package/build/src/wallets/cip56-core.js.map +0 -1
- package/build/src/wallets/token-registry.d.ts +0 -97
- package/build/src/wallets/token-registry.d.ts.map +0 -1
- package/build/src/wallets/token-registry.js +0 -19
- package/build/src/wallets/token-registry.js.map +0 -1
|
@@ -1,135 +1,197 @@
|
|
|
1
|
+
import type { FetchLike, DaRegistryOptions } from './da-utilities/client';
|
|
1
2
|
import { type WalletErrorDescription } from './errors';
|
|
3
|
+
import { type WalletOwnershipVerdict } from './ownership';
|
|
2
4
|
import type { Cip103Session, Cip103SessionState, ConnectedWallet } from './session';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
+
import type { InstrumentId, SubmitResult } from './types';
|
|
6
|
+
import { type BurnRequestResult, type TransferPlan, type TransferRequest, type TransferResult, type Wallet, type WalletOptions, type WalletState } from './wallet';
|
|
7
|
+
/** What a page asks the store to do. `planTransfer` and `proveOwnership` only read; every other action is a write. */
|
|
8
|
+
export type WalletAction = {
|
|
9
|
+
readonly type: 'acceptMintOffer' | 'rejectMintOffer';
|
|
10
|
+
readonly mintOfferCid: string;
|
|
11
|
+
} | {
|
|
12
|
+
readonly type: 'acceptTransferOffer' | 'rejectTransferOffer' | 'withdrawTransferOffer';
|
|
13
|
+
readonly transferOfferCid: string;
|
|
14
|
+
} | {
|
|
15
|
+
readonly type: 'requestBurn';
|
|
16
|
+
readonly instrumentId: InstrumentId;
|
|
17
|
+
readonly amount: string;
|
|
18
|
+
readonly reference?: string;
|
|
19
|
+
readonly executeBefore?: Date;
|
|
20
|
+
} | {
|
|
21
|
+
readonly type: 'cancelBurnRequest';
|
|
22
|
+
readonly burnRequestCid: string;
|
|
23
|
+
}
|
|
24
|
+
/** Read-only; resolves with a plan to show. Send it with `submitTransfer`: its own `submit()` refuses. */
|
|
25
|
+
| {
|
|
26
|
+
readonly type: 'planTransfer';
|
|
27
|
+
readonly request: TransferRequest;
|
|
28
|
+
} | {
|
|
29
|
+
readonly type: 'submitTransfer';
|
|
30
|
+
readonly plan: TransferPlan;
|
|
31
|
+
} | {
|
|
32
|
+
readonly type: 'createTransferPreapproval';
|
|
33
|
+
readonly instrumentAdmin: string;
|
|
34
|
+
readonly instrumentIds?: readonly string[];
|
|
35
|
+
} | {
|
|
36
|
+
readonly type: 'removeTransferPreapproval';
|
|
37
|
+
readonly preapprovalCid: string;
|
|
38
|
+
} | {
|
|
39
|
+
readonly type: 'proveOwnership';
|
|
40
|
+
/** Answers `POST { network, partyId }` with `{ data: WalletOwnershipChallengeResponse }`. */
|
|
41
|
+
readonly challengeUrl: string;
|
|
42
|
+
/** Answers `POST { token, proof }` with `{ data: WalletOwnershipVerdict }`. */
|
|
43
|
+
readonly verifyUrl: string;
|
|
44
|
+
readonly fetch?: FetchLike;
|
|
45
|
+
};
|
|
46
|
+
/** What each action resolves with. A not-verified ownership verdict is a failure, so only a verified one returns. */
|
|
47
|
+
export interface WalletActionResults {
|
|
48
|
+
readonly acceptMintOffer: SubmitResult;
|
|
49
|
+
readonly rejectMintOffer: SubmitResult;
|
|
50
|
+
readonly acceptTransferOffer: SubmitResult;
|
|
51
|
+
readonly rejectTransferOffer: SubmitResult;
|
|
52
|
+
readonly withdrawTransferOffer: SubmitResult;
|
|
53
|
+
readonly requestBurn: BurnRequestResult;
|
|
54
|
+
readonly cancelBurnRequest: SubmitResult;
|
|
55
|
+
readonly planTransfer: TransferPlan;
|
|
56
|
+
readonly submitTransfer: TransferResult;
|
|
57
|
+
readonly createTransferPreapproval: SubmitResult;
|
|
58
|
+
readonly removeTransferPreapproval: SubmitResult;
|
|
59
|
+
readonly proveOwnership: Extract<WalletOwnershipVerdict, {
|
|
60
|
+
readonly verified: true;
|
|
61
|
+
}>;
|
|
62
|
+
}
|
|
63
|
+
export type ActionResultOf<A extends WalletAction> = WalletActionResults[A['type']];
|
|
64
|
+
/**
|
|
65
|
+
* A stable key for an action: its type and the contract or instrument it acts on. Compare it with `view.running?.key`
|
|
66
|
+
* to show a button's spinner.
|
|
67
|
+
*/
|
|
68
|
+
export declare function walletActionKey(action: WalletAction): string;
|
|
69
|
+
/**
|
|
70
|
+
* Whether `store.act(action)` would run it now: the store is `ready`, not busy, and, for a write, no outcome is
|
|
71
|
+
* unknown. Use it to enable the action's button.
|
|
72
|
+
*/
|
|
73
|
+
export declare function canAct(view: WalletView, action: WalletAction): boolean;
|
|
74
|
+
/** How the last action that had something to say ended, for the party it ran as. */
|
|
5
75
|
export type ActionOutcome = {
|
|
6
|
-
readonly
|
|
76
|
+
readonly action: WalletAction;
|
|
77
|
+
readonly key: string;
|
|
7
78
|
readonly partyId: string;
|
|
8
79
|
readonly status: 'succeeded';
|
|
9
|
-
readonly message: string
|
|
80
|
+
readonly message: string;
|
|
10
81
|
} | {
|
|
11
|
-
readonly
|
|
82
|
+
readonly action: WalletAction;
|
|
83
|
+
readonly key: string;
|
|
12
84
|
readonly partyId: string;
|
|
13
85
|
readonly status: 'failed';
|
|
14
86
|
readonly error: WalletErrorDescription;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* The session ended (disconnect, wallet end, account switch) before the action settled: whether it committed is
|
|
18
|
-
* unknown.
|
|
19
|
-
*/
|
|
20
|
-
| {
|
|
21
|
-
readonly id: string;
|
|
22
|
-
readonly partyId: string;
|
|
23
|
-
readonly status: 'interrupted';
|
|
24
87
|
};
|
|
88
|
+
/** A write whose outcome is unknown (`outcome-unknown`): it may have committed. Check the wallet before trying again. */
|
|
89
|
+
export interface UnknownOutcome {
|
|
90
|
+
readonly action: WalletAction;
|
|
91
|
+
readonly key: string;
|
|
92
|
+
readonly partyId: string;
|
|
93
|
+
readonly message: string;
|
|
94
|
+
/** The command id it was submitted with, when the submission reported one. */
|
|
95
|
+
readonly commandId?: string;
|
|
96
|
+
/** A redemption's reference, to look the burn request up before filing another. */
|
|
97
|
+
readonly burnReference?: string;
|
|
98
|
+
}
|
|
99
|
+
/** Something to show the user; render `view.notices` in one place. */
|
|
100
|
+
export interface WalletNotice {
|
|
101
|
+
/** Stable per kind of notice: a React `key`. */
|
|
102
|
+
readonly key: string;
|
|
103
|
+
readonly level: 'success' | 'error' | 'warning' | 'info';
|
|
104
|
+
readonly title?: string;
|
|
105
|
+
readonly message: string;
|
|
106
|
+
/** Offer a Retry button that calls `store.refresh()`. */
|
|
107
|
+
readonly retry?: true;
|
|
108
|
+
/** Offer a button that calls `store.acknowledgeUnknownOutcome()` once the user checked the wallet. */
|
|
109
|
+
readonly acknowledge?: true;
|
|
110
|
+
}
|
|
25
111
|
export interface WalletView {
|
|
26
112
|
readonly session: Cip103SessionState;
|
|
27
113
|
/** The connected wallet the state belongs to (null when disconnected). */
|
|
28
114
|
readonly wallet: ConnectedWallet | null;
|
|
115
|
+
/**
|
|
116
|
+
* A token wallet is open for `wallet`, so actions can run. False while disconnected, and when the token wallet could
|
|
117
|
+
* not be built (an invalid `registry` option; `loadError` says why).
|
|
118
|
+
*/
|
|
119
|
+
readonly ready: boolean;
|
|
29
120
|
/**
|
|
30
121
|
* Ledger state from one snapshot. Null until the first load answers, and cleared when a load fails or the wallet
|
|
31
122
|
* changes.
|
|
32
123
|
*/
|
|
33
124
|
readonly state: WalletState | null;
|
|
34
|
-
/**
|
|
35
|
-
* A load for the current wallet is in flight, or queued behind the wallet call in flight (an action of this wallet or
|
|
36
|
-
* a previous one, the previous wallet's load, or the load before a Retry).
|
|
37
|
-
*/
|
|
125
|
+
/** A load for the current wallet is in flight, or queued behind the wallet call in flight. */
|
|
38
126
|
readonly loading: boolean;
|
|
39
127
|
/** The last load's failure. A rate limit has kind `rate-limited`, so offer `refresh()` after a moment. */
|
|
40
128
|
readonly loadError: WalletErrorDescription | null;
|
|
41
|
-
/** The running action
|
|
42
|
-
readonly running:
|
|
129
|
+
/** The running action (`key` is its `walletActionKey`). */
|
|
130
|
+
readonly running: {
|
|
131
|
+
readonly action: WalletAction;
|
|
132
|
+
readonly key: string;
|
|
133
|
+
} | null;
|
|
43
134
|
/**
|
|
44
|
-
* True while any wallet call is in flight or a load is queued:
|
|
45
|
-
* reload after an action), for the current wallet or a previous one. Disable every action button. `run()` refuses
|
|
135
|
+
* True while any wallet call is in flight or a load is queued: disable every action button. `act()` refuses
|
|
46
136
|
* meanwhile, so only one wallet call is ever in flight.
|
|
47
137
|
*/
|
|
48
138
|
readonly busy: boolean;
|
|
49
139
|
/**
|
|
50
|
-
* The last action
|
|
51
|
-
*
|
|
140
|
+
* The last action that had something to say: a write's result or failure, an ownership verdict, a plan that failed. A
|
|
141
|
+
* plan that succeeded leaves it as it was (its result is the plan). Cleared when the wallet changes.
|
|
52
142
|
*/
|
|
53
143
|
readonly outcome: ActionOutcome | null;
|
|
54
144
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
145
|
+
* A write whose outcome is unknown. It stays, across later actions and wallet changes, until
|
|
146
|
+
* `acknowledgeUnknownOutcome()`, and meanwhile `act()` refuses every write: disable write buttons while it is set.
|
|
57
147
|
*/
|
|
58
|
-
readonly
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/** The token wallet of `wallet`. */
|
|
62
|
-
readonly tokens: Wallet;
|
|
63
|
-
/** The connected wallet the action runs for. */
|
|
64
|
-
readonly wallet: ConnectedWallet;
|
|
148
|
+
readonly unknownOutcome: UnknownOutcome | null;
|
|
149
|
+
/** The session error, the unknown outcome, the load error and the last outcome, as sentences to show. */
|
|
150
|
+
readonly notices: readonly WalletNotice[];
|
|
65
151
|
}
|
|
66
152
|
export interface WalletStore {
|
|
67
153
|
subscribe(listener: () => void): () => void;
|
|
68
154
|
/** The current view; the same object until it changes (for `useSyncExternalStore`). */
|
|
69
155
|
getSnapshot(): WalletView;
|
|
70
156
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Run one wallet call (a write, a preview, `signMessage`). Resolves false without calling `action` while busy (any
|
|
78
|
-
* wallet call in flight or load queued) or disconnected; the check is synchronous, so a double click is refused at
|
|
79
|
-
* once. Afterwards it reloads the snapshot, even when the action failed, because a failed write may have committed,
|
|
80
|
-
* and stays busy until that reload answers. A write that settles after its session ended records `interrupted`, never
|
|
81
|
-
* `succeeded` (or nothing when it was refused unsent, below). Resolves true when the action succeeded for a session
|
|
82
|
-
* that is still current. `action` resolves with a message to show, or nothing.
|
|
157
|
+
* Run one action for the connected wallet. Resolves null without doing anything while busy or disconnected, or for a
|
|
158
|
+
* write while `view.unknownOutcome` is set (checked synchronously, so a double click is refused at once). A write is
|
|
159
|
+
* followed by a reload, also when it failed, since a failed write may have committed; the store stays busy until that
|
|
160
|
+
* reload answers. Resolves with the action's result when it succeeded for a wallet that is still current, else null
|
|
161
|
+
* (see `view.outcome` and `view.unknownOutcome`).
|
|
83
162
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* that passes `isActive` on) refuses every write once its `ConnectedWallet` is no longer the session's, with
|
|
90
|
-
* `invalid-input` and before anything is read or signed, so a plan made for one account is never submitted after the
|
|
91
|
-
* session switched to another. A run that is still current records that refusal as a `failed` outcome. A run whose
|
|
92
|
-
* session ended while it ran, and whose action rejected with a refusal (`WalletError`, `describeWalletError` kind
|
|
93
|
-
* `refused`: nothing was submitted), records no outcome rather than `interrupted`.
|
|
94
|
-
*/
|
|
95
|
-
run(id: string, action: (context: WalletActionContext) => Promise<string | void>, options?: {
|
|
96
|
-
readonly readOnly?: boolean;
|
|
97
|
-
}): Promise<boolean>;
|
|
98
|
-
/**
|
|
99
|
-
* Stop following the session; pending replies are dropped, a queued load never starts and no further view is
|
|
100
|
-
* published.
|
|
163
|
+
* A write that settles after its session ended is recorded by what is known: a result as `succeeded` for its party, a
|
|
164
|
+
* certain failure as `failed`, an unknown outcome as `unknownOutcome`, and a failure before anything was submitted
|
|
165
|
+
* not at all. `submitTransfer` sends only a plan this store's `planTransfer` made for the current wallet; any other
|
|
166
|
+
* plan (another session, network or account, or a standalone wallet's) is refused with `invalid-input` before
|
|
167
|
+
* anything is signed.
|
|
101
168
|
*/
|
|
169
|
+
act<A extends WalletAction>(action: A): Promise<ActionResultOf<A> | null>;
|
|
170
|
+
/** Reload the snapshot (the Retry button); queued behind the wallet call in flight. Ignored while disconnected. */
|
|
171
|
+
refresh(): void;
|
|
172
|
+
/** Clear `unknownOutcome` once the user checked the wallet. */
|
|
173
|
+
acknowledgeUnknownOutcome(): void;
|
|
174
|
+
/** Stop following the session; pending replies are dropped and no further view is published. */
|
|
102
175
|
dispose(): void;
|
|
103
176
|
}
|
|
104
|
-
/** What `open` gets besides the connected wallet. */
|
|
105
|
-
export interface OpenWalletContext {
|
|
106
|
-
/**
|
|
107
|
-
* Whether `wallet` is still the session's connected wallet (`session.isCurrent(wallet)`). Pass it as the token
|
|
108
|
-
* wallet's `isActive`, so its writes, and the `TransferPlan`s it made, are refused once the session left `wallet`.
|
|
109
|
-
*/
|
|
110
|
-
readonly isActive: () => boolean;
|
|
111
|
-
}
|
|
112
177
|
export interface WalletStoreOptions {
|
|
113
178
|
readonly session: Cip103Session;
|
|
114
|
-
/**
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
readonly open?: (wallet: ConnectedWallet, context: OpenWalletContext) => Wallet;
|
|
179
|
+
/** How each token wallet reaches DA's Utilities API (`createWallet`'s `registry`). */
|
|
180
|
+
readonly registry?: DaRegistryOptions;
|
|
181
|
+
}
|
|
182
|
+
/** A test hook beside {@link WalletStoreOptions}; not part of the public options. */
|
|
183
|
+
export interface WalletStoreInternalOptions extends WalletStoreOptions {
|
|
184
|
+
/** Defaults to `createWallet`. */
|
|
185
|
+
readonly openWallet?: (options: WalletOptions) => Wallet;
|
|
122
186
|
}
|
|
123
187
|
/**
|
|
124
|
-
* The observable state and actions of a token wallet page over `session`.
|
|
125
|
-
* `
|
|
188
|
+
* The observable state and actions of a token wallet page over `session`. Each new `ConnectedWallet` gets its own token
|
|
189
|
+
* wallet (`createWallet` on the session's network, bound to the session by `isActive`) and a fresh load.
|
|
126
190
|
*
|
|
127
|
-
* One wallet call at a time:
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* `dispose()`. A wallet call that never settles holds the latch, since it cannot be cancelled. The token wallet's own
|
|
132
|
-
* write latch (`busy`) stays as the inner guard.
|
|
191
|
+
* One wallet call at a time: a latch counts every call in flight (actions and loads, of the current wallet or a
|
|
192
|
+
* previous one, since a dropped reply does not cancel its request). `act()` refuses while it is held. A load asked for
|
|
193
|
+
* meanwhile (a new wallet's first load, a Retry, the reload after a write) is queued; queued loads coalesce into one,
|
|
194
|
+
* which runs for the wallet current when the latch frees. A wallet call that never settles holds the latch.
|
|
133
195
|
*/
|
|
134
196
|
export declare function createWalletStore(options: WalletStoreOptions): WalletStore;
|
|
135
197
|
//# sourceMappingURL=store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/wallets/store.ts"],"names":[],"mappings":"AASA,OAAO,EAAoC,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACpF,OAAO,
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/wallets/store.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAoC,KAAK,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEzF,OAAO,EAAiC,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACzF,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACpF,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,UAAU,CAAC;AAElB,sHAAsH;AACtH,MAAM,MAAM,YAAY,GACpB;IAAE,QAAQ,CAAC,IAAI,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAAE,GACvF;IACE,QAAQ,CAAC,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAA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