@engramx/idl 0.16.0-rc.12 → 0.16.0-rc.14

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.
@@ -4,7 +4,6 @@ export const idlFactory = ({ IDL }) => {
4
4
  guardianCount: IDL.Nat,
5
5
  totalMemoryWrites: IDL.Nat,
6
6
  lastAgentWriteAtNs: IDL.Opt(IDL.Int),
7
- distinctReaderPrincipals: IDL.Nat,
8
7
  lastWriteAtNs: IDL.Opt(IDL.Int),
9
8
  totalBackupSize: IDL.Nat,
10
9
  backupCount: IDL.Nat,
@@ -21,7 +20,6 @@ export const idlFactory = ({ IDL }) => {
21
20
  firstAgentWriteAtNs: IDL.Opt(IDL.Int),
22
21
  lastReadAtNs: IDL.Opt(IDL.Int),
23
22
  writesPaused: IDL.Bool,
24
- distinctReaderClients: IDL.Nat,
25
23
  totalMemoryReads: IDL.Nat,
26
24
  walletActivatedAtNs: IDL.Opt(IDL.Int),
27
25
  encryptionEnabled: IDL.Bool,
@@ -89,23 +87,27 @@ export const idlFactory = ({ IDL }) => {
89
87
  Unavailable: IDL.Text,
90
88
  Conflict: IDL.Text,
91
89
  });
92
- const Result_71 = IDL.Variant({ Ok: AgentRecord, Err: Error });
90
+ const Result_72 = IDL.Variant({ Ok: AgentRecord, Err: Error });
93
91
  const HttpHeader = IDL.Record({ value: IDL.Text, name: IDL.Text });
94
92
  const HttpRequestResult = IDL.Record({
95
93
  status: IDL.Nat,
96
94
  body: IDL.Vec(IDL.Nat8),
97
95
  headers: IDL.Vec(HttpHeader),
98
96
  });
97
+ const Result_71 = IDL.Variant({
98
+ Ok: IDL.Record({ activatesAtNs: IDL.Int }),
99
+ Err: Error,
100
+ });
101
+ const Eip712FieldRule = IDL.Variant({
102
+ mustEqual: IDL.Text,
103
+ atMost: IDL.Record({ max: IDL.Nat, decimals: IDL.Nat }),
104
+ });
99
105
  const Eip712Registration = IDL.Record({
100
106
  encodeTypeString: IDL.Text,
101
107
  cooloffEndsAtNs: IDL.Int,
102
108
  typeId: IDL.Vec(IDL.Nat8),
103
109
  });
104
110
  const Result_70 = IDL.Variant({ Ok: Eip712Registration, Err: Error });
105
- const Result_69 = IDL.Variant({
106
- Ok: IDL.Record({ activatesAtNs: IDL.Int }),
107
- Err: Error,
108
- });
109
111
  const GuardianPermissions = IDL.Record({
110
112
  canFreezePayments: IDL.Bool,
111
113
  canRevokeAgents: IDL.Bool,
@@ -122,8 +124,14 @@ export const idlFactory = ({ IDL }) => {
122
124
  });
123
125
  const WriteReceipt = IDL.Record({
124
126
  seq: IDL.Nat,
127
+ contentRoot: IDL.Vec(IDL.Nat8),
128
+ atNs: IDL.Int,
125
129
  head: IDL.Vec(IDL.Nat8),
130
+ prev: IDL.Vec(IDL.Nat8),
131
+ size: IDL.Nat,
132
+ recordPrev: IDL.Vec(IDL.Nat8),
126
133
  version: IDL.Nat,
134
+ recordId: IDL.Nat,
127
135
  });
128
136
  const Result = IDL.Variant({ Ok: WriteReceipt, Err: Error });
129
137
  const CondenseResult = IDL.Record({
@@ -137,15 +145,15 @@ export const idlFactory = ({ IDL }) => {
137
145
  historyBytesDelta: IDL.Int,
138
146
  opCount: IDL.Nat,
139
147
  });
140
- const Result_68 = IDL.Variant({ Ok: CondenseResult, Err: Error });
148
+ const Result_69 = IDL.Variant({ Ok: CondenseResult, Err: Error });
141
149
  const BackupType = IDL.Variant({
142
150
  PartialSnapshot: IDL.Null,
143
151
  IncrementalDiff: IDL.Null,
144
152
  FullSnapshot: IDL.Null,
145
153
  });
146
- const Result_44 = IDL.Variant({ Ok: IDL.Text, Err: Error });
147
- const Result_60 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
148
- const Result_8 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
154
+ const Result_45 = IDL.Variant({ Ok: IDL.Text, Err: Error });
155
+ const Result_61 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
156
+ const Result_12 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
149
157
  const MemoryRangeExport = IDL.Record({
150
158
  seq: IDL.Nat,
151
159
  toSeq: IDL.Nat,
@@ -155,7 +163,7 @@ export const idlFactory = ({ IDL }) => {
155
163
  fromSeq: IDL.Nat,
156
164
  authorFilter: IDL.Opt(IDL.Principal),
157
165
  });
158
- const Result_67 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
166
+ const Result_68 = IDL.Variant({ Ok: MemoryRangeExport, Err: Error });
159
167
  const AlertConfig = IDL.Record({
160
168
  url: IDL.Opt(IDL.Text),
161
169
  money: IDL.Bool,
@@ -172,8 +180,8 @@ export const idlFactory = ({ IDL }) => {
172
180
  disabled: IDL.Bool,
173
181
  config: AlertConfig,
174
182
  });
175
- const Result_58 = IDL.Variant({ Ok: AlertStatus, Err: Error });
176
- const Result_54 = IDL.Variant({
183
+ const Result_59 = IDL.Variant({ Ok: AlertStatus, Err: Error });
184
+ const Result_55 = IDL.Variant({
177
185
  Ok: IDL.Record({ paths: IDL.Vec(IDL.Text) }),
178
186
  Err: Error,
179
187
  });
@@ -190,7 +198,7 @@ export const idlFactory = ({ IDL }) => {
190
198
  withheld: IDL.Nat,
191
199
  items: IDL.Vec(OwnerRow),
192
200
  });
193
- const Result_65 = IDL.Variant({ Ok: Page_21, Err: Error });
201
+ const Result_66 = IDL.Variant({ Ok: Page_21, Err: Error });
194
202
  const Role = IDL.Variant({
195
203
  Anonymous: IDL.Null,
196
204
  Viewer: IDL.Null,
@@ -229,7 +237,7 @@ export const idlFactory = ({ IDL }) => {
229
237
  earliest: IDL.Nat,
230
238
  capped: IDL.Bool,
231
239
  });
232
- const Result_64 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
240
+ const Result_65 = IDL.Variant({ Ok: AgentWriteReview, Err: Error });
233
241
  const AnchorPushStatus = IDL.Record({
234
242
  anchorTickAtNs: IDL.Opt(IDL.Int),
235
243
  okAtNs: IDL.Opt(IDL.Int),
@@ -265,7 +273,7 @@ export const idlFactory = ({ IDL }) => {
265
273
  chunkCount: IDL.Nat,
266
274
  parentBackupId: IDL.Opt(IDL.Text),
267
275
  });
268
- const Result_63 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
276
+ const Result_64 = IDL.Variant({ Ok: BackupMetadata, Err: Error });
269
277
  const CertifiedAuditHead = IDL.Record({
270
278
  total: IDL.Nat,
271
279
  certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -277,14 +285,14 @@ export const idlFactory = ({ IDL }) => {
277
285
  root: IDL.Principal,
278
286
  remaining: IDL.Nat,
279
287
  });
280
- const Result_62 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
288
+ const Result_63 = IDL.Variant({ Ok: ChildAllowanceRow, Err: Error });
281
289
  const ChildOpening = IDL.Record({
282
290
  attachCycles: IDL.Nat,
283
291
  balance: IDL.Nat,
284
292
  allowances: IDL.Vec(ChildAllowanceRow),
285
293
  floorCycles: IDL.Nat,
286
294
  });
287
- const Result_61 = IDL.Variant({ Ok: ChildOpening, Err: Error });
295
+ const Result_62 = IDL.Variant({ Ok: ChildOpening, Err: Error });
288
296
  const ServiceEntry = IDL.Record({
289
297
  endpoint: IDL.Text,
290
298
  name: IDL.Text,
@@ -302,7 +310,7 @@ export const idlFactory = ({ IDL }) => {
302
310
  pay: IDL.Text,
303
311
  engramRegistration: IDL.Text,
304
312
  });
305
- const Result_59 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
313
+ const Result_60 = IDL.Variant({ Ok: EvmAddresses, Err: Error });
306
314
  const GenesisNote = IDL.Record({
307
315
  predecessorSize: IDL.Opt(IDL.Nat),
308
316
  predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -346,7 +354,7 @@ export const idlFactory = ({ IDL }) => {
346
354
  versions: IDL.Vec(MemoryVersionSummary),
347
355
  evictedCount: IDL.Nat,
348
356
  });
349
- const Result_57 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
357
+ const Result_58 = IDL.Variant({ Ok: MemoryHistory, Err: Error });
350
358
  const MemoryMaintainStatus = IDL.Record({
351
359
  attachOk: IDL.Bool,
352
360
  attachDetail: IDL.Text,
@@ -374,7 +382,7 @@ export const idlFactory = ({ IDL }) => {
374
382
  entries: IDL.Vec(IDL.Tuple(IDL.Text, RetentionClassSpec)),
375
383
  guards: IDL.Vec(IDL.Record({ notBeforeNs: IDL.Int, prefix: IDL.Text })),
376
384
  });
377
- const Result_56 = IDL.Variant({
385
+ const Result_57 = IDL.Variant({
378
386
  Ok: MemoryRetentionPolicy,
379
387
  Err: Error,
380
388
  });
@@ -399,19 +407,19 @@ export const idlFactory = ({ IDL }) => {
399
407
  cyclesBalance: IDL.Nat,
400
408
  unknownSessionRefusals: IDL.Nat,
401
409
  });
402
- const Result_55 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
410
+ const Result_56 = IDL.Variant({ Ok: OwnerConsole, Err: Error });
403
411
  const SigningFloorStatus = IDL.Record({
404
412
  floor: IDL.Nat,
405
413
  signaturesAboveFloor: IDL.Nat,
406
414
  balance: IDL.Nat,
407
415
  perSignature: IDL.Nat,
408
416
  });
409
- const Result_53 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
417
+ const Result_54 = IDL.Variant({ Ok: SigningFloorStatus, Err: Error });
410
418
  const SpendCeiling = IDL.Record({
411
419
  spentToday: IDL.Nat,
412
420
  maxPerDay: IDL.Opt(IDL.Nat),
413
421
  });
414
- const Result_52 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
422
+ const Result_53 = IDL.Variant({ Ok: SpendCeiling, Err: Error });
415
423
  const SpendingPolicy = IDL.Record({
416
424
  maxSessionDeposit: IDL.Opt(IDL.Nat),
417
425
  blockedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
@@ -423,7 +431,7 @@ export const idlFactory = ({ IDL }) => {
423
431
  allowedCallers: IDL.Opt(IDL.Vec(IDL.Principal)),
424
432
  maxConcurrentSessions: IDL.Opt(IDL.Nat),
425
433
  });
426
- const Result_51 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
434
+ const Result_52 = IDL.Variant({ Ok: SpendingPolicy, Err: Error });
427
435
  const StorageReport = IDL.Record({
428
436
  sessionFilesSize: IDL.Nat,
429
437
  totalFiles: IDL.Nat,
@@ -438,7 +446,7 @@ export const idlFactory = ({ IDL }) => {
438
446
  versionHistoryCount: IDL.Nat,
439
447
  sessionFilesCount: IDL.Nat,
440
448
  });
441
- const Result_50 = IDL.Variant({ Ok: StorageReport, Err: Error });
449
+ const Result_51 = IDL.Variant({ Ok: StorageReport, Err: Error });
442
450
  const TimerHealth = IDL.Record({
443
451
  jobExpiryFastMode: IDL.Bool,
444
452
  jobExpiryArmed: IDL.Bool,
@@ -451,14 +459,14 @@ export const idlFactory = ({ IDL }) => {
451
459
  ckusdtE6s: IDL.Nat,
452
460
  cycles: IDL.Nat,
453
461
  });
454
- const Result_49 = IDL.Variant({ Ok: WalletBalances, Err: Error });
462
+ const Result_50 = IDL.Variant({ Ok: WalletBalances, Err: Error });
455
463
  const WorldIdConfig = IDL.Record({
456
464
  action: IDL.Text,
457
465
  appId: IDL.Text,
458
466
  rpId: IDL.Text,
459
467
  configured: IDL.Bool,
460
468
  });
461
- const Result_48 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
469
+ const Result_49 = IDL.Variant({ Ok: WorldIdConfig, Err: Error });
462
470
  const WorldIdRpContext = IDL.Record({
463
471
  signature: IDL.Text,
464
472
  expiresAt: IDL.Nat,
@@ -466,8 +474,8 @@ export const idlFactory = ({ IDL }) => {
466
474
  rpId: IDL.Text,
467
475
  nonce: IDL.Text,
468
476
  });
469
- const Result_47 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
470
- const Result_46 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
477
+ const Result_48 = IDL.Variant({ Ok: WorldIdRpContext, Err: Error });
478
+ const Result_47 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
471
479
  const HttpRequest = IDL.Record({
472
480
  url: IDL.Text,
473
481
  method: IDL.Text,
@@ -480,7 +488,7 @@ export const idlFactory = ({ IDL }) => {
480
488
  upgrade: IDL.Opt(IDL.Bool),
481
489
  status_code: IDL.Nat16,
482
490
  });
483
- const Result_45 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
491
+ const Result_46 = IDL.Variant({ Ok: IDL.Bool, Err: Error });
484
492
  const ActivitySnapshot = IDL.Record({
485
493
  atNs: IDL.Int,
486
494
  memoryReads: IDL.Nat,
@@ -491,13 +499,13 @@ export const idlFactory = ({ IDL }) => {
491
499
  withheld: IDL.Nat,
492
500
  items: IDL.Vec(ActivitySnapshot),
493
501
  });
494
- const Result_43 = IDL.Variant({ Ok: Page_20, Err: Error });
502
+ const Result_44 = IDL.Variant({ Ok: Page_20, Err: Error });
495
503
  const Page_19 = IDL.Record({
496
504
  total: IDL.Nat,
497
505
  withheld: IDL.Nat,
498
506
  items: IDL.Vec(AgentRecord),
499
507
  });
500
- const Result_42 = IDL.Variant({ Ok: Page_19, Err: Error });
508
+ const Result_43 = IDL.Variant({ Ok: Page_19, Err: Error });
501
509
  const Page_18 = IDL.Record({
502
510
  total: IDL.Nat,
503
511
  withheld: IDL.Nat,
@@ -509,7 +517,7 @@ export const idlFactory = ({ IDL }) => {
509
517
  }),
510
518
  ),
511
519
  });
512
- const Result_41 = IDL.Variant({ Ok: Page_18, Err: Error });
520
+ const Result_42 = IDL.Variant({ Ok: Page_18, Err: Error });
513
521
  const ApprovalStatus = IDL.Variant({
514
522
  Used: IDL.Null,
515
523
  Approved: IDL.Null,
@@ -539,12 +547,19 @@ export const idlFactory = ({ IDL }) => {
539
547
  items: IDL.Vec(ApprovalRequest),
540
548
  });
541
549
  const Result_29 = IDL.Variant({ Ok: Page_6, Err: Error });
542
- const Page_1 = IDL.Record({
550
+ const SealedEntry = IDL.Record({
551
+ id: IDL.Nat,
552
+ entryHash: IDL.Vec(IDL.Nat8),
553
+ digest: IDL.Vec(IDL.Nat8),
554
+ });
555
+ const RecordPage = IDL.Record({
556
+ ringFloor: IDL.Nat,
543
557
  total: IDL.Nat,
544
- withheld: IDL.Nat,
558
+ sealed: IDL.Vec(SealedEntry),
545
559
  items: IDL.Vec(AuditEntry),
560
+ hashFirstFrom: IDL.Nat,
546
561
  });
547
- const Result_24 = IDL.Variant({ Ok: Page_1, Err: Error });
562
+ const Result_41 = IDL.Variant({ Ok: RecordPage, Err: Error });
548
563
  const Page_17 = IDL.Record({
549
564
  total: IDL.Nat,
550
565
  withheld: IDL.Nat,
@@ -612,12 +627,22 @@ export const idlFactory = ({ IDL }) => {
612
627
  items: IDL.Vec(IDL.Text),
613
628
  });
614
629
  const Result_36 = IDL.Variant({ Ok: Page_13, Err: Error });
630
+ const Eip712Destination = IDL.Record({
631
+ activeFromNs: IDL.Int,
632
+ value: IDL.Text,
633
+ });
634
+ const Page_12 = IDL.Record({
635
+ total: IDL.Nat,
636
+ withheld: IDL.Nat,
637
+ items: IDL.Vec(Eip712Destination),
638
+ });
639
+ const Result_35 = IDL.Variant({ Ok: Page_12, Err: Error });
615
640
  const AuthorityClass = IDL.Variant({
616
641
  standingAuthority: IDL.Null,
617
642
  valueBearing: IDL.Null,
618
643
  standard: IDL.Null,
619
644
  });
620
- const RegisteredType = IDL.Record({
645
+ const Eip712TypeView = IDL.Record({
621
646
  primaryType: IDL.Text,
622
647
  encodeTypeString: IDL.Text,
623
648
  cooloffEndsAtNs: IDL.Int,
@@ -631,20 +656,15 @@ export const idlFactory = ({ IDL }) => {
631
656
  authorityClass: AuthorityClass,
632
657
  typeHash: IDL.Vec(IDL.Nat8),
633
658
  registeredAtNs: IDL.Int,
659
+ fieldRules: IDL.Vec(IDL.Tuple(IDL.Text, Eip712FieldRule)),
634
660
  chainId: IDL.Nat,
635
661
  domainVersion: IDL.Text,
636
662
  ackIrrevocable: IDL.Bool,
637
663
  });
638
- const Page_12 = IDL.Record({
639
- total: IDL.Nat,
640
- withheld: IDL.Nat,
641
- items: IDL.Vec(RegisteredType),
642
- });
643
- const Result_35 = IDL.Variant({ Ok: Page_12, Err: Error });
644
664
  const Page_11 = IDL.Record({
645
665
  total: IDL.Nat,
646
666
  withheld: IDL.Nat,
647
- items: IDL.Vec(IDL.Record({ activeFromNs: IDL.Int, address: IDL.Text })),
667
+ items: IDL.Vec(Eip712TypeView),
648
668
  });
649
669
  const Result_34 = IDL.Variant({ Ok: Page_11, Err: Error });
650
670
  const Page_10 = IDL.Record({
@@ -841,6 +861,12 @@ export const idlFactory = ({ IDL }) => {
841
861
  items: IDL.Vec(PurgedAgent),
842
862
  });
843
863
  const Result_25 = IDL.Variant({ Ok: Page_2, Err: Error });
864
+ const Page_1 = IDL.Record({
865
+ total: IDL.Nat,
866
+ withheld: IDL.Nat,
867
+ items: IDL.Vec(AuditEntry),
868
+ });
869
+ const Result_24 = IDL.Variant({ Ok: Page_1, Err: Error });
844
870
  const Repudiation = IDL.Record({
845
871
  atNs: IDL.Int,
846
872
  path: IDL.Text,
@@ -938,7 +964,7 @@ export const idlFactory = ({ IDL }) => {
938
964
  lastModifiedBy: IDL.Principal,
939
965
  lastModifiedAtNs: IDL.Int,
940
966
  });
941
- const Result_11 = IDL.Variant({ Ok: MemoryFile, Err: Error });
967
+ const Result_10 = IDL.Variant({ Ok: MemoryFile, Err: Error });
942
968
  const BatchReadItem = IDL.Record({
943
969
  result: IDL.Variant({ Ok: MemoryFile, Err: Error }),
944
970
  path: IDL.Text,
@@ -998,16 +1024,13 @@ export const idlFactory = ({ IDL }) => {
998
1024
  includedFiles: IDL.Nat,
999
1025
  totalBytes: IDL.Nat,
1000
1026
  });
1001
- const Result_12 = IDL.Variant({ Ok: SessionContext, Err: Error });
1027
+ const Result_11 = IDL.Variant({ Ok: SessionContext, Err: Error });
1002
1028
  const BackupRetentionReport = IDL.Record({
1003
1029
  maxBackups: IDL.Nat,
1004
1030
  dbType: IDL.Text,
1005
1031
  prunedBackups: IDL.Nat,
1006
1032
  });
1007
- const Result_10 = IDL.Variant({
1008
- Ok: BackupRetentionReport,
1009
- Err: Error,
1010
- });
1033
+ const Result_9 = IDL.Variant({ Ok: BackupRetentionReport, Err: Error });
1011
1034
  const Eip712Value = IDL.Variant({
1012
1035
  string: IDL.Text,
1013
1036
  bool: IDL.Bool,
@@ -1028,7 +1051,7 @@ export const idlFactory = ({ IDL }) => {
1028
1051
  txHash: IDL.Text,
1029
1052
  rawTx: IDL.Text,
1030
1053
  });
1031
- const Result_9 = IDL.Variant({ Ok: SignedTransaction, Err: Error });
1054
+ const Result_8 = IDL.Variant({ Ok: SignedTransaction, Err: Error });
1032
1055
  const SignedAuthorization = IDL.Record({
1033
1056
  paidAmount: IDL.Nat,
1034
1057
  authorization: IDL.Record({
@@ -1089,7 +1112,7 @@ export const idlFactory = ({ IDL }) => {
1089
1112
  const Result_2 = IDL.Variant({ Ok: ControlHandover, Err: Error });
1090
1113
  const Engram = IDL.Service({
1091
1114
  about: IDL.Func([], [About], ['query']),
1092
- acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_71], []),
1115
+ acceptAgentKeyNomination: IDL.Func([IDL.Principal], [Result_72], []),
1093
1116
  actionAlertTransform: IDL.Func(
1094
1117
  [
1095
1118
  IDL.Record({
@@ -1100,6 +1123,7 @@ export const idlFactory = ({ IDL }) => {
1100
1123
  [HttpRequestResult],
1101
1124
  ['query'],
1102
1125
  ),
1126
+ addEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_71], []),
1103
1127
  addEip712Type: IDL.Func(
1104
1128
  [
1105
1129
  IDL.Record({
@@ -1115,6 +1139,7 @@ export const idlFactory = ({ IDL }) => {
1115
1139
  valueBearing: IDL.Null,
1116
1140
  standard: IDL.Null,
1117
1141
  }),
1142
+ fieldRules: IDL.Vec(IDL.Tuple(IDL.Text, Eip712FieldRule)),
1118
1143
  chainId: IDL.Nat,
1119
1144
  domainVersion: IDL.Text,
1120
1145
  ackIrrevocable: IDL.Bool,
@@ -1123,82 +1148,79 @@ export const idlFactory = ({ IDL }) => {
1123
1148
  [Result_70],
1124
1149
  [],
1125
1150
  ),
1126
- addEvmWithdrawDestination: IDL.Func([IDL.Text], [Result_69], []),
1127
1151
  addGuardian: IDL.Func([IDL.Principal, IDL.Text, GuardianPermissions], [Result_1], []),
1128
1152
  appendMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8), IDL.Opt(MemorySource)], [Result], []),
1129
- applyCondense: IDL.Func([IDL.Nat], [Result_68], []),
1153
+ applyCondense: IDL.Func([IDL.Nat], [Result_69], []),
1130
1154
  approveGuardian: IDL.Func([IDL.Principal], [Result_1], []),
1131
1155
  approveRequest: IDL.Func([IDL.Text], [Result_1], []),
1132
1156
  backupAbort: IDL.Func([IDL.Text], [Result_1], []),
1133
1157
  backupFinalize: IDL.Func([IDL.Text], [Result_1], []),
1134
1158
  backupInit: IDL.Func(
1135
1159
  [IDL.Text, BackupType, IDL.Opt(IDL.Text), IDL.Text, IDL.Opt(IDL.Text)],
1136
- [Result_44],
1160
+ [Result_45],
1137
1161
  [],
1138
1162
  ),
1139
- backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_60], ['query']),
1163
+ backupPullChunk: IDL.Func([IDL.Text, IDL.Nat], [Result_61], ['query']),
1140
1164
  backupPushChunk: IDL.Func([IDL.Text, IDL.Nat, IDL.Vec(IDL.Nat8)], [Result_1], []),
1141
1165
  cancelAgentKeyNomination: IDL.Func([IDL.Principal], [Result_1], []),
1142
1166
  closeSession: IDL.Func([IDL.Text], [Result_1], []),
1143
- convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_8], []),
1144
- createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_44], []),
1145
- createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_44], []),
1167
+ convertEarningsToCycles: IDL.Func([IDL.Text, IDL.Nat], [Result_12], []),
1168
+ createAgentInvite: IDL.Func([IDL.Text, AgentPermissions], [Result_45], []),
1169
+ createGuardianInvite: IDL.Func([IDL.Text, GuardianPermissions], [Result_45], []),
1146
1170
  deleteBackup: IDL.Func([IDL.Text], [Result_1], []),
1147
1171
  deleteMemoryFile: IDL.Func([IDL.Text], [Result], []),
1148
1172
  denyRequest: IDL.Func([IDL.Text, IDL.Text], [Result_1], []),
1149
- ensureEvmReady: IDL.Func([], [Result_44], []),
1150
- exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_67], []),
1173
+ exportMemoryRange: IDL.Func([IDL.Nat, IDL.Nat, IDL.Opt(IDL.Principal)], [Result_68], []),
1151
1174
  freezePayments: IDL.Func([], [Result_1], []),
1152
- getActionAlertStatus: IDL.Func([], [Result_58], ['query']),
1153
- getAgentRevisablePaths: IDL.Func([], [Result_54], ['query']),
1154
- getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_65], ['query']),
1155
- getAgentWriteReview: IDL.Func([], [Result_64], ['query']),
1175
+ getActionAlertStatus: IDL.Func([], [Result_59], ['query']),
1176
+ getAgentRevisablePaths: IDL.Func([], [Result_55], ['query']),
1177
+ getAgentSeatWeeks: IDL.Func([IDL.Nat, IDL.Nat], [Result_66], ['query']),
1178
+ getAgentWriteReview: IDL.Func([], [Result_65], ['query']),
1156
1179
  getAnchorPushStatus: IDL.Func([], [AnchorPushStatus], ['query']),
1157
1180
  getAuditHead: IDL.Func([], [AuditHead], ['query']),
1158
- getBackupMetadata: IDL.Func([IDL.Text], [Result_63], ['query']),
1181
+ getBackupMetadata: IDL.Func([IDL.Text], [Result_64], ['query']),
1159
1182
  getBillerId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1160
1183
  getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
1161
- getChildAllowance: IDL.Func([IDL.Principal], [Result_62], ['query']),
1162
- getChildOpening: IDL.Func([], [Result_61], ['query']),
1163
- getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_60], []),
1184
+ getChildAllowance: IDL.Func([IDL.Principal], [Result_63], ['query']),
1185
+ getChildOpening: IDL.Func([], [Result_62], ['query']),
1186
+ getEncryptedMemoryKey: IDL.Func([IDL.Opt(IDL.Nat), IDL.Vec(IDL.Nat8)], [Result_61], []),
1164
1187
  getEngramCard: IDL.Func([], [AgentCard], ['query']),
1165
- getEngramNumber: IDL.Func([], [IDL.Opt(IDL.Nat)], ['query']),
1166
- getEvmAddress: IDL.Func([], [Result_59], []),
1188
+ getEvmAddress: IDL.Func([], [Result_60], []),
1167
1189
  getEvmOwnerAddress: IDL.Func([], [IDL.Opt(IDL.Text)], ['query']),
1168
- getEvmSignerAddress: IDL.Func([], [Result_44], []),
1190
+ getEvmSignerAddress: IDL.Func([], [Result_45], []),
1169
1191
  getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
1170
- getGuardianAlertStatus: IDL.Func([], [Result_58], ['query']),
1192
+ getGuardianAlertStatus: IDL.Func([], [Result_59], ['query']),
1171
1193
  getMarketId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1172
1194
  getMemoryHistory: IDL.Func(
1173
1195
  [IDL.Text, IDL.Opt(IDL.Nat), IDL.Opt(IDL.Nat)],
1174
- [Result_57],
1196
+ [Result_58],
1175
1197
  ['query'],
1176
1198
  ),
1177
1199
  getMemoryKeyEpoch: IDL.Func([], [IDL.Nat], ['query']),
1178
1200
  getMemoryKeyVerificationKey: IDL.Func([], [IDL.Vec(IDL.Nat8)], []),
1179
1201
  getMemoryMaintainStatus: IDL.Func([], [MemoryMaintainStatus], ['query']),
1180
- getMemoryRetentionPolicy: IDL.Func([], [Result_56], ['query']),
1202
+ getMemoryRetentionPolicy: IDL.Func([], [Result_57], ['query']),
1181
1203
  getMetricsReaderId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1182
1204
  getMyGuardianStatus: IDL.Func([], [Result_15], ['query']),
1183
- getOwnerConsole: IDL.Func([], [Result_55], ['query']),
1184
- getProtectedPaths: IDL.Func([], [Result_54], ['query']),
1205
+ getOwnerConsole: IDL.Func([], [Result_56], ['query']),
1206
+ getProtectedPaths: IDL.Func([], [Result_55], ['query']),
1185
1207
  getSeatWeeksReadEnabled: IDL.Func([], [IDL.Bool], ['query']),
1186
- getSigningFloor: IDL.Func([], [Result_53], ['query']),
1208
+ getSigningFloor: IDL.Func([], [Result_54], ['query']),
1187
1209
  getSpawnedBy: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
1188
- getSpendCeiling: IDL.Func([], [Result_52], ['query']),
1189
- getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_51], ['query']),
1190
- getStorageStats: IDL.Func([], [Result_50], ['query']),
1210
+ getSpendCeiling: IDL.Func([], [Result_53], ['query']),
1211
+ getSpendPolicy: IDL.Func([IDL.Opt(IDL.Principal)], [Result_52], ['query']),
1212
+ getStorageStats: IDL.Func([], [Result_51], ['query']),
1191
1213
  getTimerHealth: IDL.Func([], [TimerHealth], ['query']),
1192
1214
  getTopUpLimits: IDL.Func(
1193
1215
  [],
1194
1216
  [IDL.Record({ cooldownSeconds: IDL.Nat, maxCkusdcE6s: IDL.Nat })],
1195
1217
  ['query'],
1196
1218
  ),
1197
- getWalletBalances: IDL.Func([], [Result_49], []),
1198
- getWorldIdConfig: IDL.Func([], [Result_48], ['query']),
1199
- getWorldIdRpContext: IDL.Func([], [Result_47], []),
1200
- getWorldIdRpSignerAddress: IDL.Func([], [Result_44], []),
1201
- getWorldIdVerification: IDL.Func([], [Result_46], ['query']),
1219
+ getWalletBalances: IDL.Func([], [Result_50], []),
1220
+ getWorldIdConfig: IDL.Func([], [Result_49], ['query']),
1221
+ getWorldIdRpContext: IDL.Func([], [Result_48], []),
1222
+ getWorldIdRpSignerAddress: IDL.Func([], [Result_45], []),
1223
+ getWorldIdVerification: IDL.Func([], [Result_47], ['query']),
1202
1224
  guardianRevokeAgent: IDL.Func([IDL.Principal], [Result_1], []),
1203
1225
  http_request: IDL.Func([HttpRequest], [HttpResponse], ['query']),
1204
1226
  http_request_update: IDL.Func([HttpRequest], [HttpResponse], []),
@@ -1229,24 +1251,24 @@ export const idlFactory = ({ IDL }) => {
1229
1251
  ],
1230
1252
  ['query'],
1231
1253
  ),
1232
- isEvmAddressCached: IDL.Func([], [Result_45], ['query']),
1233
- issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_44], []),
1234
- listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
1235
- listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
1236
- listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
1254
+ isEvmAddressCached: IDL.Func([], [Result_46], ['query']),
1255
+ issueAuthCode: IDL.Func([IDL.Text, IDL.Text, IDL.Text, IDL.Opt(IDL.Text)], [Result_45], []),
1256
+ listActivitySnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_44], ['query']),
1257
+ listAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_43], ['query']),
1258
+ listAgentsForGuardian: IDL.Func([IDL.Nat, IDL.Nat], [Result_42], ['query']),
1237
1259
  listApprovalRequests: IDL.Func(
1238
1260
  [IDL.Opt(ApprovalStatus), IDL.Nat, IDL.Nat],
1239
1261
  [Result_29],
1240
1262
  ['query'],
1241
1263
  ),
1242
- listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_24], ['query']),
1264
+ listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_41], ['query']),
1243
1265
  listBackups: IDL.Func([IDL.Nat, IDL.Nat], [Result_40], ['query']),
1244
1266
  listBearerTokens: IDL.Func([IDL.Nat, IDL.Nat], [Result_39], ['query']),
1245
1267
  listCondenseCheckpoints: IDL.Func([IDL.Nat, IDL.Nat], [Result_38], ['query']),
1246
1268
  listCycleSnapshots: IDL.Func([IDL.Nat, IDL.Nat], [Result_37], ['query']),
1247
1269
  listDeletedMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_36], ['query']),
1248
- listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_35], ['query']),
1249
- listEvmWithdrawDestinations: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
1270
+ listEip712Destinations: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat, IDL.Nat], [Result_35], ['query']),
1271
+ listEip712Types: IDL.Func([IDL.Nat, IDL.Nat], [Result_34], ['query']),
1250
1272
  listGuardians: IDL.Func([IDL.Nat, IDL.Nat], [Result_33], ['query']),
1251
1273
  listMemoryExportReceipts: IDL.Func([IDL.Nat, IDL.Nat], [Result_32], ['query']),
1252
1274
  listMemoryFiles: IDL.Func([IDL.Nat, IDL.Nat], [Result_31], ['query']),
@@ -1258,16 +1280,16 @@ export const idlFactory = ({ IDL }) => {
1258
1280
  listPurgedAgents: IDL.Func([IDL.Nat, IDL.Nat], [Result_25], ['query']),
1259
1281
  listReadLog: IDL.Func([IDL.Opt(IDL.Bool), IDL.Nat, IDL.Nat], [Result_24], ['query']),
1260
1282
  listRepudiations: IDL.Func([IDL.Nat, IDL.Nat], [Result_23], ['query']),
1261
- markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_8], []),
1283
+ markAgentWritesReviewed: IDL.Func([IDL.Opt(IDL.Nat)], [Result_12], []),
1262
1284
  nominateAgentKey: IDL.Func([IDL.Principal], [Result_1], []),
1263
1285
  openChildEngram: IDL.Func([], [Result_22], []),
1264
1286
  openSession: IDL.Func([SessionConfig, PaymentSignature], [Result_21], []),
1265
- ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_8], []),
1287
+ ownerWithdraw: IDL.Func([TokenAmount, IDL.Opt(ActionAuth)], [Result_12], []),
1266
1288
  pairAgent: IDL.Func([IDL.Record({ enrolment: Enrolment, code: IDL.Text })], [Result_20], []),
1267
1289
  pauseWrites: IDL.Func([], [Result_1], []),
1268
1290
  previewCondense: IDL.Func([IDL.Nat], [Result_19], ['query']),
1269
1291
  previewOpenSession: IDL.Func([], [SessionIntent], ['query']),
1270
- readMemory: IDL.Func([IDL.Text], [Result_11], ['query']),
1292
+ readMemory: IDL.Func([IDL.Text], [Result_10], ['query']),
1271
1293
  readMemoryBatch: IDL.Func([IDL.Vec(IDL.Text)], [Result_18], ['query']),
1272
1294
  readMemoryBytes: IDL.Func(
1273
1295
  [IDL.Text, IDL.Nat, IDL.Nat, IDL.Opt(IDL.Nat)],
@@ -1277,10 +1299,10 @@ export const idlFactory = ({ IDL }) => {
1277
1299
  recoverEscrow: IDL.Func([IDL.Text, IDL.Nat], [Result_16], []),
1278
1300
  registerGuardian: IDL.Func([IDL.Text], [Result_15], []),
1279
1301
  removeCallerSpendPolicy: IDL.Func([IDL.Principal], [Result_1], []),
1302
+ removeEip712Destination: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result_1], []),
1280
1303
  removeEip712Type: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_1], []),
1281
- removeEvmWithdrawDestination: IDL.Func([IDL.Text], [Result_1], []),
1282
1304
  removeGuardian: IDL.Func([IDL.Principal], [Result_1], []),
1283
- repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_8], []),
1305
+ repudiateMemoryWrite: IDL.Func([IDL.Text, IDL.Nat, IDL.Text], [Result_12], []),
1284
1306
  resetEngram: IDL.Func([], [Result_14], []),
1285
1307
  resignAgent: IDL.Func([], [Result_1], []),
1286
1308
  resumeWrites: IDL.Func([], [Result_1], []),
@@ -1288,20 +1310,19 @@ export const idlFactory = ({ IDL }) => {
1288
1310
  returnToManaged: IDL.Func([], [Result_1], []),
1289
1311
  reviseMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
1290
1312
  revokeAgent: IDL.Func([IDL.Principal], [Result_1], []),
1291
- revokeAllAgents: IDL.Func([], [Result_8], []),
1292
- revokeAllBearerTokens: IDL.Func([], [Result_8], []),
1293
- revokeAllInvites: IDL.Func([], [Result_8], []),
1313
+ revokeAllAgents: IDL.Func([], [Result_12], []),
1314
+ revokeAllBearerTokens: IDL.Func([], [Result_12], []),
1315
+ revokeAllInvites: IDL.Func([], [Result_12], []),
1294
1316
  revokeBearerToken: IDL.Func([IDL.Text], [Result_1], []),
1295
1317
  rollbackMemory: IDL.Func([IDL.Text, IDL.Nat], [Result], []),
1296
1318
  rotateAgentKeyHash: IDL.Func([IDL.Text], [Result_1], []),
1297
- seedMemory: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
1298
1319
  sessionAppendMemory: IDL.Func([Voucher, IDL.Text, IDL.Vec(IDL.Nat8)], [Result], []),
1299
- sessionReadContext: IDL.Func([IDL.Text], [Result_12], []),
1300
- sessionReadMemory: IDL.Func([Voucher, IDL.Text], [Result_11], []),
1320
+ sessionReadContext: IDL.Func([IDL.Text], [Result_11], []),
1321
+ sessionReadMemory: IDL.Func([Voucher, IDL.Text], [Result_10], []),
1301
1322
  setActionAlertConfig: IDL.Func([AlertConfig], [Result_1], []),
1302
1323
  setAgentPermissions: IDL.Func([IDL.Principal, AgentPermissions], [Result_1], []),
1303
1324
  setAgentRevisablePaths: IDL.Func([IDL.Vec(IDL.Text)], [Result_1], []),
1304
- setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [Result_10], []),
1325
+ setBackupRetention: IDL.Func([IDL.Text, IDL.Nat], [Result_9], []),
1305
1326
  setCallerSpendPolicy: IDL.Func([IDL.Principal, SpendingPolicy], [Result_1], []),
1306
1327
  setChildAllowance: IDL.Func([IDL.Principal, IDL.Nat], [Result_1], []),
1307
1328
  setEncryptionEnabled: IDL.Func([IDL.Bool], [Result_1], []),
@@ -1338,7 +1359,7 @@ export const idlFactory = ({ IDL }) => {
1338
1359
  maxPriorityFeePerGas: IDL.Nat,
1339
1360
  }),
1340
1361
  ],
1341
- [Result_9],
1362
+ [Result_8],
1342
1363
  [],
1343
1364
  ),
1344
1365
  signX402Payment: IDL.Func(
@@ -1357,8 +1378,6 @@ export const idlFactory = ({ IDL }) => {
1357
1378
  [Result_3],
1358
1379
  [],
1359
1380
  ),
1360
- syncEngramNumber: IDL.Func([], [Result_8], []),
1361
- sysApplyGenesisSeed: IDL.Func([IDL.Text, IDL.Vec(IDL.Nat8)], [Result_8], []),
1362
1381
  sysForceCloseSession: IDL.Func([IDL.Text], [Result_1], []),
1363
1382
  sysGetAgentSeatWeeks: IDL.Func([], [Result_7], []),
1364
1383
  sysGetRailHealth: IDL.Func([], [Result_6], ['query']),
@@ -1377,7 +1396,6 @@ export const idlFactory = ({ IDL }) => {
1377
1396
  [],
1378
1397
  ),
1379
1398
  sysSetBillerId: IDL.Func([IDL.Principal], [Result_1], []),
1380
- sysSetEngramNumber: IDL.Func([IDL.Nat], [Result_1], []),
1381
1399
  sysSetMarketId: IDL.Func([IDL.Principal], [Result_1], []),
1382
1400
  sysSetMetricsReaderId: IDL.Func([IDL.Principal], [Result_1], []),
1383
1401
  sysSignEip712: IDL.Func(