@dfinity/sns 3.7.1 → 3.8.0-next-2025-08-13
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/candid/sns_governance.certified.idl.js +41 -16
- package/dist/candid/sns_governance.d.ts +20 -0
- package/dist/candid/sns_governance.did +26 -1
- package/dist/candid/sns_governance.idl.js +41 -16
- package/dist/candid/sns_governance_test.certified.idl.js +41 -16
- package/dist/candid/sns_governance_test.d.ts +20 -0
- package/dist/candid/sns_governance_test.did +26 -1
- package/dist/candid/sns_governance_test.idl.js +41 -16
- package/dist/candid/sns_root.certified.idl.js +39 -3
- package/dist/candid/sns_root.d.ts +28 -0
- package/dist/candid/sns_root.did +34 -1
- package/dist/candid/sns_root.idl.js +39 -3
- package/dist/candid/sns_swap.certified.idl.js +11 -0
- package/dist/candid/sns_swap.d.ts +11 -0
- package/dist/candid/sns_swap.did +13 -1
- package/dist/candid/sns_swap.idl.js +11 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +4 -4
- package/dist/esm/chunk-4E6G4JED.js +2 -0
- package/dist/esm/chunk-4E6G4JED.js.map +7 -0
- package/dist/esm/chunk-EYIWJ4DL.js +2 -0
- package/dist/esm/chunk-EYIWJ4DL.js.map +7 -0
- package/dist/esm/{chunk-HZ2HBDQO.js → chunk-O5SVXXGT.js} +2 -2
- package/dist/esm/chunk-QXELTIRL.js +2 -0
- package/dist/esm/chunk-QXELTIRL.js.map +7 -0
- package/dist/esm/chunk-Y6XGADSI.js +7 -0
- package/dist/esm/chunk-Y6XGADSI.js.map +7 -0
- package/dist/esm/governance.canister.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/root.canister.js +1 -1
- package/dist/esm/sns.js +1 -1
- package/dist/esm/sns.wrapper.js +1 -1
- package/dist/esm/swap.canister.js +1 -1
- package/package.json +8 -8
- package/dist/esm/chunk-GDLCZEM5.js +0 -2
- package/dist/esm/chunk-GDLCZEM5.js.map +0 -7
- package/dist/esm/chunk-IMCH2CXJ.js +0 -2
- package/dist/esm/chunk-IMCH2CXJ.js.map +0 -7
- package/dist/esm/chunk-Q5AEWMZX.js +0 -7
- package/dist/esm/chunk-Q5AEWMZX.js.map +0 -7
- package/dist/esm/chunk-RABWAJNE.js +0 -2
- package/dist/esm/chunk-RABWAJNE.js.map +0 -7
- /package/dist/esm/{chunk-HZ2HBDQO.js.map → chunk-O5SVXXGT.js.map} +0 -0
|
@@ -260,14 +260,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
260
260
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
261
261
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
262
262
|
});
|
|
263
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
264
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
265
|
-
});
|
|
266
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
267
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
268
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
269
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
270
|
-
});
|
|
271
263
|
PreciseValue.fill(
|
|
272
264
|
IDL.Variant({
|
|
273
265
|
'Int' : IDL.Int64,
|
|
@@ -279,6 +271,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
279
271
|
'Array' : IDL.Vec(PreciseValue),
|
|
280
272
|
})
|
|
281
273
|
);
|
|
274
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
275
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
276
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
277
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
278
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
279
|
+
});
|
|
280
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
281
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
282
|
+
});
|
|
283
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
284
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
285
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
286
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
287
|
+
});
|
|
282
288
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
283
289
|
const RegisterExtension = IDL.Record({
|
|
284
290
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -335,6 +341,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
335
341
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
336
342
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
337
343
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
344
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
338
345
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
339
346
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
340
347
|
'RegisterExtension' : RegisterExtension,
|
|
@@ -613,6 +620,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
613
620
|
'Proposal' : ProposalData,
|
|
614
621
|
});
|
|
615
622
|
const GetProposalResponse = IDL.Record({ 'result' : IDL.Opt(Result_1) });
|
|
623
|
+
const MemoryMetrics = IDL.Record({
|
|
624
|
+
'wasm_binary_size' : IDL.Opt(IDL.Nat),
|
|
625
|
+
'wasm_chunk_store_size' : IDL.Opt(IDL.Nat),
|
|
626
|
+
'canister_history_size' : IDL.Opt(IDL.Nat),
|
|
627
|
+
'stable_memory_size' : IDL.Opt(IDL.Nat),
|
|
628
|
+
'snapshots_size' : IDL.Opt(IDL.Nat),
|
|
629
|
+
'wasm_memory_size' : IDL.Opt(IDL.Nat),
|
|
630
|
+
'global_memory_size' : IDL.Opt(IDL.Nat),
|
|
631
|
+
'custom_sections_size' : IDL.Opt(IDL.Nat),
|
|
632
|
+
});
|
|
616
633
|
const CanisterStatusType = IDL.Variant({
|
|
617
634
|
'stopped' : IDL.Null,
|
|
618
635
|
'stopping' : IDL.Null,
|
|
@@ -633,6 +650,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
633
650
|
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
|
|
634
651
|
});
|
|
635
652
|
const CanisterStatusResultV2 = IDL.Record({
|
|
653
|
+
'memory_metrics' : IDL.Opt(MemoryMetrics),
|
|
636
654
|
'status' : CanisterStatusType,
|
|
637
655
|
'memory_size' : IDL.Nat,
|
|
638
656
|
'cycles' : IDL.Nat,
|
|
@@ -1090,14 +1108,6 @@ export const init = ({ IDL }) => {
|
|
|
1090
1108
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
1091
1109
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
1092
1110
|
});
|
|
1093
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
1094
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1095
|
-
});
|
|
1096
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
1097
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1098
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1099
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1100
|
-
});
|
|
1101
1111
|
PreciseValue.fill(
|
|
1102
1112
|
IDL.Variant({
|
|
1103
1113
|
'Int' : IDL.Int64,
|
|
@@ -1109,6 +1119,20 @@ export const init = ({ IDL }) => {
|
|
|
1109
1119
|
'Array' : IDL.Vec(PreciseValue),
|
|
1110
1120
|
})
|
|
1111
1121
|
);
|
|
1122
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1123
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
1124
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
1125
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
1126
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
1127
|
+
});
|
|
1128
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
1129
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1130
|
+
});
|
|
1131
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
1132
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1133
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1134
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1135
|
+
});
|
|
1112
1136
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1113
1137
|
const RegisterExtension = IDL.Record({
|
|
1114
1138
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -1165,6 +1189,7 @@ export const init = ({ IDL }) => {
|
|
|
1165
1189
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
1166
1190
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
1167
1191
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
1192
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
1168
1193
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
1169
1194
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
1170
1195
|
'RegisterExtension' : RegisterExtension,
|
|
@@ -12,6 +12,7 @@ export type Action =
|
|
|
12
12
|
}
|
|
13
13
|
| { AddGenericNervousSystemFunction: NervousSystemFunction }
|
|
14
14
|
| { ManageDappCanisterSettings: ManageDappCanisterSettings }
|
|
15
|
+
| { ExecuteExtensionOperation: ExecuteExtensionOperation }
|
|
15
16
|
| { RemoveGenericNervousSystemFunction: bigint }
|
|
16
17
|
| { SetTopicsForCustomProposals: SetTopicsForCustomProposals }
|
|
17
18
|
| { RegisterExtension: RegisterExtension }
|
|
@@ -60,6 +61,7 @@ export interface CachedUpgradeSteps {
|
|
|
60
61
|
requested_timestamp_seconds: [] | [bigint];
|
|
61
62
|
}
|
|
62
63
|
export interface CanisterStatusResultV2 {
|
|
64
|
+
memory_metrics: [] | [MemoryMetrics];
|
|
63
65
|
status: CanisterStatusType;
|
|
64
66
|
memory_size: bigint;
|
|
65
67
|
cycles: bigint;
|
|
@@ -187,6 +189,11 @@ export interface DisburseResponse {
|
|
|
187
189
|
export type DissolveState =
|
|
188
190
|
| { DissolveDelaySeconds: bigint }
|
|
189
191
|
| { WhenDissolvedTimestampSeconds: bigint };
|
|
192
|
+
export interface ExecuteExtensionOperation {
|
|
193
|
+
extension_canister_id: [] | [Principal];
|
|
194
|
+
operation_name: [] | [string];
|
|
195
|
+
operation_arg: [] | [ExtensionOperationArg];
|
|
196
|
+
}
|
|
190
197
|
export interface ExecuteGenericNervousSystemFunction {
|
|
191
198
|
function_id: bigint;
|
|
192
199
|
payload: Uint8Array | number[];
|
|
@@ -194,6 +201,9 @@ export interface ExecuteGenericNervousSystemFunction {
|
|
|
194
201
|
export interface ExtensionInit {
|
|
195
202
|
value: [] | [PreciseValue];
|
|
196
203
|
}
|
|
204
|
+
export interface ExtensionOperationArg {
|
|
205
|
+
value: [] | [PreciseValue];
|
|
206
|
+
}
|
|
197
207
|
export interface FinalizeDisburseMaturity {
|
|
198
208
|
amount_to_be_disbursed_e8s: bigint;
|
|
199
209
|
to_account: [] | [Account];
|
|
@@ -402,6 +412,16 @@ export interface MemoAndController {
|
|
|
402
412
|
controller: [] | [Principal];
|
|
403
413
|
memo: bigint;
|
|
404
414
|
}
|
|
415
|
+
export interface MemoryMetrics {
|
|
416
|
+
wasm_binary_size: [] | [bigint];
|
|
417
|
+
wasm_chunk_store_size: [] | [bigint];
|
|
418
|
+
canister_history_size: [] | [bigint];
|
|
419
|
+
stable_memory_size: [] | [bigint];
|
|
420
|
+
snapshots_size: [] | [bigint];
|
|
421
|
+
wasm_memory_size: [] | [bigint];
|
|
422
|
+
global_memory_size: [] | [bigint];
|
|
423
|
+
custom_sections_size: [] | [bigint];
|
|
424
|
+
}
|
|
405
425
|
export interface MergeMaturity {
|
|
406
426
|
percentage_to_merge: number;
|
|
407
427
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 047925d (2025-08-06 tags: release-2025-08-07_03-33-base) 'rs/sns/governance/canister/governance.did' by import-candid
|
|
2
2
|
type Account = record {
|
|
3
3
|
owner : opt principal;
|
|
4
4
|
subaccount : opt Subaccount;
|
|
@@ -14,6 +14,7 @@ type Action = variant {
|
|
|
14
14
|
AdvanceSnsTargetVersion : AdvanceSnsTargetVersion;
|
|
15
15
|
RegisterDappCanisters : RegisterDappCanisters;
|
|
16
16
|
RegisterExtension : RegisterExtension;
|
|
17
|
+
ExecuteExtensionOperation : ExecuteExtensionOperation;
|
|
17
18
|
TransferSnsTreasuryFunds : TransferSnsTreasuryFunds;
|
|
18
19
|
UpgradeSnsControlledCanister : UpgradeSnsControlledCanister;
|
|
19
20
|
DeregisterDappCanisters : DeregisterDappCanisters;
|
|
@@ -51,9 +52,21 @@ type By = variant {
|
|
|
51
52
|
NeuronId : record {};
|
|
52
53
|
};
|
|
53
54
|
|
|
55
|
+
type MemoryMetrics = record {
|
|
56
|
+
wasm_memory_size : opt nat;
|
|
57
|
+
stable_memory_size : opt nat;
|
|
58
|
+
global_memory_size : opt nat;
|
|
59
|
+
wasm_binary_size : opt nat;
|
|
60
|
+
custom_sections_size : opt nat;
|
|
61
|
+
canister_history_size : opt nat;
|
|
62
|
+
wasm_chunk_store_size : opt nat;
|
|
63
|
+
snapshots_size : opt nat;
|
|
64
|
+
};
|
|
65
|
+
|
|
54
66
|
type CanisterStatusResultV2 = record {
|
|
55
67
|
status : CanisterStatusType;
|
|
56
68
|
memory_size : nat;
|
|
69
|
+
memory_metrics : opt MemoryMetrics;
|
|
57
70
|
cycles : nat;
|
|
58
71
|
settings : DefiniteCanisterSettingsArgs;
|
|
59
72
|
idle_cycles_burned_per_day : nat;
|
|
@@ -735,6 +748,18 @@ type RegisterExtension = record {
|
|
|
735
748
|
extension_init : opt ExtensionInit;
|
|
736
749
|
};
|
|
737
750
|
|
|
751
|
+
type ExtensionOperationArg = record {
|
|
752
|
+
value : opt PreciseValue;
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
type ExecuteExtensionOperation = record {
|
|
756
|
+
extension_canister_id : opt principal;
|
|
757
|
+
|
|
758
|
+
operation_name : opt text;
|
|
759
|
+
|
|
760
|
+
operation_arg : opt ExtensionOperationArg;
|
|
761
|
+
};
|
|
762
|
+
|
|
738
763
|
type RegisterVote = record {
|
|
739
764
|
vote : int32;
|
|
740
765
|
proposal : opt ProposalId;
|
|
@@ -260,14 +260,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
260
260
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
261
261
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
262
262
|
});
|
|
263
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
264
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
265
|
-
});
|
|
266
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
267
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
268
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
269
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
270
|
-
});
|
|
271
263
|
PreciseValue.fill(
|
|
272
264
|
IDL.Variant({
|
|
273
265
|
'Int' : IDL.Int64,
|
|
@@ -279,6 +271,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
279
271
|
'Array' : IDL.Vec(PreciseValue),
|
|
280
272
|
})
|
|
281
273
|
);
|
|
274
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
275
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
276
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
277
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
278
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
279
|
+
});
|
|
280
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
281
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
282
|
+
});
|
|
283
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
284
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
285
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
286
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
287
|
+
});
|
|
282
288
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
283
289
|
const RegisterExtension = IDL.Record({
|
|
284
290
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -335,6 +341,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
335
341
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
336
342
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
337
343
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
344
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
338
345
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
339
346
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
340
347
|
'RegisterExtension' : RegisterExtension,
|
|
@@ -613,6 +620,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
613
620
|
'Proposal' : ProposalData,
|
|
614
621
|
});
|
|
615
622
|
const GetProposalResponse = IDL.Record({ 'result' : IDL.Opt(Result_1) });
|
|
623
|
+
const MemoryMetrics = IDL.Record({
|
|
624
|
+
'wasm_binary_size' : IDL.Opt(IDL.Nat),
|
|
625
|
+
'wasm_chunk_store_size' : IDL.Opt(IDL.Nat),
|
|
626
|
+
'canister_history_size' : IDL.Opt(IDL.Nat),
|
|
627
|
+
'stable_memory_size' : IDL.Opt(IDL.Nat),
|
|
628
|
+
'snapshots_size' : IDL.Opt(IDL.Nat),
|
|
629
|
+
'wasm_memory_size' : IDL.Opt(IDL.Nat),
|
|
630
|
+
'global_memory_size' : IDL.Opt(IDL.Nat),
|
|
631
|
+
'custom_sections_size' : IDL.Opt(IDL.Nat),
|
|
632
|
+
});
|
|
616
633
|
const CanisterStatusType = IDL.Variant({
|
|
617
634
|
'stopped' : IDL.Null,
|
|
618
635
|
'stopping' : IDL.Null,
|
|
@@ -633,6 +650,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
633
650
|
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
|
|
634
651
|
});
|
|
635
652
|
const CanisterStatusResultV2 = IDL.Record({
|
|
653
|
+
'memory_metrics' : IDL.Opt(MemoryMetrics),
|
|
636
654
|
'status' : CanisterStatusType,
|
|
637
655
|
'memory_size' : IDL.Nat,
|
|
638
656
|
'cycles' : IDL.Nat,
|
|
@@ -1106,14 +1124,6 @@ export const init = ({ IDL }) => {
|
|
|
1106
1124
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
1107
1125
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
1108
1126
|
});
|
|
1109
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
1110
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1111
|
-
});
|
|
1112
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
1113
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1114
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1115
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1116
|
-
});
|
|
1117
1127
|
PreciseValue.fill(
|
|
1118
1128
|
IDL.Variant({
|
|
1119
1129
|
'Int' : IDL.Int64,
|
|
@@ -1125,6 +1135,20 @@ export const init = ({ IDL }) => {
|
|
|
1125
1135
|
'Array' : IDL.Vec(PreciseValue),
|
|
1126
1136
|
})
|
|
1127
1137
|
);
|
|
1138
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1139
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
1140
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
1141
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
1142
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
1143
|
+
});
|
|
1144
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
1145
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1146
|
+
});
|
|
1147
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
1148
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1149
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1150
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1151
|
+
});
|
|
1128
1152
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1129
1153
|
const RegisterExtension = IDL.Record({
|
|
1130
1154
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -1181,6 +1205,7 @@ export const init = ({ IDL }) => {
|
|
|
1181
1205
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
1182
1206
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
1183
1207
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
1208
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
1184
1209
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
1185
1210
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
1186
1211
|
'RegisterExtension' : RegisterExtension,
|
|
@@ -260,14 +260,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
260
260
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
261
261
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
262
262
|
});
|
|
263
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
264
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
265
|
-
});
|
|
266
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
267
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
268
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
269
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
270
|
-
});
|
|
271
263
|
PreciseValue.fill(
|
|
272
264
|
IDL.Variant({
|
|
273
265
|
'Int' : IDL.Int64,
|
|
@@ -279,6 +271,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
279
271
|
'Array' : IDL.Vec(PreciseValue),
|
|
280
272
|
})
|
|
281
273
|
);
|
|
274
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
275
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
276
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
277
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
278
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
279
|
+
});
|
|
280
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
281
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
282
|
+
});
|
|
283
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
284
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
285
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
286
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
287
|
+
});
|
|
282
288
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
283
289
|
const RegisterExtension = IDL.Record({
|
|
284
290
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -335,6 +341,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
335
341
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
336
342
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
337
343
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
344
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
338
345
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
339
346
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
340
347
|
'RegisterExtension' : RegisterExtension,
|
|
@@ -624,6 +631,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
624
631
|
'Proposal' : ProposalData,
|
|
625
632
|
});
|
|
626
633
|
const GetProposalResponse = IDL.Record({ 'result' : IDL.Opt(Result_1) });
|
|
634
|
+
const MemoryMetrics = IDL.Record({
|
|
635
|
+
'wasm_binary_size' : IDL.Opt(IDL.Nat),
|
|
636
|
+
'wasm_chunk_store_size' : IDL.Opt(IDL.Nat),
|
|
637
|
+
'canister_history_size' : IDL.Opt(IDL.Nat),
|
|
638
|
+
'stable_memory_size' : IDL.Opt(IDL.Nat),
|
|
639
|
+
'snapshots_size' : IDL.Opt(IDL.Nat),
|
|
640
|
+
'wasm_memory_size' : IDL.Opt(IDL.Nat),
|
|
641
|
+
'global_memory_size' : IDL.Opt(IDL.Nat),
|
|
642
|
+
'custom_sections_size' : IDL.Opt(IDL.Nat),
|
|
643
|
+
});
|
|
627
644
|
const CanisterStatusType = IDL.Variant({
|
|
628
645
|
'stopped' : IDL.Null,
|
|
629
646
|
'stopping' : IDL.Null,
|
|
@@ -644,6 +661,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
644
661
|
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
|
|
645
662
|
});
|
|
646
663
|
const CanisterStatusResultV2 = IDL.Record({
|
|
664
|
+
'memory_metrics' : IDL.Opt(MemoryMetrics),
|
|
647
665
|
'status' : CanisterStatusType,
|
|
648
666
|
'memory_size' : IDL.Nat,
|
|
649
667
|
'cycles' : IDL.Nat,
|
|
@@ -1118,14 +1136,6 @@ export const init = ({ IDL }) => {
|
|
|
1118
1136
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
1119
1137
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
1120
1138
|
});
|
|
1121
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
1122
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1123
|
-
});
|
|
1124
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
1125
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1126
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1127
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1128
|
-
});
|
|
1129
1139
|
PreciseValue.fill(
|
|
1130
1140
|
IDL.Variant({
|
|
1131
1141
|
'Int' : IDL.Int64,
|
|
@@ -1137,6 +1147,20 @@ export const init = ({ IDL }) => {
|
|
|
1137
1147
|
'Array' : IDL.Vec(PreciseValue),
|
|
1138
1148
|
})
|
|
1139
1149
|
);
|
|
1150
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1151
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
1152
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
1153
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
1154
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
1155
|
+
});
|
|
1156
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
1157
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1158
|
+
});
|
|
1159
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
1160
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1161
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1162
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1163
|
+
});
|
|
1140
1164
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1141
1165
|
const RegisterExtension = IDL.Record({
|
|
1142
1166
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -1193,6 +1217,7 @@ export const init = ({ IDL }) => {
|
|
|
1193
1217
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
1194
1218
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
1195
1219
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
1220
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
1196
1221
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
1197
1222
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
1198
1223
|
'RegisterExtension' : RegisterExtension,
|
|
@@ -12,6 +12,7 @@ export type Action =
|
|
|
12
12
|
}
|
|
13
13
|
| { AddGenericNervousSystemFunction: NervousSystemFunction }
|
|
14
14
|
| { ManageDappCanisterSettings: ManageDappCanisterSettings }
|
|
15
|
+
| { ExecuteExtensionOperation: ExecuteExtensionOperation }
|
|
15
16
|
| { RemoveGenericNervousSystemFunction: bigint }
|
|
16
17
|
| { SetTopicsForCustomProposals: SetTopicsForCustomProposals }
|
|
17
18
|
| { RegisterExtension: RegisterExtension }
|
|
@@ -71,6 +72,7 @@ export interface CachedUpgradeSteps {
|
|
|
71
72
|
requested_timestamp_seconds: [] | [bigint];
|
|
72
73
|
}
|
|
73
74
|
export interface CanisterStatusResultV2 {
|
|
75
|
+
memory_metrics: [] | [MemoryMetrics];
|
|
74
76
|
status: CanisterStatusType;
|
|
75
77
|
memory_size: bigint;
|
|
76
78
|
cycles: bigint;
|
|
@@ -198,6 +200,11 @@ export interface DisburseResponse {
|
|
|
198
200
|
export type DissolveState =
|
|
199
201
|
| { DissolveDelaySeconds: bigint }
|
|
200
202
|
| { WhenDissolvedTimestampSeconds: bigint };
|
|
203
|
+
export interface ExecuteExtensionOperation {
|
|
204
|
+
extension_canister_id: [] | [Principal];
|
|
205
|
+
operation_name: [] | [string];
|
|
206
|
+
operation_arg: [] | [ExtensionOperationArg];
|
|
207
|
+
}
|
|
201
208
|
export interface ExecuteGenericNervousSystemFunction {
|
|
202
209
|
function_id: bigint;
|
|
203
210
|
payload: Uint8Array | number[];
|
|
@@ -205,6 +212,9 @@ export interface ExecuteGenericNervousSystemFunction {
|
|
|
205
212
|
export interface ExtensionInit {
|
|
206
213
|
value: [] | [PreciseValue];
|
|
207
214
|
}
|
|
215
|
+
export interface ExtensionOperationArg {
|
|
216
|
+
value: [] | [PreciseValue];
|
|
217
|
+
}
|
|
208
218
|
export interface FinalizeDisburseMaturity {
|
|
209
219
|
amount_to_be_disbursed_e8s: bigint;
|
|
210
220
|
to_account: [] | [Account];
|
|
@@ -413,6 +423,16 @@ export interface MemoAndController {
|
|
|
413
423
|
controller: [] | [Principal];
|
|
414
424
|
memo: bigint;
|
|
415
425
|
}
|
|
426
|
+
export interface MemoryMetrics {
|
|
427
|
+
wasm_binary_size: [] | [bigint];
|
|
428
|
+
wasm_chunk_store_size: [] | [bigint];
|
|
429
|
+
canister_history_size: [] | [bigint];
|
|
430
|
+
stable_memory_size: [] | [bigint];
|
|
431
|
+
snapshots_size: [] | [bigint];
|
|
432
|
+
wasm_memory_size: [] | [bigint];
|
|
433
|
+
global_memory_size: [] | [bigint];
|
|
434
|
+
custom_sections_size: [] | [bigint];
|
|
435
|
+
}
|
|
416
436
|
export interface MergeMaturity {
|
|
417
437
|
percentage_to_merge: number;
|
|
418
438
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 047925d (2025-08-06 tags: release-2025-08-07_03-33-base) 'rs/sns/governance/canister/governance_test.did' by import-candid
|
|
2
2
|
type Account = record {
|
|
3
3
|
owner : opt principal;
|
|
4
4
|
subaccount : opt Subaccount;
|
|
@@ -14,6 +14,7 @@ type Action = variant {
|
|
|
14
14
|
AdvanceSnsTargetVersion : AdvanceSnsTargetVersion;
|
|
15
15
|
RegisterDappCanisters : RegisterDappCanisters;
|
|
16
16
|
RegisterExtension : RegisterExtension;
|
|
17
|
+
ExecuteExtensionOperation : ExecuteExtensionOperation;
|
|
17
18
|
TransferSnsTreasuryFunds : TransferSnsTreasuryFunds;
|
|
18
19
|
UpgradeSnsControlledCanister : UpgradeSnsControlledCanister;
|
|
19
20
|
DeregisterDappCanisters : DeregisterDappCanisters;
|
|
@@ -60,9 +61,21 @@ type By = variant {
|
|
|
60
61
|
NeuronId : record {};
|
|
61
62
|
};
|
|
62
63
|
|
|
64
|
+
type MemoryMetrics = record {
|
|
65
|
+
wasm_memory_size : opt nat;
|
|
66
|
+
stable_memory_size : opt nat;
|
|
67
|
+
global_memory_size : opt nat;
|
|
68
|
+
wasm_binary_size : opt nat;
|
|
69
|
+
custom_sections_size : opt nat;
|
|
70
|
+
canister_history_size : opt nat;
|
|
71
|
+
wasm_chunk_store_size : opt nat;
|
|
72
|
+
snapshots_size : opt nat;
|
|
73
|
+
};
|
|
74
|
+
|
|
63
75
|
type CanisterStatusResultV2 = record {
|
|
64
76
|
status : CanisterStatusType;
|
|
65
77
|
memory_size : nat;
|
|
78
|
+
memory_metrics : opt MemoryMetrics;
|
|
66
79
|
cycles : nat;
|
|
67
80
|
settings : DefiniteCanisterSettingsArgs;
|
|
68
81
|
idle_cycles_burned_per_day : nat;
|
|
@@ -749,6 +762,18 @@ type RegisterExtension = record {
|
|
|
749
762
|
extension_init : opt ExtensionInit;
|
|
750
763
|
};
|
|
751
764
|
|
|
765
|
+
type ExtensionOperationArg = record {
|
|
766
|
+
value : opt PreciseValue;
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
type ExecuteExtensionOperation = record {
|
|
770
|
+
extension_canister_id : opt principal;
|
|
771
|
+
|
|
772
|
+
operation_name : opt text;
|
|
773
|
+
|
|
774
|
+
operation_arg : opt ExtensionOperationArg;
|
|
775
|
+
};
|
|
776
|
+
|
|
752
777
|
type RegisterVote = record {
|
|
753
778
|
vote : int32;
|
|
754
779
|
proposal : opt ProposalId;
|
|
@@ -260,14 +260,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
260
260
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
261
261
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
262
262
|
});
|
|
263
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
264
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
265
|
-
});
|
|
266
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
267
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
268
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
269
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
270
|
-
});
|
|
271
263
|
PreciseValue.fill(
|
|
272
264
|
IDL.Variant({
|
|
273
265
|
'Int' : IDL.Int64,
|
|
@@ -279,6 +271,20 @@ export const idlFactory = ({ IDL }) => {
|
|
|
279
271
|
'Array' : IDL.Vec(PreciseValue),
|
|
280
272
|
})
|
|
281
273
|
);
|
|
274
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
275
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
276
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
277
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
278
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
279
|
+
});
|
|
280
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
281
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
282
|
+
});
|
|
283
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
284
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
285
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
286
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
287
|
+
});
|
|
282
288
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
283
289
|
const RegisterExtension = IDL.Record({
|
|
284
290
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -335,6 +341,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
335
341
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
336
342
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
337
343
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
344
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
338
345
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
339
346
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
340
347
|
'RegisterExtension' : RegisterExtension,
|
|
@@ -624,6 +631,16 @@ export const idlFactory = ({ IDL }) => {
|
|
|
624
631
|
'Proposal' : ProposalData,
|
|
625
632
|
});
|
|
626
633
|
const GetProposalResponse = IDL.Record({ 'result' : IDL.Opt(Result_1) });
|
|
634
|
+
const MemoryMetrics = IDL.Record({
|
|
635
|
+
'wasm_binary_size' : IDL.Opt(IDL.Nat),
|
|
636
|
+
'wasm_chunk_store_size' : IDL.Opt(IDL.Nat),
|
|
637
|
+
'canister_history_size' : IDL.Opt(IDL.Nat),
|
|
638
|
+
'stable_memory_size' : IDL.Opt(IDL.Nat),
|
|
639
|
+
'snapshots_size' : IDL.Opt(IDL.Nat),
|
|
640
|
+
'wasm_memory_size' : IDL.Opt(IDL.Nat),
|
|
641
|
+
'global_memory_size' : IDL.Opt(IDL.Nat),
|
|
642
|
+
'custom_sections_size' : IDL.Opt(IDL.Nat),
|
|
643
|
+
});
|
|
627
644
|
const CanisterStatusType = IDL.Variant({
|
|
628
645
|
'stopped' : IDL.Null,
|
|
629
646
|
'stopping' : IDL.Null,
|
|
@@ -644,6 +661,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
644
661
|
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
|
|
645
662
|
});
|
|
646
663
|
const CanisterStatusResultV2 = IDL.Record({
|
|
664
|
+
'memory_metrics' : IDL.Opt(MemoryMetrics),
|
|
647
665
|
'status' : CanisterStatusType,
|
|
648
666
|
'memory_size' : IDL.Nat,
|
|
649
667
|
'cycles' : IDL.Nat,
|
|
@@ -1134,14 +1152,6 @@ export const init = ({ IDL }) => {
|
|
|
1134
1152
|
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
1135
1153
|
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
1136
1154
|
});
|
|
1137
|
-
const SetTopicsForCustomProposals = IDL.Record({
|
|
1138
|
-
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1139
|
-
});
|
|
1140
|
-
const ChunkedCanisterWasm = IDL.Record({
|
|
1141
|
-
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1142
|
-
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1143
|
-
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1144
|
-
});
|
|
1145
1155
|
PreciseValue.fill(
|
|
1146
1156
|
IDL.Variant({
|
|
1147
1157
|
'Int' : IDL.Int64,
|
|
@@ -1153,6 +1163,20 @@ export const init = ({ IDL }) => {
|
|
|
1153
1163
|
'Array' : IDL.Vec(PreciseValue),
|
|
1154
1164
|
})
|
|
1155
1165
|
);
|
|
1166
|
+
const ExtensionOperationArg = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1167
|
+
const ExecuteExtensionOperation = IDL.Record({
|
|
1168
|
+
'extension_canister_id' : IDL.Opt(IDL.Principal),
|
|
1169
|
+
'operation_name' : IDL.Opt(IDL.Text),
|
|
1170
|
+
'operation_arg' : IDL.Opt(ExtensionOperationArg),
|
|
1171
|
+
});
|
|
1172
|
+
const SetTopicsForCustomProposals = IDL.Record({
|
|
1173
|
+
'custom_function_id_to_topic' : IDL.Vec(IDL.Tuple(IDL.Nat64, Topic)),
|
|
1174
|
+
});
|
|
1175
|
+
const ChunkedCanisterWasm = IDL.Record({
|
|
1176
|
+
'wasm_module_hash' : IDL.Vec(IDL.Nat8),
|
|
1177
|
+
'chunk_hashes_list' : IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
1178
|
+
'store_canister_id' : IDL.Opt(IDL.Principal),
|
|
1179
|
+
});
|
|
1156
1180
|
const ExtensionInit = IDL.Record({ 'value' : IDL.Opt(PreciseValue) });
|
|
1157
1181
|
const RegisterExtension = IDL.Record({
|
|
1158
1182
|
'chunked_canister_wasm' : IDL.Opt(ChunkedCanisterWasm),
|
|
@@ -1209,6 +1233,7 @@ export const init = ({ IDL }) => {
|
|
|
1209
1233
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
1210
1234
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
1211
1235
|
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
1236
|
+
'ExecuteExtensionOperation' : ExecuteExtensionOperation,
|
|
1212
1237
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
1213
1238
|
'SetTopicsForCustomProposals' : SetTopicsForCustomProposals,
|
|
1214
1239
|
'RegisterExtension' : RegisterExtension,
|