@engramx/idl 0.16.0-rc.5 → 0.16.0-rc.7

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.
@@ -335,7 +335,7 @@ export interface Engram {
335
335
  * / test/key-replacement.test.mo runs it; this body names no roster gate, because the caller holds
336
336
  * / no role here until the move.
337
337
  */
338
- acceptAgentKeyNomination: ActorMethod<[Principal], Result_70>;
338
+ acceptAgentKeyNomination: ActorMethod<[Principal], Result_71>;
339
339
  /**
340
340
  * / Consensus transform for the alert webhook outcall: collapse the response to status-only so
341
341
  * / replicas agree regardless of response headers/body (we only care that the POST landed 2xx).
@@ -370,13 +370,13 @@ export interface Engram {
370
370
  ackIrrevocable: boolean;
371
371
  },
372
372
  ],
373
- Result_69
373
+ Result_70
374
374
  >;
375
375
  /**
376
376
  * / Owner-managed destination allowlist (D7). Additions LOOSEN and wait 24h; removals TIGHTEN
377
377
  * / and apply instantly — the ratified asymmetry, applied to the one mutable policy surface.
378
378
  */
379
- addEvmWithdrawDestination: ActorMethod<[string], Result_68>;
379
+ addEvmWithdrawDestination: ActorMethod<[string], Result_69>;
380
380
  /**
381
381
  * / ⟨0.16.0, L1⟩ THE ROLE-CONFLICT ARM, and why three refusals here are not the same refusal.
382
382
  * /
@@ -422,7 +422,7 @@ export interface Engram {
422
422
  * / is exactly what a guardian pause exists to hold. No action alert is raised: the operation is
423
423
  * / owner-initiated, owner-only, and already chained into the audit log.
424
424
  */
425
- applyCondense: ActorMethod<[bigint], Result_67>;
425
+ applyCondense: ActorMethod<[bigint], Result_68>;
426
426
  /**
427
427
  * / Owner-only: activate a guardian who has registered against an invite.
428
428
  * /
@@ -502,7 +502,7 @@ export interface Engram {
502
502
  * /
503
503
  * / The write half also refuses while writes are PAUSED.
504
504
  */
505
- backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]], Result_43>;
505
+ backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]], Result_44>;
506
506
  /**
507
507
  * / Read one chunk of a finalized backup, by index.
508
508
  * /
@@ -510,7 +510,7 @@ export interface Engram {
510
510
  * / `canAppendMemory`. Holding one says nothing about the other, deliberately: taking a backup and
511
511
  * / carrying it away are different authorities.
512
512
  */
513
- backupPullChunk: ActorMethod<[string, bigint], Result_59>;
513
+ backupPullChunk: ActorMethod<[string, bigint], Result_60>;
514
514
  backupPushChunk: ActorMethod<[string, bigint, Uint8Array | number[]], Result_1>;
515
515
  /**
516
516
  * / The OWNER cancels an agent's pending key nomination; the agent keeps its current key. Refused
@@ -568,7 +568,7 @@ export interface Engram {
568
568
  * / A principal that is already a GUARDIAN cannot become an agent — a guardian is an
569
569
  * / independent check on agents, so one wallet must not hold both.
570
570
  */
571
- createAgentInvite: ActorMethod<[string, AgentPermissions], Result_43>;
571
+ createAgentInvite: ActorMethod<[string, AgentPermissions], Result_44>;
572
572
  /**
573
573
  * / Owner-only: mint an invite for a GUARDIAN — an independent check on agents, not a
574
574
  * / co-owner and not a recovery agent.
@@ -592,7 +592,7 @@ export interface Engram {
592
592
  * / So an invite that fails to redeem for that reason is not a bad code. The rule exists because
593
593
  * / a check must be independent of the thing it checks.
594
594
  */
595
- createGuardianInvite: ActorMethod<[string, GuardianPermissions], Result_43>;
595
+ createGuardianInvite: ActorMethod<[string, GuardianPermissions], Result_44>;
596
596
  /**
597
597
  * / OWNER-ONLY deletion of a stored backup.
598
598
  * /
@@ -656,7 +656,7 @@ export interface Engram {
656
656
  * / ⟨Marker added 2026-08-23; the census row said "L7 mark added per review" and no mark was at
657
657
  * / the site.⟩
658
658
  */
659
- ensureEvmReady: ActorMethod<[], Result_43>;
659
+ ensureEvmReady: ActorMethod<[], Result_44>;
660
660
  /**
661
661
  * / Record that log entries [fromSeq, toSeq] were served, and return the root that proves it.
662
662
  * /
@@ -671,7 +671,7 @@ export interface Engram {
671
671
  * / situation rather than a safety measure. It IS gated on requireMemoryAttached: a store that
672
672
  * / failed its integrity check must not attest anything it cannot vouch for.
673
673
  */
674
- exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]], Result_66>;
674
+ exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]], Result_67>;
675
675
  /**
676
676
  * / ⟨0.16.0, L2.2 — renamed from `guardianFreezePayments`⟩ The prefix LIED about who may call it.
677
677
  * / The gate is `requireOwnerOrGuardian`, and an owner freezing their own payments is the ordinary
@@ -707,7 +707,7 @@ export interface Engram {
707
707
  /**
708
708
  * / Delivery status + config readback. Owner-only (the URL is a secret).
709
709
  */
710
- getActionAlertStatus: ActorMethod<[], Result_57>;
710
+ getActionAlertStatus: ActorMethod<[], Result_58>;
711
711
  /**
712
712
  * / Agents need to know what they may revise, so they can read it too. Whole-value config, same
713
713
  * / carve-out as getProtectedPaths — and kept a SEPARATE method from it deliberately (L2.2): a
@@ -717,7 +717,7 @@ export interface Engram {
717
717
  * / Refusal reason preserved from the trap: a grant is a power, and its absence and its
718
718
  * / concealment are different facts.
719
719
  */
720
- getAgentRevisablePaths: ActorMethod<[], Result_53>;
720
+ getAgentRevisablePaths: ActorMethod<[], Result_54>;
721
721
  /**
722
722
  * / OWNER-ONLY: every engagement's seat weeks on this engram, with the agent's root — the day it
723
723
  * / paired, the days of its first and last payment signature, a 64-week map whose bit 0 is the week
@@ -730,7 +730,7 @@ export interface Engram {
730
730
  * / empty page. Paged; `total` is every engagement ever paired here (a reset keeps the rows).
731
731
  * / Two rows can name one root: an agent paired again after it left is a second engagement.
732
732
  */
733
- getAgentSeatWeeks: ActorMethod<[bigint, bigint], Result_64>;
733
+ getAgentSeatWeeks: ActorMethod<[bigint, bigint], Result_65>;
734
734
  /**
735
735
  * / Owner: everything written into this engram by someone other than the owner since the last
736
736
  * / markAgentWritesReviewed() — agent appends/revisions AND paid-session appends (see
@@ -740,7 +740,7 @@ export interface Engram {
740
740
  * / as a total. `earliest` discloses ring eviction — if cursor < earliest, entries between them
741
741
  * / aged out of the ring (the CHAIN still proves total count; this view can't show their bodies).
742
742
  */
743
- getAgentWriteReview: ActorMethod<[], Result_63>;
743
+ getAgentWriteReview: ActorMethod<[], Result_64>;
744
744
  /**
745
745
  * / Why anchoring is or is not advancing. PUBLIC: ungated on purpose — detecting a stalled
746
746
  * / engram is the point, a gated read would fail-to-empty and hand a third party fabricated zeros,
@@ -763,7 +763,7 @@ export interface Engram {
763
763
  * / was signed rather than asserted.
764
764
  */
765
765
  getAuditHead: ActorMethod<[], AuditHead>;
766
- getBackupMetadata: ActorMethod<[string], Result_62>;
766
+ getBackupMetadata: ActorMethod<[string], Result_63>;
767
767
  /**
768
768
  * / The cashier this engram recognises as its rent biller — `null` until the registry pushes one.
769
769
  * /
@@ -799,13 +799,13 @@ export interface Engram {
799
799
  * / recorded nothing while reading as if it did. The refusal is loud in the reply instead. WHAT
800
800
  * / WOULD MAKE THIS WRONG: a reason to record who asked — then this becomes an update that says so.
801
801
  */
802
- getChildAllowance: ActorMethod<[Principal], Result_61>;
802
+ getChildAllowance: ActorMethod<[Principal], Result_62>;
803
803
  /**
804
804
  * / Owner-only, Billing-class: what opening an engram costs this engram, the balance below which an
805
805
  * / agent's request is refused, the balance now, and every agent's allowance. The console's cost
806
806
  * / sentence reads it. Cycles are owner-class information, as on the owner's console read.
807
807
  */
808
- getChildOpening: ActorMethod<[], Result_60>;
808
+ getChildOpening: ActorMethod<[], Result_61>;
809
809
  /**
810
810
  * / Derive the shared memory-encryption key, encrypted under the caller's transport
811
811
  * / public key. Gated to owner + read-agents (the same principals allowed to read
@@ -831,7 +831,7 @@ export interface Engram {
831
831
  * / cost. Stated here because L7 requires the reason be readable from the interface rather than
832
832
  * / inferred by opening the body — which is exactly what had to happen to write this line.
833
833
  */
834
- getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]], Result_59>;
834
+ getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]], Result_60>;
835
835
  /**
836
836
  * / ⟨0.16.0, owner ruling 2026-08-20 — option (a)⟩ `x402Support` REPORTS THE RAIL, not a constant.
837
837
  * /
@@ -936,7 +936,7 @@ export interface Engram {
936
936
  * / `#Err`, never a record carrying an empty string (ic402's `getEvmAddress` answers `""` on a
937
937
  * / failed derivation — that is fail-to-empty on a money surface, and it stops here).
938
938
  */
939
- getEvmAddress: ActorMethod<[], Result_58>;
939
+ getEvmAddress: ActorMethod<[], Result_59>;
940
940
  /**
941
941
  * / The owner's OWN EVM address, if they registered one — distinct from `getEvmAddress`, which is
942
942
  * / the address this canister derives for itself.
@@ -955,7 +955,7 @@ export interface Engram {
955
955
  * / cost — stated here because L7 requires the reason be readable from the interface rather than
956
956
  * / inferred by opening the body.
957
957
  */
958
- getEvmSignerAddress: ActorMethod<[], Result_43>;
958
+ getEvmSignerAddress: ActorMethod<[], Result_44>;
959
959
  /**
960
960
  * / PUBLIC: where this chain begins, for the stranger deciding whether to trust it.
961
961
  * /
@@ -968,7 +968,7 @@ export interface Engram {
968
968
  /**
969
969
  * / A guardian's own channel status (their URL is their secret — each guardian sees only theirs).
970
970
  */
971
- getGuardianAlertStatus: ActorMethod<[], Result_57>;
971
+ getGuardianAlertStatus: ActorMethod<[], Result_58>;
972
972
  /**
973
973
  * / The market this engram will accept signing requests from — `null` until the registry pushes
974
974
  * / one at spawn, which is why `requireMarket` refuses fleet-wide today.
@@ -1001,7 +1001,7 @@ export interface Engram {
1001
1001
  * / never renumbered: the next page starts at the last version returned plus one. Defaults
1002
1002
  * / return the whole history of any file a pre-FD engram could have held.
1003
1003
  */
1004
- getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]], Result_56>;
1004
+ getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]], Result_57>;
1005
1005
  /**
1006
1006
  * / PUBLIC: the epoch alone, and deliberately nothing else (rotation study D4). A `rotatedAt[]`
1007
1007
  * / history would be a public, fleet-enumerable feed of when each owner terminated a trust
@@ -1050,7 +1050,7 @@ export interface Engram {
1050
1050
  * / forever" — a claim about what this engram will DESTROY — and an empty guard list reads as
1051
1051
  * / "nothing is held back".
1052
1052
  */
1053
- getMemoryRetentionPolicy: ActorMethod<[], Result_55>;
1053
+ getMemoryRetentionPolicy: ActorMethod<[], Result_56>;
1054
1054
  /**
1055
1055
  * / The metrics reader this engram answers — `null` until the spawning registry names one.
1056
1056
  * /
@@ -1079,7 +1079,7 @@ export interface Engram {
1079
1079
  * / client (rule 4) and bought a masked answer nobody had asked for — the census could not even
1080
1080
  * / find a consumer that read the masked `0`. Behind a gate there is nobody to mask it from.
1081
1081
  */
1082
- getOwnerConsole: ActorMethod<[], Result_54>;
1082
+ getOwnerConsole: ActorMethod<[], Result_55>;
1083
1083
  /**
1084
1084
  * / Owner + agents only (agents need it to avoid writing protected paths).
1085
1085
  * /
@@ -1093,7 +1093,7 @@ export interface Engram {
1093
1093
  * / writing one — so a fabricated empty here does not merely misinform, it invites the write the
1094
1094
  * / list exists to prevent.
1095
1095
  */
1096
- getProtectedPaths: ActorMethod<[], Result_53>;
1096
+ getProtectedPaths: ActorMethod<[], Result_54>;
1097
1097
  /**
1098
1098
  * / Whether the metrics reader's read is answered — `true` from birth.
1099
1099
  * /
@@ -1106,7 +1106,7 @@ export interface Engram {
1106
1106
  * / payment signatures the balance carries above the floor before `signX402Payment` is refused by
1107
1107
  * / name. The same numbers the check uses, so Billing can say only what the engram enforces.
1108
1108
  */
1109
- getSigningFloor: ActorMethod<[], Result_52>;
1109
+ getSigningFloor: ActorMethod<[], Result_53>;
1110
1110
  /**
1111
1111
  * / The registry that spawned this engram, if it recorded one.
1112
1112
  * /
@@ -1127,7 +1127,7 @@ export interface Engram {
1127
1127
  * / A refusal names this method (`Gated.gatedResult`) rather than answering null/0 — a ceiling of
1128
1128
  * / "none" and a spend of 0 are both real answers, so a fabricated one would be read as fact.
1129
1129
  */
1130
- getSpendCeiling: ActorMethod<[], Result_51>;
1130
+ getSpendCeiling: ActorMethod<[], Result_52>;
1131
1131
  /**
1132
1132
  * / Read the caps in force for a caller.
1133
1133
  * /
@@ -1137,8 +1137,8 @@ export interface Engram {
1137
1137
  * / configuration, and publishing them would tell any caller exactly how large a signing request
1138
1138
  * / can be before it needs an approval nobody is watching for.
1139
1139
  */
1140
- getSpendPolicy: ActorMethod<[[] | [Principal]], Result_50>;
1141
- getStorageStats: ActorMethod<[], Result_49>;
1140
+ getSpendPolicy: ActorMethod<[[] | [Principal]], Result_51>;
1141
+ getStorageStats: ActorMethod<[], Result_50>;
1142
1142
  /**
1143
1143
  * / Timer arm-state. PUBLIC and deliberately so: these timers are self-arming to save cycles,
1144
1144
  * / and an optimisation nobody can verify is an optimisation nobody should trust. Cheap to read,
@@ -1163,6 +1163,10 @@ export interface Engram {
1163
1163
  * / because a persistent actor re-runs its init body BEFORE postupgrade restores stable sessions,
1164
1164
  * / so a predicate-gated arm would skip exactly the canisters that have live ones. The first tick
1165
1165
  * / disarms it. Still true minutes after an upgrade is a real bug — report it upstream.
1166
+ * / ⟨2026-10-07, beside the paragraph above⟩ The session sweep's interval is 300 seconds now (the
1167
+ * / owner's decision of that day; set in the actor body), so "one interval" is up to five minutes,
1168
+ * / and true five minutes after an upgrade is still expected. True ten minutes after, with no session
1169
+ * / open, is the bug.
1166
1170
  * / NOT the whole timer story. The hourly CYCLE timer — which also carries audit anchoring — is
1167
1171
  * / deliberately absent: it is a `transient let` armed unconditionally at init, so an "armed"
1168
1172
  * / boolean for it would read true forever and tell you nothing, exactly the false-positive the
@@ -1207,14 +1211,14 @@ export interface Engram {
1207
1211
  * / UPDATE, marked per L7: it awaits three ICRC-1 ledgers". It was marked in prose and invisible
1208
1212
  * / to any gate; the glyph is what `scripts/check-update-for-read.mjs` matches.
1209
1213
  */
1210
- getWalletBalances: ActorMethod<[], Result_48>;
1214
+ getWalletBalances: ActorMethod<[], Result_49>;
1211
1215
  /**
1212
1216
  * / Refusal reason preserved, and it is the clearest case of why a masked read is worse than no
1213
1217
  * / read: three empty strings with `configured = false` is a VALID-LOOKING answer meaning "this
1214
1218
  * / engram has no World ID configuration" — handed to a caller who merely lacks a grant. The
1215
1219
  * / fabrication is indistinguishable from the truth by construction.
1216
1220
  */
1217
- getWorldIdConfig: ActorMethod<[], Result_47>;
1221
+ getWorldIdConfig: ActorMethod<[], Result_48>;
1218
1222
  /**
1219
1223
  * / ⟨L7⟩ UPDATE, NOT QUERY: this awaits THREE system calls — `raw_rand()` for the nonce,
1220
1224
  * / `Call.signWithEcdsa` for the signature, and `worldIdRpPublicKey()` for the derived key. A
@@ -1225,7 +1229,7 @@ export interface Engram {
1225
1229
  * / the World Developer Portal. Short-lived (300s TTL, idkit-server's default) and single-purpose —
1226
1230
  * / it authorizes opening one verification request, nothing else.
1227
1231
  */
1228
- getWorldIdRpContext: ActorMethod<[], Result_46>;
1232
+ getWorldIdRpContext: ActorMethod<[], Result_47>;
1229
1233
  /**
1230
1234
  * / Owner-only: the EVM address derived from the engram's dedicated World ID RP signing key (the
1231
1235
  * / "worldid-rp" tECDSA path). Register THIS address as the rp_id's signer in the World Developer
@@ -1237,7 +1241,7 @@ export interface Engram {
1237
1241
  * / refusal — a state write, which a query cannot perform. So even if the key were cached this
1238
1242
  * / could not become a query without silently retiring its denial record (ADR-0002's class).
1239
1243
  */
1240
- getWorldIdRpSignerAddress: ActorMethod<[], Result_43>;
1244
+ getWorldIdRpSignerAddress: ActorMethod<[], Result_44>;
1241
1245
  /**
1242
1246
  * / The verified IDKitResult, verbatim, as World's /api/v4/verify accepted it — the re-checkable
1243
1247
  * / artifact behind verifiedHuman. Role-gated because it carries the NULLIFIER.
@@ -1258,7 +1262,7 @@ export interface Engram {
1258
1262
  * / canister does not serve. The tombstones below and at `about()` are historical and correct as
1259
1263
  * / written; this one was present tense, which is the difference that matters.⟩
1260
1264
  */
1261
- getWorldIdVerification: ActorMethod<[], Result_45>;
1265
+ getWorldIdVerification: ActorMethod<[], Result_46>;
1262
1266
  /**
1263
1267
  * / ⟨0.16.0, L1⟩ THE EMERGENCY FAMILY. Every refusal below is `#Refused` or `#NotFound`, and the
1264
1268
  * / absence of a `#Conflict` here is the point: these are the calls someone makes while something
@@ -1342,7 +1346,7 @@ export interface Engram {
1342
1346
  * / Owner-gated because it reports on custody posture, and answered as a Result so that a
1343
1347
  * / wrong-identity caller gets a refusal rather than a bare `false` that reads as "no address yet".
1344
1348
  */
1345
- isEvmAddressCached: ActorMethod<[], Result_44>;
1349
+ isEvmAddressCached: ActorMethod<[], Result_45>;
1346
1350
  /**
1347
1351
  * / Issue an OAuth authorization code. Called by an OAuth client's sign-in bridge
1348
1352
  * / (an `/auth/connector`-style route) after II authentication. The client then
@@ -1351,7 +1355,7 @@ export interface Engram {
1351
1355
  * /
1352
1356
  * / Owner-only: only the engram owner can authorize a Connector install.
1353
1357
  */
1354
- issueAuthCode: ActorMethod<[string, string, string, [] | [string]], Result_43>;
1358
+ issueAuthCode: ActorMethod<[string, string, string, [] | [string]], Result_44>;
1355
1359
  /**
1356
1360
  * / ⟨0.16.0⟩ `getCycleSnapshotSource` DELETED — folded into `CycleSnapshot.source`, one label per
1357
1361
  * / ROW. A single label for a whole ring misattributes every row recorded under the other source,
@@ -1367,7 +1371,7 @@ export interface Engram {
1367
1371
  * / DORMANT engram and corrupts retention math — a fabricated empty here does not just misinform a
1368
1372
  * / reader, it feeds a wrong number into a decision about destroying data.
1369
1373
  */
1370
- listActivitySnapshots: ActorMethod<[bigint, bigint], Result_42>;
1374
+ listActivitySnapshots: ActorMethod<[bigint, bigint], Result_43>;
1371
1375
  /**
1372
1376
  * / ⟨0.16.0⟩ THE PAGE EXEMPLAR. Trap → `#Refused`, bare array → `Result<Page<T>>` (L1 + L3).
1373
1377
  * /
@@ -1384,7 +1388,7 @@ export interface Engram {
1384
1388
  * / `withheld` is 0: this roster is owner-only in whole, so there is no partial-visibility case.
1385
1389
  * / A method that filters rows by caller sets it — see L1's row-level honesty rule.
1386
1390
  */
1387
- listAgents: ActorMethod<[bigint, bigint], Result_41>;
1391
+ listAgents: ActorMethod<[bigint, bigint], Result_42>;
1388
1392
  /**
1389
1393
  * / The GUARDIAN-audience projection of the agent roster — three fields, not the full record.
1390
1394
  * /
@@ -1398,7 +1402,7 @@ export interface Engram {
1398
1402
  * / guardian consults BEFORE REVOKING ONE. A fabricated empty here does not merely misinform —
1399
1403
  * / it tells someone acting under emergency powers that there is nothing to act on.
1400
1404
  */
1401
- listAgentsForGuardian: ActorMethod<[bigint, bigint], Result_40>;
1405
+ listAgentsForGuardian: ActorMethod<[bigint, bigint], Result_41>;
1402
1406
  /**
1403
1407
  * / Owner-only: rows carry caller, amount, operation and free-text rationale. The SDK omits it.
1404
1408
  * /
@@ -1412,7 +1416,7 @@ export interface Engram {
1412
1416
  * /
1413
1417
  * / Refusal reason preserved: `[]` reads as "nothing is awaiting the owner's decision".
1414
1418
  */
1415
- listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint], Result_28>;
1419
+ listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint], Result_29>;
1416
1420
  /**
1417
1421
  * / ⟨0.16.0⟩ `total` IS THE HEAD COUNTER, and on this method that is the entire point.
1418
1422
  * /
@@ -1434,7 +1438,7 @@ export interface Engram {
1434
1438
  * / WRONG: a reader who must see the whole record without being the owner or a guardian — the
1435
1439
  * / public certified head is the answer for integrity, and nothing else is.
1436
1440
  */
1437
- listAuditEntries: ActorMethod<[bigint, bigint], Result_23>;
1441
+ listAuditEntries: ActorMethod<[bigint, bigint], Result_24>;
1438
1442
  /**
1439
1443
  * / ⟨0.16.0, L1 + L3 — census-ruled⟩ THE TWO-MECHANISM EXCEPTION DISSOLVES.
1440
1444
  * /
@@ -1460,7 +1464,7 @@ export interface Engram {
1460
1464
  * / keeps its optional filter and applies it to the page, so no caller loses the ability to ask
1461
1465
  * / "backups of this database" — it stops being a thing the canister has to page around.
1462
1466
  */
1463
- listBackups: ActorMethod<[bigint, bigint], Result_39>;
1467
+ listBackups: ActorMethod<[bigint, bigint], Result_40>;
1464
1468
  /**
1465
1469
  * / List all bearer tokens — Active, Revoked, and Expired. Owner uses this in
1466
1470
  * / the dashboard to show installed Connectors (claude.ai, Claude Desktop, etc.).
@@ -1472,7 +1476,7 @@ export interface Engram {
1472
1476
  * / merely stopped being used is reported `#Expired`, not a stale `#Active`), so the page carries
1473
1477
  * / the same honesty the store gained on 2026-08-17.
1474
1478
  */
1475
- listBearerTokens: ActorMethod<[bigint, bigint], Result_38>;
1479
+ listBearerTokens: ActorMethod<[bigint, bigint], Result_39>;
1476
1480
  /**
1477
1481
  * / The condense checkpoints in the retained log at or above `startSeq`, oldest first.
1478
1482
  * /
@@ -1484,7 +1488,7 @@ export interface Engram {
1484
1488
  * / Owner-only like every other archive surface, and for the same structural reason: these rows
1485
1489
  * / carry the chain positions and roots of entries whose paths were inside the hash preimage.
1486
1490
  */
1487
- listCondenseCheckpoints: ActorMethod<[bigint, bigint], Result_37>;
1491
+ listCondenseCheckpoints: ActorMethod<[bigint, bigint], Result_38>;
1488
1492
  /**
1489
1493
  * / ⟨0.16.0⟩ `metrics()` DELETED — absorbed by `about()`.
1490
1494
  * /
@@ -1493,13 +1497,13 @@ export interface Engram {
1493
1497
  * / both and know which one owned each field. Every field here survives on `about()`, day-flooring
1494
1498
  * / included.
1495
1499
  */
1496
- listCycleSnapshots: ActorMethod<[bigint, bigint], Result_36>;
1500
+ listCycleSnapshots: ActorMethod<[bigint, bigint], Result_37>;
1497
1501
  /**
1498
1502
  * / Same `withheld` treatment as listMemoryFiles — the tombstone listing filtered reserved paths
1499
1503
  * / for non-owners just as silently, and a caller could not tell a filtered tombstone list from a
1500
1504
  * / complete one. Counted before slicing, so policy-hidden rows never blur into paging.
1501
1505
  */
1502
- listDeletedMemoryFiles: ActorMethod<[bigint, bigint], Result_35>;
1506
+ listDeletedMemoryFiles: ActorMethod<[bigint, bigint], Result_36>;
1503
1507
  /**
1504
1508
  * / The registered shapes — E3: encodeTypeString is the display artifact, verbatim.
1505
1509
  * / Stays on the engram under B1 (hybrid): EIP-712 signing is custody, and custody does not leave.
@@ -1508,7 +1512,7 @@ export interface Engram {
1508
1512
  * / AUTHORITY, which is not a thing to hand an unauthorized reader. The public trail of every
1509
1513
  * / registration remains the audit chain under getCertifiedAuditHead.
1510
1514
  */
1511
- listEip712Types: ActorMethod<[bigint, bigint], Result_34>;
1515
+ listEip712Types: ActorMethod<[bigint, bigint], Result_35>;
1512
1516
  /**
1513
1517
  * / Stays on the engram under B1 (hybrid): withdrawal custody does not leave.
1514
1518
  * /
@@ -1519,7 +1523,7 @@ export interface Engram {
1519
1523
  * / engram may withdraw nowhere", OR — worse — as "no allowlist is in force", which is the
1520
1524
  * / opposite security posture. It also erases any pending 24h activation from view.
1521
1525
  */
1522
- listEvmWithdrawDestinations: ActorMethod<[bigint, bigint], Result_33>;
1526
+ listEvmWithdrawDestinations: ActorMethod<[bigint, bigint], Result_34>;
1523
1527
  /**
1524
1528
  * / Accessible by owner and guardians.
1525
1529
  * /
@@ -1528,7 +1532,7 @@ export interface Engram {
1528
1532
  * / pause writes" — a claim about who can STOP it. A caller who cannot tell that from "you may not
1529
1533
  * / see the roster" has been told the engram is unguarded when it may be fully guarded.
1530
1534
  */
1531
- listGuardians: ActorMethod<[bigint, bigint], Result_32>;
1535
+ listGuardians: ActorMethod<[bigint, bigint], Result_33>;
1532
1536
  /**
1533
1537
  * / The export receipts in the retained log at or above `startSeq`, oldest first.
1534
1538
  * /
@@ -1546,7 +1550,7 @@ export interface Engram {
1546
1550
  * / Read `MemoryRouter.ReceiptPage` before reading `page.total` as a receipt count. It is not one;
1547
1551
  * / it is the chain's length, and the declaration says why.
1548
1552
  */
1549
- listMemoryExportReceipts: ActorMethod<[bigint, bigint], Result_31>;
1553
+ listMemoryExportReceipts: ActorMethod<[bigint, bigint], Result_32>;
1550
1554
  /**
1551
1555
  * / ⟨0.16.0⟩ THE `withheld` EXEMPLAR — L1 names this exact method as the defect it fixes.
1552
1556
  * /
@@ -1564,7 +1568,7 @@ export interface Engram {
1564
1568
  * / by POLICY, never rows merely off the end of this page — those are `total`'s job. Conflating
1565
1569
  * / the two would rebuild the ambiguity in a new place.
1566
1570
  */
1567
- listMemoryFiles: ActorMethod<[bigint, bigint], Result_30>;
1571
+ listMemoryFiles: ActorMethod<[bigint, bigint], Result_31>;
1568
1572
  /**
1569
1573
  * / One page of the memory log, seq-ordered, optionally narrowed to one author.
1570
1574
  * /
@@ -1591,7 +1595,7 @@ export interface Engram {
1591
1595
  * / with the disclosures that make the page verifiable — the hidden-bound defect the census itself
1592
1596
  * / names on previewCondense's row.
1593
1597
  */
1594
- listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]], Result_29>;
1598
+ listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]], Result_30>;
1595
1599
  /**
1596
1600
  * / The caller's OWN spend-approval requests. ⟨0.16.0, L1 + L3 — fixed 2026-08-18⟩
1597
1601
  * /
@@ -1610,7 +1614,7 @@ export interface Engram {
1610
1614
  * / (The unbounded MAP is filed separately — pruning an approval record destroys evidence of what
1611
1615
  * / was asked, which is a retention ruling rather than a shape fix.)
1612
1616
  */
1613
- listMyApprovalRequests: ActorMethod<[bigint, bigint], Result_28>;
1617
+ listMyApprovalRequests: ActorMethod<[bigint, bigint], Result_29>;
1614
1618
  /**
1615
1619
  * / The payer's own sessions, live ones first. PAYER-SCOPED: a caller sees only their own, which
1616
1620
  * / is why this needs no role — a session id is not a secret from the person who paid for it.
@@ -1621,7 +1625,7 @@ export interface Engram {
1621
1625
  * / client would break on — the market paged its own pending withdrawals before its cut for the
1622
1626
  * / same reason. The order is the order sessions were opened.
1623
1627
  */
1624
- listMySessions: ActorMethod<[bigint, bigint], Result_27>;
1628
+ listMySessions: ActorMethod<[bigint, bigint], Result_28>;
1625
1629
  /**
1626
1630
  * /
1627
1631
  * / ⟨0.16.0, L3⟩ Paged and enveloped like every other `list*`, and the envelope here is uniformity
@@ -1636,7 +1640,7 @@ export interface Engram {
1636
1640
  * / IT recorded, so this chain is what a caller composes with when currency matters — which it
1637
1641
  * / cannot do if it needs a role here.
1638
1642
  */
1639
- listOwnershipTransfers: ActorMethod<[bigint, bigint], Result_26>;
1643
+ listOwnershipTransfers: ActorMethod<[bigint, bigint], Result_27>;
1640
1644
  /**
1641
1645
  * / ⟨2026-09-29, the platform's question from the build review⟩ OWNER-ONLY: how many payment
1642
1646
  * / signatures each agent has obtained today, and the daily limit (200, `PaymentSignCap`). The
@@ -1654,7 +1658,7 @@ export interface Engram {
1654
1658
  * / engram enforces for it — beside the agents, never a row among them
1655
1659
  * / (`PaymentSignCap.marketplaceRow`). Null when no marketplace is set.
1656
1660
  */
1657
- listPaymentSignatureCounts: ActorMethod<[bigint, bigint], Result_25>;
1661
+ listPaymentSignatureCounts: ActorMethod<[bigint, bigint], Result_26>;
1658
1662
  /**
1659
1663
  * / Agent records removed by a reset. Each row is a NAMED record with the fields `principal`,
1660
1664
  * / `name`, `registeredAt` and `purgedAt` — read them BY NAME, never by position.
@@ -1696,7 +1700,7 @@ export interface Engram {
1696
1700
  * / earlier ending, or the reset) — the facts `resyncAgentEdges` re-sends. The stored rows are
1697
1701
  * / served as they are.
1698
1702
  */
1699
- listPurgedAgents: ActorMethod<[bigint, bigint], Result_24>;
1703
+ listPurgedAgents: ActorMethod<[bigint, bigint], Result_25>;
1700
1704
  /**
1701
1705
  * / ⟨0.16.0⟩ ONE ACCESSOR, folding `readReadLog` and `getDenialLog` — and the fold only became
1702
1706
  * / safe because of a change made earlier in this same leg.
@@ -1759,7 +1763,7 @@ export interface Engram {
1759
1763
  * / on the chained record — the same `RecordView` filter, and `withheld` counts what it removed
1760
1764
  * / together with what `successFilter` removed. WHAT WOULD MAKE THIS WRONG: see `listAuditEntries`.
1761
1765
  */
1762
- listReadLog: ActorMethod<[[] | [boolean], bigint, bigint], Result_23>;
1766
+ listReadLog: ActorMethod<[[] | [boolean], bigint, bigint], Result_24>;
1763
1767
  /**
1764
1768
  * / Same visibility as listAuditEntries: the owner, this engram's agents, and ACTIVE guardians
1765
1769
  * / see disputes. An unauthorized read REFUSES — it does not return an empty list, because an
@@ -1776,7 +1780,7 @@ export interface Engram {
1776
1780
  * / WOULD MAKE THIS WRONG: a ruling that an agent may see the disputes of its own writes; this would
1777
1781
  * / then have to look up each disputed version's writer, which it does not do today.
1778
1782
  */
1779
- listRepudiations: ActorMethod<[bigint, bigint], Result_22>;
1783
+ listRepudiations: ActorMethod<[bigint, bigint], Result_23>;
1780
1784
  /**
1781
1785
  * / Owner: advance the review cursor — "I have seen everything up to and including uptoAuditId"
1782
1786
  * / (null = everything at the current head). Bounded so the attestation can never cover entries
@@ -1827,8 +1831,8 @@ export interface Engram {
1827
1831
  * / WHAT WOULD MAKE THIS WRONG: an await added between `ChildAllowance.take` and the registry call; the
1828
1832
  * / registry's `CHILD_MIN_ATTACHED_CYCLES` moving without `CHILD_ATTACH_CYCLES`.
1829
1833
  */
1830
- openChildEngram: ActorMethod<[], Result_21>;
1831
- openSession: ActorMethod<[SessionConfig, PaymentSignature], Result_20>;
1834
+ openChildEngram: ActorMethod<[], Result_22>;
1835
+ openSession: ActorMethod<[SessionConfig, PaymentSignature], Result_21>;
1832
1836
  /**
1833
1837
  * / Withdraw tokens to the owner's principal. This is the ONLY way to
1834
1838
  * / move tokens out of the engram to an external address, and the
@@ -1893,7 +1897,7 @@ export interface Engram {
1893
1897
  * / engagement on the agent's track record, and what to do. Before, the reply was `#Ok` with the
1894
1898
  * / record alone even when the registry had refused the start, so the agent was never told.
1895
1899
  */
1896
- pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }], Result_19>;
1900
+ pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }], Result_20>;
1897
1901
  /**
1898
1902
  * / ⟨0.16.0, L2.2 — renamed from `guardianPauseWrites`⟩ Same correction as freezePayments above:
1899
1903
  * / owner-or-guardian, and `resumeWrites` never carried the prefix either.
@@ -1919,7 +1923,7 @@ export interface Engram {
1919
1923
  * / `unlocked` is the export-receipt gate ONLY. It is not a promise the condense will land: the
1920
1924
  * / history-budget delta is checked at commit time and can still refuse a short prefix.
1921
1925
  */
1922
- previewCondense: ActorMethod<[bigint], Result_18>;
1926
+ previewCondense: ActorMethod<[bigint], Result_19>;
1923
1927
  /**
1924
1928
  * / A quote for a session this caller has not opened and is not committed to — the intent a
1925
1929
  * / buyer signs against. Pure dry run, no state, no funds.
@@ -1983,7 +1987,7 @@ export interface Engram {
1983
1987
  * / path, each with its own Result — a refused RESERVED path sits beside a readable one, which is
1984
1988
  * / a genuine per-path fact.
1985
1989
  */
1986
- readMemoryBatch: ActorMethod<[Array<string>], Result_17>;
1990
+ readMemoryBatch: ActorMethod<[Array<string>], Result_18>;
1987
1991
  /**
1988
1992
  * / ⟨0.16.0⟩ `getMemoryRetentionGuards` DELETED — folded into `getMemoryRetentionPolicy` above.
1989
1993
  * / It was the second L2.1 array-returning `get*`, and separating it from the policy it modifies
@@ -1995,7 +1999,7 @@ export interface Engram {
1995
1999
  * / see it cannot know whether it has the whole range, which is how silent truncation gets
1996
2000
  * / reintroduced. Loop while `more` is true, advancing by the bytes actually returned.
1997
2001
  */
1998
- readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]], Result_16>;
2002
+ readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]], Result_17>;
1999
2003
  /**
2000
2004
  * / The escrow exit for a session whose settle cannot pay.
2001
2005
  * /
@@ -2051,8 +2055,16 @@ export interface Engram {
2051
2055
  * / the transfer pays its own fee from the escrow. A session still reads `closing` only when its
2052
2056
  * / close trapped after one of its awaits, or an earlier version left it there, and of that one the
2053
2057
  * / line above still holds.
2058
+ * /
2059
+ * / ⟨2026-10-07, the owner's decision of that day⟩ WHAT IT ANSWERS: what came back. `amountE6` is
2060
+ * / the ckUSDC base units transferred to the payer's own account (the amount asked, capped at the
2061
+ * / session's unconsumed deposit; the transfer's fee comes out of the escrow on top), and
2062
+ * / `blockIndex` is the ledger block of that transfer. Until this date it answered a bare `nat` that
2063
+ * / was the block index alone, which read as the amount. If the session's record is removed before
2064
+ * / the amount can be read back — a session closed in the same moment as the recovery and cleaned up
2065
+ * / during its transfer — it answers `#Other` naming the block, never a guessed amount.
2054
2066
  */
2055
- recoverEscrow: ActorMethod<[string, bigint], Result_8>;
2067
+ recoverEscrow: ActorMethod<[string, bigint], Result_16>;
2056
2068
  /**
2057
2069
  * / ⟨0.16.0, L1⟩ A REDEMPTION PATH, where the arm choice is a disclosure decision.
2058
2070
  * /
@@ -2809,7 +2821,10 @@ export interface Engram {
2809
2821
  * / The metrics reader the registry designated reads this engram's paid-rail health, in one call:
2810
2822
  * / the balance and the line it must stay above, the memory that line is computed from, the sessions
2811
2823
  * / by state, the escrow open sessions hold, the vouchers spent and the refused ones
2812
- * / (`RailHealth.RailHealth` says what each is, and what is never in it).
2824
+ * / (`RailHealth.RailHealth` says what each is, and what is never in it). ⟨2026-10-08, ic402 2.18.0⟩
2825
+ * / And `refundOwed`: the closed sessions whose refund failed and whose payer has not yet recovered
2826
+ * / it — counted from the close, never read from the ledger; `opt` from birth, and null (an engram
2827
+ * / that does not count) is never 0.
2813
2828
  * /
2814
2829
  * / CALLER: the metrics reader the spawning registry named on this engram (`metricsReaderId`), and
2815
2830
  * / nobody else — the owner reads its balance through `getOwnerConsole`. Answered only while the
@@ -3131,6 +3146,10 @@ export interface Engram {
3131
3146
  */
3132
3147
  writeMemory: ActorMethod<[string, Uint8Array | number[]], Result>;
3133
3148
  }
3149
+ export interface EngramEscrowRecovery {
3150
+ amountE6: bigint;
3151
+ blockIndex: bigint;
3152
+ }
3134
3153
  export interface EngramSessionState {
3135
3154
  id: string;
3136
3155
  status: EngramSessionStatus;
@@ -3558,6 +3577,7 @@ export interface RailHealth {
3558
3577
  paidVouchersConsumed: bigint;
3559
3578
  escrowOpen: [] | [bigint];
3560
3579
  sessionsOpen: bigint;
3580
+ refundOwed: [] | [bigint];
3561
3581
  sessionsClosing: bigint;
3562
3582
  cycles: bigint;
3563
3583
  sendHeadroom: bigint;
@@ -3609,66 +3629,67 @@ export type Result_12 = { Ok: SessionContext } | { Err: Error };
3609
3629
  export type Result_13 = { Ok: ResyncReport } | { Err: Error };
3610
3630
  export type Result_14 = { Ok: ResetReport } | { Err: Error };
3611
3631
  export type Result_15 = { Ok: GuardianRecord } | { Err: Error };
3612
- export type Result_16 = { Ok: MemoryByteChunk } | { Err: Error };
3613
- export type Result_17 = { Ok: Array<BatchReadItem> } | { Err: Error };
3614
- export type Result_18 = { Ok: CondensePreview } | { Err: Error };
3615
- export type Result_19 = { Ok: Pairing } | { Err: Error };
3632
+ export type Result_16 = { Ok: EngramEscrowRecovery } | { Err: Error };
3633
+ export type Result_17 = { Ok: MemoryByteChunk } | { Err: Error };
3634
+ export type Result_18 = { Ok: Array<BatchReadItem> } | { Err: Error };
3635
+ export type Result_19 = { Ok: CondensePreview } | { Err: Error };
3616
3636
  export type Result_2 = { Ok: ControlHandover } | { Err: Error };
3617
- export type Result_20 = { Ok: EngramSessionState } | { Err: Error };
3618
- export type Result_21 = { Ok: Principal } | { Err: Error };
3619
- export type Result_22 = { Ok: Page } | { Err: Error };
3620
- export type Result_23 = { Ok: Page_1 } | { Err: Error };
3621
- export type Result_24 = { Ok: Page_2 } | { Err: Error };
3622
- export type Result_25 = { Ok: PaymentSignatureCounts } | { Err: Error };
3623
- export type Result_26 = { Ok: Page_4 } | { Err: Error };
3624
- export type Result_27 = { Ok: Page_5 } | { Err: Error };
3625
- export type Result_28 = { Ok: Page_6 } | { Err: Error };
3626
- export type Result_29 = { Ok: LogPage } | { Err: Error };
3637
+ export type Result_20 = { Ok: Pairing } | { Err: Error };
3638
+ export type Result_21 = { Ok: EngramSessionState } | { Err: Error };
3639
+ export type Result_22 = { Ok: Principal } | { Err: Error };
3640
+ export type Result_23 = { Ok: Page } | { Err: Error };
3641
+ export type Result_24 = { Ok: Page_1 } | { Err: Error };
3642
+ export type Result_25 = { Ok: Page_2 } | { Err: Error };
3643
+ export type Result_26 = { Ok: PaymentSignatureCounts } | { Err: Error };
3644
+ export type Result_27 = { Ok: Page_4 } | { Err: Error };
3645
+ export type Result_28 = { Ok: Page_5 } | { Err: Error };
3646
+ export type Result_29 = { Ok: Page_6 } | { Err: Error };
3627
3647
  export type Result_3 = { Ok: X402SignOutcome } | { Err: Error };
3628
- export type Result_30 = { Ok: Page_8 } | { Err: Error };
3629
- export type Result_31 = { Ok: ReceiptPage } | { Err: Error };
3630
- export type Result_32 = { Ok: Page_10 } | { Err: Error };
3631
- export type Result_33 = { Ok: Page_11 } | { Err: Error };
3632
- export type Result_34 = { Ok: Page_12 } | { Err: Error };
3633
- export type Result_35 = { Ok: Page_13 } | { Err: Error };
3634
- export type Result_36 = { Ok: Page_14 } | { Err: Error };
3635
- export type Result_37 = { Ok: CheckpointPage } | { Err: Error };
3636
- export type Result_38 = { Ok: Page_16 } | { Err: Error };
3637
- export type Result_39 = { Ok: Page_17 } | { Err: Error };
3648
+ export type Result_30 = { Ok: LogPage } | { Err: Error };
3649
+ export type Result_31 = { Ok: Page_8 } | { Err: Error };
3650
+ export type Result_32 = { Ok: ReceiptPage } | { Err: Error };
3651
+ export type Result_33 = { Ok: Page_10 } | { Err: Error };
3652
+ export type Result_34 = { Ok: Page_11 } | { Err: Error };
3653
+ export type Result_35 = { Ok: Page_12 } | { Err: Error };
3654
+ export type Result_36 = { Ok: Page_13 } | { Err: Error };
3655
+ export type Result_37 = { Ok: Page_14 } | { Err: Error };
3656
+ export type Result_38 = { Ok: CheckpointPage } | { Err: Error };
3657
+ export type Result_39 = { Ok: Page_16 } | { Err: Error };
3638
3658
  export type Result_4 = { Ok: Eip712SignatureOut } | { Err: Error };
3639
- export type Result_40 = { Ok: Page_18 } | { Err: Error };
3640
- export type Result_41 = { Ok: Page_19 } | { Err: Error };
3641
- export type Result_42 = { Ok: Page_20 } | { Err: Error };
3642
- export type Result_43 = { Ok: string } | { Err: Error };
3643
- export type Result_44 = { Ok: boolean } | { Err: Error };
3644
- export type Result_45 = { Ok: [] | [string] } | { Err: Error };
3645
- export type Result_46 = { Ok: WorldIdRpContext } | { Err: Error };
3646
- export type Result_47 = { Ok: WorldIdConfig } | { Err: Error };
3647
- export type Result_48 = { Ok: WalletBalances } | { Err: Error };
3648
- export type Result_49 = { Ok: StorageReport } | { Err: Error };
3659
+ export type Result_40 = { Ok: Page_17 } | { Err: Error };
3660
+ export type Result_41 = { Ok: Page_18 } | { Err: Error };
3661
+ export type Result_42 = { Ok: Page_19 } | { Err: Error };
3662
+ export type Result_43 = { Ok: Page_20 } | { Err: Error };
3663
+ export type Result_44 = { Ok: string } | { Err: Error };
3664
+ export type Result_45 = { Ok: boolean } | { Err: Error };
3665
+ export type Result_46 = { Ok: [] | [string] } | { Err: Error };
3666
+ export type Result_47 = { Ok: WorldIdRpContext } | { Err: Error };
3667
+ export type Result_48 = { Ok: WorldIdConfig } | { Err: Error };
3668
+ export type Result_49 = { Ok: WalletBalances } | { Err: Error };
3649
3669
  export type Result_5 = { Ok: SignatureCounts } | { Err: Error };
3650
- export type Result_50 = { Ok: SpendingPolicy } | { Err: Error };
3651
- export type Result_51 = { Ok: SpendCeiling } | { Err: Error };
3652
- export type Result_52 = { Ok: SigningFloorStatus } | { Err: Error };
3653
- export type Result_53 = { Ok: { paths: Array<string> } } | { Err: Error };
3654
- export type Result_54 = { Ok: OwnerConsole } | { Err: Error };
3655
- export type Result_55 = { Ok: MemoryRetentionPolicy } | { Err: Error };
3656
- export type Result_56 = { Ok: MemoryHistory } | { Err: Error };
3657
- export type Result_57 = { Ok: AlertStatus } | { Err: Error };
3658
- export type Result_58 = { Ok: EvmAddresses } | { Err: Error };
3659
- export type Result_59 = { Ok: Uint8Array | number[] } | { Err: Error };
3670
+ export type Result_50 = { Ok: StorageReport } | { Err: Error };
3671
+ export type Result_51 = { Ok: SpendingPolicy } | { Err: Error };
3672
+ export type Result_52 = { Ok: SpendCeiling } | { Err: Error };
3673
+ export type Result_53 = { Ok: SigningFloorStatus } | { Err: Error };
3674
+ export type Result_54 = { Ok: { paths: Array<string> } } | { Err: Error };
3675
+ export type Result_55 = { Ok: OwnerConsole } | { Err: Error };
3676
+ export type Result_56 = { Ok: MemoryRetentionPolicy } | { Err: Error };
3677
+ export type Result_57 = { Ok: MemoryHistory } | { Err: Error };
3678
+ export type Result_58 = { Ok: AlertStatus } | { Err: Error };
3679
+ export type Result_59 = { Ok: EvmAddresses } | { Err: Error };
3660
3680
  export type Result_6 = { Ok: RailHealth } | { Err: Error };
3661
- export type Result_60 = { Ok: ChildOpening } | { Err: Error };
3662
- export type Result_61 = { Ok: ChildAllowanceRow } | { Err: Error };
3663
- export type Result_62 = { Ok: BackupMetadata } | { Err: Error };
3664
- export type Result_63 = { Ok: AgentWriteReview } | { Err: Error };
3665
- export type Result_64 = { Ok: Page_21 } | { Err: Error };
3666
- export type Result_66 = { Ok: MemoryRangeExport } | { Err: Error };
3667
- export type Result_67 = { Ok: CondenseResult } | { Err: Error };
3668
- export type Result_68 = { Ok: { activatesAtNs: bigint } } | { Err: Error };
3669
- export type Result_69 = { Ok: Eip712Registration } | { Err: Error };
3681
+ export type Result_60 = { Ok: Uint8Array | number[] } | { Err: Error };
3682
+ export type Result_61 = { Ok: ChildOpening } | { Err: Error };
3683
+ export type Result_62 = { Ok: ChildAllowanceRow } | { Err: Error };
3684
+ export type Result_63 = { Ok: BackupMetadata } | { Err: Error };
3685
+ export type Result_64 = { Ok: AgentWriteReview } | { Err: Error };
3686
+ export type Result_65 = { Ok: Page_21 } | { Err: Error };
3687
+ export type Result_67 = { Ok: MemoryRangeExport } | { Err: Error };
3688
+ export type Result_68 = { Ok: CondenseResult } | { Err: Error };
3689
+ export type Result_69 = { Ok: { activatesAtNs: bigint } } | { Err: Error };
3670
3690
  export type Result_7 = { Ok: Array<Seat> } | { Err: Error };
3671
- export type Result_70 = { Ok: AgentRecord } | { Err: Error };
3691
+ export type Result_70 = { Ok: Eip712Registration } | { Err: Error };
3692
+ export type Result_71 = { Ok: AgentRecord } | { Err: Error };
3672
3693
  export type Result_8 = { Ok: bigint } | { Err: Error };
3673
3694
  export type Result_9 = { Ok: SignedTransaction } | { Err: Error };
3674
3695
  export interface ResyncReport {