@engramx/idl 0.16.0-rc.2 → 0.16.0-rc.21

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.
@@ -8,7 +8,7 @@ export const idlFactory = ({ IDL }) => {
8
8
  Conflict: IDL.Text,
9
9
  });
10
10
  const Result = IDL.Variant({ Ok: IDL.Null, Err: Error });
11
- const Result_4 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
11
+ const Result_7 = IDL.Variant({ Ok: IDL.Nat, Err: Error });
12
12
  const FleetCycleHealth = IDL.Record({
13
13
  unreadable: IDL.Nat,
14
14
  deleted: IDL.Nat,
@@ -21,7 +21,7 @@ export const idlFactory = ({ IDL }) => {
21
21
  sovereignSkipped: IDL.Nat,
22
22
  lowCycles: IDL.Nat,
23
23
  });
24
- const Result_21 = IDL.Variant({ Ok: FleetCycleHealth, Err: Error });
24
+ const Result_28 = IDL.Variant({ Ok: FleetCycleHealth, Err: Error });
25
25
  const FleetSummary = IDL.Record({
26
26
  registrySinceNs: IDL.Opt(IDL.Int),
27
27
  uniqueOwners: IDL.Nat,
@@ -69,11 +69,13 @@ export const idlFactory = ({ IDL }) => {
69
69
  leaf: StandingLeaf,
70
70
  witness: IDL.Vec(IDL.Nat8),
71
71
  });
72
- const Result_20 = IDL.Variant({ Ok: CertifiedStanding, Err: Error });
72
+ const Result_27 = IDL.Variant({ Ok: CertifiedStanding, Err: Error });
73
73
  const AnchorStats = IDL.Record({
74
74
  lastAnchorAtNs: IDL.Opt(IDL.Int),
75
+ lastEngramAnchorAtNs: IDL.Opt(IDL.Int),
75
76
  engramsAnchored: IDL.Nat,
76
77
  totalAnchors: IDL.Nat,
78
+ engramChainsAnchored: IDL.Opt(IDL.Nat),
77
79
  engramsWithConflicts: IDL.Nat,
78
80
  });
79
81
  const AuditHead = IDL.Record({
@@ -103,18 +105,22 @@ export const idlFactory = ({ IDL }) => {
103
105
  size: IDL.Nat,
104
106
  witness: IDL.Opt(IDL.Vec(IDL.Nat8)),
105
107
  });
108
+ const CertifiedBirth = IDL.Record({
109
+ certificate: IDL.Opt(IDL.Vec(IDL.Nat8)),
110
+ witness: IDL.Vec(IDL.Nat8),
111
+ });
106
112
  const CustodyMode = IDL.Variant({
107
113
  Sovereign: IDL.Null,
108
114
  Managed: IDL.Null,
109
115
  });
110
- const Result_5 = IDL.Variant({ Ok: CustodyMode, Err: Error });
116
+ const Result_10 = IDL.Variant({ Ok: CustodyMode, Err: Error });
111
117
  const OpenedThrough = IDL.Record({
112
118
  cutOffAtNs: IDL.Opt(IDL.Int),
113
119
  child: IDL.Principal,
114
120
  parent: IDL.Principal,
115
121
  });
116
- const Result_19 = IDL.Variant({ Ok: OpenedThrough, Err: Error });
117
- const Result_18 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
122
+ const Result_22 = IDL.Variant({ Ok: OpenedThrough, Err: Error });
123
+ const Result_26 = IDL.Variant({ Ok: IDL.Vec(IDL.Nat8), Err: Error });
118
124
  const ReleaseClass = IDL.Variant({
119
125
  Security: IDL.Null,
120
126
  Feature: IDL.Null,
@@ -137,7 +143,7 @@ export const idlFactory = ({ IDL }) => {
137
143
  totalEngrams: IDL.Nat,
138
144
  activeEngrams: IDL.Nat,
139
145
  });
140
- const Result_17 = IDL.Variant({ Ok: PrivateMetrics, Err: Error });
146
+ const Result_25 = IDL.Variant({ Ok: PrivateMetrics, Err: Error });
141
147
  const GenesisNote = IDL.Record({
142
148
  predecessorSize: IDL.Opt(IDL.Nat),
143
149
  predecessorHeadHash: IDL.Opt(IDL.Vec(IDL.Nat8)),
@@ -163,6 +169,12 @@ export const idlFactory = ({ IDL }) => {
163
169
  canisterId: IDL.Principal,
164
170
  });
165
171
  const ReservationView = IDL.Record({ reservedAtNs: IDL.Int });
172
+ const RestartStatus = IDL.Record({
173
+ nextRestartAtNs: IDL.Opt(IDL.Int),
174
+ loanOwed: IDL.Nat,
175
+ openUntilNs: IDL.Opt(IDL.Int),
176
+ });
177
+ const Result_24 = IDL.Variant({ Ok: RestartStatus, Err: Error });
166
178
  const OpeningCounts = IDL.Record({
167
179
  reopened: IDL.Nat,
168
180
  openedThroughParent: IDL.Nat,
@@ -172,7 +184,7 @@ export const idlFactory = ({ IDL }) => {
172
184
  reservationAttemptsRefusedAtCapacity: IDL.Nat,
173
185
  spawnAttemptsRefusedAtCap: IDL.Nat,
174
186
  });
175
- const Result_16 = IDL.Variant({ Ok: OpeningCounts, Err: Error });
187
+ const Result_23 = IDL.Variant({ Ok: OpeningCounts, Err: Error });
176
188
  const PairedSoon = IDL.Record({
177
189
  opened: IDL.Nat,
178
190
  pairedWithin7Days: IDL.Nat,
@@ -190,23 +202,33 @@ export const idlFactory = ({ IDL }) => {
190
202
  throughParent: PairedSoon,
191
203
  agentsByTreesSpanned: TreesSpanned,
192
204
  });
193
- const Result_15 = IDL.Variant({ Ok: ReferralCounts, Err: Error });
205
+ const Result_21 = IDL.Variant({ Ok: ReferralCounts, Err: Error });
194
206
  const ReserveGateConfig = IDL.Record({
195
207
  enabled: IDL.Bool,
196
208
  inviteIssuer: IDL.Principal,
197
209
  trustedSigners: IDL.Vec(IDL.Principal),
198
210
  });
211
+ const RestartTotals = IDL.Record({
212
+ repaid: IDL.Nat,
213
+ advanceOutstanding: IDL.Nat,
214
+ outstanding: IDL.Nat,
215
+ lent: IDL.Nat,
216
+ advanceReturned: IDL.Nat,
217
+ writtenOff: IDL.Nat,
218
+ advanceWrittenOff: IDL.Nat,
219
+ advancePaid: IDL.Nat,
220
+ });
199
221
  const UpdatePreference = IDL.Variant({
200
222
  ManualOnly: IDL.Null,
201
223
  AutoUpdate: IDL.Null,
202
224
  });
203
- const Result_14 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
225
+ const Result_20 = IDL.Variant({ Ok: IDL.Opt(IDL.Text), Err: Error });
204
226
  const Page_5 = IDL.Record({
205
227
  total: IDL.Nat,
206
228
  withheld: IDL.Nat,
207
229
  items: IDL.Vec(IDL.Principal),
208
230
  });
209
- const Result_12 = IDL.Variant({ Ok: Page_5, Err: Error });
231
+ const Result_17 = IDL.Variant({ Ok: Page_5, Err: Error });
210
232
  const AnchorConflict = IDL.Record({
211
233
  submittedHead: IDL.Vec(IDL.Nat8),
212
234
  atNs: IDL.Int,
@@ -219,13 +241,18 @@ export const idlFactory = ({ IDL }) => {
219
241
  withheld: IDL.Nat,
220
242
  items: IDL.Vec(AnchorConflict),
221
243
  });
222
- const Result_13 = IDL.Variant({ Ok: Page_6, Err: Error });
244
+ const Result_19 = IDL.Variant({ Ok: Page_6, Err: Error });
223
245
  const AnchorView = IDL.Record({
224
246
  total: IDL.Nat,
225
247
  disputed: IDL.Bool,
226
248
  atNs: IDL.Int,
227
249
  head: IDL.Vec(IDL.Nat8),
228
250
  });
251
+ const SealedEntry = IDL.Record({
252
+ id: IDL.Nat,
253
+ entryHash: IDL.Vec(IDL.Nat8),
254
+ digest: IDL.Vec(IDL.Nat8),
255
+ });
229
256
  const Role = IDL.Variant({
230
257
  Anonymous: IDL.Null,
231
258
  Viewer: IDL.Null,
@@ -250,12 +277,14 @@ export const idlFactory = ({ IDL }) => {
250
277
  success: IDL.Bool,
251
278
  timestampNs: IDL.Int,
252
279
  });
253
- const Page_3 = IDL.Record({
280
+ const RecordPage = IDL.Record({
281
+ ringFloor: IDL.Nat,
254
282
  total: IDL.Nat,
255
- withheld: IDL.Nat,
283
+ sealed: IDL.Vec(SealedEntry),
256
284
  items: IDL.Vec(AuditEntry),
285
+ hashFirstFrom: IDL.Nat,
257
286
  });
258
- const Result_10 = IDL.Variant({ Ok: Page_3, Err: Error });
287
+ const Result_18 = IDL.Variant({ Ok: RecordPage, Err: Error });
259
288
  const ChangelogEntry = IDL.Record({
260
289
  atNs: IDL.Int,
261
290
  wasmHash: IDL.Text,
@@ -272,10 +301,16 @@ export const idlFactory = ({ IDL }) => {
272
301
  owner: IDL.Principal,
273
302
  child: IDL.Principal,
274
303
  });
275
- const Result_11 = IDL.Variant({
304
+ const Result_16 = IDL.Variant({
276
305
  Ok: IDL.Vec(OpenedEngram),
277
306
  Err: Error,
278
307
  });
308
+ const Page_3 = IDL.Record({
309
+ total: IDL.Nat,
310
+ withheld: IDL.Nat,
311
+ items: IDL.Vec(AuditEntry),
312
+ });
313
+ const Result_15 = IDL.Variant({ Ok: Page_3, Err: Error });
279
314
  const EndReason = IDL.Variant({
280
315
  Resigned: IDL.Null,
281
316
  OwnerRevoked: IDL.Null,
@@ -306,34 +341,67 @@ export const idlFactory = ({ IDL }) => {
306
341
  withheld: IDL.Nat,
307
342
  items: IDL.Vec(EngagementRow),
308
343
  });
309
- const Result_9 = IDL.Variant({ Ok: Page_2, Err: Error });
344
+ const Result_14 = IDL.Variant({ Ok: Page_2, Err: Error });
310
345
  const Page_1 = IDL.Record({
311
346
  total: IDL.Nat,
312
347
  withheld: IDL.Nat,
313
348
  items: IDL.Vec(EngramRecordView),
314
349
  });
315
- const Result_8 = IDL.Variant({ Ok: Page_1, Err: Error });
350
+ const Result_13 = IDL.Variant({ Ok: Page_1, Err: Error });
316
351
  const Dispute = IDL.Record({ statement: IDL.Text, atNs: IDL.Int });
317
352
  const Page = IDL.Record({
318
353
  total: IDL.Nat,
319
354
  withheld: IDL.Nat,
320
355
  items: IDL.Vec(IDL.Tuple(IDL.Principal, UpdatePreference)),
321
356
  });
322
- const Result_7 = IDL.Variant({ Ok: Page, Err: Error });
323
- const Result_6 = IDL.Variant({ Ok: IDL.Vec(IDL.Text), Err: Error });
357
+ const Result_12 = IDL.Variant({ Ok: Page, Err: Error });
358
+ const Result_11 = IDL.Variant({ Ok: IDL.Vec(IDL.Text), Err: Error });
359
+ const EngramComputeView = IDL.Record({
360
+ restartOpenUntilNs: IDL.Opt(IDL.Int),
361
+ idlePerDay: IDL.Nat,
362
+ line: IDL.Nat,
363
+ quiet: IDL.Bool,
364
+ eraseAboutNs: IDL.Opt(IDL.Int),
365
+ cycles: IDL.Nat,
366
+ runState: IDL.Variant({
367
+ stopped: IDL.Null,
368
+ stopping: IDL.Null,
369
+ running: IDL.Null,
370
+ }),
371
+ thresholdSecs: IDL.Nat,
372
+ updateWaiting: IDL.Bool,
373
+ frozen: IDL.Bool,
374
+ });
375
+ const Result_9 = IDL.Variant({ Ok: EngramComputeView, Err: Error });
324
376
  const Result_1 = IDL.Variant({ Ok: IDL.Principal, Err: Error });
377
+ const RestartReply = IDL.Record({
378
+ securityInstalled: IDL.Bool,
379
+ lentCycles: IDL.Nat,
380
+ updateWaiting: IDL.Bool,
381
+ installError: IDL.Opt(IDL.Text),
382
+ engramTold: IDL.Bool,
383
+ });
384
+ const Result_8 = IDL.Variant({ Ok: RestartReply, Err: Error });
385
+ const Result_6 = IDL.Variant({
386
+ Ok: IDL.Record({ updateWaiting: IDL.Bool, finishByNs: IDL.Int }),
387
+ Err: Error,
388
+ });
389
+ const Result_5 = IDL.Variant({
390
+ Ok: IDL.Record({ repaid: IDL.Nat, stillOwed: IDL.Nat }),
391
+ Err: Error,
392
+ });
325
393
  const MeterReading = IDL.Record({
326
394
  realizedPerDay: IDL.Opt(IDL.Nat),
327
395
  idlePerDay: IDL.Opt(IDL.Nat),
328
396
  cycles: IDL.Nat,
329
397
  freezeLineCycles: IDL.Nat,
330
398
  });
331
- const Result_3 = IDL.Variant({ Ok: MeterReading, Err: Error });
399
+ const Result_4 = IDL.Variant({ Ok: MeterReading, Err: Error });
332
400
  const ControlStep = IDL.Variant({
333
401
  EngramMustMove: IDL.Null,
334
402
  MovedByRegistry: IDL.Null,
335
403
  });
336
- const Result_2 = IDL.Variant({ Ok: ControlStep, Err: Error });
404
+ const Result_3 = IDL.Variant({ Ok: ControlStep, Err: Error });
337
405
  const Ending = IDL.Record({
338
406
  day: IDL.Int,
339
407
  key: IDL.Principal,
@@ -347,16 +415,20 @@ export const idlFactory = ({ IDL }) => {
347
415
  inviteCode: IDL.Text,
348
416
  });
349
417
  const EdgeEvent = IDL.Variant({ Ended: Ending, Added: EnrolmentProof });
418
+ const Result_2 = IDL.Variant({
419
+ Ok: IDL.Record({ accepted: IDL.Nat }),
420
+ Err: Error,
421
+ });
350
422
  return IDL.Service({
351
423
  abandonMyEngram: IDL.Func([], [Result], []),
352
424
  addAuditViewer: IDL.Func([IDL.Principal], [Result], []),
353
425
  addChangelogEntry: IDL.Func([IDL.Text, IDL.Text], [Result], []),
354
426
  appendAgentDispute: IDL.Func([IDL.Text], [Result], []),
355
427
  claimSovereignty: IDL.Func([], [Result], []),
356
- engramWasmFinalize: IDL.Func([IDL.Text], [Result_4], []),
428
+ engramWasmFinalize: IDL.Func([IDL.Text], [Result_7], []),
357
429
  engramWasmInit: IDL.Func([], [Result], []),
358
- engramWasmPushChunk: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_4], []),
359
- fleetCycleHealth: IDL.Func([IDL.Nat, IDL.Nat, IDL.Nat], [Result_21], []),
430
+ engramWasmPushChunk: IDL.Func([IDL.Vec(IDL.Nat8)], [Result_7], []),
431
+ fleetCycleHealth: IDL.Func([IDL.Nat, IDL.Nat, IDL.Nat], [Result_28], []),
360
432
  fleetSummary: IDL.Func([], [FleetSummary], ['query']),
361
433
  getAbandonedAtNs: IDL.Func([IDL.Principal], [IDL.Opt(IDL.Int)], ['query']),
362
434
  getActivationFunnel: IDL.Func([], [ActivationFunnel], ['query']),
@@ -366,12 +438,13 @@ export const idlFactory = ({ IDL }) => {
366
438
  [IDL.Record({ agents: IDL.Nat, liveEngagements: IDL.Nat })],
367
439
  ['query'],
368
440
  ),
369
- getAgentStanding: IDL.Func([IDL.Principal], [Result_20], ['query']),
441
+ getAgentStanding: IDL.Func([IDL.Principal], [Result_27], ['query']),
370
442
  getAnchorStats: IDL.Func([], [AnchorStats], ['query']),
371
443
  getAuditHead: IDL.Func([], [AuditHead], ['query']),
372
444
  getCertifiedAnchor: IDL.Func([IDL.Principal], [IDL.Opt(CertifiedAnchor)], ['query']),
373
445
  getCertifiedAuditHead: IDL.Func([], [CertifiedAuditHead], ['query']),
374
- getCustodyMode: IDL.Func([IDL.Principal], [Result_5], ['query']),
446
+ getCertifiedBirth: IDL.Func([IDL.Vec(IDL.Nat8)], [IDL.Opt(CertifiedBirth)], ['query']),
447
+ getCustodyMode: IDL.Func([IDL.Principal], [Result_10], ['query']),
375
448
  getCycleReserveStatus: IDL.Func(
376
449
  [],
377
450
  [
@@ -383,28 +456,31 @@ export const idlFactory = ({ IDL }) => {
383
456
  ['query'],
384
457
  ),
385
458
  getEngramNumberOf: IDL.Func([IDL.Principal], [IDL.Opt(IDL.Nat)], ['query']),
386
- getEngramOpenedThrough: IDL.Func([IDL.Principal], [Result_19], ['query']),
387
- getEngramWasmChunk: IDL.Func([IDL.Nat], [Result_18], ['query']),
459
+ getEngramOpenedThrough: IDL.Func([IDL.Principal], [Result_22], ['query']),
460
+ getEngramWasmChunk: IDL.Func([IDL.Nat], [Result_26], ['query']),
388
461
  getEngramWasmClass: IDL.Func([], [ReleaseClass], ['query']),
389
462
  getEngramWasmHash: IDL.Func([], [IDL.Text], ['query']),
390
463
  getEngramWasmInfo: IDL.Func([], [EngramWasmInfo], ['query']),
391
- getFleetMetrics: IDL.Func([], [Result_17], []),
464
+ getFleetMetrics: IDL.Func([], [Result_25], []),
392
465
  getGenesisNote: IDL.Func([], [GenesisNote], ['query']),
393
466
  getLastUpgrade: IDL.Func([IDL.Principal], [IDL.Opt(LastUpgrade)], ['query']),
394
467
  getMarketCanister: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
395
468
  getMetricsReader: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
396
469
  getMyEngram: IDL.Func([], [IDL.Opt(EngramRecordView)], ['query']),
397
470
  getMyReservation: IDL.Func([], [IDL.Opt(ReservationView)], ['query']),
398
- getOpeningCounts: IDL.Func([], [Result_16], ['query']),
399
- getReferralCounts: IDL.Func([IDL.Vec(IDL.Principal)], [Result_15], ['query']),
471
+ getMyRestartStatus: IDL.Func([], [Result_24], ['query']),
472
+ getOpeningCounts: IDL.Func([], [Result_23], ['query']),
473
+ getParentOf: IDL.Func([IDL.Principal], [Result_22], ['query']),
474
+ getReferralCounts: IDL.Func([IDL.Vec(IDL.Principal)], [Result_21], ['query']),
400
475
  getRentBiller: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
401
476
  getReserveGateConfig: IDL.Func([], [ReserveGateConfig], ['query']),
477
+ getRestartTotals: IDL.Func([], [RestartTotals], ['query']),
402
478
  getScreeningDenylistSize: IDL.Func([], [IDL.Nat], ['query']),
403
479
  getSecurityReleaseCount: IDL.Func([], [IDL.Nat], ['query']),
404
480
  getSponsoredCyclesTotal: IDL.Func([], [IDL.Nat], ['query']),
405
481
  getTreasuryAnchorId: IDL.Func([], [IDL.Opt(IDL.Principal)], ['query']),
406
482
  getUpdatePreference: IDL.Func([], [IDL.Opt(UpdatePreference)], ['query']),
407
- getUpgradeFundedTemplate: IDL.Func([IDL.Principal], [Result_14], ['query']),
483
+ getUpgradeFundedTemplate: IDL.Func([IDL.Principal], [Result_20], ['query']),
408
484
  getUpgradeSubsidyTotal: IDL.Func([], [IDL.Nat], ['query']),
409
485
  getUpgradeTopUpFloor: IDL.Func([], [IDL.Nat], ['query']),
410
486
  icrc21_canister_call_consent_message: IDL.Func(
@@ -436,33 +512,33 @@ export const idlFactory = ({ IDL }) => {
436
512
  ),
437
513
  isOfficialEngramWasm: IDL.Func([IDL.Text], [IDL.Bool], ['query']),
438
514
  isRegisteredActiveEngram: IDL.Func([IDL.Principal], [IDL.Bool], ['query']),
439
- listAgentEngrams: IDL.Func([IDL.Principal], [Result_12], ['query']),
440
- listAnchorConflicts: IDL.Func([IDL.Principal, IDL.Nat, IDL.Nat], [Result_13], ['query']),
515
+ listAgentEngrams: IDL.Func([IDL.Principal], [Result_17], ['query']),
516
+ listAnchorConflicts: IDL.Func([IDL.Principal, IDL.Nat, IDL.Nat], [Result_19], ['query']),
441
517
  listAnchors: IDL.Func([IDL.Principal], [IDL.Vec(AnchorView)], ['query']),
442
- listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_10], ['query']),
443
- listAuditViewers: IDL.Func([], [Result_12], ['query']),
518
+ listAuditEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_18], ['query']),
519
+ listAuditViewers: IDL.Func([], [Result_17], ['query']),
444
520
  listChangelogEntries: IDL.Func([IDL.Nat, IDL.Nat], [Page_4], ['query']),
445
- listChildrenOf: IDL.Func([IDL.Principal], [Result_11], ['query']),
446
- listDenialEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_10], ['query']),
521
+ listChildrenOf: IDL.Func([IDL.Principal], [Result_16], ['query']),
522
+ listDenialEntries: IDL.Func([IDL.Nat, IDL.Nat], [Result_15], ['query']),
447
523
  listEngagementRows: IDL.Func(
448
524
  [IDL.Int, IDL.Nat, IDL.Nat, IDL.Vec(IDL.Principal)],
449
- [Result_9],
525
+ [Result_14],
450
526
  [],
451
527
  ),
452
- listEngrams: IDL.Func([IDL.Nat, IDL.Nat], [Result_8], []),
528
+ listEngrams: IDL.Func([IDL.Nat, IDL.Nat], [Result_13], []),
453
529
  listMyAgentDisputes: IDL.Func([], [IDL.Vec(Dispute)], ['query']),
454
530
  listOfficialEngramWasmHashes: IDL.Func([], [IDL.Vec(IDL.Text)], ['query']),
455
531
  listPredecessors: IDL.Func([IDL.Principal], [IDL.Vec(IDL.Principal)], ['query']),
456
- listUpdatePrefs: IDL.Func([IDL.Nat, IDL.Nat], [Result_7], ['query']),
457
- mintReserveInvites: IDL.Func([IDL.Nat], [Result_6], []),
458
- probeCustodyMode: IDL.Func([], [Result_5], []),
532
+ listUpdatePrefs: IDL.Func([IDL.Nat, IDL.Nat], [Result_12], ['query']),
533
+ mintReserveInvites: IDL.Func([IDL.Nat], [Result_11], []),
534
+ probeCustodyMode: IDL.Func([], [Result_10], []),
535
+ probeMyEngramCompute: IDL.Func([], [Result_9], []),
459
536
  provisionEngram: IDL.Func(
460
537
  [
461
538
  IDL.Opt(
462
539
  IDL.Record({
463
540
  walletProof: IDL.Opt(IDL.Vec(IDL.Nat8)),
464
541
  invite: IDL.Opt(IDL.Text),
465
- genesis: IDL.Opt(IDL.Record({ content: IDL.Vec(IDL.Nat8), path: IDL.Text })),
466
542
  }),
467
543
  ),
468
544
  ],
@@ -482,6 +558,8 @@ export const idlFactory = ({ IDL }) => {
482
558
  [Result],
483
559
  [],
484
560
  ),
561
+ resetEngramMemory: IDL.Func([IDL.Principal], [Result], []),
562
+ restartMyStoppedEngram: IDL.Func([], [Result_8], []),
485
563
  returnToManaged: IDL.Func([], [Result], []),
486
564
  setAdmin: IDL.Func([IDL.Principal], [Result], []),
487
565
  setEngramWasm: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Text], [Result], []),
@@ -494,22 +572,25 @@ export const idlFactory = ({ IDL }) => {
494
572
  setRentBiller: IDL.Func([IDL.Opt(IDL.Principal)], [Result], []),
495
573
  setReserveGateEnabled: IDL.Func([IDL.Bool], [Result], []),
496
574
  setScreeningDenylist: IDL.Func([IDL.Vec(IDL.Principal)], [Result], []),
497
- setSpawnCeiling: IDL.Func([IDL.Nat], [Result_4], []),
575
+ setSpawnCeiling: IDL.Func([IDL.Nat], [Result_7], []),
498
576
  setTreasuryAnchorId: IDL.Func([IDL.Opt(IDL.Principal)], [Result], []),
499
577
  setTrustedSigners: IDL.Func([IDL.Vec(IDL.Principal)], [Result], []),
500
578
  setUpdatePreference: IDL.Func([UpdatePreference], [Result], []),
501
- setUpgradeTopUpFloor: IDL.Func([IDL.Nat], [Result_4], []),
579
+ setUpgradeTopUpFloor: IDL.Func([IDL.Nat], [Result_7], []),
502
580
  setWasmAdmin: IDL.Func([IDL.Opt(IDL.Principal)], [Result], []),
581
+ stopMyEngramForRestart: IDL.Func([], [Result_6], []),
503
582
  sysAnchorHead: IDL.Func([IDL.Vec(IDL.Nat8), IDL.Nat], [Result], []),
583
+ sysCloseRestart: IDL.Func([], [Result_5], []),
504
584
  sysConfirmOwnershipTransfer: IDL.Func([IDL.Principal], [Result], []),
505
- sysMeterEngram: IDL.Func([IDL.Principal], [Result_3], []),
585
+ sysMeterEngram: IDL.Func([IDL.Principal], [Result_4], []),
506
586
  sysNoteReset: IDL.Func([], [Result], []),
507
- sysNotifyOwnershipTransfer: IDL.Func([IDL.Principal], [Result_2], []),
587
+ sysNotifyOwnershipTransfer: IDL.Func([IDL.Principal], [Result_3], []),
508
588
  sysRecordAgentEdge: IDL.Func(
509
589
  [IDL.Record({ root: IDL.Principal, event: EdgeEvent })],
510
590
  [Result],
511
591
  [],
512
592
  ),
593
+ sysRepayUpgradeAdvance: IDL.Func([IDL.Record({ advanceId: IDL.Nat })], [Result_2], []),
513
594
  sysRevertOwnershipTransfer: IDL.Func([IDL.Principal], [Result], []),
514
595
  sysSpawnChild: IDL.Func([IDL.Principal], [Result_1], []),
515
596
  upgradeEngram: IDL.Func([IDL.Principal], [Result], []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engramx/idl",
3
- "version": "0.16.0-rc.2",
3
+ "version": "0.16.0-rc.21",
4
4
  "description": "The Candid interfaces of the EngramX canisters (engram, registry, market) — the .did files and the JS/TS IDL factories generated from them, published with every release so code that calls them pins the interface by version.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "EngramX <developer@engramx.ai>",
@@ -42,7 +42,7 @@
42
42
  "access": "public"
43
43
  },
44
44
  "peerDependencies": {
45
- "@icp-sdk/core": "^5.4.0"
45
+ "@icp-sdk/core": "^6.1.1"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "node scripts/build.mjs"