@agoric/smart-wallet 0.5.4-u15.0 → 0.5.4-u16.0

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 CHANGED
@@ -1,47 +1,45 @@
1
1
  {
2
2
  "name": "@agoric/smart-wallet",
3
- "version": "0.5.4-u15.0",
3
+ "version": "0.5.4-u16.0",
4
4
  "description": "Wallet contract",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "yarn build:bundles",
8
8
  "build:bundles": "node ./scripts/build-bundles.js",
9
- "prepack": "tsc --build jsconfig.build.json",
9
+ "prepack": "tsc --build tsconfig.build.json",
10
10
  "postpack": "git clean -f '*.d.ts*'",
11
11
  "test": "ava",
12
12
  "test:xs": "exit 0",
13
13
  "lint": "run-s --continue-on-error lint:*",
14
14
  "lint-fix": "yarn lint:eslint --fix",
15
- "lint:types": "tsc -p jsconfig.json",
15
+ "lint:types": "tsc",
16
16
  "lint:eslint": "eslint ."
17
17
  },
18
18
  "devDependencies": {
19
- "@agoric/cosmic-proto": "^0.3.1-u14.0",
20
- "@agoric/vats": "^0.15.2-u13.0",
21
- "@agoric/zone": "^0.2.3-u14.0",
22
- "@endo/bundle-source": "2.5.2-upstream-rollup",
23
- "@endo/captp": "3.1.1",
24
- "@endo/init": "0.5.56",
25
- "ava": "^5.2.0",
19
+ "@agoric/cosmic-proto": "^0.4.1-u16.0",
20
+ "@agoric/swingset-vat": "^0.33.0-u16.0",
21
+ "@agoric/zone": "^0.3.0-u16.0",
22
+ "@endo/bundle-source": "^3.2.3",
23
+ "@endo/captp": "^4.2.0",
24
+ "@endo/init": "^1.1.2",
25
+ "ava": "^5.3.0",
26
26
  "import-meta-resolve": "^2.2.1"
27
27
  },
28
28
  "dependencies": {
29
- "@agoric/assert": "^0.6.1-u11wf.0",
30
- "@agoric/casting": "^0.4.3-u14.0",
31
- "@agoric/deploy-script-support": "^0.10.4-u15.0",
32
- "@agoric/ertp": "^0.16.3-u14.0",
33
- "@agoric/internal": "^0.4.0-u14.0",
34
- "@agoric/notifier": "^0.6.3-u14.0",
35
- "@agoric/store": "^0.9.3-u14.0",
36
- "@agoric/swingset-vat": "^0.32.3-u14.0",
37
- "@agoric/vat-data": "^0.5.3-u14.0",
38
- "@agoric/vats": "^0.15.2-u15.0",
39
- "@agoric/zoe": "^0.26.3-u15.0",
40
- "@endo/eventual-send": "0.17.2",
41
- "@endo/far": "0.2.18",
42
- "@endo/marshal": "0.8.5",
43
- "@endo/nat": "4.1.27",
44
- "@endo/promise-kit": "0.2.56"
29
+ "@agoric/assert": "^0.6.1-u16.0",
30
+ "@agoric/casting": "^0.4.3-u16.0",
31
+ "@agoric/ertp": "^0.16.3-u16.0",
32
+ "@agoric/internal": "^0.4.0-u16.0",
33
+ "@agoric/notifier": "^0.7.0-u16.0",
34
+ "@agoric/store": "^0.9.3-u16.0",
35
+ "@agoric/vat-data": "^0.5.3-u16.0",
36
+ "@agoric/vats": "^0.16.0-u16.0",
37
+ "@agoric/zoe": "^0.26.3-u16.0",
38
+ "@endo/eventual-send": "^1.2.2",
39
+ "@endo/far": "^1.1.2",
40
+ "@endo/marshal": "^1.5.0",
41
+ "@endo/nat": "^5.0.7",
42
+ "@endo/promise-kit": "^1.1.2"
45
43
  },
46
44
  "files": [
47
45
  "src/"
@@ -59,12 +57,18 @@
59
57
  "homepage": "https://github.com/Agoric/agoric#readme",
60
58
  "ava": {
61
59
  "files": [
62
- "test/**/test-*.js"
60
+ "test/**/*.test.*"
61
+ ],
62
+ "require": [
63
+ "@endo/init/debug.js"
63
64
  ],
64
65
  "timeout": "2m"
65
66
  },
66
67
  "publishConfig": {
67
68
  "access": "public"
68
69
  },
69
- "gitHead": "734e8635002e01b3e27477e93998dda942c7fae8"
70
+ "typeCoverage": {
71
+ "atLeast": 94.36
72
+ },
73
+ "gitHead": "bbdf652c3f413381cb352a8a360db1063974fafd"
70
74
  }
@@ -1,45 +1,49 @@
1
- export function makeInvitationsHelper(zoe: ERef<ZoeService>, agoricNames: ERef<NameHub>, invitationBrand: Brand<'set'>, invitationsPurse: Purse<'set'>, getInvitationContinuation: (fromOfferId: string) => import('./types').RemoteInvitationMakers): (spec: InvitationSpec) => ERef<Invitation>;
1
+ export function makeInvitationsHelper(zoe: ERef<ZoeService>, agoricNames: ERef<import("@agoric/vats").NameHub>, invitationBrand: Brand<"set">, invitationsPurse: Purse<"set", InvitationDetails>, getInvitationContinuation: (fromOfferId: string) => import("./types.js").InvitationMakers): (spec: InvitationSpec) => ERef<Invitation>;
2
2
  /**
3
3
  * Specify how to produce an invitation. See each type in the union for details.
4
4
  */
5
5
  export type InvitationSpec = AgoricContractInvitationSpec | ContractInvitationSpec | PurseInvitationSpec | ContinuingInvitationSpec;
6
6
  /**
7
7
  * source of invitation is a chain of calls starting with an agoricName
8
+ *
8
9
  * - the start of the pipe is a lookup of instancePath within agoricNames
9
10
  * - each entry in the callPipe executes a call on the preceding result
10
11
  * - the end of the pipe is expected to return an Invitation
11
12
  */
12
13
  export type AgoricContractInvitationSpec = {
13
- source: 'agoricContract';
14
+ source: "agoricContract";
14
15
  instancePath: string[];
15
- callPipe: Array<[methodName: string, methodArgs?: any[]]>;
16
+ callPipe: [methodName: string, methodArgs?: any[]][];
16
17
  };
17
18
  /**
18
19
  * source is a contract (in which case this takes an Instance to look up in zoe)
19
20
  */
20
21
  export type ContractInvitationSpec = {
21
- source: 'contract';
22
+ source: "contract";
22
23
  instance: Instance;
23
24
  publicInvitationMaker: string;
24
25
  invitationArgs?: any[];
25
26
  };
26
27
  /**
27
- * the invitation is already in your Zoe "invitation" purse so we need to query it
28
+ * the invitation is already in your Zoe "invitation" purse so we need to query
29
+ * it
30
+ *
28
31
  * - use the find/query invitation by kvs thing
29
32
  */
30
33
  export type PurseInvitationSpec = {
31
- source: 'purse';
34
+ source: "purse";
32
35
  instance: Instance;
33
36
  description: string;
34
37
  };
35
38
  /**
36
- * continuing invitation in which the offer result from a previous invitation had an `invitationMakers` property
39
+ * continuing invitation in which the offer result from a previous invitation
40
+ * had an `invitationMakers` property
37
41
  */
38
42
  export type ContinuingInvitationSpec = {
39
- source: 'continuing';
40
- previousOffer: import('./offers.js').OfferId;
43
+ source: "continuing";
44
+ previousOffer: import("./offers.js").OfferId;
41
45
  invitationMakerName: string;
42
46
  invitationArgs?: any[];
43
47
  };
44
- export type InvitationsPurseQuery = Pick<InvitationDetails, 'description' | 'instance'>;
48
+ export type InvitationsPurseQuery = Pick<InvitationDetails, "description" | "instance">;
45
49
  //# sourceMappingURL=invitations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"invitations.d.ts","sourceRoot":"","sources":["invitations.js"],"names":[],"mappings":"AAkEO,2CANI,KAAK,UAAU,CAAC,eAChB,KAAK,OAAO,CAAC,mBACb,MAAM,KAAK,CAAC,oBACZ,MAAM,KAAK,CAAC,2CACE,MAAM,KAAK,OAAO,SAAS,EAAE,sBAAsB,UAsFxD,cAAc,KAAK,KAAK,UAAU,CAAC,CAgBtD;;;;6BAvJY,4BAA4B,GAAG,sBAAsB,GAAG,mBAAmB,GAAG,wBAAwB;;;;;;;2CAKtG;IACZ,MAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAc,EAAE,MAAM,EAAE,CAAC;IACzB,QAAU,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;CACzD;;;;qCAMS;IACZ,MAAQ,EAAE,UAAU,CAAC;IACrB,QAAU,EAAE,QAAQ,CAAC;IACrB,qBAAuB,EAAE,MAAM,CAAC;IAChC,cAAgB,CAAC,EAAE,GAAG,EAAE,CAAC;CACtB;;;;;kCAGS;IACZ,MAAQ,EAAE,OAAO,CAAC;IAClB,QAAU,EAAE,QAAQ,CAAC;IACrB,WAAa,EAAE,MAAM,CAAC;CACnB;;;;uCAIS;IACZ,MAAQ,EAAE,YAAY,CAAC;IACvB,aAAe,EAAE,OAAO,aAAa,EAAE,OAAO,CAAC;IA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"}
@@ -4,53 +4,59 @@ import { InvitationHandleShape } from '@agoric/zoe/src/typeGuards.js';
4
4
  import { E } from '@endo/far';
5
5
  import { shape } from './typeGuards.js';
6
6
 
7
- // Ambient types. Needed only for dev but this does a runtime import.
8
- import '@agoric/zoe/exported.js';
9
-
10
7
  const { Fail } = assert;
11
8
 
12
9
  // A safety limit
13
10
  const MAX_PIPE_LENGTH = 2;
14
11
 
15
12
  /**
16
- * @typedef {AgoricContractInvitationSpec | ContractInvitationSpec | PurseInvitationSpec | ContinuingInvitationSpec} InvitationSpec
17
- * Specify how to produce an invitation. See each type in the union for details.
13
+ * @typedef {AgoricContractInvitationSpec
14
+ * | ContractInvitationSpec
15
+ * | PurseInvitationSpec
16
+ * | ContinuingInvitationSpec} InvitationSpec
17
+ * Specify how to produce an invitation. See each type in the union for details.
18
18
  */
19
19
 
20
20
  /**
21
21
  * @typedef {{
22
- * source: 'agoricContract',
23
- * instancePath: string[],
24
- * callPipe: Array<[methodName: string, methodArgs?: any[]]>,
22
+ * source: 'agoricContract';
23
+ * instancePath: string[];
24
+ * callPipe: [methodName: string, methodArgs?: any[]][];
25
25
  * }} AgoricContractInvitationSpec
26
- * source of invitation is a chain of calls starting with an agoricName
26
+ * source of invitation is a chain of calls starting with an agoricName
27
+ *
27
28
  * - the start of the pipe is a lookup of instancePath within agoricNames
28
29
  * - each entry in the callPipe executes a call on the preceding result
29
30
  * - the end of the pipe is expected to return an Invitation
30
31
  *
32
+ *
31
33
  * @typedef {{
32
- * source: 'contract',
33
- * instance: Instance,
34
- * publicInvitationMaker: string,
35
- * invitationArgs?: any[],
34
+ * source: 'contract';
35
+ * instance: Instance;
36
+ * publicInvitationMaker: string;
37
+ * invitationArgs?: any[];
36
38
  * }} ContractInvitationSpec
37
- * source is a contract (in which case this takes an Instance to look up in zoe)
39
+ * source is a contract (in which case this takes an Instance to look up in zoe)
38
40
  *
39
41
  * @typedef {{
40
- * source: 'purse',
41
- * instance: Instance,
42
- * description: string,
42
+ * source: 'purse';
43
+ * instance: Instance;
44
+ * description: string;
43
45
  * }} PurseInvitationSpec
44
- * the invitation is already in your Zoe "invitation" purse so we need to query it
46
+ * the invitation is already in your Zoe "invitation" purse so we need to query
47
+ * it
48
+ *
45
49
  * - use the find/query invitation by kvs thing
46
50
  *
51
+ *
47
52
  * @typedef {{
48
- * source: 'continuing',
49
- * previousOffer: import('./offers.js').OfferId,
50
- * invitationMakerName: string,
51
- * invitationArgs?: any[],
53
+ * source: 'continuing';
54
+ * previousOffer: import('./offers.js').OfferId;
55
+ * invitationMakerName: string;
56
+ * invitationArgs?: any[];
52
57
  * }} ContinuingInvitationSpec
53
- * continuing invitation in which the offer result from a previous invitation had an `invitationMakers` property
58
+ * continuing invitation in which the offer result from a previous invitation
59
+ * had an `invitationMakers` property
54
60
  */
55
61
 
56
62
  /**
@@ -59,10 +65,10 @@ const MAX_PIPE_LENGTH = 2;
59
65
 
60
66
  /**
61
67
  * @param {ERef<ZoeService>} zoe
62
- * @param {ERef<NameHub>} agoricNames
68
+ * @param {ERef<import('@agoric/vats').NameHub>} agoricNames
63
69
  * @param {Brand<'set'>} invitationBrand
64
- * @param {Purse<'set'>} invitationsPurse
65
- * @param {(fromOfferId: string) => import('./types').RemoteInvitationMakers} getInvitationContinuation
70
+ * @param {Purse<'set', InvitationDetails>} invitationsPurse
71
+ * @param {(fromOfferId: string) => import('./types.js').InvitationMakers} getInvitationContinuation
66
72
  */
67
73
  export const makeInvitationsHelper = (
68
74
  zoe,
@@ -103,9 +109,7 @@ export const makeInvitationsHelper = (
103
109
  mustMatch(spec, shape.PurseInvitationSpec);
104
110
 
105
111
  const { instance, description } = spec;
106
- // @ts-expect-error TS thinks it's always true. I'm doubtful.
107
112
  (instance && description) || Fail`missing instance or description`;
108
- /** @type {Amount<'set'>} */
109
113
  const purseAmount = await E(invitationsPurse).getCurrentAmount();
110
114
  const invitations = AmountMath.getValue(invitationBrand, purseAmount);
111
115
 
@@ -1,65 +1,64 @@
1
1
  export function makeExportContext(): {
2
- toCapData: import("@endo/marshal/src/marshal").ToCapData<string>;
3
- fromCapData: import("@endo/marshal/src/marshal").FromCapData<string>;
4
- serialize: import("@endo/marshal/src/marshal").ToCapData<string>;
5
- unserialize: import("@endo/marshal/src/marshal").FromCapData<string>;
6
- savePurseActions: (val: Purse<AssetKind>) => void;
7
- savePaymentActions: (val: Payment<AssetKind>) => void;
2
+ toCapData: import("@endo/marshal").ToCapData<string>;
3
+ fromCapData: import("@endo/marshal").FromCapData<string>;
4
+ serialize: import("@endo/marshal").ToCapData<string>;
5
+ unserialize: import("@endo/marshal").FromCapData<string>;
6
+ savePurseActions: (val: globalThis.Purse) => void;
7
+ savePaymentActions: (val: globalThis.Payment) => void;
8
8
  /**
9
9
  * @param {number} id
10
10
  * @param {Purse} purse
11
11
  */
12
12
  initPurseId: (id: number, purse: Purse) => void;
13
- purseEntries: (keyPatt?: any, valuePatt?: any) => Iterable<[number, Purse<AssetKind>]>;
13
+ purseEntries: (keyPatt?: globalThis.Pattern, valuePatt?: globalThis.Pattern) => Iterable<[number, globalThis.Purse]>;
14
14
  /**
15
15
  * @param {BoardId} id
16
- * @param {unknown} val
16
+ * @param {RemotableObject} val
17
17
  */
18
- initBoardId: (id: BoardId, val: unknown) => void;
18
+ initBoardId: (id: BoardId, val: RemotableObject) => void;
19
19
  /**
20
20
  * @param {BoardId} id
21
- * @param {unknown} val
21
+ * @param {RemotableObject} val
22
22
  */
23
- ensureBoardId: (id: BoardId, val: unknown) => void;
23
+ ensureBoardId: (id: BoardId, val: RemotableObject) => void;
24
24
  };
25
- export function makeImportContext(makePresence?: ((iface: string) => unknown) | undefined): {
25
+ export function makeImportContext(makePresence?: ((iface: string) => PassableCap) | undefined): {
26
26
  /**
27
27
  * @param {BoardId} id
28
- * @param {unknown} val
28
+ * @param {PassableCap} val
29
29
  */
30
- initBoardId: (id: BoardId, val: unknown) => void;
30
+ initBoardId: (id: BoardId, val: PassableCap) => void;
31
31
  /**
32
32
  * @param {BoardId} id
33
- * @param {unknown} val
33
+ * @param {PassableCap} val
34
34
  */
35
- ensureBoardId: (id: BoardId, val: unknown) => void;
35
+ ensureBoardId: (id: BoardId, val: PassableCap) => void;
36
36
  fromMyWallet: {
37
- toCapData: import("@endo/marshal/src/marshal").ToCapData<string>;
38
- fromCapData: import("@endo/marshal/src/marshal").FromCapData<string>;
39
- serialize: import("@endo/marshal/src/marshal").ToCapData<string>;
40
- unserialize: import("@endo/marshal/src/marshal").FromCapData<string>;
41
- } & import("@endo/eventual-send").RemotableBrand<{}, {
42
- toCapData: import("@endo/marshal/src/marshal").ToCapData<string>;
43
- fromCapData: import("@endo/marshal/src/marshal").FromCapData<string>;
44
- serialize: import("@endo/marshal/src/marshal").ToCapData<string>;
45
- unserialize: import("@endo/marshal/src/marshal").FromCapData<string>;
37
+ toCapData: import("@endo/marshal").ToCapData<string>;
38
+ fromCapData: import("@endo/marshal").FromCapData<string>;
39
+ serialize: import("@endo/marshal").ToCapData<string>;
40
+ unserialize: import("@endo/marshal").FromCapData<string>;
41
+ } & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
42
+ toCapData: import("@endo/marshal").ToCapData<string>;
43
+ fromCapData: import("@endo/marshal").FromCapData<string>;
44
+ serialize: import("@endo/marshal").ToCapData<string>;
45
+ unserialize: import("@endo/marshal").FromCapData<string>;
46
46
  }>;
47
47
  fromBoard: {
48
- toCapData: import("@endo/marshal/src/marshal").ToCapData<string>;
49
- fromCapData: import("@endo/marshal/src/marshal").FromCapData<string>;
50
- serialize: import("@endo/marshal/src/marshal").ToCapData<string>;
51
- unserialize: import("@endo/marshal/src/marshal").FromCapData<string>;
52
- } & import("@endo/eventual-send").RemotableBrand<{}, {
53
- toCapData: import("@endo/marshal/src/marshal").ToCapData<string>;
54
- fromCapData: import("@endo/marshal/src/marshal").FromCapData<string>;
55
- serialize: import("@endo/marshal/src/marshal").ToCapData<string>;
56
- unserialize: import("@endo/marshal/src/marshal").FromCapData<string>;
48
+ toCapData: import("@endo/marshal").ToCapData<string>;
49
+ fromCapData: import("@endo/marshal").FromCapData<string>;
50
+ serialize: import("@endo/marshal").ToCapData<string>;
51
+ unserialize: import("@endo/marshal").FromCapData<string>;
52
+ } & RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
53
+ toCapData: import("@endo/marshal").ToCapData<string>;
54
+ fromCapData: import("@endo/marshal").FromCapData<string>;
55
+ serialize: import("@endo/marshal").ToCapData<string>;
56
+ unserialize: import("@endo/marshal").FromCapData<string>;
57
57
  }>;
58
58
  };
59
59
  export function makeLoggingPresence(iface: string, log: (parts: unknown[]) => void): any;
60
- export type BoardId = import('@agoric/vats/src/lib-board.js').BoardId;
61
60
  /**
62
- * <T>
61
+ * When marshaling a purse, payment, etc. we partition the slots using prefixes.
63
62
  */
64
63
  export type WalletSlot<T extends Record<string, IdTable<any, any>>> = `${string & keyof T}:${Digits}`;
65
64
  /**
@@ -67,22 +66,26 @@ export type WalletSlot<T extends Record<string, IdTable<any, any>>> = `${string
67
66
  */
68
67
  export type KindSlot<K extends string> = `${K}:${Digits}`;
69
68
  /**
70
- * <T>
69
+ * Since KindSlots always include a colon and BoardIds never do, we an mix them
70
+ * without confusion.
71
71
  */
72
72
  export type MixedSlot<T extends Record<string, IdTable<any, any>>> = WalletSlot<T> | BoardId;
73
73
  /**
74
- * - 1 or more digits.
75
- * NOTE: the typescript definition here is more restrictive than
76
- * actual usage.
74
+ * - 1 or more digits. NOTE: the typescript
75
+ * definition here is more restrictive than actual usage.
77
76
  */
78
77
  export type Digits = `1` | `12` | `123`;
79
78
  /**
80
79
  * <Value>
81
80
  */
82
- export type IdTable<Slot, Val> = {
81
+ export type IdTable<Slot extends Key, Val extends PassableCap> = {
83
82
  bySlot: MapStore<Slot, Val>;
84
83
  byVal: MapStore<Val, Slot>;
85
84
  };
86
85
  export type ExportContext = ReturnType<typeof makeExportContext>;
87
86
  export type ImportContext = ReturnType<typeof makeImportContext>;
87
+ import type { BoardId } from '@agoric/vats/src/lib-board.js';
88
+ import type { RemotableObject } from '@endo/marshal';
89
+ import type { PassableCap } from '@endo/marshal';
90
+ import type { Key } from '@endo/patterns';
88
91
  //# sourceMappingURL=marshal-contexts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"marshal-contexts.d.ts","sourceRoot":"","sources":["marshal-contexts.js"],"names":[],"mappings":"AAmHO;;;;;;;IAqFH;;;OAGG;sBAFQ,MAAM,SACN,KAAK;;IAMhB;;;OAGG;sBAFQ,OAAO,OACP,OAAO;IAKlB;;;OAGG;wBAFQ,OAAO,OACP,OAAO;EAWrB;AAcM,0DAFY,MAAM,KAAK,OAAO;IA8FjC;;;OAGG;sBAFQ,OAAO,OACP,OAAO;IAKlB;;;OAGG;wBAFQ,OAAO,OACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;EAYrB;AAwBM,2CAHI,MAAM,eACE,OAAO,EAAE,KAAK,IAAI,OAapC;sBA9Xa,OAAO,+BAA+B,EAAE,OAAO;;;;sEAiBhD,GAAG,MAAM,GAAG,MAAM,CAAC,IAAI,MAAM,EAAE;;;;yCAI/B,GAAG,CAAC,IAAI,MAAM,EAAE;;;;qEA2ChB,WAAW,CAAC,CAAC,GAAG,OAAO;;;;;;qBAGvB,GAAG,GAAG,IAAI,GAAG,KAAK;;;;iCASlB;IACZ,MAAU,EAAE,SAAS,IAAI,EAAE,GAAG,CAAC,CAAC;IAChC,KAAS,EAAE,SAAS,GAAG,EAAE,IAAI,CAAC,CAAC;CAC5B;4BA8IU,WAAW,wBAAwB,CAAC;4BA+HpC,WAAW,wBAAwB,CAAC"}
1
+ {"version":3,"file":"marshal-contexts.d.ts","sourceRoot":"","sources":["marshal-contexts.js"],"names":[],"mappings":"AAuHO;;;;;;;IAoFH;;;OAGG;sBAFQ,MAAM,SACN,KAAK;;IAMhB;;;OAGG;sBAFQ,OAAO,OACP,eAAe;IAK1B;;;OAGG;wBAFQ,OAAO,OACP,eAAe;EAW7B;AAcM,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