@dfinity/sns 4.1.2 → 5.0.0-next-2025-10-20
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/README.md +1 -1
- package/dist/candid/sns_governance.certified.idl.d.ts +1 -1
- package/dist/candid/sns_governance.certified.idl.js +1003 -1005
- package/dist/candid/sns_governance.d.ts +11 -3
- package/dist/candid/sns_governance.idl.d.ts +1 -1
- package/dist/candid/sns_governance.idl.js +1011 -1021
- package/dist/candid/sns_governance_test.certified.idl.d.ts +1 -1
- package/dist/candid/sns_governance_test.certified.idl.js +1021 -1023
- package/dist/candid/sns_governance_test.d.ts +11 -3
- package/dist/candid/sns_governance_test.idl.d.ts +1 -1
- package/dist/candid/sns_governance_test.idl.js +1029 -1039
- package/dist/candid/sns_root.certified.idl.d.ts +1 -1
- package/dist/candid/sns_root.certified.idl.js +183 -177
- package/dist/candid/sns_root.d.ts +11 -3
- package/dist/candid/sns_root.idl.d.ts +1 -1
- package/dist/candid/sns_root.idl.js +183 -177
- package/dist/candid/sns_swap.certified.idl.d.ts +1 -1
- package/dist/candid/sns_swap.certified.idl.js +359 -355
- package/dist/candid/sns_swap.d.ts +11 -3
- package/dist/candid/sns_swap.idl.d.ts +1 -1
- package/dist/candid/sns_swap.idl.js +367 -363
- package/dist/{types/converters → converters}/governance.converters.d.ts +1 -1
- package/dist/{types/converters → converters}/swap.converters.d.ts +1 -1
- package/dist/{types/errors → errors}/swap.errors.d.ts +1 -1
- package/dist/{types/governance.canister.d.ts → governance.canister.d.ts} +1 -1
- package/dist/{types/governance_test.canister.d.ts → governance_test.canister.d.ts} +1 -1
- package/dist/{types/index.d.ts → index.d.ts} +3 -3
- package/dist/index.js +7 -1
- package/dist/index.js.map +7 -0
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +7 -0
- package/dist/{types/root.canister.d.ts → root.canister.d.ts} +1 -1
- package/dist/{types/sns.d.ts → sns.d.ts} +2 -2
- package/dist/{types/sns.wrapper.d.ts → sns.wrapper.d.ts} +3 -3
- package/dist/{types/swap.canister.d.ts → swap.canister.d.ts} +1 -1
- package/dist/types/{types/actions.d.ts → actions.d.ts} +2 -2
- package/dist/types/{types/canister.options.d.ts → canister.options.d.ts} +1 -1
- package/dist/types/{types/governance.params.d.ts → governance.params.d.ts} +2 -2
- package/dist/types/{types/governance_test.params.d.ts → governance_test.params.d.ts} +1 -1
- package/dist/{types/utils → utils}/governance.utils.d.ts +1 -1
- package/package.json +23 -12
- package/dist/cjs/index.cjs.js +0 -7
- package/dist/cjs/index.cjs.js.map +0 -7
- package/dist/esm/chunk-4E6G4JED.js +0 -2
- package/dist/esm/chunk-4E6G4JED.js.map +0 -7
- package/dist/esm/chunk-4INNMFYU.js +0 -2
- package/dist/esm/chunk-4INNMFYU.js.map +0 -7
- package/dist/esm/chunk-4OISOQSJ.js +0 -2
- package/dist/esm/chunk-4OISOQSJ.js.map +0 -7
- package/dist/esm/chunk-BJBCLIED.js +0 -2
- package/dist/esm/chunk-BJBCLIED.js.map +0 -7
- package/dist/esm/chunk-EYIWJ4DL.js +0 -2
- package/dist/esm/chunk-EYIWJ4DL.js.map +0 -7
- package/dist/esm/chunk-Y6XGADSI.js +0 -7
- package/dist/esm/chunk-Y6XGADSI.js.map +0 -7
- package/dist/esm/governance.canister.js +0 -2
- package/dist/esm/governance.canister.js.map +0 -7
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +0 -7
- package/dist/esm/root.canister.js +0 -2
- package/dist/esm/root.canister.js.map +0 -7
- package/dist/esm/sns.js +0 -2
- package/dist/esm/sns.js.map +0 -7
- package/dist/esm/sns.wrapper.js +0 -2
- package/dist/esm/sns.wrapper.js.map +0 -7
- package/dist/esm/swap.canister.js +0 -2
- package/dist/esm/swap.canister.js.map +0 -7
- package/dist/index.cjs.js +0 -1
- /package/dist/{types/constants → constants}/governance.constants.d.ts +0 -0
- /package/dist/{types/enums → enums}/governance.enums.d.ts +0 -0
- /package/dist/{types/enums → enums}/swap.enums.d.ts +0 -0
- /package/dist/{types/errors → errors}/common.errors.d.ts +0 -0
- /package/dist/{types/errors → errors}/governance.errors.d.ts +0 -0
- /package/dist/types/{types/common.d.ts → common.d.ts} +0 -0
- /package/dist/types/{types/swap.params.d.ts → swap.params.d.ts} +0 -0
- /package/dist/{types/utils → utils}/error.utils.d.ts +0 -0
|
@@ -1,245 +1,251 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This file was automatically generated by @icp-sdk/bindgen@0.2.0-patch-typed-arrays.
|
|
6
|
+
// You should NOT make any changes in this file as it will be overwritten.
|
|
7
|
+
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
8
|
+
|
|
2
9
|
export const idlFactory = ({ IDL }) => {
|
|
3
10
|
const Timers = IDL.Record({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
11
|
+
last_spawned_timestamp_seconds: IDL.Opt(IDL.Nat64),
|
|
12
|
+
last_reset_timestamp_seconds: IDL.Opt(IDL.Nat64),
|
|
13
|
+
requires_periodic_tasks: IDL.Opt(IDL.Bool),
|
|
7
14
|
});
|
|
8
15
|
const Extensions = IDL.Record({
|
|
9
|
-
|
|
16
|
+
extension_canister_ids: IDL.Vec(IDL.Principal),
|
|
10
17
|
});
|
|
11
18
|
const SnsRootCanister = IDL.Record({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
});
|
|
22
|
-
const CanisterIdRecord = IDL.Record({
|
|
19
|
+
dapp_canister_ids: IDL.Vec(IDL.Principal),
|
|
20
|
+
timers: IDL.Opt(Timers),
|
|
21
|
+
testflight: IDL.Bool,
|
|
22
|
+
extensions: IDL.Opt(Extensions),
|
|
23
|
+
archive_canister_ids: IDL.Vec(IDL.Principal),
|
|
24
|
+
governance_canister_id: IDL.Opt(IDL.Principal),
|
|
25
|
+
index_canister_id: IDL.Opt(IDL.Principal),
|
|
26
|
+
swap_canister_id: IDL.Opt(IDL.Principal),
|
|
27
|
+
ledger_canister_id: IDL.Opt(IDL.Principal),
|
|
28
|
+
});
|
|
29
|
+
const CanisterIdRecord = IDL.Record({ canister_id: IDL.Principal });
|
|
23
30
|
const MemoryMetrics = IDL.Record({
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
wasm_binary_size: IDL.Opt(IDL.Nat),
|
|
32
|
+
wasm_chunk_store_size: IDL.Opt(IDL.Nat),
|
|
33
|
+
canister_history_size: IDL.Opt(IDL.Nat),
|
|
34
|
+
stable_memory_size: IDL.Opt(IDL.Nat),
|
|
35
|
+
snapshots_size: IDL.Opt(IDL.Nat),
|
|
36
|
+
wasm_memory_size: IDL.Opt(IDL.Nat),
|
|
37
|
+
global_memory_size: IDL.Opt(IDL.Nat),
|
|
38
|
+
custom_sections_size: IDL.Opt(IDL.Nat),
|
|
32
39
|
});
|
|
33
40
|
const CanisterStatusType = IDL.Variant({
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
41
|
+
stopped: IDL.Null,
|
|
42
|
+
stopping: IDL.Null,
|
|
43
|
+
running: IDL.Null,
|
|
37
44
|
});
|
|
38
45
|
const LogVisibility = IDL.Variant({
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
46
|
+
controllers: IDL.Null,
|
|
47
|
+
public: IDL.Null,
|
|
48
|
+
allowed_viewers: IDL.Vec(IDL.Principal),
|
|
42
49
|
});
|
|
43
50
|
const DefiniteCanisterSettings = IDL.Record({
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
freezing_threshold: IDL.Opt(IDL.Nat),
|
|
52
|
+
wasm_memory_threshold: IDL.Opt(IDL.Nat),
|
|
53
|
+
controllers: IDL.Vec(IDL.Principal),
|
|
54
|
+
reserved_cycles_limit: IDL.Opt(IDL.Nat),
|
|
55
|
+
log_visibility: IDL.Opt(LogVisibility),
|
|
56
|
+
wasm_memory_limit: IDL.Opt(IDL.Nat),
|
|
57
|
+
memory_allocation: IDL.Opt(IDL.Nat),
|
|
58
|
+
compute_allocation: IDL.Opt(IDL.Nat),
|
|
52
59
|
});
|
|
53
60
|
const QueryStats = IDL.Record({
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
61
|
+
response_payload_bytes_total: IDL.Opt(IDL.Nat),
|
|
62
|
+
num_instructions_total: IDL.Opt(IDL.Nat),
|
|
63
|
+
num_calls_total: IDL.Opt(IDL.Nat),
|
|
64
|
+
request_payload_bytes_total: IDL.Opt(IDL.Nat),
|
|
58
65
|
});
|
|
59
66
|
const CanisterStatusResult = IDL.Record({
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
memory_metrics: IDL.Opt(MemoryMetrics),
|
|
68
|
+
status: CanisterStatusType,
|
|
69
|
+
memory_size: IDL.Nat,
|
|
70
|
+
cycles: IDL.Nat,
|
|
71
|
+
settings: DefiniteCanisterSettings,
|
|
72
|
+
query_stats: IDL.Opt(QueryStats),
|
|
73
|
+
idle_cycles_burned_per_day: IDL.Opt(IDL.Nat),
|
|
74
|
+
module_hash: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
75
|
+
reserved_cycles: IDL.Opt(IDL.Nat),
|
|
69
76
|
});
|
|
70
77
|
const CanisterInstallMode = IDL.Variant({
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
reinstall: IDL.Null,
|
|
79
|
+
upgrade: IDL.Null,
|
|
80
|
+
install: IDL.Null,
|
|
74
81
|
});
|
|
75
82
|
const ChunkedCanisterWasm = IDL.Record({
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
83
|
+
wasm_module_hash: IDL.Vec(IDL.Nat8),
|
|
84
|
+
chunk_hashes_list: IDL.Vec(IDL.Vec(IDL.Nat8)),
|
|
85
|
+
store_canister_id: IDL.Principal,
|
|
79
86
|
});
|
|
80
87
|
const ChangeCanisterRequest = IDL.Record({
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
arg: IDL.Vec(IDL.Nat8),
|
|
89
|
+
wasm_module: IDL.Vec(IDL.Nat8),
|
|
90
|
+
stop_before_installing: IDL.Bool,
|
|
91
|
+
mode: CanisterInstallMode,
|
|
92
|
+
canister_id: IDL.Principal,
|
|
93
|
+
chunked_canister_wasm: IDL.Opt(ChunkedCanisterWasm),
|
|
87
94
|
});
|
|
88
95
|
const GetSnsCanistersSummaryRequest = IDL.Record({
|
|
89
|
-
|
|
96
|
+
update_canister_list: IDL.Opt(IDL.Bool),
|
|
90
97
|
});
|
|
91
98
|
const DefiniteCanisterSettingsArgs = IDL.Record({
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
99
|
+
freezing_threshold: IDL.Nat,
|
|
100
|
+
wasm_memory_threshold: IDL.Opt(IDL.Nat),
|
|
101
|
+
controllers: IDL.Vec(IDL.Principal),
|
|
102
|
+
wasm_memory_limit: IDL.Opt(IDL.Nat),
|
|
103
|
+
memory_allocation: IDL.Nat,
|
|
104
|
+
compute_allocation: IDL.Nat,
|
|
98
105
|
});
|
|
99
106
|
const CanisterStatusResultV2 = IDL.Record({
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
memory_metrics: IDL.Opt(MemoryMetrics),
|
|
108
|
+
status: CanisterStatusType,
|
|
109
|
+
memory_size: IDL.Nat,
|
|
110
|
+
cycles: IDL.Nat,
|
|
111
|
+
settings: DefiniteCanisterSettingsArgs,
|
|
112
|
+
query_stats: IDL.Opt(QueryStats),
|
|
113
|
+
idle_cycles_burned_per_day: IDL.Nat,
|
|
114
|
+
module_hash: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
108
115
|
});
|
|
109
116
|
const CanisterSummary = IDL.Record({
|
|
110
|
-
|
|
111
|
-
|
|
117
|
+
status: IDL.Opt(CanisterStatusResultV2),
|
|
118
|
+
canister_id: IDL.Opt(IDL.Principal),
|
|
112
119
|
});
|
|
113
120
|
const GetSnsCanistersSummaryResponse = IDL.Record({
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
});
|
|
122
|
-
const GetTimersResponse = IDL.Record({
|
|
121
|
+
root: IDL.Opt(CanisterSummary),
|
|
122
|
+
swap: IDL.Opt(CanisterSummary),
|
|
123
|
+
ledger: IDL.Opt(CanisterSummary),
|
|
124
|
+
index: IDL.Opt(CanisterSummary),
|
|
125
|
+
governance: IDL.Opt(CanisterSummary),
|
|
126
|
+
dapps: IDL.Vec(CanisterSummary),
|
|
127
|
+
archives: IDL.Vec(CanisterSummary),
|
|
128
|
+
});
|
|
129
|
+
const GetTimersResponse = IDL.Record({ timers: IDL.Opt(Timers) });
|
|
123
130
|
const ListSnsCanistersResponse = IDL.Record({
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
root: IDL.Opt(IDL.Principal),
|
|
132
|
+
swap: IDL.Opt(IDL.Principal),
|
|
133
|
+
extensions: IDL.Opt(Extensions),
|
|
134
|
+
ledger: IDL.Opt(IDL.Principal),
|
|
135
|
+
index: IDL.Opt(IDL.Principal),
|
|
136
|
+
governance: IDL.Opt(IDL.Principal),
|
|
137
|
+
dapps: IDL.Vec(IDL.Principal),
|
|
138
|
+
archives: IDL.Vec(IDL.Principal),
|
|
132
139
|
});
|
|
133
140
|
const ManageDappCanisterSettingsRequest = IDL.Record({
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
freezing_threshold: IDL.Opt(IDL.Nat64),
|
|
142
|
+
wasm_memory_threshold: IDL.Opt(IDL.Nat64),
|
|
143
|
+
canister_ids: IDL.Vec(IDL.Principal),
|
|
144
|
+
reserved_cycles_limit: IDL.Opt(IDL.Nat64),
|
|
145
|
+
log_visibility: IDL.Opt(IDL.Int32),
|
|
146
|
+
wasm_memory_limit: IDL.Opt(IDL.Nat64),
|
|
147
|
+
memory_allocation: IDL.Opt(IDL.Nat64),
|
|
148
|
+
compute_allocation: IDL.Opt(IDL.Nat64),
|
|
142
149
|
});
|
|
143
150
|
const ManageDappCanisterSettingsResponse = IDL.Record({
|
|
144
|
-
|
|
151
|
+
failure_reason: IDL.Opt(IDL.Text),
|
|
145
152
|
});
|
|
146
153
|
const RegisterDappCanisterRequest = IDL.Record({
|
|
147
|
-
|
|
154
|
+
canister_id: IDL.Opt(IDL.Principal),
|
|
148
155
|
});
|
|
149
156
|
const RegisterDappCanistersRequest = IDL.Record({
|
|
150
|
-
|
|
157
|
+
canister_ids: IDL.Vec(IDL.Principal),
|
|
151
158
|
});
|
|
152
159
|
const RegisterExtensionRequest = IDL.Record({
|
|
153
|
-
|
|
160
|
+
canister_id: IDL.Opt(IDL.Principal),
|
|
154
161
|
});
|
|
155
162
|
const CanisterCallError = IDL.Record({
|
|
156
|
-
|
|
157
|
-
|
|
163
|
+
code: IDL.Opt(IDL.Int32),
|
|
164
|
+
description: IDL.Text,
|
|
158
165
|
});
|
|
159
166
|
const RegisterExtensionResult = IDL.Variant({
|
|
160
|
-
|
|
161
|
-
|
|
167
|
+
Ok: IDL.Record({}),
|
|
168
|
+
Err: CanisterCallError,
|
|
162
169
|
});
|
|
163
170
|
const RegisterExtensionResponse = IDL.Record({
|
|
164
|
-
|
|
171
|
+
result: IDL.Opt(RegisterExtensionResult),
|
|
165
172
|
});
|
|
166
173
|
const SetDappControllersRequest = IDL.Record({
|
|
167
|
-
|
|
168
|
-
|
|
174
|
+
canister_ids: IDL.Opt(RegisterDappCanistersRequest),
|
|
175
|
+
controller_principal_ids: IDL.Vec(IDL.Principal),
|
|
169
176
|
});
|
|
170
177
|
const FailedUpdate = IDL.Record({
|
|
171
|
-
|
|
172
|
-
|
|
178
|
+
err: IDL.Opt(CanisterCallError),
|
|
179
|
+
dapp_canister_id: IDL.Opt(IDL.Principal),
|
|
173
180
|
});
|
|
174
181
|
const SetDappControllersResponse = IDL.Record({
|
|
175
|
-
|
|
182
|
+
failed_updates: IDL.Vec(FailedUpdate),
|
|
176
183
|
});
|
|
184
|
+
|
|
177
185
|
return IDL.Service({
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
[SetDappControllersRequest],
|
|
219
|
-
[SetDappControllersResponse],
|
|
220
|
-
[],
|
|
221
|
-
),
|
|
186
|
+
canister_status: IDL.Func([CanisterIdRecord], [CanisterStatusResult], []),
|
|
187
|
+
change_canister: IDL.Func([ChangeCanisterRequest], [], []),
|
|
188
|
+
get_build_metadata: IDL.Func([], [IDL.Text], ["query"]),
|
|
189
|
+
get_sns_canisters_summary: IDL.Func(
|
|
190
|
+
[GetSnsCanistersSummaryRequest],
|
|
191
|
+
[GetSnsCanistersSummaryResponse],
|
|
192
|
+
[],
|
|
193
|
+
),
|
|
194
|
+
get_timers: IDL.Func([IDL.Record({})], [GetTimersResponse], ["query"]),
|
|
195
|
+
list_sns_canisters: IDL.Func(
|
|
196
|
+
[IDL.Record({})],
|
|
197
|
+
[ListSnsCanistersResponse],
|
|
198
|
+
["query"],
|
|
199
|
+
),
|
|
200
|
+
manage_dapp_canister_settings: IDL.Func(
|
|
201
|
+
[ManageDappCanisterSettingsRequest],
|
|
202
|
+
[ManageDappCanisterSettingsResponse],
|
|
203
|
+
[],
|
|
204
|
+
),
|
|
205
|
+
register_dapp_canister: IDL.Func(
|
|
206
|
+
[RegisterDappCanisterRequest],
|
|
207
|
+
[IDL.Record({})],
|
|
208
|
+
[],
|
|
209
|
+
),
|
|
210
|
+
register_dapp_canisters: IDL.Func(
|
|
211
|
+
[RegisterDappCanistersRequest],
|
|
212
|
+
[IDL.Record({})],
|
|
213
|
+
[],
|
|
214
|
+
),
|
|
215
|
+
register_extension: IDL.Func(
|
|
216
|
+
[RegisterExtensionRequest],
|
|
217
|
+
[RegisterExtensionResponse],
|
|
218
|
+
[],
|
|
219
|
+
),
|
|
220
|
+
reset_timers: IDL.Func([IDL.Record({})], [IDL.Record({})], []),
|
|
221
|
+
set_dapp_controllers: IDL.Func(
|
|
222
|
+
[SetDappControllersRequest],
|
|
223
|
+
[SetDappControllersResponse],
|
|
224
|
+
[],
|
|
225
|
+
),
|
|
222
226
|
});
|
|
223
227
|
};
|
|
228
|
+
|
|
224
229
|
export const init = ({ IDL }) => {
|
|
225
230
|
const Timers = IDL.Record({
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
231
|
+
last_spawned_timestamp_seconds: IDL.Opt(IDL.Nat64),
|
|
232
|
+
last_reset_timestamp_seconds: IDL.Opt(IDL.Nat64),
|
|
233
|
+
requires_periodic_tasks: IDL.Opt(IDL.Bool),
|
|
229
234
|
});
|
|
230
235
|
const Extensions = IDL.Record({
|
|
231
|
-
|
|
236
|
+
extension_canister_ids: IDL.Vec(IDL.Principal),
|
|
232
237
|
});
|
|
233
238
|
const SnsRootCanister = IDL.Record({
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
});
|
|
239
|
+
dapp_canister_ids: IDL.Vec(IDL.Principal),
|
|
240
|
+
timers: IDL.Opt(Timers),
|
|
241
|
+
testflight: IDL.Bool,
|
|
242
|
+
extensions: IDL.Opt(Extensions),
|
|
243
|
+
archive_canister_ids: IDL.Vec(IDL.Principal),
|
|
244
|
+
governance_canister_id: IDL.Opt(IDL.Principal),
|
|
245
|
+
index_canister_id: IDL.Opt(IDL.Principal),
|
|
246
|
+
swap_canister_id: IDL.Opt(IDL.Principal),
|
|
247
|
+
ledger_canister_id: IDL.Opt(IDL.Principal),
|
|
248
|
+
});
|
|
249
|
+
|
|
244
250
|
return [SnsRootCanister];
|
|
245
251
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IDL } from "@
|
|
1
|
+
import type { IDL } from "@icp-sdk/core/candid";
|
|
2
2
|
export const idlFactory: IDL.InterfaceFactory;
|