@engramx/idl 0.16.0-rc.20 → 0.16.0-rc.22
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/dist/engram.did +536 -193
- package/dist/engram.idl.d.ts +545 -193
- package/dist/engram.idl.js +259 -194
- package/dist/registry.did +214 -70
- package/dist/registry.idl.d.ts +204 -72
- package/dist/registry.idl.js +63 -22
- package/package.json +1 -1
package/dist/engram.idl.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export interface AgentSpendRow {
|
|
|
104
104
|
}
|
|
105
105
|
export interface AgentSpendToday {
|
|
106
106
|
dayStartNs: bigint;
|
|
107
|
-
agents:
|
|
107
|
+
agents: Page_24;
|
|
108
108
|
}
|
|
109
109
|
export type AgentStatus = { Active: null } | { Resigned: null } | { Revoked: null };
|
|
110
110
|
export interface AgentWriteReview {
|
|
@@ -270,7 +270,7 @@ export interface CertifiedAuditHead {
|
|
|
270
270
|
}
|
|
271
271
|
export interface CheckpointPage {
|
|
272
272
|
firstAvailableSeq: bigint;
|
|
273
|
-
page:
|
|
273
|
+
page: Page_19;
|
|
274
274
|
scannedThroughSeq: bigint;
|
|
275
275
|
}
|
|
276
276
|
export interface ChildAllowanceRow {
|
|
@@ -413,7 +413,15 @@ export interface Engram {
|
|
|
413
413
|
* / test/key-replacement.test.mo runs it; this body names no roster gate, because the caller holds
|
|
414
414
|
* / no role here until the move.
|
|
415
415
|
*/
|
|
416
|
-
acceptAgentKeyNomination: ActorMethod<[Principal],
|
|
416
|
+
acceptAgentKeyNomination: ActorMethod<[Principal], Result_89>;
|
|
417
|
+
/**
|
|
418
|
+
* / The person the owner asked again ACCEPTS: they become this engram's sign-in, and the sealed copy
|
|
419
|
+
* / that came with the ask becomes the engram's (sealed for them). Until this call they have no power
|
|
420
|
+
* / at all. Callable only by that person while the ask waits; refused (as at birth) if they are now
|
|
421
|
+
* / an agent or a guardian here.
|
|
422
|
+
* / Named caller: an owner console — "accept" on a waiting ask, signed in as the person asked.
|
|
423
|
+
*/
|
|
424
|
+
acceptSignIn: ActorMethod<[], Result_2>;
|
|
417
425
|
/**
|
|
418
426
|
* / Consensus transform for the alert webhook outcall: collapse the response to status-only so
|
|
419
427
|
* / replicas agree regardless of response headers/body (we only care that the POST landed 2xx).
|
|
@@ -446,7 +454,7 @@ export interface Engram {
|
|
|
446
454
|
* / account name). The action must be registered: a destination list belongs to an action, and a
|
|
447
455
|
* / list for no action would be a value nothing checks. The caller is the owner's app.
|
|
448
456
|
*/
|
|
449
|
-
addEip712Destination: ActorMethod<[Uint8Array | number[], string],
|
|
457
|
+
addEip712Destination: ActorMethod<[Uint8Array | number[], string], Result_11>;
|
|
450
458
|
/**
|
|
451
459
|
* / Register a typed-data shape as signable. Owner-only, freeze-gated (a registration is a grant
|
|
452
460
|
* / of FUTURE authority — a frozen engram must not be able to widen what it can sign), and the
|
|
@@ -463,6 +471,14 @@ export interface Engram {
|
|
|
463
471
|
* / `eip712SignFor` before the cap reservation. Before this, a withdrawal registered as `#standard`
|
|
464
472
|
* / needed no webhook, no guardian and no destination field, waited one hour, and signed to any
|
|
465
473
|
* / address. Intrinsic checks still come first and the watchers last (the 2026-08-06 re-ordering).
|
|
474
|
+
* /
|
|
475
|
+
* / ⟨2026-11-02, the child build's stage 5⟩ In an engram opened through another, after the spec's own
|
|
476
|
+
* / checks: the venue actions that move money or control to another account are refused by name
|
|
477
|
+
* / (`HyperliquidTransaction:` `UsdSend`, `SpotSend`, `SendAsset`, `SendToEvmWithData`,
|
|
478
|
+
* / `ConvertToMultiSigUser`, `ApproveBuilderFee`, `TokenDelegate` — `#Refused`), and
|
|
479
|
+
* / `HyperliquidTransaction:Withdraw` registers only with a must-equal rule on `destination` naming this
|
|
480
|
+
* / engram's own pay address (`#Refused` otherwise; `#Conflict` while the pay address has not been
|
|
481
|
+
* / derived — call `getEvmAddress` first). A first engram is unchanged.
|
|
466
482
|
*/
|
|
467
483
|
addEip712Type: ActorMethod<
|
|
468
484
|
[
|
|
@@ -481,7 +497,7 @@ export interface Engram {
|
|
|
481
497
|
ackIrrevocable: boolean;
|
|
482
498
|
},
|
|
483
499
|
],
|
|
484
|
-
|
|
500
|
+
Result_87
|
|
485
501
|
>;
|
|
486
502
|
/**
|
|
487
503
|
* / ⟨0.16.0, L1⟩ THE ROLE-CONFLICT ARM, and why three refusals here are not the same refusal.
|
|
@@ -504,7 +520,19 @@ export interface Engram {
|
|
|
504
520
|
* / holding a line break are `#Invalid`; an id past the head is `#NotFound`; nothing is recorded
|
|
505
521
|
* / on any refusal.
|
|
506
522
|
*/
|
|
507
|
-
addRecordNote: ActorMethod<[bigint, string],
|
|
523
|
+
addRecordNote: ActorMethod<[bigint, string], Result_15>;
|
|
524
|
+
/**
|
|
525
|
+
* / List a seller: from 24 hours after this call, x402 may pay `payTo` up to `perDayCapE6` a UTC day
|
|
526
|
+
* / (minor units of a six-decimal stablecoin — 1_000_000 is $1.00) without an approval, and a payment
|
|
527
|
+
* / to it no longer counts against the engram-wide ceiling or the paying agent's own limits. Above the
|
|
528
|
+
* / cap a payment goes to the approval queue like any other. `isPayout` marks it as where this engram
|
|
529
|
+
* / pays out (the same row, its own cap). The sign-in only, in an engram opened through another; the
|
|
530
|
+
* / owner in a first engram. Refused while payments are frozen, for a malformed or already-listed
|
|
531
|
+
* / address, a cap of 0, and past `Sellers.MAX_SELLERS` rows. Answers when the row starts to count.
|
|
532
|
+
* / Named callers: an owner console's seller list for an engram (signed in as its sign-in, for one
|
|
533
|
+
* / opened through another), and the owner kit.
|
|
534
|
+
*/
|
|
535
|
+
addSeller: ActorMethod<[string, bigint, boolean], Result_11>;
|
|
508
536
|
/**
|
|
509
537
|
* / Returns the write RECEIPT, not just the version.
|
|
510
538
|
* /
|
|
@@ -539,7 +567,7 @@ export interface Engram {
|
|
|
539
567
|
* / is exactly what a guardian pause exists to hold. No action alert is raised: the operation is
|
|
540
568
|
* / owner-initiated, owner-only, and already chained into the audit log.
|
|
541
569
|
*/
|
|
542
|
-
applyCondense: ActorMethod<[bigint],
|
|
570
|
+
applyCondense: ActorMethod<[bigint], Result_85>;
|
|
543
571
|
/**
|
|
544
572
|
* / Owner-only: activate a guardian who has registered against an invite.
|
|
545
573
|
* /
|
|
@@ -574,6 +602,18 @@ export interface Engram {
|
|
|
574
602
|
* / "not pending" is the one refusal here an owner acts on differently depending on which it is.
|
|
575
603
|
*/
|
|
576
604
|
approveRequest: ActorMethod<[string], Result_2>;
|
|
605
|
+
/**
|
|
606
|
+
* / The OWNER asks the person who last declined to be this engram's sign-in again. No principal
|
|
607
|
+
* / argument: the ask goes to `signInDeclinedBy` alone, so the key file can never seat a sign-in of
|
|
608
|
+
* / its choosing — re-asking the person who already said no gives a thief nothing. `sealed` is the
|
|
609
|
+
* / owner's key sealed by the kit for that person; it is stored with the ask, inert, and becomes the
|
|
610
|
+
* / engram's sealed copy only if they accept. Refused in a first engram, while a sign-in is in place,
|
|
611
|
+
* / when nobody ever declined (an engram opened without a sign-in has nobody to ask, for life), while
|
|
612
|
+
* / an ask already waits, within 7 days of the last decline (`OwnerSignIn.askRefusal`), and when the
|
|
613
|
+
* / person has since become an agent or a guardian here. The sign-in and the person asked are refused.
|
|
614
|
+
* / Named caller: the owner kit, signed by the agent's lasting key (it seals the key for that person).
|
|
615
|
+
*/
|
|
616
|
+
askSignInAgain: ActorMethod<[Uint8Array | number[]], Result_2>;
|
|
577
617
|
/**
|
|
578
618
|
* / Discard a backup started by `backupInit` and never finalized. The way out of a failed upload,
|
|
579
619
|
* / and the reason a stalled one need not occupy space indefinitely. Same gate as the rest of the
|
|
@@ -619,7 +659,7 @@ export interface Engram {
|
|
|
619
659
|
* /
|
|
620
660
|
* / The write half also refuses while writes are PAUSED.
|
|
621
661
|
*/
|
|
622
|
-
backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]],
|
|
662
|
+
backupInit: ActorMethod<[string, BackupType, [] | [string], string, [] | [string]], Result_55>;
|
|
623
663
|
/**
|
|
624
664
|
* / Read one chunk of a finalized backup, by index.
|
|
625
665
|
* /
|
|
@@ -627,7 +667,7 @@ export interface Engram {
|
|
|
627
667
|
* / `canAppendMemory`. Holding one says nothing about the other, deliberately: taking a backup and
|
|
628
668
|
* / carrying it away are different authorities.
|
|
629
669
|
*/
|
|
630
|
-
backupPullChunk: ActorMethod<[string, bigint],
|
|
670
|
+
backupPullChunk: ActorMethod<[string, bigint], Result_72>;
|
|
631
671
|
backupPushChunk: ActorMethod<[string, bigint, Uint8Array | number[]], Result_2>;
|
|
632
672
|
/**
|
|
633
673
|
* / The OWNER cancels an agent's pending key nomination; the agent keeps its current key. Refused
|
|
@@ -665,7 +705,7 @@ export interface Engram {
|
|
|
665
705
|
* / pair — e6 base units of the token named first. A name only: Candid passes arguments by
|
|
666
706
|
* / position, so nothing on the wire moved.
|
|
667
707
|
*/
|
|
668
|
-
convertEarningsToCycles: ActorMethod<[string, bigint],
|
|
708
|
+
convertEarningsToCycles: ActorMethod<[string, bigint], Result_15>;
|
|
669
709
|
/**
|
|
670
710
|
* / Owner-only: mint a single-use invite code an agent redeems with `pairAgent`.
|
|
671
711
|
* /
|
|
@@ -695,7 +735,7 @@ export interface Engram {
|
|
|
695
735
|
* / ⟨2026-10-29, review F7⟩ A name the owner gives meets the rule `renameAgent` applies: a line break
|
|
696
736
|
* / or another control character is `#Invalid` (`People.nameRefusal`), as a rename to it would be.
|
|
697
737
|
*/
|
|
698
|
-
createAgentInvite: ActorMethod<[string, AgentPermissions],
|
|
738
|
+
createAgentInvite: ActorMethod<[string, AgentPermissions], Result_55>;
|
|
699
739
|
/**
|
|
700
740
|
* / Owner-only: mint an invite for a GUARDIAN — an independent check on agents, not a
|
|
701
741
|
* / co-owner and not a recovery agent.
|
|
@@ -719,7 +759,24 @@ export interface Engram {
|
|
|
719
759
|
* / So an invite that fails to redeem for that reason is not a bad code. The rule exists because
|
|
720
760
|
* / a check must be independent of the thing it checks.
|
|
721
761
|
*/
|
|
722
|
-
createGuardianInvite: ActorMethod<[string, GuardianPermissions],
|
|
762
|
+
createGuardianInvite: ActorMethod<[string, GuardianPermissions], Result_55>;
|
|
763
|
+
/**
|
|
764
|
+
* / The sign-in GIVES ITSELF UP, or the person the owner asked again says no. ⟨the owner's ruling "1
|
|
765
|
+
* / yes, but the child can ask again" — the child build's Challenge C3.1: whoever the kit names cannot
|
|
766
|
+
* / otherwise refuse a seat they never agreed to⟩
|
|
767
|
+
* / · as the sign-in: the slot empties, the sealed copy of the owner's key is deleted (nobody may
|
|
768
|
+
* / hold a copy for a seat that is gone), and the caller is recorded as the one who declined, with
|
|
769
|
+
* / the time. The engram keeps its small limits; the owner may ask this person again in 7 days.
|
|
770
|
+
* / Listed sellers stop counting at once (a raise waiting in them too): the rows are kept, and
|
|
771
|
+
* / count again only if this person accepts a re-ask (`Sellers.inForce`).
|
|
772
|
+
* / · as the person a waiting ask goes to: the ask and the copy that came with it are dropped, and
|
|
773
|
+
* / the decline's time moves to now (the next ask waits another 7 days).
|
|
774
|
+
* / The key file is refused: it cannot empty the slot (a thief would, to strand the honest owner's
|
|
775
|
+
* / approvals). A first engram has nothing to decline.
|
|
776
|
+
* / Named caller: an owner console — the sign-in's "decline", and the person asked's "decline" on a
|
|
777
|
+
* / waiting ask.
|
|
778
|
+
*/
|
|
779
|
+
declineSignIn: ActorMethod<[], Result_2>;
|
|
723
780
|
/**
|
|
724
781
|
* / OWNER-ONLY deletion of a stored backup.
|
|
725
782
|
* /
|
|
@@ -770,7 +827,7 @@ export interface Engram {
|
|
|
770
827
|
* / revision, or a paid session's append) that succeeded, still held in full by the ring.
|
|
771
828
|
* / One dispute per guardian per write (`#Conflict`, the first stands).
|
|
772
829
|
*/
|
|
773
|
-
disputeAgentWrite: ActorMethod<[bigint, string],
|
|
830
|
+
disputeAgentWrite: ActorMethod<[bigint, string], Result_15>;
|
|
774
831
|
/**
|
|
775
832
|
* / Record that log entries [fromSeq, toSeq] were served, and return the root that proves it.
|
|
776
833
|
* /
|
|
@@ -785,7 +842,7 @@ export interface Engram {
|
|
|
785
842
|
* / situation rather than a safety measure. It IS gated on requireMemoryAttached: a store that
|
|
786
843
|
* / failed its integrity check must not attest anything it cannot vouch for.
|
|
787
844
|
*/
|
|
788
|
-
exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]],
|
|
845
|
+
exportMemoryRange: ActorMethod<[bigint, bigint, [] | [Principal]], Result_84>;
|
|
789
846
|
/**
|
|
790
847
|
* / ⟨0.16.0, L2.2 — renamed from `guardianFreezePayments`⟩ The prefix LIED about who may call it.
|
|
791
848
|
* / The gate is `requireOwnerOrGuardian`, and an owner freezing their own payments is the ordinary
|
|
@@ -832,8 +889,10 @@ export interface Engram {
|
|
|
832
889
|
freezePaymentsWithReason: ActorMethod<[string], Result_2>;
|
|
833
890
|
/**
|
|
834
891
|
* / Delivery status + config readback. Owner-only (the URL is a secret).
|
|
892
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
893
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
835
894
|
*/
|
|
836
|
-
getActionAlertStatus: ActorMethod<[],
|
|
895
|
+
getActionAlertStatus: ActorMethod<[], Result_73>;
|
|
837
896
|
/**
|
|
838
897
|
* / Agents need to know what they may revise, so they can read it too. Whole-value config, same
|
|
839
898
|
* / carve-out as getProtectedPaths — and kept a SEPARATE method from it deliberately (L2.2): a
|
|
@@ -843,7 +902,7 @@ export interface Engram {
|
|
|
843
902
|
* / Refusal reason preserved from the trap: a grant is a power, and its absence and its
|
|
844
903
|
* / concealment are different facts.
|
|
845
904
|
*/
|
|
846
|
-
getAgentRevisablePaths: ActorMethod<[],
|
|
905
|
+
getAgentRevisablePaths: ActorMethod<[], Result_66>;
|
|
847
906
|
/**
|
|
848
907
|
* / OWNER-ONLY: every engagement's seat weeks on this engram, with the agent's root — the day it
|
|
849
908
|
* / paired, the days of its first and last payment signature, a 64-week map whose bit 0 is the week
|
|
@@ -855,8 +914,10 @@ export interface Engram {
|
|
|
855
914
|
* / order. Anyone else is refused by name (`#Refused getAgentSeatWeeks: …`), never answered with an
|
|
856
915
|
* / empty page. Paged; `total` is every engagement ever paired here (a reset keeps the rows).
|
|
857
916
|
* / Two rows can name one root: an agent paired again after it left is a second engagement.
|
|
917
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
918
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
858
919
|
*/
|
|
859
|
-
getAgentSeatWeeks: ActorMethod<[bigint, bigint],
|
|
920
|
+
getAgentSeatWeeks: ActorMethod<[bigint, bigint], Result_82>;
|
|
860
921
|
/**
|
|
861
922
|
* / Owner: everything written into this engram by someone other than the owner since the last
|
|
862
923
|
* / markAgentWritesReviewed() — agent appends/revisions AND paid-session appends (see
|
|
@@ -865,8 +926,11 @@ export interface Engram {
|
|
|
865
926
|
* / them — the UI must page (markAgentWritesReviewed(?lastShownId)) and must NOT present 200
|
|
866
927
|
* / as a total. `earliest` discloses ring eviction — if cursor < earliest, entries between them
|
|
867
928
|
* / aged out of the ring (the CHAIN still proves total count; this view can't show their bodies).
|
|
929
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
930
|
+
* / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
|
|
931
|
+
* / engram is unchanged.
|
|
868
932
|
*/
|
|
869
|
-
getAgentWriteReview: ActorMethod<[],
|
|
933
|
+
getAgentWriteReview: ActorMethod<[], Result_81>;
|
|
870
934
|
/**
|
|
871
935
|
* / Why anchoring is or is not advancing. PUBLIC: ungated on purpose — detecting a stalled
|
|
872
936
|
* / engram is the point, a gated read would fail-to-empty and hand a third party fabricated zeros,
|
|
@@ -889,7 +953,7 @@ export interface Engram {
|
|
|
889
953
|
* / was signed rather than asserted.
|
|
890
954
|
*/
|
|
891
955
|
getAuditHead: ActorMethod<[], AuditHead>;
|
|
892
|
-
getBackupMetadata: ActorMethod<[string],
|
|
956
|
+
getBackupMetadata: ActorMethod<[string], Result_80>;
|
|
893
957
|
/**
|
|
894
958
|
* / ⟨2026-10-21, the owner's round-11 answer m: a backup-retention getter⟩ How many backups of
|
|
895
959
|
* / `dbType` each creator keeps, and whether that is the default — the read `setBackupRetention`
|
|
@@ -902,7 +966,7 @@ export interface Engram {
|
|
|
902
966
|
* / the anonymous caller. A kind the setter would refuse is `#Invalid` here too
|
|
903
967
|
* / (`Backup.getRetention`). Records nothing (a query).
|
|
904
968
|
*/
|
|
905
|
-
getBackupRetention: ActorMethod<[string],
|
|
969
|
+
getBackupRetention: ActorMethod<[string], Result_79>;
|
|
906
970
|
/**
|
|
907
971
|
* / The cashier this engram recognises as its rent biller — `null` until the registry pushes one.
|
|
908
972
|
* /
|
|
@@ -920,8 +984,10 @@ export interface Engram {
|
|
|
920
984
|
* / from, which is the owner's to disclose, not the registry's. The certified half is at the registry
|
|
921
985
|
* / (`getCertifiedBirth`, public, revealing only whether a fingerprint is present); the client's
|
|
922
986
|
* / `verifyBirthChain` checks both. Refused to anyone else by the combinator (`#ownerOnly`).
|
|
987
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
988
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
923
989
|
*/
|
|
924
|
-
getBirthChain: ActorMethod<[],
|
|
990
|
+
getBirthChain: ActorMethod<[], Result_78>;
|
|
925
991
|
/**
|
|
926
992
|
* / ⟨2026-10-21, the owner's round-11 answer d⟩ Each brake: on or off, and while on, who pulled it
|
|
927
993
|
* / LAST (their key and whether as owner or guardian), since when, and the reason they gave — the
|
|
@@ -932,7 +998,7 @@ export interface Engram {
|
|
|
932
998
|
* / is null for a brake that is off, and for one carried on across the upgrade that added this
|
|
933
999
|
* / read (who pulled it was not recorded then) — never a guessed pull.
|
|
934
1000
|
*/
|
|
935
|
-
getBrakes: ActorMethod<[],
|
|
1001
|
+
getBrakes: ActorMethod<[], Result_77>;
|
|
936
1002
|
/**
|
|
937
1003
|
* / ⟨0.16.0, L9/L10 — census row⟩ `Wire.CertifiedAuditHead`, not an anonymous record. The
|
|
938
1004
|
* / registry, market and cashier already served the shared type; the engram — the canister that
|
|
@@ -959,13 +1025,35 @@ export interface Engram {
|
|
|
959
1025
|
* / recorded nothing while reading as if it did. The refusal is loud in the reply instead. WHAT
|
|
960
1026
|
* / WOULD MAKE THIS WRONG: a reason to record who asked — then this becomes an update that says so.
|
|
961
1027
|
*/
|
|
962
|
-
getChildAllowance: ActorMethod<[Principal],
|
|
1028
|
+
getChildAllowance: ActorMethod<[Principal], Result_76>;
|
|
963
1029
|
/**
|
|
964
1030
|
* / Owner-only, Billing-class: what opening an engram costs this engram, the balance below which an
|
|
965
1031
|
* / agent's request is refused, the balance now, and every agent's allowance. The console's cost
|
|
966
1032
|
* / sentence reads it. Cycles are owner-class information, as on the owner's console read.
|
|
1033
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1034
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1035
|
+
*/
|
|
1036
|
+
getChildOpening: ActorMethod<[], Result_75>;
|
|
1037
|
+
/**
|
|
1038
|
+
* / Derive the key that opens the sealed copy, encrypted under the caller's transport public key —
|
|
1039
|
+
* / for the SIGN-IN alone (the combinator's `#ownerSignIn`; the key file is refused by name: only the
|
|
1040
|
+
* / sign-in opens the backup, and the key file holds the plaintext anyway). The derivation input is the
|
|
1041
|
+
* / sign-in's own principal, the same identity the kit sealed the copy to, so a former sign-in's key
|
|
1042
|
+
* / never opens a copy re-sealed for its successor. Refused in a first engram, with no sign-in, and
|
|
1043
|
+
* / with no copy, all before the call. The opening is recorded (`keyBackup.opened`), so the owner's
|
|
1044
|
+
* / alert fires: the one act a thief holding the sign-in cannot hide. Not blocked by a freeze: a
|
|
1045
|
+
* / freeze must never lock the owner out of its own key.
|
|
1046
|
+
* / ⟨CORRECTED 2026-11-03, the stage-6 review's m1, beside the sentence above⟩ "cannot hide" overstates
|
|
1047
|
+
* / it: in an engram opened through another the sign-in sets the alert address, so a thief holding the
|
|
1048
|
+
* / sign-in can re-point it first. Each opening is recorded in the engram's record (which the key file
|
|
1049
|
+
* / reads) and alerted to whatever address the sign-in has set.
|
|
1050
|
+
* /
|
|
1051
|
+
* / ⟨L7⟩ UPDATE, NOT QUERY, and this is the system call that forces it: the body awaits
|
|
1052
|
+
* / `VetKeys.ManagementCanister.vetKdDeriveKey`. A query cannot await.
|
|
1053
|
+
* / Named callers: an owner console signed in as the sign-in (the browser's recovery), and the owner
|
|
1054
|
+
* / kit's `--recover-key` signed by a key-file sign-in.
|
|
967
1055
|
*/
|
|
968
|
-
|
|
1056
|
+
getEncryptedKeyBackupKey: ActorMethod<[Uint8Array | number[]], Result_72>;
|
|
969
1057
|
/**
|
|
970
1058
|
* / Derive the shared memory-encryption key, encrypted under the caller's transport
|
|
971
1059
|
* / public key. Gated to owner + read-agents (the same principals allowed to read
|
|
@@ -991,7 +1079,7 @@ export interface Engram {
|
|
|
991
1079
|
* / cost. Stated here because L7 requires the reason be readable from the interface rather than
|
|
992
1080
|
* / inferred by opening the body — which is exactly what had to happen to write this line.
|
|
993
1081
|
*/
|
|
994
|
-
getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]],
|
|
1082
|
+
getEncryptedMemoryKey: ActorMethod<[[] | [bigint], Uint8Array | number[]], Result_72>;
|
|
995
1083
|
/**
|
|
996
1084
|
* / ⟨0.16.0, owner ruling 2026-08-20 — option (a)⟩ `x402Support` REPORTS THE RAIL, not a constant.
|
|
997
1085
|
* /
|
|
@@ -1090,7 +1178,7 @@ export interface Engram {
|
|
|
1090
1178
|
* / `#Err`, never a record carrying an empty string (ic402's `getEvmAddress` answers `""` on a
|
|
1091
1179
|
* / failed derivation — that is fail-to-empty on a money surface, and it stops here).
|
|
1092
1180
|
*/
|
|
1093
|
-
getEvmAddress: ActorMethod<[],
|
|
1181
|
+
getEvmAddress: ActorMethod<[], Result_74>;
|
|
1094
1182
|
/**
|
|
1095
1183
|
* / The owner's OWN EVM address, if they registered one — distinct from `getEvmAddress`, which is
|
|
1096
1184
|
* / the address this canister derives for itself.
|
|
@@ -1108,8 +1196,11 @@ export interface Engram {
|
|
|
1108
1196
|
* / the management canister's `ecdsa_public_key`. A query cannot await, so the round-trip is the
|
|
1109
1197
|
* / cost — stated here because L7 requires the reason be readable from the interface rather than
|
|
1110
1198
|
* / inferred by opening the body.
|
|
1199
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1200
|
+
* / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
|
|
1201
|
+
* / engram is unchanged.
|
|
1111
1202
|
*/
|
|
1112
|
-
getEvmSignerAddress: ActorMethod<[],
|
|
1203
|
+
getEvmSignerAddress: ActorMethod<[], Result_55>;
|
|
1113
1204
|
/**
|
|
1114
1205
|
* / PUBLIC: where this chain begins, for the stranger deciding whether to trust it.
|
|
1115
1206
|
* /
|
|
@@ -1122,7 +1213,46 @@ export interface Engram {
|
|
|
1122
1213
|
/**
|
|
1123
1214
|
* / A guardian's own channel status (their URL is their secret — each guardian sees only theirs).
|
|
1124
1215
|
*/
|
|
1125
|
-
getGuardianAlertStatus: ActorMethod<[],
|
|
1216
|
+
getGuardianAlertStatus: ActorMethod<[], Result_73>;
|
|
1217
|
+
/**
|
|
1218
|
+
* / The sealed copy itself — opaque bytes only the sign-in can open. Readable by the sign-in (it
|
|
1219
|
+
* / opens them with the key `getEncryptedKeyBackupKey` derives for it) and by the key file, which
|
|
1220
|
+
* / holds the plaintext already and so learns nothing — it reads them to compare with the copy the kit
|
|
1221
|
+
* / made (the Challenge's C2.11: a copy someone else stored first reads as "not this key", not as
|
|
1222
|
+
* / "sealed"). Refused in a first engram, and `#NotFound` when no copy is held. The copy that waits
|
|
1223
|
+
* / with an ask is never served here: it is inert until accepted.
|
|
1224
|
+
* / A QUERY: the refusal is in the reply, not the denial log (a query's writes are discarded).
|
|
1225
|
+
* / Named callers: the owner kit (`--recover-key`, and its check after sealing), and an owner console
|
|
1226
|
+
* / signed in as the sign-in (the browser's recovery).
|
|
1227
|
+
*/
|
|
1228
|
+
getKeyBackupCiphertext: ActorMethod<[], Result_72>;
|
|
1229
|
+
/**
|
|
1230
|
+
* / Whether this engram holds a sealed copy of its owner's key, for whom, since when, whether it is
|
|
1231
|
+
* / sealed for the sign-in seated now, and whether a copy waits with an ask (`Types.KeyBackupStatus`).
|
|
1232
|
+
* / Readable by the key file and the sign-in (`#ownerOrSignIn`); refused loudly to anyone else
|
|
1233
|
+
* / (ADR-0002). A first engram refuses by name rather than answer "not sealed": it never holds one,
|
|
1234
|
+
* / and an empty answer there would read as a child whose seal failed.
|
|
1235
|
+
* / A QUERY: the refusal is in the reply, not the denial log (a query's writes are discarded).
|
|
1236
|
+
* / Named callers: the owner kit after it opens an engram (it prints whether the copy is stored), and
|
|
1237
|
+
* / an owner console showing an engram opened through another (whether recovery can work).
|
|
1238
|
+
*/
|
|
1239
|
+
getKeyBackupStatus: ActorMethod<[], Result_71>;
|
|
1240
|
+
/**
|
|
1241
|
+
* / BLS verification key under which the owner kit seals the backup (`IbeCiphertext.encrypt` to the
|
|
1242
|
+
* / sign-in's principal) and the opener verifies the derived key. Served on-canister so the kit never
|
|
1243
|
+
* / has to know which master key this network uses (the spec's Q-K3: a wrong guess would seal a copy
|
|
1244
|
+
* / nobody can open). Static per (context, key id, canister) — cacheable.
|
|
1245
|
+
* /
|
|
1246
|
+
* / PUBLIC: intentionally unauthenticated — a vetKD public key reveals nothing secret and cannot
|
|
1247
|
+
* / decrypt anything — the sensitive derivation is getEncryptedKeyBackupKey below, which IS gated
|
|
1248
|
+
* / (the sign-in alone) and returns key material encrypted to the caller's transport key. The same
|
|
1249
|
+
* / reasoning as getMemoryKeyVerificationKey, for the backup's own context.
|
|
1250
|
+
* / ⟨L7⟩ UPDATE, NOT QUERY, and this is the system call that forces it: the body awaits
|
|
1251
|
+
* / `VetKeys.ManagementCanister.vetKdPublicKey`. A query cannot await.
|
|
1252
|
+
* / Named callers: the owner kit, when it seals the copy at birth or for an ask; an owner console,
|
|
1253
|
+
* / to verify the derived key during recovery.
|
|
1254
|
+
*/
|
|
1255
|
+
getKeyBackupVerificationKey: ActorMethod<[], Uint8Array | number[]>;
|
|
1126
1256
|
/**
|
|
1127
1257
|
* / The market this engram will accept signing requests from — `null` until the registry pushes
|
|
1128
1258
|
* / one at spawn, which is why `requireMarket` refuses fleet-wide today.
|
|
@@ -1155,7 +1285,7 @@ export interface Engram {
|
|
|
1155
1285
|
* / never renumbered: the next page starts at the last version returned plus one. Defaults
|
|
1156
1286
|
* / return the whole history of any file a pre-FD engram could have held.
|
|
1157
1287
|
*/
|
|
1158
|
-
getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]],
|
|
1288
|
+
getMemoryHistory: ActorMethod<[string, [] | [bigint], [] | [bigint]], Result_70>;
|
|
1159
1289
|
/**
|
|
1160
1290
|
* / PUBLIC: the epoch alone, and deliberately nothing else (rotation study D4). A `rotatedAt[]`
|
|
1161
1291
|
* / history would be a public, fleet-enumerable feed of when each owner terminated a trust
|
|
@@ -1204,7 +1334,7 @@ export interface Engram {
|
|
|
1204
1334
|
* / forever" — a claim about what this engram will DESTROY — and an empty guard list reads as
|
|
1205
1335
|
* / "nothing is held back".
|
|
1206
1336
|
*/
|
|
1207
|
-
getMemoryRetentionPolicy: ActorMethod<[],
|
|
1337
|
+
getMemoryRetentionPolicy: ActorMethod<[], Result_69>;
|
|
1208
1338
|
/**
|
|
1209
1339
|
* / The metrics reader this engram answers — `null` until the spawning registry names one.
|
|
1210
1340
|
* /
|
|
@@ -1221,7 +1351,7 @@ export interface Engram {
|
|
|
1221
1351
|
* / a fact about the caller, told to the caller. There is nothing to leak by omission — which is
|
|
1222
1352
|
* / the test the #NotFound arm sets.
|
|
1223
1353
|
*/
|
|
1224
|
-
getMyGuardianStatus: ActorMethod<[],
|
|
1354
|
+
getMyGuardianStatus: ActorMethod<[], Result_18>;
|
|
1225
1355
|
/**
|
|
1226
1356
|
* / ⟨0.16.0, NEW⟩ The gated half of the status() split.
|
|
1227
1357
|
* /
|
|
@@ -1233,7 +1363,18 @@ export interface Engram {
|
|
|
1233
1363
|
* / client (rule 4) and bought a masked answer nobody had asked for — the census could not even
|
|
1234
1364
|
* / find a consumer that read the masked `0`. Behind a gate there is nobody to mask it from.
|
|
1235
1365
|
*/
|
|
1236
|
-
getOwnerConsole: ActorMethod<[],
|
|
1366
|
+
getOwnerConsole: ActorMethod<[], Result_68>;
|
|
1367
|
+
/**
|
|
1368
|
+
* / The engram's sign-in, as `Types.OwnerSignInView` describes it: whether this engram was opened
|
|
1369
|
+
* / through another, who its sign-in is, whether the caller is it, and any decline or waiting ask.
|
|
1370
|
+
* / Readable by the owner's key, the sign-in, and the person a waiting ask goes to (they need to see
|
|
1371
|
+
* / the ask to answer it); refused loudly to anyone else (ADR-0002) — never an empty view, which would
|
|
1372
|
+
* / read as "no sign-in". A first engram answers its owner with every field null or false.
|
|
1373
|
+
* / A QUERY: the refusal is in the reply, not the denial log (a query's writes are discarded).
|
|
1374
|
+
* / Named callers: an owner console showing an engram opened through another (who signs in, and a
|
|
1375
|
+
* / waiting ask with Accept and Decline), and the owner kit after it opens one.
|
|
1376
|
+
*/
|
|
1377
|
+
getOwnerSignIn: ActorMethod<[], Result_67>;
|
|
1237
1378
|
/**
|
|
1238
1379
|
* / Owner + agents only (agents need it to avoid writing protected paths).
|
|
1239
1380
|
* /
|
|
@@ -1247,7 +1388,20 @@ export interface Engram {
|
|
|
1247
1388
|
* / writing one — so a fabricated empty here does not merely misinform, it invites the write the
|
|
1248
1389
|
* / list exists to prevent.
|
|
1249
1390
|
*/
|
|
1250
|
-
getProtectedPaths: ActorMethod<[],
|
|
1391
|
+
getProtectedPaths: ActorMethod<[], Result_66>;
|
|
1392
|
+
/**
|
|
1393
|
+
* / What an approval card shows beside a payment to `payTo` (`Types.RecipientHistory`): whether an x402
|
|
1394
|
+
* / signature from this engram has paid it before and since when, whether it is a listed seller and
|
|
1395
|
+
* / counts now, and whether the history is full (then "not paid before" may be one it forgot). Read
|
|
1396
|
+
* / beside the request, because the stored request is never reshaped. For the key file and the sign-in
|
|
1397
|
+
* / (the owner in a first engram); refused loudly to anyone else. A malformed address is `#Invalid`.
|
|
1398
|
+
* / ⟨2026-11-02, the child build's stage 5⟩ Also how many times x402 has paid it and the largest of
|
|
1399
|
+
* / those payments (`timesPaid`, `largestPaidE6`, six-decimal minor units), so a card can say "paid 3
|
|
1400
|
+
* / times, largest $12"; the history forgets the address paid longest ago when full.
|
|
1401
|
+
* / ⟨2026-11-03, the pre-gate fixes⟩ And when it was LAST paid (`lastPaidAtNs`; null when never).
|
|
1402
|
+
* / Named callers: an owner console's approval card for a payment request.
|
|
1403
|
+
*/
|
|
1404
|
+
getRecipientHistory: ActorMethod<[string], Result_65>;
|
|
1251
1405
|
/**
|
|
1252
1406
|
* / Whether the metrics reader's read is answered — `true` from birth.
|
|
1253
1407
|
* /
|
|
@@ -1259,8 +1413,13 @@ export interface Engram {
|
|
|
1259
1413
|
* / Owner-only, Billing-class: the signing floor, the balance, one signature's price, and how many
|
|
1260
1414
|
* / payment signatures the balance carries above the floor before `signX402Payment` is refused by
|
|
1261
1415
|
* / name. The same numbers the check uses, so Billing can say only what the engram enforces.
|
|
1416
|
+
* / ⟨2026-11-01, "6 fix"⟩ Refused by name (`#Unavailable`) while this engram has not read its own
|
|
1417
|
+
* / freezing setting: there is no floor to serve then, and a 30-day figure would be a made-up one
|
|
1418
|
+
* / (ADR-0002) — the signers refuse in that state too, so the refusal is the truth on Billing.
|
|
1419
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1420
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1262
1421
|
*/
|
|
1263
|
-
getSigningFloor: ActorMethod<[],
|
|
1422
|
+
getSigningFloor: ActorMethod<[], Result_64>;
|
|
1264
1423
|
/**
|
|
1265
1424
|
* / The registry that spawned this engram, if it recorded one.
|
|
1266
1425
|
* /
|
|
@@ -1280,8 +1439,10 @@ export interface Engram {
|
|
|
1280
1439
|
* / configuration, and the engram-wide total would also tell one agent how much the others spent.
|
|
1281
1440
|
* / A refusal names this method (`Gated.gatedResult`) rather than answering null/0 — a ceiling of
|
|
1282
1441
|
* / "none" and a spend of 0 are both real answers, so a fabricated one would be read as fact.
|
|
1442
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1443
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1283
1444
|
*/
|
|
1284
|
-
getSpendCeiling: ActorMethod<[],
|
|
1445
|
+
getSpendCeiling: ActorMethod<[], Result_63>;
|
|
1285
1446
|
/**
|
|
1286
1447
|
* / Read the caps in force for a caller.
|
|
1287
1448
|
* /
|
|
@@ -1290,9 +1451,18 @@ export interface Engram {
|
|
|
1290
1451
|
* / Here the engram serves no 402s at all: these caps are the owner's private custody
|
|
1291
1452
|
* / configuration, and publishing them would tell any caller exactly how large a signing request
|
|
1292
1453
|
* / can be before it needs an approval nobody is watching for.
|
|
1454
|
+
* /
|
|
1455
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1456
|
+
* / an engram opened through another, as the owner, through the combinator's `#ownerOrSignIn` (a first
|
|
1457
|
+
* / engram is unchanged: the owner only). The inline owner comparison that stood here is gone with it —
|
|
1458
|
+
* / one fewer unnamed caller guard. Its refusal sentence is kept as the reason it never fails soft:
|
|
1459
|
+
* / "Spending caps are the owner's custody configuration. Refusing rather than answering with
|
|
1460
|
+
* / defaults — a default-looking answer would understate the real limits to anyone probing them." The
|
|
1461
|
+
* / refusal itself is now the combinator's (`#Refused getSpendPolicy: …`, `requireOwner`'s words), and
|
|
1462
|
+
* / an engram with no owner yet is refused the same way rather than answered `#Conflict`.
|
|
1293
1463
|
*/
|
|
1294
|
-
getSpendPolicy: ActorMethod<[[] | [Principal]],
|
|
1295
|
-
getStorageStats: ActorMethod<[],
|
|
1464
|
+
getSpendPolicy: ActorMethod<[[] | [Principal]], Result_62>;
|
|
1465
|
+
getStorageStats: ActorMethod<[], Result_61>;
|
|
1296
1466
|
/**
|
|
1297
1467
|
* / Timer arm-state. PUBLIC and deliberately so: these timers are self-arming to save cycles,
|
|
1298
1468
|
* / and an optimisation nobody can verify is an optimisation nobody should trust. Cheap to read,
|
|
@@ -1377,14 +1547,14 @@ export interface Engram {
|
|
|
1377
1547
|
* / UPDATE, marked per L7: it awaits three ICRC-1 ledgers". It was marked in prose and invisible
|
|
1378
1548
|
* / to any gate; the glyph is what `scripts/check-update-for-read.mjs` matches.
|
|
1379
1549
|
*/
|
|
1380
|
-
getWalletBalances: ActorMethod<[],
|
|
1550
|
+
getWalletBalances: ActorMethod<[], Result_60>;
|
|
1381
1551
|
/**
|
|
1382
1552
|
* / Refusal reason preserved, and it is the clearest case of why a masked read is worse than no
|
|
1383
1553
|
* / read: three empty strings with `configured = false` is a VALID-LOOKING answer meaning "this
|
|
1384
1554
|
* / engram has no World ID configuration" — handed to a caller who merely lacks a grant. The
|
|
1385
1555
|
* / fabrication is indistinguishable from the truth by construction.
|
|
1386
1556
|
*/
|
|
1387
|
-
getWorldIdConfig: ActorMethod<[],
|
|
1557
|
+
getWorldIdConfig: ActorMethod<[], Result_59>;
|
|
1388
1558
|
/**
|
|
1389
1559
|
* / ⟨L7⟩ UPDATE, NOT QUERY: this awaits THREE system calls — `raw_rand()` for the nonce,
|
|
1390
1560
|
* / `Call.signWithEcdsa` for the signature, and `worldIdRpPublicKey()` for the derived key. A
|
|
@@ -1395,7 +1565,7 @@ export interface Engram {
|
|
|
1395
1565
|
* / the World Developer Portal. Short-lived (300s TTL, idkit-server's default) and single-purpose —
|
|
1396
1566
|
* / it authorizes opening one verification request, nothing else.
|
|
1397
1567
|
*/
|
|
1398
|
-
getWorldIdRpContext: ActorMethod<[],
|
|
1568
|
+
getWorldIdRpContext: ActorMethod<[], Result_58>;
|
|
1399
1569
|
/**
|
|
1400
1570
|
* / Owner-only: the EVM address derived from the engram's dedicated World ID RP signing key (the
|
|
1401
1571
|
* / "worldid-rp" tECDSA path). Register THIS address as the rp_id's signer in the World Developer
|
|
@@ -1406,8 +1576,11 @@ export interface Engram {
|
|
|
1406
1576
|
* / awaits `worldIdRpPublicKey()` (management `ecdsa_public_key`), and it calls `denied()` on
|
|
1407
1577
|
* / refusal — a state write, which a query cannot perform. So even if the key were cached this
|
|
1408
1578
|
* / could not become a query without silently retiring its denial record (ADR-0002's class).
|
|
1579
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1580
|
+
* / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
|
|
1581
|
+
* / engram is unchanged.
|
|
1409
1582
|
*/
|
|
1410
|
-
getWorldIdRpSignerAddress: ActorMethod<[],
|
|
1583
|
+
getWorldIdRpSignerAddress: ActorMethod<[], Result_55>;
|
|
1411
1584
|
/**
|
|
1412
1585
|
* / The verified IDKitResult, verbatim, as World's /api/v4/verify accepted it — the re-checkable
|
|
1413
1586
|
* / artifact behind verifiedHuman. Role-gated because it carries the NULLIFIER.
|
|
@@ -1428,7 +1601,7 @@ export interface Engram {
|
|
|
1428
1601
|
* / canister does not serve. The tombstones below and at `about()` are historical and correct as
|
|
1429
1602
|
* / written; this one was present tense, which is the difference that matters.⟩
|
|
1430
1603
|
*/
|
|
1431
|
-
getWorldIdVerification: ActorMethod<[],
|
|
1604
|
+
getWorldIdVerification: ActorMethod<[], Result_57>;
|
|
1432
1605
|
/**
|
|
1433
1606
|
* / ⟨0.16.0, L1⟩ THE EMERGENCY FAMILY. Every refusal below is `#Refused` or `#NotFound`, and the
|
|
1434
1607
|
* / absence of a `#Conflict` here is the point: these are the calls someone makes while something
|
|
@@ -1511,8 +1684,11 @@ export interface Engram {
|
|
|
1511
1684
|
* /
|
|
1512
1685
|
* / Owner-gated because it reports on custody posture, and answered as a Result so that a
|
|
1513
1686
|
* / wrong-identity caller gets a refusal rather than a bare `false` that reads as "no address yet".
|
|
1687
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1688
|
+
* / an engram opened through another, as the owner (`AccessControl.requireOwnerOrSignIn`); a first
|
|
1689
|
+
* / engram is unchanged.
|
|
1514
1690
|
*/
|
|
1515
|
-
isEvmAddressCached: ActorMethod<[],
|
|
1691
|
+
isEvmAddressCached: ActorMethod<[], Result_56>;
|
|
1516
1692
|
/**
|
|
1517
1693
|
* / Issue an OAuth authorization code. Called by an OAuth client's sign-in bridge
|
|
1518
1694
|
* / (an `/auth/connector`-style route) after II authentication. The client then
|
|
@@ -1521,7 +1697,7 @@ export interface Engram {
|
|
|
1521
1697
|
* /
|
|
1522
1698
|
* / Owner-only: only the engram owner can authorize a Connector install.
|
|
1523
1699
|
*/
|
|
1524
|
-
issueAuthCode: ActorMethod<[string, string, string, [] | [string]],
|
|
1700
|
+
issueAuthCode: ActorMethod<[string, string, string, [] | [string]], Result_55>;
|
|
1525
1701
|
/**
|
|
1526
1702
|
* / ⟨0.16.0⟩ `getCycleSnapshotSource` DELETED — folded into `CycleSnapshot.source`, one label per
|
|
1527
1703
|
* / ROW. A single label for a whole ring misattributes every row recorded under the other source,
|
|
@@ -1537,7 +1713,7 @@ export interface Engram {
|
|
|
1537
1713
|
* / DORMANT engram and corrupts retention math — a fabricated empty here does not just misinform a
|
|
1538
1714
|
* / reader, it feeds a wrong number into a decision about destroying data.
|
|
1539
1715
|
*/
|
|
1540
|
-
listActivitySnapshots: ActorMethod<[bigint, bigint],
|
|
1716
|
+
listActivitySnapshots: ActorMethod<[bigint, bigint], Result_54>;
|
|
1541
1717
|
/**
|
|
1542
1718
|
* / ⟨2026-10-21, round 11 item l — the owner's answer "round 11: a, b, c, d, e, f, g, h, i, j, k, l,
|
|
1543
1719
|
* / m."⟩ OWNER-ONLY: what each agent has spent today, beside the daily limit in force for it, so the
|
|
@@ -1555,8 +1731,10 @@ export interface Engram {
|
|
|
1555
1731
|
* / because the payment path keeps no figure then (`SpendCeiling.AgentSpendRow` says why).
|
|
1556
1732
|
* / WHAT WOULD MAKE THIS WRONG: `x402SignFor` keeping the per-caller total by something other than
|
|
1557
1733
|
* / the calling key, or under another day boundary.
|
|
1734
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1735
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1558
1736
|
*/
|
|
1559
|
-
listAgentSpendToday: ActorMethod<[bigint, bigint],
|
|
1737
|
+
listAgentSpendToday: ActorMethod<[bigint, bigint], Result_53>;
|
|
1560
1738
|
/**
|
|
1561
1739
|
* / ⟨0.16.0⟩ THE PAGE EXEMPLAR. Trap → `#Refused`, bare array → `Result<Page<T>>` (L1 + L3).
|
|
1562
1740
|
* /
|
|
@@ -1572,8 +1750,10 @@ export interface Engram {
|
|
|
1572
1750
|
* /
|
|
1573
1751
|
* / `withheld` is 0: this roster is owner-only in whole, so there is no partial-visibility case.
|
|
1574
1752
|
* / A method that filters rows by caller sets it — see L1's row-level honesty rule.
|
|
1753
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1754
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1575
1755
|
*/
|
|
1576
|
-
listAgents: ActorMethod<[bigint, bigint],
|
|
1756
|
+
listAgents: ActorMethod<[bigint, bigint], Result_52>;
|
|
1577
1757
|
/**
|
|
1578
1758
|
* / The GUARDIAN-audience projection of the agent roster — three fields, not the full record.
|
|
1579
1759
|
* /
|
|
@@ -1587,7 +1767,7 @@ export interface Engram {
|
|
|
1587
1767
|
* / guardian consults BEFORE REVOKING ONE. A fabricated empty here does not merely misinform —
|
|
1588
1768
|
* / it tells someone acting under emergency powers that there is nothing to act on.
|
|
1589
1769
|
*/
|
|
1590
|
-
listAgentsForGuardian: ActorMethod<[bigint, bigint],
|
|
1770
|
+
listAgentsForGuardian: ActorMethod<[bigint, bigint], Result_51>;
|
|
1591
1771
|
/**
|
|
1592
1772
|
* / Owner-only: rows carry caller, amount, operation and free-text rationale. The SDK omits it.
|
|
1593
1773
|
* /
|
|
@@ -1601,7 +1781,7 @@ export interface Engram {
|
|
|
1601
1781
|
* /
|
|
1602
1782
|
* / Refusal reason preserved: `[]` reads as "nothing is awaiting the owner's decision".
|
|
1603
1783
|
*/
|
|
1604
|
-
listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint],
|
|
1784
|
+
listApprovalRequests: ActorMethod<[[] | [ApprovalStatus], bigint, bigint], Result_37>;
|
|
1605
1785
|
/**
|
|
1606
1786
|
* / ⟨0.16.0⟩ `total` IS THE HEAD COUNTER, and on this method that is the entire point.
|
|
1607
1787
|
* /
|
|
@@ -1637,7 +1817,7 @@ export interface Engram {
|
|
|
1637
1817
|
* / at read time; nothing new is stored. WHAT WOULD MAKE THIS WRONG: a sealed row carrying any part
|
|
1638
1818
|
* / of a body, or a stranger reaching `items` (test/record-view.test.mo pins both).
|
|
1639
1819
|
*/
|
|
1640
|
-
listAuditEntries: ActorMethod<[bigint, bigint],
|
|
1820
|
+
listAuditEntries: ActorMethod<[bigint, bigint], Result_50>;
|
|
1641
1821
|
/**
|
|
1642
1822
|
* / ⟨0.16.0, L1 + L3 — census-ruled⟩ THE TWO-MECHANISM EXCEPTION DISSOLVES.
|
|
1643
1823
|
* /
|
|
@@ -1663,7 +1843,7 @@ export interface Engram {
|
|
|
1663
1843
|
* / keeps its optional filter and applies it to the page, so no caller loses the ability to ask
|
|
1664
1844
|
* / "backups of this database" — it stops being a thing the canister has to page around.
|
|
1665
1845
|
*/
|
|
1666
|
-
listBackups: ActorMethod<[bigint, bigint],
|
|
1846
|
+
listBackups: ActorMethod<[bigint, bigint], Result_49>;
|
|
1667
1847
|
/**
|
|
1668
1848
|
* / List all bearer tokens — Active, Revoked, and Expired. Owner uses this in
|
|
1669
1849
|
* / the dashboard to show installed Connectors (claude.ai, Claude Desktop, etc.).
|
|
@@ -1674,8 +1854,10 @@ export interface Engram {
|
|
|
1674
1854
|
* / `bearerTokenStore.list()` already resolves each token's status at read time (a token that
|
|
1675
1855
|
* / merely stopped being used is reported `#Expired`, not a stale `#Active`), so the page carries
|
|
1676
1856
|
* / the same honesty the store gained on 2026-08-17.
|
|
1857
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
1858
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1677
1859
|
*/
|
|
1678
|
-
listBearerTokens: ActorMethod<[bigint, bigint],
|
|
1860
|
+
listBearerTokens: ActorMethod<[bigint, bigint], Result_48>;
|
|
1679
1861
|
/**
|
|
1680
1862
|
* / The condense checkpoints in the retained log at or above `startSeq`, oldest first.
|
|
1681
1863
|
* /
|
|
@@ -1687,7 +1869,7 @@ export interface Engram {
|
|
|
1687
1869
|
* / Owner-only like every other archive surface, and for the same structural reason: these rows
|
|
1688
1870
|
* / carry the chain positions and roots of entries whose paths were inside the hash preimage.
|
|
1689
1871
|
*/
|
|
1690
|
-
listCondenseCheckpoints: ActorMethod<[bigint, bigint],
|
|
1872
|
+
listCondenseCheckpoints: ActorMethod<[bigint, bigint], Result_47>;
|
|
1691
1873
|
/**
|
|
1692
1874
|
* / ⟨0.16.0⟩ `metrics()` DELETED — absorbed by `about()`.
|
|
1693
1875
|
* /
|
|
@@ -1696,13 +1878,13 @@ export interface Engram {
|
|
|
1696
1878
|
* / both and know which one owned each field. Every field here survives on `about()`, day-flooring
|
|
1697
1879
|
* / included.
|
|
1698
1880
|
*/
|
|
1699
|
-
listCycleSnapshots: ActorMethod<[bigint, bigint],
|
|
1881
|
+
listCycleSnapshots: ActorMethod<[bigint, bigint], Result_46>;
|
|
1700
1882
|
/**
|
|
1701
1883
|
* / Same `withheld` treatment as listMemoryFiles — the tombstone listing filtered reserved paths
|
|
1702
1884
|
* / for non-owners just as silently, and a caller could not tell a filtered tombstone list from a
|
|
1703
1885
|
* / complete one. Counted before slicing, so policy-hidden rows never blur into paging.
|
|
1704
1886
|
*/
|
|
1705
|
-
listDeletedMemoryFiles: ActorMethod<[bigint, bigint],
|
|
1887
|
+
listDeletedMemoryFiles: ActorMethod<[bigint, bigint], Result_45>;
|
|
1706
1888
|
/**
|
|
1707
1889
|
* / Stays on the engram under B1 (hybrid): withdrawal custody does not leave.
|
|
1708
1890
|
* /
|
|
@@ -1718,7 +1900,7 @@ export interface Engram {
|
|
|
1718
1900
|
* / The item's field is `value`, not `address`: a list may hold a venue value that is no address.
|
|
1719
1901
|
* / Readable by the owner, an active agent or an active guardian, as the old list was.
|
|
1720
1902
|
*/
|
|
1721
|
-
listEip712Destinations: ActorMethod<[Uint8Array | number[], bigint, bigint],
|
|
1903
|
+
listEip712Destinations: ActorMethod<[Uint8Array | number[], bigint, bigint], Result_44>;
|
|
1722
1904
|
/**
|
|
1723
1905
|
* / The registered shapes — E3: encodeTypeString is the display artifact, verbatim.
|
|
1724
1906
|
* / Stays on the engram under B1 (hybrid): EIP-712 signing is custody, and custody does not leave.
|
|
@@ -1731,7 +1913,7 @@ export interface Engram {
|
|
|
1731
1913
|
* / from `eip712FieldRules` — they are part of what the type authorises, so a reader of the list must
|
|
1732
1914
|
* / not have to make a second call to learn them. The row type is `Eip712TypeView`.
|
|
1733
1915
|
*/
|
|
1734
|
-
listEip712Types: ActorMethod<[bigint, bigint],
|
|
1916
|
+
listEip712Types: ActorMethod<[bigint, bigint], Result_43>;
|
|
1735
1917
|
/**
|
|
1736
1918
|
* / ⟨2026-10-21, round 11 c⟩ Guardians' disputes, oldest first. Same visibility as
|
|
1737
1919
|
* / `listRepudiations` and `listRecordNotes`: the owner and ACTIVE guardians read the rows; an
|
|
@@ -1739,7 +1921,7 @@ export interface Engram {
|
|
|
1739
1921
|
* / guardian's entry, not the agent's); a stranger, a pending guardian and the anonymous caller are
|
|
1740
1922
|
* / refused.
|
|
1741
1923
|
*/
|
|
1742
|
-
listGuardianDisputes: ActorMethod<[bigint, bigint],
|
|
1924
|
+
listGuardianDisputes: ActorMethod<[bigint, bigint], Result_42>;
|
|
1743
1925
|
/**
|
|
1744
1926
|
* / Accessible by owner and guardians.
|
|
1745
1927
|
* /
|
|
@@ -1748,7 +1930,7 @@ export interface Engram {
|
|
|
1748
1930
|
* / pause writes" — a claim about who can STOP it. A caller who cannot tell that from "you may not
|
|
1749
1931
|
* / see the roster" has been told the engram is unguarded when it may be fully guarded.
|
|
1750
1932
|
*/
|
|
1751
|
-
listGuardians: ActorMethod<[bigint, bigint],
|
|
1933
|
+
listGuardians: ActorMethod<[bigint, bigint], Result_41>;
|
|
1752
1934
|
/**
|
|
1753
1935
|
* / The export receipts in the retained log at or above `startSeq`, oldest first.
|
|
1754
1936
|
* /
|
|
@@ -1766,7 +1948,7 @@ export interface Engram {
|
|
|
1766
1948
|
* / Read `MemoryRouter.ReceiptPage` before reading `page.total` as a receipt count. It is not one;
|
|
1767
1949
|
* / it is the chain's length, and the declaration says why.
|
|
1768
1950
|
*/
|
|
1769
|
-
listMemoryExportReceipts: ActorMethod<[bigint, bigint],
|
|
1951
|
+
listMemoryExportReceipts: ActorMethod<[bigint, bigint], Result_40>;
|
|
1770
1952
|
/**
|
|
1771
1953
|
* / ⟨0.16.0⟩ THE `withheld` EXEMPLAR — L1 names this exact method as the defect it fixes.
|
|
1772
1954
|
* /
|
|
@@ -1793,7 +1975,7 @@ export interface Engram {
|
|
|
1793
1975
|
* / row served, never one per file stored. A WIDENED REPLY: a reader that decodes the row by
|
|
1794
1976
|
* / position rather than by field name breaks — none in this repository does.
|
|
1795
1977
|
*/
|
|
1796
|
-
listMemoryFiles: ActorMethod<[bigint, bigint],
|
|
1978
|
+
listMemoryFiles: ActorMethod<[bigint, bigint], Result_39>;
|
|
1797
1979
|
/**
|
|
1798
1980
|
* / One page of the memory log, seq-ordered, optionally narrowed to one author.
|
|
1799
1981
|
* /
|
|
@@ -1820,7 +2002,7 @@ export interface Engram {
|
|
|
1820
2002
|
* / with the disclosures that make the page verifiable — the hidden-bound defect the census itself
|
|
1821
2003
|
* / names on previewCondense's row.
|
|
1822
2004
|
*/
|
|
1823
|
-
listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]],
|
|
2005
|
+
listMemoryLog: ActorMethod<[bigint, bigint, [] | [Principal]], Result_38>;
|
|
1824
2006
|
/**
|
|
1825
2007
|
* / The caller's OWN spend-approval requests. ⟨0.16.0, L1 + L3 — fixed 2026-08-18⟩
|
|
1826
2008
|
* /
|
|
@@ -1839,7 +2021,7 @@ export interface Engram {
|
|
|
1839
2021
|
* / (The unbounded MAP is filed separately — pruning an approval record destroys evidence of what
|
|
1840
2022
|
* / was asked, which is a retention ruling rather than a shape fix.)
|
|
1841
2023
|
*/
|
|
1842
|
-
listMyApprovalRequests: ActorMethod<[bigint, bigint],
|
|
2024
|
+
listMyApprovalRequests: ActorMethod<[bigint, bigint], Result_37>;
|
|
1843
2025
|
/**
|
|
1844
2026
|
* / The payer's own sessions, live ones first. PAYER-SCOPED: a caller sees only their own, which
|
|
1845
2027
|
* / is why this needs no role — a session id is not a secret from the person who paid for it.
|
|
@@ -1850,7 +2032,7 @@ export interface Engram {
|
|
|
1850
2032
|
* / client would break on — the market paged its own pending withdrawals before its cut for the
|
|
1851
2033
|
* / same reason. The order is the order sessions were opened.
|
|
1852
2034
|
*/
|
|
1853
|
-
listMySessions: ActorMethod<[bigint, bigint],
|
|
2035
|
+
listMySessions: ActorMethod<[bigint, bigint], Result_36>;
|
|
1854
2036
|
/**
|
|
1855
2037
|
* /
|
|
1856
2038
|
* / ⟨0.16.0, L3⟩ Paged and enveloped like every other `list*`, and the envelope here is uniformity
|
|
@@ -1865,7 +2047,7 @@ export interface Engram {
|
|
|
1865
2047
|
* / IT recorded, so this chain is what a caller composes with when currency matters — which it
|
|
1866
2048
|
* / cannot do if it needs a role here.
|
|
1867
2049
|
*/
|
|
1868
|
-
listOwnershipTransfers: ActorMethod<[bigint, bigint],
|
|
2050
|
+
listOwnershipTransfers: ActorMethod<[bigint, bigint], Result_35>;
|
|
1869
2051
|
/**
|
|
1870
2052
|
* / ⟨2026-09-29, the platform's question from the build review⟩ OWNER-ONLY: how many payment
|
|
1871
2053
|
* / signatures each agent has obtained today, and the daily limit (200, `PaymentSignCap`). The
|
|
@@ -1882,8 +2064,10 @@ export interface Engram {
|
|
|
1882
2064
|
* / marketplace's one shared count today is in the reply's `marketplace` field, with the limit this
|
|
1883
2065
|
* / engram enforces for it — beside the agents, never a row among them
|
|
1884
2066
|
* / (`PaymentSignCap.marketplaceRow`). Null when no marketplace is set.
|
|
2067
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
2068
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1885
2069
|
*/
|
|
1886
|
-
listPaymentSignatureCounts: ActorMethod<[bigint, bigint],
|
|
2070
|
+
listPaymentSignatureCounts: ActorMethod<[bigint, bigint], Result_34>;
|
|
1887
2071
|
/**
|
|
1888
2072
|
* / Agent records removed by a reset. Each row is a NAMED record with the fields `principal`,
|
|
1889
2073
|
* / `name`, `registeredAt` and `purgedAt` — read them BY NAME, never by position.
|
|
@@ -1924,8 +2108,10 @@ export interface Engram {
|
|
|
1924
2108
|
* / `invite` its enrolment named, and `ended` — why and on what day its engagement ended (its own
|
|
1925
2109
|
* / earlier ending, or the reset) — the facts `resyncAgentEdges` re-sends. The stored rows are
|
|
1926
2110
|
* / served as they are.
|
|
2111
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
2112
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
1927
2113
|
*/
|
|
1928
|
-
listPurgedAgents: ActorMethod<[bigint, bigint],
|
|
2114
|
+
listPurgedAgents: ActorMethod<[bigint, bigint], Result_33>;
|
|
1929
2115
|
/**
|
|
1930
2116
|
* / ⟨0.16.0⟩ ONE ACCESSOR, folding `readReadLog` and `getDenialLog` — and the fold only became
|
|
1931
2117
|
* / safe because of a change made earlier in this same leg.
|
|
@@ -1988,7 +2174,7 @@ export interface Engram {
|
|
|
1988
2174
|
* / on the chained record — the same `RecordView` filter, and `withheld` counts what it removed
|
|
1989
2175
|
* / together with what `successFilter` removed. WHAT WOULD MAKE THIS WRONG: see `listAuditEntries`.
|
|
1990
2176
|
*/
|
|
1991
|
-
listReadLog: ActorMethod<[[] | [boolean], bigint, bigint],
|
|
2177
|
+
listReadLog: ActorMethod<[[] | [boolean], bigint, bigint], Result_32>;
|
|
1992
2178
|
/**
|
|
1993
2179
|
* / ⟨2026-10-21, round 11 b⟩ The owner's notes, oldest first. Same visibility as
|
|
1994
2180
|
* / `listRepudiations`, for the same reason: the owner and ACTIVE guardians read the rows; an agent
|
|
@@ -1996,7 +2182,7 @@ export interface Engram {
|
|
|
1996
2182
|
* / gets an empty page whose `withheld` counts the notes in its window — never "there are none". A
|
|
1997
2183
|
* / stranger, a pending guardian and the anonymous caller are refused.
|
|
1998
2184
|
*/
|
|
1999
|
-
listRecordNotes: ActorMethod<[bigint, bigint],
|
|
2185
|
+
listRecordNotes: ActorMethod<[bigint, bigint], Result_31>;
|
|
2000
2186
|
/**
|
|
2001
2187
|
* / Same visibility as listAuditEntries: the owner, this engram's agents, and ACTIVE guardians
|
|
2002
2188
|
* / see disputes. An unauthorized read REFUSES — it does not return an empty list, because an
|
|
@@ -2013,7 +2199,16 @@ export interface Engram {
|
|
|
2013
2199
|
* / WOULD MAKE THIS WRONG: a ruling that an agent may see the disputes of its own writes; this would
|
|
2014
2200
|
* / then have to look up each disputed version's writer, which it does not do today.
|
|
2015
2201
|
*/
|
|
2016
|
-
listRepudiations: ActorMethod<[bigint, bigint],
|
|
2202
|
+
listRepudiations: ActorMethod<[bigint, bigint], Result_30>;
|
|
2203
|
+
/**
|
|
2204
|
+
* / The seller list, a page at a time, as `Types.SellerView` (a raise whose wait is over shown applied;
|
|
2205
|
+
* / `liveNow` — false for every row while an engram opened through another has no sign-in seated; what
|
|
2206
|
+
* / x402 reserved for each today). For the key file and the sign-in in an engram opened
|
|
2207
|
+
* / through another, the owner in a first engram; refused loudly to anyone else — never an empty page,
|
|
2208
|
+
* / which would read as "no sellers". A QUERY: the refusal is in the reply, not the denial log.
|
|
2209
|
+
* / Named callers: an owner console's seller list.
|
|
2210
|
+
*/
|
|
2211
|
+
listSellers: ActorMethod<[bigint, bigint], Result_29>;
|
|
2017
2212
|
/**
|
|
2018
2213
|
* / ⟨2026-10-21, the owner's round-11 answer f⟩ OWNER-ONLY: the sign-ins, each with the name its app
|
|
2019
2214
|
* / registered. The same tokens, in the same order and paged the same way, as `listBearerTokens`,
|
|
@@ -2023,8 +2218,10 @@ export interface Engram {
|
|
|
2023
2218
|
* / apps apart. A NEW method rather than a field on `BearerToken`: that record is stored (M0170)
|
|
2024
2219
|
* / and `listBearerTokens`' reply is shipped (never widened). An agent, a guardian, a stranger and
|
|
2025
2220
|
* / the anonymous caller are refused, by `listBearerTokens`' own gate and for its reason.
|
|
2221
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
2222
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
2026
2223
|
*/
|
|
2027
|
-
listSignIns: ActorMethod<[bigint, bigint],
|
|
2224
|
+
listSignIns: ActorMethod<[bigint, bigint], Result_28>;
|
|
2028
2225
|
/**
|
|
2029
2226
|
* / Owner: advance the review cursor — "I have seen everything up to and including uptoAuditId"
|
|
2030
2227
|
* / (null = everything at the current head). Bounded so the attestation can never cover entries
|
|
@@ -2036,7 +2233,7 @@ export interface Engram {
|
|
|
2036
2233
|
* / and this never inspects an operation or a role. Widening what the review shows therefore
|
|
2037
2234
|
* / changes only which ids the console can pass here — it cannot desynchronise the cursor.
|
|
2038
2235
|
*/
|
|
2039
|
-
markAgentWritesReviewed: ActorMethod<[[] | [bigint]],
|
|
2236
|
+
markAgentWritesReviewed: ActorMethod<[[] | [bigint]], Result_15>;
|
|
2040
2237
|
/**
|
|
2041
2238
|
* / ⟨2026-10-21, the owner's round-11 answer g⟩ AN AGENT READS ITS OWN GRANT — to the calling key
|
|
2042
2239
|
* / only (`People.AgentGrant`): what it may read, where it may write, its rate, and the payment
|
|
@@ -2056,7 +2253,7 @@ export interface Engram {
|
|
|
2056
2253
|
* / ⟨2026-10-29, review F2⟩ And which whole-key refusal stops every payment now, if one does
|
|
2057
2254
|
* / (`paymentsStoppedBy`: the brake, the signing floor, the daily count of payment signatures).
|
|
2058
2255
|
*/
|
|
2059
|
-
myGrant: ActorMethod<[],
|
|
2256
|
+
myGrant: ActorMethod<[], Result_27>;
|
|
2060
2257
|
/**
|
|
2061
2258
|
* / The AGENT's current key nominates the key that will replace it. Nothing moves yet: the new
|
|
2062
2259
|
* / key must accept, by its own call, within 24 hours (`acceptAgentKeyNomination`). One pending
|
|
@@ -2067,7 +2264,7 @@ export interface Engram {
|
|
|
2067
2264
|
nominateAgentKey: ActorMethod<[Principal], Result_2>;
|
|
2068
2265
|
/**
|
|
2069
2266
|
* / An AGENT paired here asks this engram to open an engram of its own. This engram attaches 1.3 T of
|
|
2070
|
-
* / its own cycles to the registry's `
|
|
2267
|
+
* / its own cycles to the registry's `sysOpenChild`; the agent's lasting key owns what is opened, and
|
|
2071
2268
|
* / the engram is recorded as opened through this one. Answers the new engram's canister id.
|
|
2072
2269
|
* /
|
|
2073
2270
|
* / APPROVING IS GIVING: the owner allowed this with `setChildAllowance`, and what is attached is the
|
|
@@ -2094,9 +2291,30 @@ export interface Engram {
|
|
|
2094
2291
|
* /
|
|
2095
2292
|
* / WHAT WOULD MAKE THIS WRONG: an await added between `ChildAllowance.take` and the registry call; the
|
|
2096
2293
|
* / registry's `CHILD_MIN_ATTACHED_CYCLES` moving without `CHILD_ATTACH_CYCLES`.
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2294
|
+
* /
|
|
2295
|
+
* / ⟨2026-11-02, the owner's ruling "1-4 all as you recommended" (the child build's stage 2)⟩ THE
|
|
2296
|
+
* / SIGN-IN. `signIn` names the opened engram's sign-in — the person running the agent, on a second
|
|
2297
|
+
* / credential; null opens it with none, and it then keeps small limits for life. It goes to the
|
|
2298
|
+
* / registry's door and from there into the opened engram's init record, so that engram never runs a
|
|
2299
|
+
* / message without it. Refused here first, with no await and before the allowance is taken, by the
|
|
2300
|
+
* / door's own three rules (`OwnerSignIn.candidateRefusal`): the agent's lasting key itself, the
|
|
2301
|
+
* / anonymous principal, a canister — so the agent sees the refusal before any cycles move. The
|
|
2302
|
+
* / record entry says `signIn=set` or `signIn=none`, never the principal.
|
|
2303
|
+
* / ⟨2026-11-02, the stage-2 review M3, beside the above⟩ And a fourth, the door's own: the key this
|
|
2304
|
+
* / call is signed by — the agent's session key — is refused as the sign-in too
|
|
2305
|
+
* / (`OwnerSignIn.agentKeyRefusal`), at the same place.
|
|
2306
|
+
* /
|
|
2307
|
+
* / ⟨2026-11-02, the child build's stage 2 — RENAMED from `openChildEngram`, beside the paragraphs
|
|
2308
|
+
* / above, which describe the same door⟩ It was `openChildEngram()`, with no argument. A second
|
|
2309
|
+
* / positional argument would grow its argument tuple, and a shipped tuple is frozen (evolution
|
|
2310
|
+
* / happens inside records), so the door takes ONE record whose later fields are optional, under a
|
|
2311
|
+
* / new name — the shape the registry's own door took the same day (`sysSpawnChild` →
|
|
2312
|
+
* / `sysOpenChild`). An rc.21 kit calling the old name is rejected
|
|
2313
|
+
* / (IC0536) with nothing spent; it can never open an engram without a sign-in by accident.
|
|
2314
|
+
* / Named caller: the owner kit's `open-engram` command, signed by the agent's session key.
|
|
2315
|
+
*/
|
|
2316
|
+
openChild: ActorMethod<[{ signIn: [] | [Principal] }], Result_26>;
|
|
2317
|
+
openSession: ActorMethod<[SessionConfig, PaymentSignature], Result_25>;
|
|
2100
2318
|
/**
|
|
2101
2319
|
* / Withdraw tokens to the owner's principal. This is the ONLY way to
|
|
2102
2320
|
* / move tokens out of the engram to an external address, and the
|
|
@@ -2104,7 +2322,7 @@ export interface Engram {
|
|
|
2104
2322
|
* / NOT freeze-gated: the owner always controls their own funds.
|
|
2105
2323
|
* / Guardian freeze only blocks agent/public operations.
|
|
2106
2324
|
*/
|
|
2107
|
-
ownerWithdraw: ActorMethod<[TokenAmount, [] | [ActionAuth]],
|
|
2325
|
+
ownerWithdraw: ActorMethod<[TokenAmount, [] | [ActionAuth]], Result_15>;
|
|
2108
2326
|
/**
|
|
2109
2327
|
* / ⟨0.16.0⟩ `payRentFromEarnings` DELETED — ruled TWICE (B1 and B2), and it was the single
|
|
2110
2328
|
* / clearest violation of the OSS/platform split in this repo.
|
|
@@ -2161,7 +2379,7 @@ export interface Engram {
|
|
|
2161
2379
|
* / engagement on the agent's track record, and what to do. Before, the reply was `#Ok` with the
|
|
2162
2380
|
* / record alone even when the registry had refused the start, so the agent was never told.
|
|
2163
2381
|
*/
|
|
2164
|
-
pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }],
|
|
2382
|
+
pairAgent: ActorMethod<[{ enrolment: Enrolment; code: string }], Result_24>;
|
|
2165
2383
|
/**
|
|
2166
2384
|
* / ⟨0.16.0, L2.2 — renamed from `guardianPauseWrites`⟩ Same correction as freezePayments above:
|
|
2167
2385
|
* / owner-or-guardian, and `resumeWrites` never carried the prefix either.
|
|
@@ -2192,7 +2410,7 @@ export interface Engram {
|
|
|
2192
2410
|
* / `unlocked` is the export-receipt gate ONLY. It is not a promise the condense will land: the
|
|
2193
2411
|
* / history-budget delta is checked at commit time and can still refuse a short prefix.
|
|
2194
2412
|
*/
|
|
2195
|
-
previewCondense: ActorMethod<[bigint],
|
|
2413
|
+
previewCondense: ActorMethod<[bigint], Result_23>;
|
|
2196
2414
|
/**
|
|
2197
2415
|
* / A quote for a session this caller has not opened and is not committed to — the intent a
|
|
2198
2416
|
* / buyer signs against. Pure dry run, no state, no funds.
|
|
@@ -2240,8 +2458,10 @@ export interface Engram {
|
|
|
2240
2458
|
* / takes effect change it.
|
|
2241
2459
|
* / HONEST WHEN CUT SHORT: `complete = false` when the planning budget
|
|
2242
2460
|
* / (`MemoryRouter.PREVIEW_MAX_DROPS`) ran out — the totals are then a floor, and say so.
|
|
2461
|
+
* / ⟨2026-11-03, the pre-gate fixes — spec §7, "child: sign-in — reads yes"⟩ Also the seated sign-in of
|
|
2462
|
+
* / an engram opened through another, as the owner (`#ownerOrSignIn`); a first engram is unchanged.
|
|
2243
2463
|
*/
|
|
2244
|
-
previewRetention: ActorMethod<[Array<[string, RetentionClassSpec]>],
|
|
2464
|
+
previewRetention: ActorMethod<[Array<[string, RetentionClassSpec]>], Result_22>;
|
|
2245
2465
|
/**
|
|
2246
2466
|
* / Read one memory file at its current version.
|
|
2247
2467
|
* /
|
|
@@ -2258,7 +2478,7 @@ export interface Engram {
|
|
|
2258
2478
|
* / (`sessionReadContext` and the MCP reads). A caller measuring engram usage from this method
|
|
2259
2479
|
* / will measure nothing.
|
|
2260
2480
|
*/
|
|
2261
|
-
readMemory: ActorMethod<[string],
|
|
2481
|
+
readMemory: ActorMethod<[string], Result_13>;
|
|
2262
2482
|
/**
|
|
2263
2483
|
* / Read many paths in one call. Per-path Results are KEPT — partial success is the point, and
|
|
2264
2484
|
* / one unreadable path must not fail the other nine.
|
|
@@ -2276,7 +2496,7 @@ export interface Engram {
|
|
|
2276
2496
|
* / path, each with its own Result — a refused RESERVED path sits beside a readable one, which is
|
|
2277
2497
|
* / a genuine per-path fact.
|
|
2278
2498
|
*/
|
|
2279
|
-
readMemoryBatch: ActorMethod<[Array<string>],
|
|
2499
|
+
readMemoryBatch: ActorMethod<[Array<string>], Result_21>;
|
|
2280
2500
|
/**
|
|
2281
2501
|
* / ⟨0.16.0⟩ `getMemoryRetentionGuards` DELETED — folded into `getMemoryRetentionPolicy` above.
|
|
2282
2502
|
* / It was the second L2.1 array-returning `get*`, and separating it from the policy it modifies
|
|
@@ -2288,7 +2508,7 @@ export interface Engram {
|
|
|
2288
2508
|
* / see it cannot know whether it has the whole range, which is how silent truncation gets
|
|
2289
2509
|
* / reintroduced. Loop while `more` is true, advancing by the bytes actually returned.
|
|
2290
2510
|
*/
|
|
2291
|
-
readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]],
|
|
2511
|
+
readMemoryBytes: ActorMethod<[string, bigint, bigint, [] | [bigint]], Result_20>;
|
|
2292
2512
|
/**
|
|
2293
2513
|
* / The escrow exit for a session whose settle cannot pay.
|
|
2294
2514
|
* /
|
|
@@ -2353,7 +2573,7 @@ export interface Engram {
|
|
|
2353
2573
|
* / the amount can be read back — a session closed in the same moment as the recovery and cleaned up
|
|
2354
2574
|
* / during its transfer — it answers `#Other` naming the block, never a guessed amount.
|
|
2355
2575
|
*/
|
|
2356
|
-
recoverEscrow: ActorMethod<[string, bigint],
|
|
2576
|
+
recoverEscrow: ActorMethod<[string, bigint], Result_19>;
|
|
2357
2577
|
/**
|
|
2358
2578
|
* / ⟨0.16.0, L1⟩ A REDEMPTION PATH, where the arm choice is a disclosure decision.
|
|
2359
2579
|
* /
|
|
@@ -2369,7 +2589,7 @@ export interface Engram {
|
|
|
2369
2589
|
* / owner's invite gave them and that they cannot act until approved; before, that took a second
|
|
2370
2590
|
* / read they had no reason to know to make.
|
|
2371
2591
|
*/
|
|
2372
|
-
registerGuardian: ActorMethod<[string],
|
|
2592
|
+
registerGuardian: ActorMethod<[string], Result_18>;
|
|
2373
2593
|
/**
|
|
2374
2594
|
* / Remove a per-caller override so that caller reverts to — and keeps TRACKING — the global caps.
|
|
2375
2595
|
* /
|
|
@@ -2408,6 +2628,15 @@ export interface Engram {
|
|
|
2408
2628
|
* / line, so the roster is theirs and its contents are not a secret being withheld from them.
|
|
2409
2629
|
*/
|
|
2410
2630
|
removeGuardian: ActorMethod<[Principal], Result_2>;
|
|
2631
|
+
/**
|
|
2632
|
+
* / Remove a listed seller, at once: from now a payment to it meets the engram-wide ceiling and the
|
|
2633
|
+
* / paying agent's own limits again, and adding it back waits 24 hours. Removing TIGHTENS, so the key
|
|
2634
|
+
* / file may do it as well as the sign-in, and it works while payments are frozen. Its "paid before"
|
|
2635
|
+
* / history is kept (that is about the address, not the row). Unknown address `#NotFound`.
|
|
2636
|
+
* / Named callers: an owner console's seller list, and the owner kit (the key file's way to stop a
|
|
2637
|
+
* / seller).
|
|
2638
|
+
*/
|
|
2639
|
+
removeSeller: ActorMethod<[string], Result_2>;
|
|
2411
2640
|
/**
|
|
2412
2641
|
* / ⟨2026-10-21, the owner's round-11 answer a⟩ OWNER-ONLY: give an agent a new name. A name was
|
|
2413
2642
|
* / fixed at the invite, and two agents both called "agent" is how the 2026-10-20 session started.
|
|
@@ -2426,7 +2655,7 @@ export interface Engram {
|
|
|
2426
2655
|
* / the original audit entry stay exactly where they were; this appends a chained
|
|
2427
2656
|
* / `memory.repudiate` entry and lists the (path, version) so readers can see the dispute.
|
|
2428
2657
|
*/
|
|
2429
|
-
repudiateMemoryWrite: ActorMethod<[string, bigint, string],
|
|
2658
|
+
repudiateMemoryWrite: ActorMethod<[string, bigint, string], Result_15>;
|
|
2430
2659
|
/**
|
|
2431
2660
|
* / ⚠ OWNER-ONLY BULK RESET. Destructive, and wider than its name suggests.
|
|
2432
2661
|
* /
|
|
@@ -2446,6 +2675,10 @@ export interface Engram {
|
|
|
2446
2675
|
* / · ⟨2026-10-02⟩ the seat weeks of every engagement (`agentSeatWeeks`), with the signature count
|
|
2447
2676
|
* / they sit beside, and the owner's switch over the metrics reader's read and the reader it
|
|
2448
2677
|
* / names — a reset severs access, it does not change who may read what was kept.
|
|
2678
|
+
* / · ⟨2026-11-02, the child build — decided "unless you object", recorded at stage 5⟩ the seller
|
|
2679
|
+
* / list and the paid history (`listSellers`, `getRecipientHistory`), as the typed-data
|
|
2680
|
+
* / destinations are kept: a reset severs access, it does not forget which counterparties the
|
|
2681
|
+
* / owner approved or which addresses this engram has paid.
|
|
2449
2682
|
* /
|
|
2450
2683
|
* / ⟨2026-10-02⟩ It tells the spawning registry that it happened (`sysNoteReset`), on every reset.
|
|
2451
2684
|
* /
|
|
@@ -2456,7 +2689,7 @@ export interface Engram {
|
|
|
2456
2689
|
* / long-lived enough for the rent model to apply, the reset entry is not guaranteed to still be
|
|
2457
2690
|
* / there. `agentPurgeLog` is the evidence that does not age out — which is why it exists.
|
|
2458
2691
|
*/
|
|
2459
|
-
resetEngram: ActorMethod<[],
|
|
2692
|
+
resetEngram: ActorMethod<[], Result_17>;
|
|
2460
2693
|
/**
|
|
2461
2694
|
* / ⟨2026-09-28, owner decision: an agent can resign from an engram, and the resignation is
|
|
2462
2695
|
* / recorded⟩ The AGENT ends its own engagement with this engram.
|
|
@@ -2508,7 +2741,7 @@ export interface Engram {
|
|
|
2508
2741
|
* / each such engagement under `cannotBeRecorded` (key, root, invite, and how and when it ended),
|
|
2509
2742
|
* / apart from `notRecorded`, so the owner sees them rather than silence.
|
|
2510
2743
|
*/
|
|
2511
|
-
resyncAgentEdges: ActorMethod<[],
|
|
2744
|
+
resyncAgentEdges: ActorMethod<[], Result_16>;
|
|
2512
2745
|
/**
|
|
2513
2746
|
* / Return to managed custody: the engram adds the registry back as a controller ALONGSIDE the
|
|
2514
2747
|
* / owner — it does not remove the owner. The inverse of `claimSovereignty`, and the reason
|
|
@@ -2570,7 +2803,7 @@ export interface Engram {
|
|
|
2570
2803
|
* / that fails leaves the agents revoked here regardless — a partial notify is not a partial
|
|
2571
2804
|
* / revocation, which is the direction that matters for a panic button.
|
|
2572
2805
|
*/
|
|
2573
|
-
revokeAllAgents: ActorMethod<[],
|
|
2806
|
+
revokeAllAgents: ActorMethod<[], Result_15>;
|
|
2574
2807
|
/**
|
|
2575
2808
|
* / Owner-only panic button: revoke every connector bearer token at once. Returns how many.
|
|
2576
2809
|
* /
|
|
@@ -2581,7 +2814,7 @@ export interface Engram {
|
|
|
2581
2814
|
* /
|
|
2582
2815
|
* / Tokens are re-issuable: revoking them is not permanent the way revoking an agent is.
|
|
2583
2816
|
*/
|
|
2584
|
-
revokeAllBearerTokens: ActorMethod<[],
|
|
2817
|
+
revokeAllBearerTokens: ActorMethod<[], Result_15>;
|
|
2585
2818
|
/**
|
|
2586
2819
|
* / ⟨0.16.0⟩ `removeAllGuardians` DELETED — test-only (L6), and verified NOT part of KILL-SWITCH's
|
|
2587
2820
|
* / mass-revoke set. The destructive phase-07 suite iterates `removeGuardian` instead, so nothing
|
|
@@ -2595,7 +2828,7 @@ export interface Engram {
|
|
|
2595
2828
|
* / Unlike revoking an agent, this costs nothing permanently — an invite is a one-time code,
|
|
2596
2829
|
* / so voiding it and minting a fresh one is the ordinary path.
|
|
2597
2830
|
*/
|
|
2598
|
-
revokeAllInvites: ActorMethod<[],
|
|
2831
|
+
revokeAllInvites: ActorMethod<[], Result_15>;
|
|
2599
2832
|
/**
|
|
2600
2833
|
* / Revoke a bearer token by its public tokenId. Idempotent.
|
|
2601
2834
|
* / Subsequent /mcp requests using this token will be rejected.
|
|
@@ -2628,6 +2861,34 @@ export interface Engram {
|
|
|
2628
2861
|
* / agent reading `#Refused` would go looking for a permission that was never missing.
|
|
2629
2862
|
*/
|
|
2630
2863
|
rotateAgentKeyHash: ActorMethod<[string], Result_2>;
|
|
2864
|
+
/**
|
|
2865
|
+
* / Send money from this engram's wallet to the engram it was opened through — "up", and only up:
|
|
2866
|
+
* / the destination is always the parent engram's own default account, never an address the caller
|
|
2867
|
+
* / names. ANY amount (the owner's ruling "B"); the answer is the ledger's block index.
|
|
2868
|
+
* /
|
|
2869
|
+
* / WHO: the owner's key file or the sign-in, in an engram opened through another (the build's
|
|
2870
|
+
* / resolution L14: both may send — the key file's honest sweep needs it, and the sign-in may sweep
|
|
2871
|
+
* / too); refused to anyone else. In a first engram there is nothing above it, and it refuses with
|
|
2872
|
+
* / `#Conflict`. NOT freeze-gated: up is not out, so a payments freeze does not stop it.
|
|
2873
|
+
* /
|
|
2874
|
+
* / ORDER: the caller, then the parent from this engram's own birth record (`openedFrom`, no await),
|
|
2875
|
+
* / then ONE call to the registry — refused unless the registry shows the parent registered, active
|
|
2876
|
+
* / and not abandoned (`#Refused`; the registry unreachable is `#Unavailable`; nothing sent either
|
|
2877
|
+
* / way) — then ONE ledger transfer, the same per-token ledger as `ownerWithdraw`. Both calls are
|
|
2878
|
+
* / counted (ADR-0025), so near its freezing line this engram may be unable to send the registry
|
|
2879
|
+
* / call at all; it then answers `#Unavailable` and nothing moves.
|
|
2880
|
+
* /
|
|
2881
|
+
* / NO RE-CHECK between the two calls, deliberately: the parent can be abandoned in between, and the
|
|
2882
|
+
* / money then sits in an existing canister whose owner can still withdraw it. Guarding that window
|
|
2883
|
+
* / would need a third call and buys nothing the owner of the parent does not already have.
|
|
2884
|
+
* /
|
|
2885
|
+
* / NOT INCOME. The parent's track record is engagements, standing, seat-weeks and counts of use, and
|
|
2886
|
+
* / signature counts count signatures; nothing reads a ledger balance, and this method calls none of
|
|
2887
|
+
* / those writers (test/child-sign-in-wiring.test.ts rule 13). Written to the record as
|
|
2888
|
+
* / `wallet.sendToParent` (money class), with the amount, the token, the parent and the block.
|
|
2889
|
+
* / Named callers: the owner kit, signed by the key file; an owner console, signed in as the sign-in.
|
|
2890
|
+
*/
|
|
2891
|
+
sendToParent: ActorMethod<[TokenAmount], Result_15>;
|
|
2631
2892
|
/**
|
|
2632
2893
|
* / Append to a memory file against a PAID x402 session voucher — the write half of the paid rail,
|
|
2633
2894
|
* / authorized by the voucher rather than by a role.
|
|
@@ -2674,7 +2935,7 @@ export interface Engram {
|
|
|
2674
2935
|
* / CIPHERTEXT; the key-holding SDK decrypts it. A caller without the key gets bytes it cannot
|
|
2675
2936
|
* / read, not an error.
|
|
2676
2937
|
*/
|
|
2677
|
-
sessionReadContext: ActorMethod<[string],
|
|
2938
|
+
sessionReadContext: ActorMethod<[string], Result_14>;
|
|
2678
2939
|
/**
|
|
2679
2940
|
* / Read one memory file against a PAID x402 session voucher. No role, no invite — the voucher is
|
|
2680
2941
|
* / the authorization, which is what makes this the engram's one rail a stranger can pay to use.
|
|
@@ -2706,7 +2967,7 @@ export interface Engram {
|
|
|
2706
2967
|
* / cent voucher could read `secrets/*`.
|
|
2707
2968
|
* / · Payments are frozen on this engram.
|
|
2708
2969
|
*/
|
|
2709
|
-
sessionReadMemory: ActorMethod<[Voucher, string],
|
|
2970
|
+
sessionReadMemory: ActorMethod<[Voucher, string], Result_13>;
|
|
2710
2971
|
/**
|
|
2711
2972
|
* / Configure action alerts: an https webhook that receives new chained-audit entries matching the
|
|
2712
2973
|
* / enabled event classes (money / approvals / guardian / agentWrites), batched, at most one
|
|
@@ -2760,7 +3021,7 @@ export interface Engram {
|
|
|
2760
3021
|
* / across all of them. "The write is the read" above went stale for a second phone, which never
|
|
2761
3022
|
* / made the write: `getBackupRetention` is the read.
|
|
2762
3023
|
*/
|
|
2763
|
-
setBackupRetention: ActorMethod<[string, bigint],
|
|
3024
|
+
setBackupRetention: ActorMethod<[string, bigint], Result_12>;
|
|
2764
3025
|
/**
|
|
2765
3026
|
* / Override the caps for ONE caller — an agent this owner trusts more, or less, than the rest.
|
|
2766
3027
|
*/
|
|
@@ -2839,6 +3100,18 @@ export interface Engram {
|
|
|
2839
3100
|
* / only cost is a delay on keeping MORE, which destroys nothing.
|
|
2840
3101
|
*/
|
|
2841
3102
|
setMemoryRetentionPolicy: ActorMethod<[Array<[string, RetentionClassSpec]>], Result_2>;
|
|
3103
|
+
/**
|
|
3104
|
+
* / The SIGN-IN changes itself to `next` — "changeable only by itself". Immediate (a delay would need
|
|
3105
|
+
* / a third credential to cut it short). The key file is refused by name: it never names a sign-in,
|
|
3106
|
+
* / or a thief holding a copy would name themselves. A first engram refuses: its owner is its own
|
|
3107
|
+
* / sign-in. `next` must pass the door's rules and not be an agent or a guardian here. When this
|
|
3108
|
+
* / engram holds a sealed copy of the owner's key, `resealedBackup` is that copy re-sealed for `next`
|
|
3109
|
+
* / (the sign-in opens it and re-seals it client-side) and is stored in the same message, so the copy
|
|
3110
|
+
* / never names a sign-in that is not this engram's; with no copy held, none may be passed. Not
|
|
3111
|
+
* / blocked by a freeze: a freeze must not lock the sign-in out of itself.
|
|
3112
|
+
* / Named caller: an owner console, signed in as the sign-in ("change your sign-in").
|
|
3113
|
+
*/
|
|
3114
|
+
setOwnerSignIn: ActorMethod<[Principal, [] | [Uint8Array | number[]]], Result_2>;
|
|
2842
3115
|
/**
|
|
2843
3116
|
* / Owner-only: open or close the monetized read rail. When disabled (the default), sessionReadMemory
|
|
2844
3117
|
* / fails closed for every voucher-bearer — selling the owner's memory is opt-in, not the default.
|
|
@@ -2877,6 +3150,15 @@ export interface Engram {
|
|
|
2877
3150
|
* / when the read was on or off is part of the record. Anyone else is refused by name.
|
|
2878
3151
|
*/
|
|
2879
3152
|
setSeatWeeksReadEnabled: ActorMethod<[boolean], Result_2>;
|
|
3153
|
+
/**
|
|
3154
|
+
* / Change a listed seller's daily cap. A LOWER (or equal) cap applies at once and cancels a raise that
|
|
3155
|
+
* / was waiting; a HIGHER cap waits 24 hours, as a new seller does (the cap in force until then is the
|
|
3156
|
+
* / old one, and a second raise restarts the wait). Answers when the new cap applies. The sign-in only,
|
|
3157
|
+
* / in an engram opened through another; the owner in a first engram. A raise is refused while payments
|
|
3158
|
+
* / are frozen; a lowering is not. Unknown address `#NotFound`; a cap of 0 `#Invalid` (remove instead).
|
|
3159
|
+
* / Named callers: an owner console's seller list, as `addSeller`.
|
|
3160
|
+
*/
|
|
3161
|
+
setSellerCap: ActorMethod<[string, bigint], Result_11>;
|
|
2880
3162
|
/**
|
|
2881
3163
|
* / Set the most this engram may spend per day ACROSS EVERY CALLER — five agents, the owner and the
|
|
2882
3164
|
* / marketplace together. `null` removes the ceiling. ⟨2026-09-28⟩
|
|
@@ -2980,6 +3262,14 @@ export interface Engram {
|
|
|
2980
3262
|
* / ⟨0.16.0⟩ PERSISTS beside the market's `sysSignEip712` (census row 177, ruled). The owner does
|
|
2981
3263
|
* / not lose the ability to sign because a marketplace gained it, and the two share every control
|
|
2982
3264
|
* / below the caller gate.
|
|
3265
|
+
* /
|
|
3266
|
+
* / ⟨2026-11-02, the owner's ruling "1-4 all as you recommended" (the sign-in "approves trading keys")
|
|
3267
|
+
* / — the child build's stage 5⟩ In an engram opened through another, a type named
|
|
3268
|
+
* / `HyperliquidTransaction:ApproveAgent` (`Eip712Policy.childSignInOnlyToSign`) is signed by the
|
|
3269
|
+
* / sign-in alone: the key file is refused it by name, and the sign-in may sign it (as the owner, on
|
|
3270
|
+
* / the record). Every other type is the key file's to sign, as before. An access check beside the
|
|
3271
|
+
* / owner gate, keyed by the registered NAME, before any of `eip712SignFor`'s eight checks; a first
|
|
3272
|
+
* / engram is untouched (its owner is its own sign-in).
|
|
2983
3273
|
*/
|
|
2984
3274
|
signEip712: ActorMethod<[Uint8Array | number[], Array<[string, Eip712Value]>], Result_5>;
|
|
2985
3275
|
/**
|
|
@@ -3082,6 +3372,17 @@ export interface Engram {
|
|
|
3082
3372
|
* / the same person again.
|
|
3083
3373
|
*/
|
|
3084
3374
|
stepDownAsGuardian: ActorMethod<[], Result_2>;
|
|
3375
|
+
/**
|
|
3376
|
+
* / The key file stores the sealed copy of its own key — once, right after the engram is opened,
|
|
3377
|
+
* / sealed by the owner kit for the sign-in named at birth. Refused in a first engram, when no
|
|
3378
|
+
* / sign-in is seated (nobody could open it), when a copy is already held (set-once: a thief holding
|
|
3379
|
+
* / the same file cannot overwrite the honest copy; a later sign-in's copy arrives through
|
|
3380
|
+
* / `setOwnerSignIn`'s re-seal or `acceptSignIn`), and for an empty or oversized blob
|
|
3381
|
+
* / (`OwnerSignIn.storeRefusal`). The engram stamps whom the copy is for from its own sign-in — the
|
|
3382
|
+
* / caller never names it. Not blocked by a freeze: storing a recovery path loosens nothing.
|
|
3383
|
+
* / Named caller: the owner kit, signed by the agent's lasting key, right after it opens the engram.
|
|
3384
|
+
*/
|
|
3385
|
+
storeKeyBackup: ActorMethod<[Uint8Array | number[]], Result_2>;
|
|
3085
3386
|
/**
|
|
3086
3387
|
* / OWNER force-close, for a session the payer abandoned.
|
|
3087
3388
|
* /
|
|
@@ -3383,6 +3684,10 @@ export interface Engram {
|
|
|
3383
3684
|
* /
|
|
3384
3685
|
* / That is what "signatures only" means in code, and it is why this method needs no new authority
|
|
3385
3686
|
* / model: an unregistered typeId is refused for the market exactly as it is for the owner.
|
|
3687
|
+
* /
|
|
3688
|
+
* / ⟨2026-11-02, the child build's stage 5⟩ In an engram opened through another, approving a trading
|
|
3689
|
+
* / key (`HyperliquidTransaction:ApproveAgent`) is refused to the market (`#Refused`): it is signed by
|
|
3690
|
+
* / that engram's sign-in alone, through `signEip712`.
|
|
3386
3691
|
*/
|
|
3387
3692
|
sysSignEip712: ActorMethod<[Uint8Array | number[], Array<[string, Eip712Value]>], Result_5>;
|
|
3388
3693
|
/**
|
|
@@ -3636,6 +3941,13 @@ export interface Ic402Maintenance {
|
|
|
3636
3941
|
rateLimitRemoved: bigint;
|
|
3637
3942
|
lastRunAtNs: bigint;
|
|
3638
3943
|
}
|
|
3944
|
+
export interface KeyBackupStatus {
|
|
3945
|
+
matchesSignIn: boolean;
|
|
3946
|
+
copyWaitsWithAsk: boolean;
|
|
3947
|
+
sealed: boolean;
|
|
3948
|
+
sealedFor: [] | [Principal];
|
|
3949
|
+
sealedAtNs: [] | [bigint];
|
|
3950
|
+
}
|
|
3639
3951
|
export interface KeyNomination {
|
|
3640
3952
|
key: Principal;
|
|
3641
3953
|
atNs: bigint;
|
|
@@ -3643,7 +3955,7 @@ export interface KeyNomination {
|
|
|
3643
3955
|
export interface LogPage {
|
|
3644
3956
|
firstAvailableSeq: bigint;
|
|
3645
3957
|
head: Uint8Array | number[];
|
|
3646
|
-
page:
|
|
3958
|
+
page: Page_10;
|
|
3647
3959
|
}
|
|
3648
3960
|
export interface LogPosition {
|
|
3649
3961
|
reads: bigint;
|
|
@@ -3825,6 +4137,15 @@ export interface OwnerRow {
|
|
|
3825
4137
|
produced: bigint;
|
|
3826
4138
|
firstPaymentDay: [] | [bigint];
|
|
3827
4139
|
}
|
|
4140
|
+
export interface OwnerSignInView {
|
|
4141
|
+
askedAtNs: [] | [bigint];
|
|
4142
|
+
openedFrom: [] | [Principal];
|
|
4143
|
+
declinedAtNs: [] | [bigint];
|
|
4144
|
+
callerIsSignIn: boolean;
|
|
4145
|
+
declinedBy: [] | [Principal];
|
|
4146
|
+
callerIsAsked: boolean;
|
|
4147
|
+
ownerSignIn: [] | [Principal];
|
|
4148
|
+
}
|
|
3828
4149
|
export interface OwnershipTransfer {
|
|
3829
4150
|
to: Principal;
|
|
3830
4151
|
atNs: bigint;
|
|
@@ -3839,89 +4160,94 @@ export interface Page {
|
|
|
3839
4160
|
export interface Page_1 {
|
|
3840
4161
|
total: bigint;
|
|
3841
4162
|
withheld: bigint;
|
|
3842
|
-
items: Array<
|
|
4163
|
+
items: Array<SellerView>;
|
|
3843
4164
|
}
|
|
3844
4165
|
export interface Page_10 {
|
|
3845
4166
|
total: bigint;
|
|
3846
4167
|
withheld: bigint;
|
|
3847
|
-
items: Array<
|
|
4168
|
+
items: Array<MemoryLogEvent>;
|
|
3848
4169
|
}
|
|
3849
4170
|
export interface Page_11 {
|
|
3850
4171
|
total: bigint;
|
|
3851
4172
|
withheld: bigint;
|
|
3852
|
-
items: Array<
|
|
4173
|
+
items: Array<MemoryFileRow>;
|
|
3853
4174
|
}
|
|
3854
4175
|
export interface Page_12 {
|
|
3855
4176
|
total: bigint;
|
|
3856
4177
|
withheld: bigint;
|
|
3857
|
-
items: Array<
|
|
4178
|
+
items: Array<ExportReceiptRow>;
|
|
3858
4179
|
}
|
|
3859
4180
|
export interface Page_13 {
|
|
3860
4181
|
total: bigint;
|
|
3861
4182
|
withheld: bigint;
|
|
3862
|
-
items: Array<
|
|
4183
|
+
items: Array<GuardianRecord>;
|
|
3863
4184
|
}
|
|
3864
4185
|
export interface Page_14 {
|
|
3865
4186
|
total: bigint;
|
|
3866
4187
|
withheld: bigint;
|
|
3867
|
-
items: Array<
|
|
4188
|
+
items: Array<GuardianDispute>;
|
|
3868
4189
|
}
|
|
3869
4190
|
export interface Page_15 {
|
|
3870
4191
|
total: bigint;
|
|
3871
4192
|
withheld: bigint;
|
|
3872
|
-
items: Array<
|
|
4193
|
+
items: Array<Eip712TypeView>;
|
|
3873
4194
|
}
|
|
3874
4195
|
export interface Page_16 {
|
|
3875
4196
|
total: bigint;
|
|
3876
4197
|
withheld: bigint;
|
|
3877
|
-
items: Array<
|
|
4198
|
+
items: Array<Eip712Destination>;
|
|
3878
4199
|
}
|
|
3879
4200
|
export interface Page_17 {
|
|
3880
4201
|
total: bigint;
|
|
3881
4202
|
withheld: bigint;
|
|
3882
|
-
items: Array<
|
|
4203
|
+
items: Array<string>;
|
|
3883
4204
|
}
|
|
3884
4205
|
export interface Page_18 {
|
|
3885
4206
|
total: bigint;
|
|
3886
4207
|
withheld: bigint;
|
|
3887
|
-
items: Array<
|
|
4208
|
+
items: Array<CycleSnapshot>;
|
|
3888
4209
|
}
|
|
3889
4210
|
export interface Page_19 {
|
|
3890
4211
|
total: bigint;
|
|
3891
4212
|
withheld: bigint;
|
|
3892
|
-
items: Array<
|
|
4213
|
+
items: Array<CondenseCheckpointRow>;
|
|
3893
4214
|
}
|
|
3894
4215
|
export interface Page_2 {
|
|
3895
4216
|
total: bigint;
|
|
3896
4217
|
withheld: bigint;
|
|
3897
|
-
items: Array<
|
|
4218
|
+
items: Array<Repudiation>;
|
|
3898
4219
|
}
|
|
3899
4220
|
export interface Page_20 {
|
|
3900
4221
|
total: bigint;
|
|
3901
4222
|
withheld: bigint;
|
|
3902
|
-
items: Array<
|
|
4223
|
+
items: Array<BearerToken>;
|
|
3903
4224
|
}
|
|
3904
4225
|
export interface Page_21 {
|
|
3905
4226
|
total: bigint;
|
|
3906
4227
|
withheld: bigint;
|
|
3907
|
-
items: Array<
|
|
4228
|
+
items: Array<BackupMetadata>;
|
|
3908
4229
|
}
|
|
3909
4230
|
export interface Page_22 {
|
|
3910
4231
|
total: bigint;
|
|
3911
4232
|
withheld: bigint;
|
|
3912
|
-
items: Array<
|
|
4233
|
+
items: Array<{ status: AgentStatus; principal: Principal; name: string }>;
|
|
3913
4234
|
}
|
|
3914
4235
|
export interface Page_23 {
|
|
3915
4236
|
total: bigint;
|
|
3916
4237
|
withheld: bigint;
|
|
3917
|
-
items: Array<
|
|
4238
|
+
items: Array<AgentRecord>;
|
|
3918
4239
|
}
|
|
3919
4240
|
export interface Page_24 {
|
|
3920
4241
|
total: bigint;
|
|
3921
4242
|
withheld: bigint;
|
|
3922
|
-
items: Array<
|
|
4243
|
+
items: Array<AgentSpendRow>;
|
|
3923
4244
|
}
|
|
3924
4245
|
export interface Page_25 {
|
|
4246
|
+
total: bigint;
|
|
4247
|
+
withheld: bigint;
|
|
4248
|
+
items: Array<ActivitySnapshot>;
|
|
4249
|
+
}
|
|
4250
|
+
export interface Page_26 {
|
|
3925
4251
|
total: bigint;
|
|
3926
4252
|
withheld: bigint;
|
|
3927
4253
|
items: Array<OwnerRow>;
|
|
@@ -3929,37 +4255,37 @@ export interface Page_25 {
|
|
|
3929
4255
|
export interface Page_3 {
|
|
3930
4256
|
total: bigint;
|
|
3931
4257
|
withheld: bigint;
|
|
3932
|
-
items: Array<
|
|
4258
|
+
items: Array<RecordNote>;
|
|
3933
4259
|
}
|
|
3934
4260
|
export interface Page_4 {
|
|
3935
4261
|
total: bigint;
|
|
3936
4262
|
withheld: bigint;
|
|
3937
|
-
items: Array<
|
|
4263
|
+
items: Array<AuditEntry>;
|
|
3938
4264
|
}
|
|
3939
4265
|
export interface Page_5 {
|
|
3940
4266
|
total: bigint;
|
|
3941
4267
|
withheld: bigint;
|
|
3942
|
-
items: Array<
|
|
4268
|
+
items: Array<PurgedAgent>;
|
|
3943
4269
|
}
|
|
3944
4270
|
export interface Page_6 {
|
|
3945
4271
|
total: bigint;
|
|
3946
4272
|
withheld: bigint;
|
|
3947
|
-
items: Array<
|
|
4273
|
+
items: Array<AgentPaymentSignatures>;
|
|
3948
4274
|
}
|
|
3949
4275
|
export interface Page_7 {
|
|
3950
4276
|
total: bigint;
|
|
3951
4277
|
withheld: bigint;
|
|
3952
|
-
items: Array<
|
|
4278
|
+
items: Array<OwnershipTransfer>;
|
|
3953
4279
|
}
|
|
3954
4280
|
export interface Page_8 {
|
|
3955
4281
|
total: bigint;
|
|
3956
4282
|
withheld: bigint;
|
|
3957
|
-
items: Array<
|
|
4283
|
+
items: Array<EngramSessionState>;
|
|
3958
4284
|
}
|
|
3959
4285
|
export interface Page_9 {
|
|
3960
4286
|
total: bigint;
|
|
3961
4287
|
withheld: bigint;
|
|
3962
|
-
items: Array<
|
|
4288
|
+
items: Array<ApprovalRequest>;
|
|
3963
4289
|
}
|
|
3964
4290
|
export interface Pairing {
|
|
3965
4291
|
agent: AgentRecord;
|
|
@@ -3987,7 +4313,7 @@ export interface PaymentSignature {
|
|
|
3987
4313
|
export interface PaymentSignatureCounts {
|
|
3988
4314
|
day: bigint;
|
|
3989
4315
|
marketplace: [] | [MarketplacePaymentSignatures];
|
|
3990
|
-
agents:
|
|
4316
|
+
agents: Page_6;
|
|
3991
4317
|
limit: bigint;
|
|
3992
4318
|
}
|
|
3993
4319
|
export interface PaymentsNow {
|
|
@@ -4022,9 +4348,19 @@ export interface RailHealth {
|
|
|
4022
4348
|
}
|
|
4023
4349
|
export interface ReceiptPage {
|
|
4024
4350
|
firstAvailableSeq: bigint;
|
|
4025
|
-
page:
|
|
4351
|
+
page: Page_12;
|
|
4026
4352
|
scannedThroughSeq: bigint;
|
|
4027
4353
|
}
|
|
4354
|
+
export interface RecipientHistory {
|
|
4355
|
+
historyFull: boolean;
|
|
4356
|
+
firstPaidAtNs: [] | [bigint];
|
|
4357
|
+
timesPaid: bigint;
|
|
4358
|
+
paidBefore: boolean;
|
|
4359
|
+
liveNow: boolean;
|
|
4360
|
+
lastPaidAtNs: [] | [bigint];
|
|
4361
|
+
largestPaidE6: bigint;
|
|
4362
|
+
listedSeller: boolean;
|
|
4363
|
+
}
|
|
4028
4364
|
export interface RecordNote {
|
|
4029
4365
|
about: bigint;
|
|
4030
4366
|
atNs: bigint;
|
|
@@ -4054,85 +4390,89 @@ export interface ResetReport {
|
|
|
4054
4390
|
export type Result = { Ok: WriteReceipt } | { Err: Error };
|
|
4055
4391
|
export type Result_1 = { Ok: TimersWake } | { Err: Error };
|
|
4056
4392
|
export type Result_10 = { Ok: SignedTransaction } | { Err: Error };
|
|
4057
|
-
export type Result_11 = { Ok:
|
|
4058
|
-
export type Result_12 = { Ok:
|
|
4059
|
-
export type Result_13 = { Ok:
|
|
4060
|
-
export type Result_14 = { Ok:
|
|
4061
|
-
export type Result_15 = { Ok:
|
|
4062
|
-
export type Result_16 = { Ok:
|
|
4063
|
-
export type Result_17 = { Ok:
|
|
4064
|
-
export type Result_18 = { Ok:
|
|
4065
|
-
export type Result_19 = { Ok:
|
|
4393
|
+
export type Result_11 = { Ok: { activatesAtNs: bigint } } | { Err: Error };
|
|
4394
|
+
export type Result_12 = { Ok: BackupRetentionReport } | { Err: Error };
|
|
4395
|
+
export type Result_13 = { Ok: MemoryFile } | { Err: Error };
|
|
4396
|
+
export type Result_14 = { Ok: SessionContext } | { Err: Error };
|
|
4397
|
+
export type Result_15 = { Ok: bigint } | { Err: Error };
|
|
4398
|
+
export type Result_16 = { Ok: ResyncReport } | { Err: Error };
|
|
4399
|
+
export type Result_17 = { Ok: ResetReport } | { Err: Error };
|
|
4400
|
+
export type Result_18 = { Ok: GuardianRecord } | { Err: Error };
|
|
4401
|
+
export type Result_19 = { Ok: EngramEscrowRecovery } | { Err: Error };
|
|
4066
4402
|
export type Result_2 = { Ok: null } | { Err: Error };
|
|
4067
|
-
export type Result_20 = { Ok:
|
|
4068
|
-
export type Result_21 = { Ok:
|
|
4069
|
-
export type Result_22 = { Ok:
|
|
4070
|
-
export type Result_23 = { Ok:
|
|
4071
|
-
export type Result_24 = { Ok:
|
|
4072
|
-
export type Result_25 = { Ok:
|
|
4073
|
-
export type Result_26 = { Ok:
|
|
4074
|
-
export type Result_27 = { Ok:
|
|
4075
|
-
export type Result_28 = { Ok:
|
|
4076
|
-
export type Result_29 = { Ok:
|
|
4403
|
+
export type Result_20 = { Ok: MemoryByteChunk } | { Err: Error };
|
|
4404
|
+
export type Result_21 = { Ok: Array<BatchReadItem> } | { Err: Error };
|
|
4405
|
+
export type Result_22 = { Ok: RetentionPreview } | { Err: Error };
|
|
4406
|
+
export type Result_23 = { Ok: CondensePreview } | { Err: Error };
|
|
4407
|
+
export type Result_24 = { Ok: Pairing } | { Err: Error };
|
|
4408
|
+
export type Result_25 = { Ok: EngramSessionState } | { Err: Error };
|
|
4409
|
+
export type Result_26 = { Ok: Principal } | { Err: Error };
|
|
4410
|
+
export type Result_27 = { Ok: AgentGrant } | { Err: Error };
|
|
4411
|
+
export type Result_28 = { Ok: Page } | { Err: Error };
|
|
4412
|
+
export type Result_29 = { Ok: Page_1 } | { Err: Error };
|
|
4077
4413
|
export type Result_3 = { Ok: ControlHandover } | { Err: Error };
|
|
4078
|
-
export type Result_30 = { Ok:
|
|
4079
|
-
export type Result_31 = { Ok:
|
|
4080
|
-
export type Result_32 = { Ok:
|
|
4081
|
-
export type Result_33 = { Ok:
|
|
4082
|
-
export type Result_34 = { Ok:
|
|
4083
|
-
export type Result_35 = { Ok:
|
|
4084
|
-
export type Result_36 = { Ok:
|
|
4085
|
-
export type Result_37 = { Ok:
|
|
4086
|
-
export type Result_38 = { Ok:
|
|
4087
|
-
export type Result_39 = { Ok:
|
|
4414
|
+
export type Result_30 = { Ok: Page_2 } | { Err: Error };
|
|
4415
|
+
export type Result_31 = { Ok: Page_3 } | { Err: Error };
|
|
4416
|
+
export type Result_32 = { Ok: Page_4 } | { Err: Error };
|
|
4417
|
+
export type Result_33 = { Ok: Page_5 } | { Err: Error };
|
|
4418
|
+
export type Result_34 = { Ok: PaymentSignatureCounts } | { Err: Error };
|
|
4419
|
+
export type Result_35 = { Ok: Page_7 } | { Err: Error };
|
|
4420
|
+
export type Result_36 = { Ok: Page_8 } | { Err: Error };
|
|
4421
|
+
export type Result_37 = { Ok: Page_9 } | { Err: Error };
|
|
4422
|
+
export type Result_38 = { Ok: LogPage } | { Err: Error };
|
|
4423
|
+
export type Result_39 = { Ok: Page_11 } | { Err: Error };
|
|
4088
4424
|
export type Result_4 = { Ok: X402SignOutcome } | { Err: Error };
|
|
4089
|
-
export type Result_40 = { Ok:
|
|
4090
|
-
export type Result_41 = { Ok:
|
|
4091
|
-
export type Result_42 = { Ok:
|
|
4092
|
-
export type Result_43 = { Ok:
|
|
4093
|
-
export type Result_44 = { Ok:
|
|
4094
|
-
export type Result_45 = { Ok:
|
|
4095
|
-
export type Result_46 = { Ok:
|
|
4096
|
-
export type Result_47 = { Ok:
|
|
4097
|
-
export type Result_48 = { Ok:
|
|
4425
|
+
export type Result_40 = { Ok: ReceiptPage } | { Err: Error };
|
|
4426
|
+
export type Result_41 = { Ok: Page_13 } | { Err: Error };
|
|
4427
|
+
export type Result_42 = { Ok: Page_14 } | { Err: Error };
|
|
4428
|
+
export type Result_43 = { Ok: Page_15 } | { Err: Error };
|
|
4429
|
+
export type Result_44 = { Ok: Page_16 } | { Err: Error };
|
|
4430
|
+
export type Result_45 = { Ok: Page_17 } | { Err: Error };
|
|
4431
|
+
export type Result_46 = { Ok: Page_18 } | { Err: Error };
|
|
4432
|
+
export type Result_47 = { Ok: CheckpointPage } | { Err: Error };
|
|
4433
|
+
export type Result_48 = { Ok: Page_20 } | { Err: Error };
|
|
4098
4434
|
export type Result_49 = { Ok: Page_21 } | { Err: Error };
|
|
4099
4435
|
export type Result_5 = { Ok: Eip712SignatureOut } | { Err: Error };
|
|
4100
|
-
export type Result_50 = { Ok:
|
|
4101
|
-
export type Result_51 = { Ok:
|
|
4102
|
-
export type Result_52 = { Ok:
|
|
4103
|
-
export type Result_53 = { Ok:
|
|
4104
|
-
export type Result_54 = { Ok:
|
|
4105
|
-
export type Result_55 = { Ok:
|
|
4106
|
-
export type Result_56 = { Ok:
|
|
4107
|
-
export type Result_57 = { Ok:
|
|
4108
|
-
export type Result_58 = { Ok:
|
|
4109
|
-
export type Result_59 = { Ok:
|
|
4436
|
+
export type Result_50 = { Ok: RecordPage } | { Err: Error };
|
|
4437
|
+
export type Result_51 = { Ok: Page_22 } | { Err: Error };
|
|
4438
|
+
export type Result_52 = { Ok: Page_23 } | { Err: Error };
|
|
4439
|
+
export type Result_53 = { Ok: AgentSpendToday } | { Err: Error };
|
|
4440
|
+
export type Result_54 = { Ok: Page_25 } | { Err: Error };
|
|
4441
|
+
export type Result_55 = { Ok: string } | { Err: Error };
|
|
4442
|
+
export type Result_56 = { Ok: boolean } | { Err: Error };
|
|
4443
|
+
export type Result_57 = { Ok: [] | [string] } | { Err: Error };
|
|
4444
|
+
export type Result_58 = { Ok: WorldIdRpContext } | { Err: Error };
|
|
4445
|
+
export type Result_59 = { Ok: WorldIdConfig } | { Err: Error };
|
|
4110
4446
|
export type Result_6 = { Ok: { returned: bigint } } | { Err: Error };
|
|
4111
|
-
export type Result_60 = { Ok:
|
|
4112
|
-
export type Result_61 = { Ok:
|
|
4113
|
-
export type Result_62 = { Ok:
|
|
4114
|
-
export type Result_63 = { Ok:
|
|
4115
|
-
export type Result_64 = { Ok:
|
|
4116
|
-
export type Result_65 = { Ok:
|
|
4117
|
-
export type Result_66 = { Ok:
|
|
4118
|
-
export type Result_67 = { Ok:
|
|
4119
|
-
export type Result_68 = { Ok:
|
|
4120
|
-
export type Result_69 = { Ok:
|
|
4447
|
+
export type Result_60 = { Ok: WalletBalances } | { Err: Error };
|
|
4448
|
+
export type Result_61 = { Ok: StorageReport } | { Err: Error };
|
|
4449
|
+
export type Result_62 = { Ok: SpendingPolicy } | { Err: Error };
|
|
4450
|
+
export type Result_63 = { Ok: SpendCeiling } | { Err: Error };
|
|
4451
|
+
export type Result_64 = { Ok: SigningFloorStatus } | { Err: Error };
|
|
4452
|
+
export type Result_65 = { Ok: RecipientHistory } | { Err: Error };
|
|
4453
|
+
export type Result_66 = { Ok: { paths: Array<string> } } | { Err: Error };
|
|
4454
|
+
export type Result_67 = { Ok: OwnerSignInView } | { Err: Error };
|
|
4455
|
+
export type Result_68 = { Ok: OwnerConsole } | { Err: Error };
|
|
4456
|
+
export type Result_69 = { Ok: MemoryRetentionPolicy } | { Err: Error };
|
|
4121
4457
|
export type Result_7 = { Ok: SignatureCounts } | { Err: Error };
|
|
4122
|
-
export type Result_70 = { Ok:
|
|
4123
|
-
export type Result_71 = { Ok:
|
|
4124
|
-
export type Result_72 = { Ok:
|
|
4125
|
-
export type Result_73 = { Ok:
|
|
4126
|
-
export type Result_74 = { Ok:
|
|
4127
|
-
export type Result_75 = { Ok:
|
|
4128
|
-
export type Result_76 = { Ok:
|
|
4129
|
-
export type Result_77 = { Ok:
|
|
4130
|
-
export type
|
|
4458
|
+
export type Result_70 = { Ok: MemoryHistory } | { Err: Error };
|
|
4459
|
+
export type Result_71 = { Ok: KeyBackupStatus } | { Err: Error };
|
|
4460
|
+
export type Result_72 = { Ok: Uint8Array | number[] } | { Err: Error };
|
|
4461
|
+
export type Result_73 = { Ok: AlertStatus } | { Err: Error };
|
|
4462
|
+
export type Result_74 = { Ok: EvmAddresses } | { Err: Error };
|
|
4463
|
+
export type Result_75 = { Ok: ChildOpening } | { Err: Error };
|
|
4464
|
+
export type Result_76 = { Ok: ChildAllowanceRow } | { Err: Error };
|
|
4465
|
+
export type Result_77 = { Ok: Brakes } | { Err: Error };
|
|
4466
|
+
export type Result_78 = { Ok: Array<BirthRecord> } | { Err: Error };
|
|
4467
|
+
export type Result_79 = { Ok: BackupRetention } | { Err: Error };
|
|
4131
4468
|
export type Result_8 = { Ok: RailHealth } | { Err: Error };
|
|
4132
|
-
export type Result_80 = { Ok:
|
|
4133
|
-
export type Result_81 = { Ok:
|
|
4134
|
-
export type Result_82 = { Ok:
|
|
4135
|
-
export type
|
|
4469
|
+
export type Result_80 = { Ok: BackupMetadata } | { Err: Error };
|
|
4470
|
+
export type Result_81 = { Ok: AgentWriteReview } | { Err: Error };
|
|
4471
|
+
export type Result_82 = { Ok: Page_26 } | { Err: Error };
|
|
4472
|
+
export type Result_84 = { Ok: MemoryRangeExport } | { Err: Error };
|
|
4473
|
+
export type Result_85 = { Ok: CondenseResult } | { Err: Error };
|
|
4474
|
+
export type Result_87 = { Ok: Eip712Registration } | { Err: Error };
|
|
4475
|
+
export type Result_89 = { Ok: AgentRecord } | { Err: Error };
|
|
4136
4476
|
export type Result_9 = { Ok: Array<Seat> } | { Err: Error };
|
|
4137
4477
|
export interface ResyncReport {
|
|
4138
4478
|
startsAcknowledged: bigint;
|
|
@@ -4195,6 +4535,18 @@ export interface Seat {
|
|
|
4195
4535
|
produced: bigint;
|
|
4196
4536
|
firstPaymentDay: [] | [bigint];
|
|
4197
4537
|
}
|
|
4538
|
+
export interface SellerView {
|
|
4539
|
+
spentTodayE6: bigint;
|
|
4540
|
+
isPayout: boolean;
|
|
4541
|
+
perDayCapE6: bigint;
|
|
4542
|
+
addedBy: Principal;
|
|
4543
|
+
activatesAtNs: bigint;
|
|
4544
|
+
addedAtNs: bigint;
|
|
4545
|
+
liveNow: boolean;
|
|
4546
|
+
payTo: string;
|
|
4547
|
+
pendingActivatesAtNs: [] | [bigint];
|
|
4548
|
+
pendingCapE6: [] | [bigint];
|
|
4549
|
+
}
|
|
4198
4550
|
export interface ServiceEntry {
|
|
4199
4551
|
endpoint: string;
|
|
4200
4552
|
name: string;
|