@agoric/fast-usdc 0.1.1-dev-14afd8f.0.14afd8f → 0.1.1-dev-cbcea8c.0.cbcea8c

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/fast-usdc",
3
- "version": "0.1.1-dev-14afd8f.0.14afd8f",
3
+ "version": "0.1.1-dev-cbcea8c.0.cbcea8c",
4
4
  "description": "CLI and library for Fast USDC product",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,26 +33,26 @@
33
33
  "ts-blank-space": "^0.6.2"
34
34
  },
35
35
  "dependencies": {
36
- "@agoric/client-utils": "0.1.1-dev-14afd8f.0.14afd8f",
37
- "@agoric/cosmic-proto": "0.4.1-dev-14afd8f.0.14afd8f",
38
- "@agoric/ertp": "0.16.3-dev-14afd8f.0.14afd8f",
39
- "@agoric/internal": "0.3.3-dev-14afd8f.0.14afd8f",
40
- "@agoric/notifier": "0.6.3-dev-14afd8f.0.14afd8f",
41
- "@agoric/orchestration": "0.1.1-dev-14afd8f.0.14afd8f",
42
- "@agoric/zoe": "0.26.3-dev-14afd8f.0.14afd8f",
36
+ "@agoric/client-utils": "0.1.1-dev-cbcea8c.0.cbcea8c",
37
+ "@agoric/cosmic-proto": "0.4.1-dev-cbcea8c.0.cbcea8c",
38
+ "@agoric/ertp": "0.16.3-dev-cbcea8c.0.cbcea8c",
39
+ "@agoric/internal": "0.3.3-dev-cbcea8c.0.cbcea8c",
40
+ "@agoric/notifier": "0.6.3-dev-cbcea8c.0.cbcea8c",
41
+ "@agoric/orchestration": "0.1.1-dev-cbcea8c.0.cbcea8c",
42
+ "@agoric/zoe": "0.26.3-dev-cbcea8c.0.cbcea8c",
43
43
  "@cosmjs/proto-signing": "^0.36.0",
44
44
  "@cosmjs/stargate": "^0.36.0",
45
- "@endo/base64": "^1.0.12",
46
- "@endo/common": "^1.2.13",
47
- "@endo/errors": "^1.2.13",
48
- "@endo/eventual-send": "^1.3.4",
45
+ "@endo/base64": "^1.1.1",
46
+ "@endo/common": "^1.4.0",
47
+ "@endo/errors": "^1.3.1",
48
+ "@endo/eventual-send": "^1.5.0",
49
49
  "@endo/far": "^1.1.14",
50
- "@endo/init": "^1.1.12",
51
- "@endo/marshal": "^1.8.0",
52
- "@endo/nat": "^5.1.3",
53
- "@endo/pass-style": "^1.6.3",
54
- "@endo/patterns": "^1.7.0",
55
- "@endo/promise-kit": "^1.1.13",
50
+ "@endo/init": "^1.1.13",
51
+ "@endo/marshal": "^1.10.0",
52
+ "@endo/nat": "^5.2.0",
53
+ "@endo/pass-style": "^1.8.1",
54
+ "@endo/patterns": "^1.9.1",
55
+ "@endo/promise-kit": "^1.2.1",
56
56
  "@nick134-bit/noblejs": "0.0.2",
57
57
  "bech32": "^2.0.0",
58
58
  "commander": "^12.1.0",
@@ -85,5 +85,5 @@
85
85
  "engines": {
86
86
  "node": "^22.11"
87
87
  },
88
- "gitHead": "14afd8f6884096db6427b91fdb31d8cb94dd7c54"
88
+ "gitHead": "cbcea8c2415f2c9c4bc1ea9ff90730f2773bafaa"
89
89
  }
@@ -6,14 +6,16 @@
6
6
  export const INVITATION_MAKERS_DESC: "oracle operator invitation";
7
7
  export namespace OperatorKitI {
8
8
  let admin: import("@endo/patterns").InterfaceGuard<{
9
- disable: import("@endo/patterns").MethodGuard;
9
+ disable: import("@endo/patterns").MethodGuard<"sync", [], import("@endo/patterns").ArgGuard[], any, import("@endo/patterns").SyncValueGuard>;
10
10
  }>;
11
11
  let invitationMakers: import("@endo/patterns").InterfaceGuard<{
12
- SubmitEvidence: import("@endo/patterns").MethodGuard;
12
+ SubmitEvidence: import("@endo/patterns").MethodGuard<"sync", [import("@endo/patterns").CastedPattern<CctpTxEvidence>], [import("@endo/patterns").CastedPattern<RiskAssessment>], import("@endo/patterns").MatcherOf<"promise", any>, import("@endo/patterns").SyncValueGuard>;
13
13
  }>;
14
14
  let operator: import("@endo/patterns").InterfaceGuard<{
15
- submitEvidence: import("@endo/patterns").MethodGuard;
16
- getStatus: import("@endo/patterns").MethodGuard;
15
+ submitEvidence: import("@endo/patterns").MethodGuard<"sync", [import("@endo/patterns").CastedPattern<CctpTxEvidence>], [import("@endo/patterns").CastedPattern<RiskAssessment>], any, import("@endo/patterns").SyncValueGuard>;
16
+ getStatus: import("@endo/patterns").MethodGuard<"sync", [], import("@endo/patterns").ArgGuard[], import("@endo/patterns").MatcherOf<"recordOf", any>, import("@endo/patterns").SyncValueGuard>;
17
17
  }>;
18
18
  }
19
+ import type { CctpTxEvidence } from '@agoric/fast-usdc/src/types.js';
20
+ import type { RiskAssessment } from '@agoric/fast-usdc/src/types.js';
19
21
  //# sourceMappingURL=operator-kit-interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"operator-kit-interface.d.ts","sourceRoot":"","sources":["operator-kit-interface.js"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,0EAA0E;AAC1E,qCAAsC,4BAA4B,CAAC"}
1
+ {"version":3,"file":"operator-kit-interface.d.ts","sourceRoot":"","sources":["operator-kit-interface.js"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,0EAA0E;AAC1E,qCAAsC,4BAA4B,CAAC;;;;;;;;;;;;;oCAJlB,gCAAgC;oCAAhC,gCAAgC"}
@@ -1,10 +1,10 @@
1
1
  export function makeNatAmountShape(brand: Brand<"nat">, min?: NatValue): {
2
2
  brand: Brand<"nat">;
3
- value: import("@endo/patterns").Matcher;
3
+ value: import("@endo/patterns").MatcherOf<"nat", bigint> | import("@endo/patterns").MatcherOf<"gte", import("@endo/patterns").Key>;
4
4
  };
5
5
  export function makeProposalShapes({ PoolShares, USDC }: Record<"PoolShares" | "USDC", Brand<"nat">>): {
6
6
  deposit: (import("@endo/pass-style").CopyRecordInterface<import("@endo/pass-style").PassableCap, Error> & {
7
- "Symbol(validatedType)"?: {
7
+ "Symbol(castedType)"?: {
8
8
  give: {
9
9
  USDC: Amount<"nat">;
10
10
  };
@@ -13,7 +13,7 @@ export function makeProposalShapes({ PoolShares, USDC }: Record<"PoolShares" | "
13
13
  };
14
14
  } | undefined;
15
15
  }) | (import("@endo/pass-style").CopyTaggedInterface<import("@endo/pass-style").PassableCap, Error> & {
16
- "Symbol(validatedType)"?: {
16
+ "Symbol(castedType)"?: {
17
17
  give: {
18
18
  USDC: Amount<"nat">;
19
19
  };
@@ -23,7 +23,7 @@ export function makeProposalShapes({ PoolShares, USDC }: Record<"PoolShares" | "
23
23
  } | undefined;
24
24
  });
25
25
  withdraw: (import("@endo/pass-style").CopyRecordInterface<import("@endo/pass-style").PassableCap, Error> & {
26
- "Symbol(validatedType)"?: {
26
+ "Symbol(castedType)"?: {
27
27
  give: {
28
28
  PoolShare: Amount<"nat">;
29
29
  };
@@ -32,7 +32,7 @@ export function makeProposalShapes({ PoolShares, USDC }: Record<"PoolShares" | "
32
32
  };
33
33
  } | undefined;
34
34
  }) | (import("@endo/pass-style").CopyTaggedInterface<import("@endo/pass-style").PassableCap, Error> & {
35
- "Symbol(validatedType)"?: {
35
+ "Symbol(castedType)"?: {
36
36
  give: {
37
37
  PoolShare: Amount<"nat">;
38
38
  };
@@ -42,61 +42,61 @@ export function makeProposalShapes({ PoolShares, USDC }: Record<"PoolShares" | "
42
42
  } | undefined;
43
43
  });
44
44
  withdrawFees: (import("@endo/pass-style").CopyRecordInterface<import("@endo/pass-style").PassableCap, Error> & {
45
- "Symbol(validatedType)"?: {
45
+ "Symbol(castedType)"?: {
46
46
  want: {
47
47
  USDC: Amount<"nat">;
48
48
  };
49
49
  } | undefined;
50
50
  }) | (import("@endo/pass-style").CopyTaggedInterface<import("@endo/pass-style").PassableCap, Error> & {
51
- "Symbol(validatedType)"?: {
51
+ "Symbol(castedType)"?: {
52
52
  want: {
53
53
  USDC: Amount<"nat">;
54
54
  };
55
55
  } | undefined;
56
56
  });
57
57
  };
58
- /** @type {TypedPattern<FastUsdcTerms>} */
59
- export const FastUSDCTermsShape: TypedPattern<FastUsdcTerms>;
60
- /** @type {TypedPattern<EvmAddress>} */
61
- export const EvmAddressShape: TypedPattern<EvmAddress>;
62
- /** @type {TypedPattern<EvmHash>} */
63
- export const EvmHashShape: TypedPattern<EvmHash>;
64
- /** @type {TypedPattern<RiskAssessment>} */
65
- export const RiskAssessmentShape: TypedPattern<RiskAssessment>;
66
- /** @type {TypedPattern<CctpTxEvidence>} */
67
- export const CctpTxEvidenceShape: TypedPattern<CctpTxEvidence>;
68
- /** @type {TypedPattern<EvidenceWithRisk>} */
69
- export const EvidenceWithRiskShape: TypedPattern<EvidenceWithRisk>;
70
- /** @type {TypedPattern<PendingTx>} */
71
- export const PendingTxShape: TypedPattern<PendingTx>;
72
- /** @type {TypedPattern<AddressHook>} */
73
- export const AddressHookShape: TypedPattern<AddressHook>;
74
- /** @type {TypedPattern<FeeConfig['destinationOverrides']>} */
75
- export const DestinationOverridesShape: TypedPattern<FeeConfig["destinationOverrides"]>;
76
- /** @type {TypedPattern<FeeConfig>} */
77
- export const FeeConfigShape: TypedPattern<FeeConfig>;
78
- /** @type {TypedPattern<PoolMetrics>} */
79
- export const PoolMetricsShape: TypedPattern<PoolMetrics>;
80
- /** @type {TypedPattern<ChainPolicy>} */
81
- export const ChainPolicyShape: TypedPattern<ChainPolicy>;
58
+ /** @type {CastedPattern<FastUsdcTerms>} */
59
+ export const FastUSDCTermsShape: CastedPattern<FastUsdcTerms>;
60
+ /** @type {CastedPattern<EvmAddress>} */
61
+ export const EvmAddressShape: CastedPattern<EvmAddress>;
62
+ /** @type {CastedPattern<EvmHash>} */
63
+ export const EvmHashShape: CastedPattern<EvmHash>;
64
+ /** @type {CastedPattern<RiskAssessment>} */
65
+ export const RiskAssessmentShape: CastedPattern<RiskAssessment>;
66
+ /** @type {CastedPattern<CctpTxEvidence>} */
67
+ export const CctpTxEvidenceShape: CastedPattern<CctpTxEvidence>;
68
+ /** @type {CastedPattern<EvidenceWithRisk>} */
69
+ export const EvidenceWithRiskShape: CastedPattern<EvidenceWithRisk>;
70
+ /** @type {CastedPattern<PendingTx>} */
71
+ export const PendingTxShape: CastedPattern<PendingTx>;
72
+ /** @type {CastedPattern<AddressHook>} */
73
+ export const AddressHookShape: CastedPattern<AddressHook>;
74
+ /** @type {CastedPattern<FeeConfig['destinationOverrides']>} */
75
+ export const DestinationOverridesShape: CastedPattern<FeeConfig["destinationOverrides"]>;
76
+ /** @type {CastedPattern<FeeConfig>} */
77
+ export const FeeConfigShape: CastedPattern<FeeConfig>;
78
+ /** @type {CastedPattern<PoolMetrics>} */
79
+ export const PoolMetricsShape: CastedPattern<PoolMetrics>;
80
+ /** @type {CastedPattern<ChainPolicy>} */
81
+ export const ChainPolicyShape: CastedPattern<ChainPolicy>;
82
82
  /**
83
- * @type {TypedPattern<FeedPolicy>}
83
+ * @type {CastedPattern<FeedPolicy>}
84
84
  *
85
85
  * must be CopyData; no Brands or other Remotables
86
86
  */
87
- export const FeedPolicyShape: TypedPattern<FeedPolicy>;
87
+ export const FeedPolicyShape: CastedPattern<FeedPolicy>;
88
88
  /**
89
89
  * The version of CosmosChainInfoShape that matches the `valueShape` used in FUSDC's ChainHub's `chainInfos` mapStore.
90
- * @type {TypedPattern<CosmosChainInfo>}
90
+ * @type {CastedPattern<CosmosChainInfo>}
91
91
  */
92
- export const CosmosChainInfoShapeV1: TypedPattern<CosmosChainInfo>;
93
- /** @type {TypedPattern<FastUSDCConfig>} */
94
- export const FastUSDCConfigShape: TypedPattern<FastUSDCConfig>;
92
+ export const CosmosChainInfoShapeV1: CastedPattern<CosmosChainInfo>;
93
+ /** @type {CastedPattern<FastUSDCConfig>} */
94
+ export const FastUSDCConfigShape: CastedPattern<FastUSDCConfig>;
95
95
  import type { Brand } from '@agoric/ertp';
96
96
  import type { NatValue } from '@agoric/ertp';
97
97
  import type { Amount } from '@agoric/ertp';
98
98
  import type { FastUsdcTerms } from './types.js';
99
- import type { TypedPattern } from '@agoric/internal';
99
+ import type { CastedPattern } from '@endo/patterns';
100
100
  import type { EvmAddress } from './types.js';
101
101
  import type { EvmHash } from './types.js';
102
102
  import type { RiskAssessment } from './types.js';
@@ -1 +1 @@
1
- {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["type-guards.js"],"names":[],"mappings":"AAqBO,0CAHI,MAAM,KAAK,CAAC,QACZ,QAAQ;;;EAGmC;AAG/C,yDADK,MAAM,CAAC,YAAY,GAAG,MAAM,EAAE,MAAM,KAAK,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBtD;AAED,0CAA0C;AAC1C,iCADW,aAAa,aAAa,CAAC,CAGnC;AAEH,uCAAuC;AACvC,8BADW,aAAa,UAAU,CAAC,CAIhC;AAGH,oCAAoC;AACpC,2BADW,aAAa,OAAO,CAAC,CAG7B;AAGH,2CAA2C;AAC3C,kCADW,aAAa,cAAc,CAAC,CAMrC;AAGF,2CAA2C;AAC3C,kCADW,aAAa,cAAc,CAAC,CAgBrC;AAGF,6CAA6C;AAC7C,oCADW,aAAa,gBAAgB,CAAC,CAIvC;AAGF,sCAAsC;AAEtC,6BAFW,aAAa,SAAS,CAAC,CAKhC;AAGF,wCAAwC;AACxC,+BADW,aAAa,WAAW,CAAC,CAIlC;AAKF,8DAA8D;AAC9D,wCADW,aAAa,SAAS,CAAC,sBAAsB,CAAC,CAAC,CAYxD;AAEF,sCAAsC;AACtC,6BADW,aAAa,SAAS,CAAC,CAYhC;AAEF,wCAAwC;AACxC,+BADW,aAAa,WAAW,CAAC,CAQlC;AAGF,wCAAwC;AACxC,+BADW,aAAa,WAAW,CAAC,CAelC;AAGF;;;;GAIG;AACH,8BAJU,aAAa,UAAU,CAAC,CAWhC;AAGF;;;GAGG;AACH,qCAFU,aAAa,eAAe,CAAC,CAcrC;AAEF,2CAA2C;AAC3C,kCADW,aAAa,cAAc,CAAC,CAQpC;2BA1MgD,cAAc;8BAAd,cAAc;4BAAd,cAAc;mCAK+H,YAAY;kCAJ7K,kBAAkB;gCAI+I,YAAY;6BAAZ,YAAY;oCAAZ,YAAY;oCAAZ,YAAY;sCAAZ,YAAY;+BAAZ,YAAY;iCAAZ,YAAY;+BAAZ,YAAY;iCAAZ,YAAY;iCAAZ,YAAY;gCAAZ,YAAY;qCAFnH,uBAAuB;oCAEgF,YAAY"}
1
+ {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["type-guards.js"],"names":[],"mappings":"AAqBO,0CAHI,MAAM,KAAK,CAAC,QACZ,QAAQ;;;EAGmC;AAG/C,yDADK,MAAM,CAAC,YAAY,GAAG,MAAM,EAAE,MAAM,KAAK,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBtD;AAED,2CAA2C;AAC3C,iCADW,cAAc,aAAa,CAAC,CAGpC;AAEH,wCAAwC;AACxC,8BADW,cAAc,UAAU,CAAC,CAIjC;AAGH,qCAAqC;AACrC,2BADW,cAAc,OAAO,CAAC,CAG9B;AAGH,4CAA4C;AAC5C,kCADW,cAAc,cAAc,CAAC,CAMtC;AAGF,4CAA4C;AAC5C,kCADW,cAAc,cAAc,CAAC,CAgBtC;AAGF,8CAA8C;AAC9C,oCADW,cAAc,gBAAgB,CAAC,CAIxC;AAGF,uCAAuC;AAEvC,6BAFW,cAAc,SAAS,CAAC,CAKjC;AAGF,yCAAyC;AACzC,+BADW,cAAc,WAAW,CAAC,CAInC;AAKF,+DAA+D;AAC/D,wCADW,cAAc,SAAS,CAAC,sBAAsB,CAAC,CAAC,CAYzD;AAEF,uCAAuC;AACvC,6BADW,cAAc,SAAS,CAAC,CAYjC;AAEF,yCAAyC;AACzC,+BADW,cAAc,WAAW,CAAC,CAQnC;AAGF,yCAAyC;AACzC,+BADW,cAAc,WAAW,CAAC,CAenC;AAGF;;;;GAIG;AACH,8BAJU,cAAc,UAAU,CAAC,CAWjC;AAGF;;;GAGG;AACH,qCAFU,cAAc,eAAe,CAAC,CActC;AAEF,4CAA4C;AAC5C,kCADW,cAAc,cAAc,CAAC,CAQrC;2BA1MgD,cAAc;8BAAd,cAAc;4BAAd,cAAc;mCAK+H,YAAY;mCAJ5K,gBAAgB;gCAIgJ,YAAY;6BAAZ,YAAY;oCAAZ,YAAY;oCAAZ,YAAY;sCAAZ,YAAY;+BAAZ,YAAY;iCAAZ,YAAY;+BAAZ,YAAY;iCAAZ,YAAY;iCAAZ,YAAY;gCAAZ,YAAY;qCAFnH,uBAAuB;oCAEgF,YAAY"}
@@ -8,7 +8,7 @@ import { PendingTxStatus } from './constants.js';
8
8
 
9
9
  /**
10
10
  * @import {Amount, Brand, NatValue, Payment} from '@agoric/ertp';
11
- * @import {TypedPattern} from '@agoric/internal';
11
+ * @import {CastedPattern} from '@endo/patterns';
12
12
  * @import {IBCConnectionInfo} from '@agoric/network/ibc';
13
13
  * @import {CosmosChainInfo, Denom, DenomDetail, OrchestrationAccount, CaipChainId} from '@agoric/orchestration';
14
14
  * @import {USDCProposalShapes} from './pool-share-math.js';
@@ -24,42 +24,42 @@ export const makeNatAmountShape = (brand, min) =>
24
24
 
25
25
  /** @param {Record<'PoolShares' | 'USDC', Brand<'nat'>>} brands */
26
26
  export const makeProposalShapes = ({ PoolShares, USDC }) => {
27
- /** @type {TypedPattern<USDCProposalShapes['deposit']>} */
27
+ /** @type {CastedPattern<USDCProposalShapes['deposit']>} */
28
28
  const deposit = M.splitRecord({
29
29
  give: { USDC: makeNatAmountShape(USDC, 1n) },
30
30
  want: { PoolShare: makeNatAmountShape(PoolShares) },
31
31
  });
32
- /** @type {TypedPattern<USDCProposalShapes['withdraw']>} */
32
+ /** @type {CastedPattern<USDCProposalShapes['withdraw']>} */
33
33
  const withdraw = M.splitRecord({
34
34
  give: { PoolShare: makeNatAmountShape(PoolShares, 1n) },
35
35
  want: { USDC: makeNatAmountShape(USDC, 1n) },
36
36
  });
37
- /** @type {TypedPattern<USDCProposalShapes['withdrawFees']>} */
37
+ /** @type {CastedPattern<USDCProposalShapes['withdrawFees']>} */
38
38
  const withdrawFees = M.splitRecord({
39
39
  want: { USDC: makeNatAmountShape(USDC, 1n) },
40
40
  });
41
41
  return harden({ deposit, withdraw, withdrawFees });
42
42
  };
43
43
 
44
- /** @type {TypedPattern<FastUsdcTerms>} */
44
+ /** @type {CastedPattern<FastUsdcTerms>} */
45
45
  export const FastUSDCTermsShape = harden({
46
46
  usdcDenom: M.string(),
47
47
  });
48
48
 
49
- /** @type {TypedPattern<EvmAddress>} */
49
+ /** @type {CastedPattern<EvmAddress>} */
50
50
  export const EvmAddressShape = M.string({
51
51
  // 0x + 40 hex digits
52
52
  stringLengthLimit: 42,
53
53
  });
54
54
  harden(EvmAddressShape);
55
55
 
56
- /** @type {TypedPattern<EvmHash>} */
56
+ /** @type {CastedPattern<EvmHash>} */
57
57
  export const EvmHashShape = M.string({
58
58
  stringLengthLimit: 66,
59
59
  });
60
60
  harden(EvmHashShape);
61
61
 
62
- /** @type {TypedPattern<RiskAssessment>} */
62
+ /** @type {CastedPattern<RiskAssessment>} */
63
63
  export const RiskAssessmentShape = M.splitRecord(
64
64
  {},
65
65
  {
@@ -68,7 +68,7 @@ export const RiskAssessmentShape = M.splitRecord(
68
68
  );
69
69
  harden(RiskAssessmentShape);
70
70
 
71
- /** @type {TypedPattern<CctpTxEvidence>} */
71
+ /** @type {CastedPattern<CctpTxEvidence>} */
72
72
  export const CctpTxEvidenceShape = {
73
73
  aux: {
74
74
  forwardingChannel: M.string(),
@@ -87,22 +87,22 @@ export const CctpTxEvidenceShape = {
87
87
  };
88
88
  harden(CctpTxEvidenceShape);
89
89
 
90
- /** @type {TypedPattern<EvidenceWithRisk>} */
90
+ /** @type {CastedPattern<EvidenceWithRisk>} */
91
91
  export const EvidenceWithRiskShape = {
92
92
  evidence: CctpTxEvidenceShape,
93
93
  risk: RiskAssessmentShape,
94
94
  };
95
95
  harden(EvidenceWithRiskShape);
96
96
 
97
- /** @type {TypedPattern<PendingTx>} */
98
- // @ts-expect-error TypedPattern not recognized as record
97
+ /** @type {CastedPattern<PendingTx>} */
98
+ // @ts-expect-error CastedPattern not recognized as record
99
99
  export const PendingTxShape = {
100
100
  ...CctpTxEvidenceShape,
101
101
  status: M.or(...Object.values(PendingTxStatus)),
102
102
  };
103
103
  harden(PendingTxShape);
104
104
 
105
- /** @type {TypedPattern<AddressHook>} */
105
+ /** @type {CastedPattern<AddressHook>} */
106
106
  export const AddressHookShape = {
107
107
  baseAddress: M.string(),
108
108
  query: { EUD: M.string() },
@@ -111,7 +111,7 @@ harden(AddressHookShape);
111
111
 
112
112
  const NatAmountShape = { brand: BrandShape, value: M.nat() };
113
113
 
114
- /** @type {TypedPattern<FeeConfig['destinationOverrides']>} */
114
+ /** @type {CastedPattern<FeeConfig['destinationOverrides']>} */
115
115
  export const DestinationOverridesShape = M.recordOf(
116
116
  M.string(),
117
117
  M.splitRecord(
@@ -125,7 +125,7 @@ export const DestinationOverridesShape = M.recordOf(
125
125
  ),
126
126
  );
127
127
 
128
- /** @type {TypedPattern<FeeConfig>} */
128
+ /** @type {CastedPattern<FeeConfig>} */
129
129
  export const FeeConfigShape = M.splitRecord(
130
130
  {
131
131
  flat: NatAmountShape,
@@ -139,7 +139,7 @@ export const FeeConfigShape = M.splitRecord(
139
139
  {},
140
140
  );
141
141
 
142
- /** @type {TypedPattern<PoolMetrics>} */
142
+ /** @type {CastedPattern<PoolMetrics>} */
143
143
  export const PoolMetricsShape = {
144
144
  encumberedBalance: AmountShape,
145
145
  shareWorth: RatioShape,
@@ -150,7 +150,7 @@ export const PoolMetricsShape = {
150
150
  };
151
151
  harden(PoolMetricsShape);
152
152
 
153
- /** @type {TypedPattern<ChainPolicy>} */
153
+ /** @type {CastedPattern<ChainPolicy>} */
154
154
  export const ChainPolicyShape = {
155
155
  attenuatedCttpBridgeAddresses: M.splitArray(
156
156
  [EvmHashShape],
@@ -169,7 +169,7 @@ export const ChainPolicyShape = {
169
169
  harden(ChainPolicyShape);
170
170
 
171
171
  /**
172
- * @type {TypedPattern<FeedPolicy>}
172
+ * @type {CastedPattern<FeedPolicy>}
173
173
  *
174
174
  * must be CopyData; no Brands or other Remotables
175
175
  */
@@ -185,7 +185,7 @@ harden(FeedPolicyShape);
185
185
 
186
186
  /**
187
187
  * The version of CosmosChainInfoShape that matches the `valueShape` used in FUSDC's ChainHub's `chainInfos` mapStore.
188
- * @type {TypedPattern<CosmosChainInfo>}
188
+ * @type {CastedPattern<CosmosChainInfo>}
189
189
  */
190
190
  export const CosmosChainInfoShapeV1 = M.splitRecord(
191
191
  {
@@ -201,7 +201,7 @@ export const CosmosChainInfoShapeV1 = M.splitRecord(
201
201
  },
202
202
  );
203
203
 
204
- /** @type {TypedPattern<FastUSDCConfig>} */
204
+ /** @type {CastedPattern<FastUSDCConfig>} */
205
205
  export const FastUSDCConfigShape = M.splitRecord({
206
206
  terms: FastUSDCTermsShape,
207
207
  oracles: M.recordOf(M.string(), M.string()),