@agoric/orchestration 0.1.1-dev-61d4577.0.61d4577 → 0.1.1-dev-8b1bc2c.0.8b1bc2c
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/package.json +16 -16
- package/src/examples/stake-bld.contract.d.ts.map +1 -1
- package/src/examples/stake-bld.contract.js +7 -1
- package/src/examples/stake-ica.contract.d.ts.map +1 -1
- package/src/examples/stake-ica.contract.js +10 -2
- package/src/examples/swap-anything.contract.d.ts.map +1 -1
- package/src/examples/swap-anything.contract.js +7 -1
- package/src/utils/start-helper.d.ts +2 -1
- package/src/utils/start-helper.d.ts.map +1 -1
- package/src/utils/start-helper.js +11 -3
- package/tools/contract-tests.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-8b1bc2c.0.8b1bc2c",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
39
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
40
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
41
|
-
"@agoric/internal": "0.3.3-dev-
|
|
42
|
-
"@agoric/network": "0.1.1-dev-
|
|
43
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
44
|
-
"@agoric/store": "0.9.3-dev-
|
|
45
|
-
"@agoric/time": "0.3.3-dev-
|
|
46
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
47
|
-
"@agoric/vats": "0.15.2-dev-
|
|
48
|
-
"@agoric/vow": "0.1.1-dev-
|
|
49
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
50
|
-
"@agoric/zone": "0.2.3-dev-
|
|
38
|
+
"@agoric/async-flow": "0.1.1-dev-8b1bc2c.0.8b1bc2c",
|
|
39
|
+
"@agoric/cosmic-proto": "0.4.1-dev-8b1bc2c.0.8b1bc2c",
|
|
40
|
+
"@agoric/ertp": "0.16.3-dev-8b1bc2c.0.8b1bc2c",
|
|
41
|
+
"@agoric/internal": "0.3.3-dev-8b1bc2c.0.8b1bc2c",
|
|
42
|
+
"@agoric/network": "0.1.1-dev-8b1bc2c.0.8b1bc2c",
|
|
43
|
+
"@agoric/notifier": "0.6.3-dev-8b1bc2c.0.8b1bc2c",
|
|
44
|
+
"@agoric/store": "0.9.3-dev-8b1bc2c.0.8b1bc2c",
|
|
45
|
+
"@agoric/time": "0.3.3-dev-8b1bc2c.0.8b1bc2c",
|
|
46
|
+
"@agoric/vat-data": "0.5.3-dev-8b1bc2c.0.8b1bc2c",
|
|
47
|
+
"@agoric/vats": "0.15.2-dev-8b1bc2c.0.8b1bc2c",
|
|
48
|
+
"@agoric/vow": "0.1.1-dev-8b1bc2c.0.8b1bc2c",
|
|
49
|
+
"@agoric/zoe": "0.26.3-dev-8b1bc2c.0.8b1bc2c",
|
|
50
|
+
"@agoric/zone": "0.2.3-dev-8b1bc2c.0.8b1bc2c",
|
|
51
51
|
"@cosmjs/encoding": "^0.36.0",
|
|
52
52
|
"@endo/base64": "^1.0.12",
|
|
53
53
|
"@endo/errors": "^1.2.13",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"bs58": "^6.0.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
62
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-8b1bc2c.0.8b1bc2c",
|
|
63
63
|
"@chain-registry/client": "^1.53.194",
|
|
64
64
|
"@cosmjs/amino": "^0.36.0",
|
|
65
65
|
"@cosmjs/proto-signing": "^0.36.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"typeCoverage": {
|
|
106
106
|
"atLeast": 97.46
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "8b1bc2cccf9f80a09b177b0aeca74934c258a613"
|
|
109
109
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stake-bld.contract.d.ts","sourceRoot":"","sources":["stake-bld.contract.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stake-bld.contract.d.ts","sourceRoot":"","sources":["stake-bld.contract.js"],"names":[],"mappings":"AAsCO,2BAVI,GAAG,eACH;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,YAAY,EAAE,YAAY,CAAC;CAC5B,WACO,OAAO,kBAAkB,EAAE,OAAO;;QA2EvC;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6BH;;WAEG;;;GAaR;yBAvIqB,aAAa;6BAJT,cAAc;4BACf,kBAAkB;gCAEd,gCAAgC;kCAD9B,cAAc"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* @file Stake BLD contract
|
|
3
3
|
*/
|
|
4
4
|
import { makeTracer } from '@agoric/internal';
|
|
5
|
+
import { wrapRemoteMarshaller } from '@agoric/internal/src/marshal/wrap-marshaller.js';
|
|
5
6
|
import { heapVowE as E, prepareVowTools } from '@agoric/vow/vat.js';
|
|
6
7
|
import { prepareRecorderKitMakers } from '@agoric/zoe/src/contractSupport/recorder.js';
|
|
7
8
|
import { withdrawFromSeat } from '@agoric/zoe/src/contractSupport/zoeHelpers.js';
|
|
@@ -38,9 +39,14 @@ const trace = makeTracer('StakeBld');
|
|
|
38
39
|
export const start = async (zcf, privateArgs, baggage) => {
|
|
39
40
|
const zone = makeDurableZone(baggage);
|
|
40
41
|
|
|
42
|
+
const { marshaller: remoteMarshaller } = privateArgs;
|
|
43
|
+
// TODO(https://github.com/Agoric/agoric-sdk/issues/12109):
|
|
44
|
+
// once withOrchestration provides a wrapped marshaller, don't re-wrap.
|
|
45
|
+
const cachingMarshaller = wrapRemoteMarshaller(remoteMarshaller);
|
|
46
|
+
|
|
41
47
|
const { makeRecorderKit } = prepareRecorderKitMakers(
|
|
42
48
|
baggage,
|
|
43
|
-
|
|
49
|
+
cachingMarshaller,
|
|
44
50
|
);
|
|
45
51
|
const vowTools = prepareVowTools(zone.subZone('vows'));
|
|
46
52
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stake-ica.contract.d.ts","sourceRoot":"","sources":["stake-ica.contract.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stake-ica.contract.d.ts","sourceRoot":"","sources":["stake-ica.contract.js"],"names":[],"mappings":"AAiBA;;;;;;;;GAQG;AAEH,yCAAyC;AACzC,mBADW,aAAa,OAAO,KAAK,CAAC,CAelC;AAEH;;;;;;cAAsD;AAuB/C,2BAVI,IAAI,aAAa,CAAC,eAClB;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,KAAK,EAAE,YAAY,CAAC;CACrB,WACO,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAwHur6C,CAAC;;;;;;;;;GAJzs6C;4BArIY;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,eAAe,CAAC;IAClC,sBAAsB,EAAE,eAAe,CAAC;IACxC,UAAU,EAAE,OAAO,CAAC;CACrB;yBAmIU,OAAO,KAAK;kCAnK+B,aAAa;yBAAb,aAAa;6BAC3B,cAAc;4BAHvB,kBAAkB;6CAC2B,uBAAuB;kCAGvE,cAAc;6BALnB,kBAAkB;mDAMI,uBAAuB;2BAJQ,uBAAuB;gCAC7C,aAAa;qCAC3B,cAAc"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** @file Example contract that uses orchestration */
|
|
2
2
|
|
|
3
3
|
import { makeTracer, StorageNodeShape } from '@agoric/internal';
|
|
4
|
+
import { wrapRemoteMarshaller } from '@agoric/internal/src/marshal/wrap-marshaller.js';
|
|
4
5
|
import { TimerServiceShape } from '@agoric/time';
|
|
5
6
|
import { heapVowE as E, prepareVowTools } from '@agoric/vow/vat.js';
|
|
6
7
|
import {
|
|
@@ -70,7 +71,7 @@ export const start = async (zcf, privateArgs, baggage) => {
|
|
|
70
71
|
const {
|
|
71
72
|
agoricNames,
|
|
72
73
|
cosmosInterchainService: orchestration,
|
|
73
|
-
marshaller,
|
|
74
|
+
marshaller: remoteMarshaller,
|
|
74
75
|
storageNode,
|
|
75
76
|
timer,
|
|
76
77
|
} = privateArgs;
|
|
@@ -84,7 +85,14 @@ export const start = async (zcf, privateArgs, baggage) => {
|
|
|
84
85
|
),
|
|
85
86
|
});
|
|
86
87
|
|
|
87
|
-
|
|
88
|
+
// TODO(https://github.com/Agoric/agoric-sdk/issues/12109):
|
|
89
|
+
// once withOrchestration provides a wrapped marshaller, don't re-wrap.
|
|
90
|
+
const cachingMarshaller = wrapRemoteMarshaller(remoteMarshaller);
|
|
91
|
+
|
|
92
|
+
const { makeRecorderKit } = prepareRecorderKitMakers(
|
|
93
|
+
baggage,
|
|
94
|
+
cachingMarshaller,
|
|
95
|
+
);
|
|
88
96
|
|
|
89
97
|
const vowTools = prepareVowTools(zone.subZone('vows'));
|
|
90
98
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-anything.contract.d.ts","sourceRoot":"","sources":["swap-anything.contract.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"swap-anything.contract.d.ts","sourceRoot":"","sources":["swap-anything.contract.js"],"names":[],"mappings":"AAeA;;;;;GAKG;AAEH,qEAGE;AAmBK,8BAVI,GAAG,eACH,mBAAmB,GAAG;IAC5B,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAC5C,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;CAClC,QACO,IAAI,iDACJ,kBAAkB;;;;;;;;GAkJ5B;AAGD;gBA3JiB,CAAC,KAAK,EAAE,WAAW,GAAG;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE;gBAC9C,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;gBAC/B,OAAO,UAAU,CAAC;iBACjB,OAAO,WAAW,CAAC;;;;;;;;;GAwJ0C;yCA7KrB,0BAA0B;2BACR,uBAAuB;iCAAvB,uBAAuB;qCAAvB,uBAAuB;4BAHrE,aAAa;0BACpB,cAAc;wCACqB,0BAA0B;yBAFtD,aAAa"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InvitationShape } from '@agoric/zoe/src/typeGuards.js';
|
|
2
2
|
import { makeTracer } from '@agoric/internal';
|
|
3
|
+
import { wrapRemoteMarshaller } from '@agoric/internal/src/marshal/wrap-marshaller.js';
|
|
3
4
|
import { E } from '@endo/far';
|
|
4
5
|
import { M } from '@endo/patterns';
|
|
5
6
|
import { decodeAddressHook } from '@agoric/cosmic-proto/address-hooks.js';
|
|
@@ -60,6 +61,11 @@ export const contract = async (
|
|
|
60
61
|
const log = (msg, level = 'info') =>
|
|
61
62
|
vowTools.watch(E(logNode).setValue(JSON.stringify({ msg, level })));
|
|
62
63
|
|
|
64
|
+
const { marshaller: remoteMarshaller } = privateArgs;
|
|
65
|
+
// TODO(https://github.com/Agoric/agoric-sdk/issues/12109):
|
|
66
|
+
// once withOrchestration provides a wrapped marshaller, don't re-wrap.
|
|
67
|
+
const cachingMarshaller = wrapRemoteMarshaller(remoteMarshaller);
|
|
68
|
+
|
|
63
69
|
const makeLocalAccount = orchestrate(
|
|
64
70
|
'makeLocalAccount',
|
|
65
71
|
{},
|
|
@@ -155,7 +161,7 @@ export const contract = async (
|
|
|
155
161
|
void vowTools.when(sharedLocalAccountP, async lca => {
|
|
156
162
|
sharedLocalAccount = lca;
|
|
157
163
|
await sharedLocalAccount.monitorTransfers(tap);
|
|
158
|
-
const encoded = await E(
|
|
164
|
+
const encoded = await E(cachingMarshaller).toCapData({
|
|
159
165
|
sharedLocalAccount: sharedLocalAccount.getAddress(),
|
|
160
166
|
});
|
|
161
167
|
void E(privateArgs.storageNode).setValue(JSON.stringify(encoded));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: OrchestrationPowers, marshaller: ERemote<
|
|
1
|
+
export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: OrchestrationPowers, marshaller: ERemote<EMarshaller>, opts?: {
|
|
2
2
|
chainInfoValueShape?: WithOrchestrationOpts["chainInfoValueShape"];
|
|
3
3
|
}): {
|
|
4
4
|
makeOrchestrateKit: (zone: Zone) => {
|
|
@@ -101,6 +101,7 @@ export type WithOrchestrationOpts = {
|
|
|
101
101
|
};
|
|
102
102
|
export type OrchestrationTools = Omit<ReturnType<typeof provideOrchestration>, "zone">;
|
|
103
103
|
import type { Baggage } from '@agoric/vat-data';
|
|
104
|
+
import type { EMarshaller } from '@agoric/internal/src/marshal/wrap-marshaller.js';
|
|
104
105
|
import type { ERemote } from '@agoric/internal';
|
|
105
106
|
import type { Zone } from '@agoric/zone';
|
|
106
107
|
import type { Remote } from '@agoric/vow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-helper.d.ts","sourceRoot":"","sources":["start-helper.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-helper.d.ts","sourceRoot":"","sources":["start-helper.js"],"names":[],"mappings":"AA+DO,0CARI,GAAG,WACH,OAAO,gBACP,mBAAmB,cACnB,QAAQ,WAAW,CAAC,SAE5B;IAA4D,mBAAmB,GAAvE,qBAAqB,CAAC,qBAAqB,CAAC;CACpD;+BAmGU,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBArEJ,CAAC;;;;;;;;;;;;;;;;;;;;;sBA+JuyV,CAAC;;;;;;;;;;;;;;;;;;;;EAzDrzV;AA+BM,kCAfgC,EAAE,SAA3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,EAGhC,EAAE,SAFM,mBAAmB,GAAG;IAC/B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;CAC/B,EACQ,CAAC,cACH,CACN,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EACZ,WAAW,EAAE,EAAE,EACf,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,kBAAkB,KACtB,OAAO,CAAC,CAAC,CAAC,SACP,qBAAqB,GACnB,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CA2BzE;kCA1NU;IACR,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,oBAAoB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IACtD,WAAW,CAAC,EAAE,OAAO,WAAW,CAAC,CAAC;IAClC,YAAY,EAAE,OAAO,YAAY,CAAC,CAAC;IACnC,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;CAC9B;;;;;;;;;;;;;0BAQU,OAAO;;iCAwJP,IAAI,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,EAAE,MAAM,CAAC;6BA/KzC,kBAAkB;iCAHd,iDAAiD;6BAFrD,kBAAkB;0BAQrB,cAAc;4BADZ,aAAa;gCAJT,gCAAgC;6CAOnB,2BAA2B;iCATvC,0CAA0C;kCAGzC,cAAc;6BAEnB,cAAc;6BAGd,gBAAgB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { prepareAsyncFlowTools } from '@agoric/async-flow';
|
|
2
|
+
import { wrapRemoteMarshaller } from '@agoric/internal/src/marshal/wrap-marshaller.js';
|
|
2
3
|
import { prepareVowTools } from '@agoric/vow';
|
|
3
4
|
import { prepareRecorderKitMakers } from '@agoric/zoe/src/contractSupport/recorder.js';
|
|
4
5
|
import { makeDurableZone } from '@agoric/zone/durable.js';
|
|
@@ -15,6 +16,7 @@ import { makeZcfTools } from './zcf-tools.js';
|
|
|
15
16
|
/**
|
|
16
17
|
* @import {ERemote} from '@agoric/internal';
|
|
17
18
|
* @import {StorageNode} from '@agoric/internal/src/lib-chainStorage.js';
|
|
19
|
+
* @import {EMarshaller} from '@agoric/internal/src/marshal/wrap-marshaller.js';
|
|
18
20
|
* @import {LocalChain} from '@agoric/vats/src/localchain.js';
|
|
19
21
|
* @import {TimerService} from '@agoric/time';
|
|
20
22
|
* @import {Baggage} from '@agoric/vat-data';
|
|
@@ -54,7 +56,7 @@ import { makeZcfTools } from './zcf-tools.js';
|
|
|
54
56
|
* @param {ZCF} zcf
|
|
55
57
|
* @param {Baggage} baggage
|
|
56
58
|
* @param {OrchestrationPowers} remotePowers
|
|
57
|
-
* @param {ERemote<
|
|
59
|
+
* @param {ERemote<EMarshaller>} marshaller
|
|
58
60
|
* @param {object} [opts]
|
|
59
61
|
* @param {WithOrchestrationOpts['chainInfoValueShape']} [opts.chainInfoValueShape]
|
|
60
62
|
* @internal
|
|
@@ -222,17 +224,23 @@ harden(provideOrchestration);
|
|
|
222
224
|
*/
|
|
223
225
|
export const withOrchestration =
|
|
224
226
|
(contractFn, opts) => async (zcf, privateArgs, baggage) => {
|
|
225
|
-
const { marshaller, ...allOrchPowers } = privateArgs;
|
|
227
|
+
const { marshaller: remoteMarshaller, ...allOrchPowers } = privateArgs;
|
|
226
228
|
const { storageNode: _, ...requiredOrchPowers } = allOrchPowers;
|
|
227
229
|
const { publishAccountInfo, chainInfoValueShape } = opts ?? {};
|
|
230
|
+
|
|
231
|
+
const cachingMarshaller = wrapRemoteMarshaller(remoteMarshaller);
|
|
232
|
+
|
|
228
233
|
const { zone, ...tools } = provideOrchestration(
|
|
229
234
|
zcf,
|
|
230
235
|
baggage,
|
|
231
236
|
publishAccountInfo ? allOrchPowers : requiredOrchPowers,
|
|
232
|
-
|
|
237
|
+
cachingMarshaller,
|
|
233
238
|
{ chainInfoValueShape },
|
|
234
239
|
);
|
|
235
240
|
const [startResult] = await Promise.all([
|
|
241
|
+
// TODO(https://github.com/Agoric/agoric-sdk/issues/12109):
|
|
242
|
+
// pass the cachingMarshaller to orchestrated contracts so they don't
|
|
243
|
+
// have to wrap it themselves. This requires some generic PA magic.
|
|
236
244
|
contractFn(zcf, privateArgs, zone, tools),
|
|
237
245
|
// Make sure that any errors in async-flow awake abort contract start
|
|
238
246
|
tools.asyncFlowTools.allWokenP,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-tests.d.ts","sourceRoot":"","sources":["contract-tests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAS3F,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAmBtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAQpE,eAAO,MAAM,iBAAiB,aAAa,CAAC;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