@junobuild/core 1.0.3 → 1.1.0
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/browser/index.js +1 -1
- package/dist/browser/index.js.map +4 -4
- package/dist/node/index.mjs +1 -1
- package/dist/node/index.mjs.map +4 -4
- package/dist/types/api/actor.api.d.ts +1 -1
- package/dist/types/api/storage.api.d.ts +4 -4
- package/dist/types/services/storage.services.d.ts +3 -3
- package/dist/types/stores/actor.store.d.ts +1 -2
- package/dist/types/types/storage.types.d.ts +2 -2
- package/dist/types/utils/data.utils.d.ts +2 -2
- package/dist/types/utils/doc.utils.d.ts +4 -4
- package/dist/types/utils/list.utils.d.ts +2 -2
- package/package.json +4 -3
- package/dist/declarations/deprecated/console-0-0-14.did.d.ts +0 -267
- package/dist/declarations/deprecated/console-0-0-14.factory.did.js +0 -285
- package/dist/declarations/deprecated/console-0-0-8-patch1.did.d.ts +0 -75
- package/dist/declarations/deprecated/console-0-0-8-patch1.factory.did.js +0 -80
- package/dist/declarations/deprecated/mission_control-0-0-13.did.d.ts +0 -246
- package/dist/declarations/deprecated/mission_control-0-0-13.factory.did.js +0 -280
- package/dist/declarations/deprecated/mission_control-0-0-14.did.d.ts +0 -241
- package/dist/declarations/deprecated/mission_control-0-0-14.factory.did.js +0 -258
- package/dist/declarations/deprecated/mission_control-0-0-4.did.d.ts +0 -80
- package/dist/declarations/deprecated/mission_control-0-0-4.factory.did.js +0 -99
- package/dist/declarations/deprecated/observatory-0-0-9.did.d.ts +0 -70
- package/dist/declarations/deprecated/observatory-0-0-9.factory.did.js +0 -76
- package/dist/declarations/deprecated/orbiter-0-0-6.did.d.ts +0 -161
- package/dist/declarations/deprecated/orbiter-0-0-6.factory.did.js +0 -192
- package/dist/declarations/deprecated/orbiter-0-0-7.did.d.ts +0 -166
- package/dist/declarations/deprecated/orbiter-0-0-7.factory.did.js +0 -197
- package/dist/declarations/deprecated/orbiter-0-0-8.did.d.ts +0 -245
- package/dist/declarations/deprecated/orbiter-0-0-8.factory.did.js +0 -287
- package/dist/declarations/deprecated/orbiter-0-2-0.did.d.ts +0 -277
- package/dist/declarations/deprecated/orbiter-0-2-0.factory.did.js +0 -319
- package/dist/declarations/deprecated/satellite-0-0-16.did.d.ts +0 -240
- package/dist/declarations/deprecated/satellite-0-0-16.factory.did.js +0 -264
- package/dist/declarations/deprecated/satellite-0-0-17.did.d.ts +0 -254
- package/dist/declarations/deprecated/satellite-0-0-17.factory.did.js +0 -281
- package/dist/declarations/deprecated/satellite-0-0-21.did.d.ts +0 -299
- package/dist/declarations/deprecated/satellite-0-0-21.factory.did.js +0 -333
- package/dist/declarations/deprecated/satellite-0-0-22.did.d.ts +0 -290
- package/dist/declarations/deprecated/satellite-0-0-22.factory.did.js +0 -318
- package/dist/declarations/deprecated/satellite-0-0-8.did.d.ts +0 -183
- package/dist/declarations/deprecated/satellite-0-0-8.factory.did.js +0 -194
- package/dist/declarations/deprecated/satellite-0-0-9.did.d.ts +0 -199
- package/dist/declarations/deprecated/satellite-0-0-9.factory.did.js +0 -213
- package/dist/declarations/satellite/satellite.did.d.ts +0 -396
- package/dist/declarations/satellite/satellite.factory.certified.did.js +0 -419
- package/dist/declarations/satellite/satellite.factory.did.js +0 -419
- package/dist/declarations/satellite/satellite.factory.did.mjs +0 -419
- package/dist/declarations/sputnik/sputnik.did.d.ts +0 -396
- package/dist/declarations/sputnik/sputnik.factory.certified.did.js +0 -419
- package/dist/declarations/sputnik/sputnik.factory.did.js +0 -419
- package/dist/types/api/_actor.factory.d.ts +0 -5
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import type {ActorMethod} from '@dfinity/agent';
|
|
2
|
-
import type {IDL} from '@dfinity/candid';
|
|
3
|
-
import type {Principal} from '@dfinity/principal';
|
|
4
|
-
|
|
5
|
-
export interface AssertMissionControlCenterArgs {
|
|
6
|
-
mission_control_id: Principal;
|
|
7
|
-
user: Principal;
|
|
8
|
-
}
|
|
9
|
-
export type ControllerScope = {Write: null} | {Admin: null};
|
|
10
|
-
export interface CreateCanisterArgs {
|
|
11
|
-
block_index: [] | [bigint];
|
|
12
|
-
user: Principal;
|
|
13
|
-
}
|
|
14
|
-
export interface DeleteControllersArgs {
|
|
15
|
-
controllers: Array<Principal>;
|
|
16
|
-
}
|
|
17
|
-
export interface GetCreateCanisterFeeArgs {
|
|
18
|
-
user: Principal;
|
|
19
|
-
}
|
|
20
|
-
export interface LoadRelease {
|
|
21
|
-
total: bigint;
|
|
22
|
-
chunks: bigint;
|
|
23
|
-
}
|
|
24
|
-
export interface MissionControl {
|
|
25
|
-
updated_at: bigint;
|
|
26
|
-
credits: Tokens;
|
|
27
|
-
mission_control_id: [] | [Principal];
|
|
28
|
-
owner: Principal;
|
|
29
|
-
created_at: bigint;
|
|
30
|
-
}
|
|
31
|
-
export interface RateConfig {
|
|
32
|
-
max_tokens: bigint;
|
|
33
|
-
time_per_token_ns: bigint;
|
|
34
|
-
}
|
|
35
|
-
export interface ReleasesVersion {
|
|
36
|
-
satellite: [] | [string];
|
|
37
|
-
orbiter: [] | [string];
|
|
38
|
-
mission_control: [] | [string];
|
|
39
|
-
}
|
|
40
|
-
export type Segment = {Orbiter: null} | {MissionControl: null} | {Satellite: null};
|
|
41
|
-
export interface SetController {
|
|
42
|
-
metadata: Array<[string, string]>;
|
|
43
|
-
scope: ControllerScope;
|
|
44
|
-
expires_at: [] | [bigint];
|
|
45
|
-
}
|
|
46
|
-
export interface SetControllersArgs {
|
|
47
|
-
controller: SetController;
|
|
48
|
-
controllers: Array<Principal>;
|
|
49
|
-
}
|
|
50
|
-
export interface Tokens {
|
|
51
|
-
e8s: bigint;
|
|
52
|
-
}
|
|
53
|
-
export interface _SERVICE {
|
|
54
|
-
add_credits: ActorMethod<[Principal, Tokens], undefined>;
|
|
55
|
-
add_invitation_code: ActorMethod<[string], undefined>;
|
|
56
|
-
assert_mission_control_center: ActorMethod<[AssertMissionControlCenterArgs], undefined>;
|
|
57
|
-
create_orbiter: ActorMethod<[CreateCanisterArgs], Principal>;
|
|
58
|
-
create_satellite: ActorMethod<[CreateCanisterArgs], Principal>;
|
|
59
|
-
del_controllers: ActorMethod<[DeleteControllersArgs], undefined>;
|
|
60
|
-
get_create_orbiter_fee: ActorMethod<[GetCreateCanisterFeeArgs], [] | [Tokens]>;
|
|
61
|
-
get_create_satellite_fee: ActorMethod<[GetCreateCanisterFeeArgs], [] | [Tokens]>;
|
|
62
|
-
get_credits: ActorMethod<[], Tokens>;
|
|
63
|
-
get_releases_version: ActorMethod<[], ReleasesVersion>;
|
|
64
|
-
get_user_mission_control_center: ActorMethod<[], [] | [MissionControl]>;
|
|
65
|
-
init_user_mission_control_center: ActorMethod<[], MissionControl>;
|
|
66
|
-
list_user_mission_control_centers: ActorMethod<[], Array<[Principal, MissionControl]>>;
|
|
67
|
-
load_release: ActorMethod<[Segment, Uint8Array | number[], string], LoadRelease>;
|
|
68
|
-
reset_release: ActorMethod<[Segment], undefined>;
|
|
69
|
-
set_controllers: ActorMethod<[SetControllersArgs], undefined>;
|
|
70
|
-
set_fee: ActorMethod<[Segment, Tokens], undefined>;
|
|
71
|
-
update_rate_config: ActorMethod<[Segment, RateConfig], undefined>;
|
|
72
|
-
version: ActorMethod<[], string>;
|
|
73
|
-
}
|
|
74
|
-
export declare const idlFactory: IDL.InterfaceFactory;
|
|
75
|
-
export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
export const idlFactory = ({IDL}) => {
|
|
3
|
-
const Tokens = IDL.Record({e8s: IDL.Nat64});
|
|
4
|
-
const AssertMissionControlCenterArgs = IDL.Record({
|
|
5
|
-
mission_control_id: IDL.Principal,
|
|
6
|
-
user: IDL.Principal
|
|
7
|
-
});
|
|
8
|
-
const CreateCanisterArgs = IDL.Record({
|
|
9
|
-
block_index: IDL.Opt(IDL.Nat64),
|
|
10
|
-
user: IDL.Principal
|
|
11
|
-
});
|
|
12
|
-
const DeleteControllersArgs = IDL.Record({
|
|
13
|
-
controllers: IDL.Vec(IDL.Principal)
|
|
14
|
-
});
|
|
15
|
-
const GetCreateCanisterFeeArgs = IDL.Record({user: IDL.Principal});
|
|
16
|
-
const ReleasesVersion = IDL.Record({
|
|
17
|
-
satellite: IDL.Opt(IDL.Text),
|
|
18
|
-
orbiter: IDL.Opt(IDL.Text),
|
|
19
|
-
mission_control: IDL.Opt(IDL.Text)
|
|
20
|
-
});
|
|
21
|
-
const MissionControl = IDL.Record({
|
|
22
|
-
updated_at: IDL.Nat64,
|
|
23
|
-
credits: Tokens,
|
|
24
|
-
mission_control_id: IDL.Opt(IDL.Principal),
|
|
25
|
-
owner: IDL.Principal,
|
|
26
|
-
created_at: IDL.Nat64
|
|
27
|
-
});
|
|
28
|
-
const Segment = IDL.Variant({
|
|
29
|
-
Orbiter: IDL.Null,
|
|
30
|
-
MissionControl: IDL.Null,
|
|
31
|
-
Satellite: IDL.Null
|
|
32
|
-
});
|
|
33
|
-
const LoadRelease = IDL.Record({total: IDL.Nat64, chunks: IDL.Nat64});
|
|
34
|
-
const ControllerScope = IDL.Variant({
|
|
35
|
-
Write: IDL.Null,
|
|
36
|
-
Admin: IDL.Null
|
|
37
|
-
});
|
|
38
|
-
const SetController = IDL.Record({
|
|
39
|
-
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
40
|
-
scope: ControllerScope,
|
|
41
|
-
expires_at: IDL.Opt(IDL.Nat64)
|
|
42
|
-
});
|
|
43
|
-
const SetControllersArgs = IDL.Record({
|
|
44
|
-
controller: SetController,
|
|
45
|
-
controllers: IDL.Vec(IDL.Principal)
|
|
46
|
-
});
|
|
47
|
-
const RateConfig = IDL.Record({
|
|
48
|
-
max_tokens: IDL.Nat64,
|
|
49
|
-
time_per_token_ns: IDL.Nat64
|
|
50
|
-
});
|
|
51
|
-
return IDL.Service({
|
|
52
|
-
add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
53
|
-
add_invitation_code: IDL.Func([IDL.Text], [], []),
|
|
54
|
-
assert_mission_control_center: IDL.Func([AssertMissionControlCenterArgs], [], ['query']),
|
|
55
|
-
create_orbiter: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
56
|
-
create_satellite: IDL.Func([CreateCanisterArgs], [IDL.Principal], []),
|
|
57
|
-
del_controllers: IDL.Func([DeleteControllersArgs], [], []),
|
|
58
|
-
get_create_orbiter_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']),
|
|
59
|
-
get_create_satellite_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']),
|
|
60
|
-
get_credits: IDL.Func([], [Tokens], ['query']),
|
|
61
|
-
get_releases_version: IDL.Func([], [ReleasesVersion], ['query']),
|
|
62
|
-
get_user_mission_control_center: IDL.Func([], [IDL.Opt(MissionControl)], ['query']),
|
|
63
|
-
init_user_mission_control_center: IDL.Func([], [MissionControl], []),
|
|
64
|
-
list_user_mission_control_centers: IDL.Func(
|
|
65
|
-
[],
|
|
66
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal, MissionControl))],
|
|
67
|
-
['query']
|
|
68
|
-
),
|
|
69
|
-
load_release: IDL.Func([Segment, IDL.Vec(IDL.Nat8), IDL.Text], [LoadRelease], []),
|
|
70
|
-
reset_release: IDL.Func([Segment], [], []),
|
|
71
|
-
set_controllers: IDL.Func([SetControllersArgs], [], []),
|
|
72
|
-
set_fee: IDL.Func([Segment, Tokens], [], []),
|
|
73
|
-
update_rate_config: IDL.Func([Segment, RateConfig], [], []),
|
|
74
|
-
version: IDL.Func([], [IDL.Text], ['query'])
|
|
75
|
-
});
|
|
76
|
-
};
|
|
77
|
-
// @ts-ignore
|
|
78
|
-
export const init = ({IDL}) => {
|
|
79
|
-
return [];
|
|
80
|
-
};
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import type {ActorMethod} from '@dfinity/agent';
|
|
2
|
-
import type {IDL} from '@dfinity/candid';
|
|
3
|
-
import type {Principal} from '@dfinity/principal';
|
|
4
|
-
|
|
5
|
-
export interface Account {
|
|
6
|
-
owner: Principal;
|
|
7
|
-
subaccount: [] | [Uint8Array | number[]];
|
|
8
|
-
}
|
|
9
|
-
export type CanisterStatusType = {stopped: null} | {stopping: null} | {running: null};
|
|
10
|
-
export interface Controller {
|
|
11
|
-
updated_at: bigint;
|
|
12
|
-
metadata: Array<[string, string]>;
|
|
13
|
-
created_at: bigint;
|
|
14
|
-
scope: ControllerScope;
|
|
15
|
-
expires_at: [] | [bigint];
|
|
16
|
-
}
|
|
17
|
-
export type ControllerScope = {Write: null} | {Admin: null};
|
|
18
|
-
export interface CreateCanisterConfig {
|
|
19
|
-
subnet_id: [] | [Principal];
|
|
20
|
-
name: [] | [string];
|
|
21
|
-
}
|
|
22
|
-
export interface CronJobStatusesConfig {
|
|
23
|
-
enabled: boolean;
|
|
24
|
-
cycles_threshold: [] | [bigint];
|
|
25
|
-
}
|
|
26
|
-
export interface CyclesBalance {
|
|
27
|
-
timestamp: bigint;
|
|
28
|
-
amount: bigint;
|
|
29
|
-
}
|
|
30
|
-
export interface CyclesMonitoring {
|
|
31
|
-
strategy: [] | [CyclesMonitoringStrategy];
|
|
32
|
-
enabled: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface CyclesMonitoringStartConfig {
|
|
35
|
-
orbiters_strategy: [] | [SegmentsMonitoringStrategy];
|
|
36
|
-
mission_control_strategy: [] | [CyclesMonitoringStrategy];
|
|
37
|
-
satellites_strategy: [] | [SegmentsMonitoringStrategy];
|
|
38
|
-
}
|
|
39
|
-
export interface CyclesMonitoringStatus {
|
|
40
|
-
monitored_ids: Array<Principal>;
|
|
41
|
-
running: boolean;
|
|
42
|
-
}
|
|
43
|
-
export interface CyclesMonitoringStopConfig {
|
|
44
|
-
satellite_ids: [] | [Array<Principal>];
|
|
45
|
-
try_mission_control: [] | [boolean];
|
|
46
|
-
orbiter_ids: [] | [Array<Principal>];
|
|
47
|
-
}
|
|
48
|
-
export type CyclesMonitoringStrategy = {BelowThreshold: CyclesThreshold};
|
|
49
|
-
export interface CyclesThreshold {
|
|
50
|
-
fund_cycles: bigint;
|
|
51
|
-
min_cycles: bigint;
|
|
52
|
-
}
|
|
53
|
-
export interface DepositCyclesArgs {
|
|
54
|
-
cycles: bigint;
|
|
55
|
-
destination_id: Principal;
|
|
56
|
-
}
|
|
57
|
-
export interface GetMonitoringHistory {
|
|
58
|
-
to: [] | [bigint];
|
|
59
|
-
from: [] | [bigint];
|
|
60
|
-
segment_id: Principal;
|
|
61
|
-
}
|
|
62
|
-
export interface MissionControlSettings {
|
|
63
|
-
updated_at: bigint;
|
|
64
|
-
created_at: bigint;
|
|
65
|
-
monitoring: [] | [Monitoring];
|
|
66
|
-
}
|
|
67
|
-
export interface Monitoring {
|
|
68
|
-
cycles: [] | [CyclesMonitoring];
|
|
69
|
-
}
|
|
70
|
-
export interface MonitoringHistory {
|
|
71
|
-
cycles: [] | [MonitoringHistoryCycles];
|
|
72
|
-
}
|
|
73
|
-
export interface MonitoringHistoryCycles {
|
|
74
|
-
deposited_cycles: [] | [CyclesBalance];
|
|
75
|
-
cycles: CyclesBalance;
|
|
76
|
-
}
|
|
77
|
-
export interface MonitoringHistoryKey {
|
|
78
|
-
segment_id: Principal;
|
|
79
|
-
created_at: bigint;
|
|
80
|
-
}
|
|
81
|
-
export interface MonitoringStartConfig {
|
|
82
|
-
cycles_config: [] | [CyclesMonitoringStartConfig];
|
|
83
|
-
}
|
|
84
|
-
export interface MonitoringStatus {
|
|
85
|
-
cycles: [] | [CyclesMonitoringStatus];
|
|
86
|
-
}
|
|
87
|
-
export interface MonitoringStopConfig {
|
|
88
|
-
cycles_config: [] | [CyclesMonitoringStopConfig];
|
|
89
|
-
}
|
|
90
|
-
export interface Orbiter {
|
|
91
|
-
updated_at: bigint;
|
|
92
|
-
orbiter_id: Principal;
|
|
93
|
-
metadata: Array<[string, string]>;
|
|
94
|
-
created_at: bigint;
|
|
95
|
-
settings: [] | [Settings];
|
|
96
|
-
}
|
|
97
|
-
export type Result = {Ok: bigint} | {Err: TransferError};
|
|
98
|
-
export type Result_1 = {Ok: bigint} | {Err: TransferError_1};
|
|
99
|
-
export type Result_2 = {Ok: SegmentStatus} | {Err: string};
|
|
100
|
-
export interface Satellite {
|
|
101
|
-
updated_at: bigint;
|
|
102
|
-
metadata: Array<[string, string]>;
|
|
103
|
-
created_at: bigint;
|
|
104
|
-
satellite_id: Principal;
|
|
105
|
-
settings: [] | [Settings];
|
|
106
|
-
}
|
|
107
|
-
export interface SegmentCanisterSettings {
|
|
108
|
-
freezing_threshold: bigint;
|
|
109
|
-
controllers: Array<Principal>;
|
|
110
|
-
memory_allocation: bigint;
|
|
111
|
-
compute_allocation: bigint;
|
|
112
|
-
}
|
|
113
|
-
export interface SegmentCanisterStatus {
|
|
114
|
-
status: CanisterStatusType;
|
|
115
|
-
memory_size: bigint;
|
|
116
|
-
cycles: bigint;
|
|
117
|
-
settings: SegmentCanisterSettings;
|
|
118
|
-
idle_cycles_burned_per_day: bigint;
|
|
119
|
-
module_hash: [] | [Uint8Array | number[]];
|
|
120
|
-
}
|
|
121
|
-
export interface SegmentStatus {
|
|
122
|
-
id: Principal;
|
|
123
|
-
status: SegmentCanisterStatus;
|
|
124
|
-
metadata: [] | [Array<[string, string]>];
|
|
125
|
-
status_at: bigint;
|
|
126
|
-
}
|
|
127
|
-
export interface SegmentsMonitoringStrategy {
|
|
128
|
-
ids: Array<Principal>;
|
|
129
|
-
strategy: CyclesMonitoringStrategy;
|
|
130
|
-
}
|
|
131
|
-
export interface SegmentsStatuses {
|
|
132
|
-
orbiters: [] | [Array<Result_2>];
|
|
133
|
-
satellites: [] | [Array<Result_2>];
|
|
134
|
-
mission_control: Result_2;
|
|
135
|
-
}
|
|
136
|
-
export interface SetController {
|
|
137
|
-
metadata: Array<[string, string]>;
|
|
138
|
-
scope: ControllerScope;
|
|
139
|
-
expires_at: [] | [bigint];
|
|
140
|
-
}
|
|
141
|
-
export interface Settings {
|
|
142
|
-
monitoring: [] | [Monitoring];
|
|
143
|
-
}
|
|
144
|
-
export interface StatusesArgs {
|
|
145
|
-
mission_control_cycles_threshold: [] | [bigint];
|
|
146
|
-
orbiters: Array<[Principal, CronJobStatusesConfig]>;
|
|
147
|
-
satellites: Array<[Principal, CronJobStatusesConfig]>;
|
|
148
|
-
cycles_threshold: [] | [bigint];
|
|
149
|
-
}
|
|
150
|
-
export interface Timestamp {
|
|
151
|
-
timestamp_nanos: bigint;
|
|
152
|
-
}
|
|
153
|
-
export interface Tokens {
|
|
154
|
-
e8s: bigint;
|
|
155
|
-
}
|
|
156
|
-
export interface TransferArg {
|
|
157
|
-
to: Account;
|
|
158
|
-
fee: [] | [bigint];
|
|
159
|
-
memo: [] | [Uint8Array | number[]];
|
|
160
|
-
from_subaccount: [] | [Uint8Array | number[]];
|
|
161
|
-
created_at_time: [] | [bigint];
|
|
162
|
-
amount: bigint;
|
|
163
|
-
}
|
|
164
|
-
export interface TransferArgs {
|
|
165
|
-
to: Uint8Array | number[];
|
|
166
|
-
fee: Tokens;
|
|
167
|
-
memo: bigint;
|
|
168
|
-
from_subaccount: [] | [Uint8Array | number[]];
|
|
169
|
-
created_at_time: [] | [Timestamp];
|
|
170
|
-
amount: Tokens;
|
|
171
|
-
}
|
|
172
|
-
export type TransferError =
|
|
173
|
-
| {
|
|
174
|
-
TxTooOld: {allowed_window_nanos: bigint};
|
|
175
|
-
}
|
|
176
|
-
| {BadFee: {expected_fee: Tokens}}
|
|
177
|
-
| {TxDuplicate: {duplicate_of: bigint}}
|
|
178
|
-
| {TxCreatedInFuture: null}
|
|
179
|
-
| {InsufficientFunds: {balance: Tokens}};
|
|
180
|
-
export type TransferError_1 =
|
|
181
|
-
| {
|
|
182
|
-
GenericError: {message: string; error_code: bigint};
|
|
183
|
-
}
|
|
184
|
-
| {TemporarilyUnavailable: null}
|
|
185
|
-
| {BadBurn: {min_burn_amount: bigint}}
|
|
186
|
-
| {Duplicate: {duplicate_of: bigint}}
|
|
187
|
-
| {BadFee: {expected_fee: bigint}}
|
|
188
|
-
| {CreatedInFuture: {ledger_time: bigint}}
|
|
189
|
-
| {TooOld: null}
|
|
190
|
-
| {InsufficientFunds: {balance: bigint}};
|
|
191
|
-
export interface _SERVICE {
|
|
192
|
-
add_mission_control_controllers: ActorMethod<[Array<Principal>], undefined>;
|
|
193
|
-
add_satellites_controllers: ActorMethod<[Array<Principal>, Array<Principal>], undefined>;
|
|
194
|
-
create_orbiter: ActorMethod<[[] | [string]], Orbiter>;
|
|
195
|
-
create_orbiter_with_config: ActorMethod<[CreateCanisterConfig], Orbiter>;
|
|
196
|
-
create_satellite: ActorMethod<[string], Satellite>;
|
|
197
|
-
create_satellite_with_config: ActorMethod<[CreateCanisterConfig], Satellite>;
|
|
198
|
-
del_mission_control_controllers: ActorMethod<[Array<Principal>], undefined>;
|
|
199
|
-
del_orbiter: ActorMethod<[Principal, bigint], undefined>;
|
|
200
|
-
del_orbiters_controllers: ActorMethod<[Array<Principal>, Array<Principal>], undefined>;
|
|
201
|
-
del_satellite: ActorMethod<[Principal, bigint], undefined>;
|
|
202
|
-
del_satellites_controllers: ActorMethod<[Array<Principal>, Array<Principal>], undefined>;
|
|
203
|
-
deposit_cycles: ActorMethod<[DepositCyclesArgs], undefined>;
|
|
204
|
-
get_monitoring_history: ActorMethod<
|
|
205
|
-
[GetMonitoringHistory],
|
|
206
|
-
Array<[MonitoringHistoryKey, MonitoringHistory]>
|
|
207
|
-
>;
|
|
208
|
-
get_monitoring_status: ActorMethod<[], MonitoringStatus>;
|
|
209
|
-
get_settings: ActorMethod<[], [] | [MissionControlSettings]>;
|
|
210
|
-
get_user: ActorMethod<[], Principal>;
|
|
211
|
-
icp_transfer: ActorMethod<[TransferArgs], Result>;
|
|
212
|
-
icrc_transfer: ActorMethod<[Principal, TransferArg], Result_1>;
|
|
213
|
-
list_mission_control_controllers: ActorMethod<[], Array<[Principal, Controller]>>;
|
|
214
|
-
list_mission_control_statuses: ActorMethod<[], Array<[bigint, Result_2]>>;
|
|
215
|
-
list_orbiter_statuses: ActorMethod<[Principal], [] | [Array<[bigint, Result_2]>]>;
|
|
216
|
-
list_orbiters: ActorMethod<[], Array<[Principal, Orbiter]>>;
|
|
217
|
-
list_satellite_statuses: ActorMethod<[Principal], [] | [Array<[bigint, Result_2]>]>;
|
|
218
|
-
list_satellites: ActorMethod<[], Array<[Principal, Satellite]>>;
|
|
219
|
-
remove_mission_control_controllers: ActorMethod<[Array<Principal>], undefined>;
|
|
220
|
-
remove_satellites_controllers: ActorMethod<[Array<Principal>, Array<Principal>], undefined>;
|
|
221
|
-
set_metadata: ActorMethod<[Array<[string, string]>], undefined>;
|
|
222
|
-
set_mission_control_controllers: ActorMethod<[Array<Principal>, SetController], undefined>;
|
|
223
|
-
set_orbiter: ActorMethod<[Principal, [] | [string]], Orbiter>;
|
|
224
|
-
set_orbiter_metadata: ActorMethod<[Principal, Array<[string, string]>], Orbiter>;
|
|
225
|
-
set_orbiters_controllers: ActorMethod<
|
|
226
|
-
[Array<Principal>, Array<Principal>, SetController],
|
|
227
|
-
undefined
|
|
228
|
-
>;
|
|
229
|
-
set_satellite: ActorMethod<[Principal, [] | [string]], Satellite>;
|
|
230
|
-
set_satellite_metadata: ActorMethod<[Principal, Array<[string, string]>], Satellite>;
|
|
231
|
-
set_satellites_controllers: ActorMethod<
|
|
232
|
-
[Array<Principal>, Array<Principal>, SetController],
|
|
233
|
-
undefined
|
|
234
|
-
>;
|
|
235
|
-
start_monitoring: ActorMethod<[], undefined>;
|
|
236
|
-
status: ActorMethod<[StatusesArgs], SegmentsStatuses>;
|
|
237
|
-
stop_monitoring: ActorMethod<[], undefined>;
|
|
238
|
-
top_up: ActorMethod<[Principal, Tokens], undefined>;
|
|
239
|
-
unset_orbiter: ActorMethod<[Principal], undefined>;
|
|
240
|
-
unset_satellite: ActorMethod<[Principal], undefined>;
|
|
241
|
-
update_and_start_monitoring: ActorMethod<[MonitoringStartConfig], undefined>;
|
|
242
|
-
update_and_stop_monitoring: ActorMethod<[MonitoringStopConfig], undefined>;
|
|
243
|
-
version: ActorMethod<[], string>;
|
|
244
|
-
}
|
|
245
|
-
export declare const idlFactory: IDL.InterfaceFactory;
|
|
246
|
-
export declare const init: (args: {IDL: typeof IDL}) => IDL.Type[];
|
|
@@ -1,280 +0,0 @@
|
|
|
1
|
-
// @ts-ignore
|
|
2
|
-
export const idlFactory = ({IDL}) => {
|
|
3
|
-
const CyclesThreshold = IDL.Record({
|
|
4
|
-
fund_cycles: IDL.Nat,
|
|
5
|
-
min_cycles: IDL.Nat
|
|
6
|
-
});
|
|
7
|
-
const CyclesMonitoringStrategy = IDL.Variant({
|
|
8
|
-
BelowThreshold: CyclesThreshold
|
|
9
|
-
});
|
|
10
|
-
const CyclesMonitoring = IDL.Record({
|
|
11
|
-
strategy: IDL.Opt(CyclesMonitoringStrategy),
|
|
12
|
-
enabled: IDL.Bool
|
|
13
|
-
});
|
|
14
|
-
const Monitoring = IDL.Record({cycles: IDL.Opt(CyclesMonitoring)});
|
|
15
|
-
const Settings = IDL.Record({monitoring: IDL.Opt(Monitoring)});
|
|
16
|
-
const Orbiter = IDL.Record({
|
|
17
|
-
updated_at: IDL.Nat64,
|
|
18
|
-
orbiter_id: IDL.Principal,
|
|
19
|
-
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
20
|
-
created_at: IDL.Nat64,
|
|
21
|
-
settings: IDL.Opt(Settings)
|
|
22
|
-
});
|
|
23
|
-
const CreateCanisterConfig = IDL.Record({
|
|
24
|
-
subnet_id: IDL.Opt(IDL.Principal),
|
|
25
|
-
name: IDL.Opt(IDL.Text)
|
|
26
|
-
});
|
|
27
|
-
const Satellite = IDL.Record({
|
|
28
|
-
updated_at: IDL.Nat64,
|
|
29
|
-
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
30
|
-
created_at: IDL.Nat64,
|
|
31
|
-
satellite_id: IDL.Principal,
|
|
32
|
-
settings: IDL.Opt(Settings)
|
|
33
|
-
});
|
|
34
|
-
const DepositCyclesArgs = IDL.Record({
|
|
35
|
-
cycles: IDL.Nat,
|
|
36
|
-
destination_id: IDL.Principal
|
|
37
|
-
});
|
|
38
|
-
const GetMonitoringHistory = IDL.Record({
|
|
39
|
-
to: IDL.Opt(IDL.Nat64),
|
|
40
|
-
from: IDL.Opt(IDL.Nat64),
|
|
41
|
-
segment_id: IDL.Principal
|
|
42
|
-
});
|
|
43
|
-
const MonitoringHistoryKey = IDL.Record({
|
|
44
|
-
segment_id: IDL.Principal,
|
|
45
|
-
created_at: IDL.Nat64
|
|
46
|
-
});
|
|
47
|
-
const CyclesBalance = IDL.Record({
|
|
48
|
-
timestamp: IDL.Nat64,
|
|
49
|
-
amount: IDL.Nat
|
|
50
|
-
});
|
|
51
|
-
const MonitoringHistoryCycles = IDL.Record({
|
|
52
|
-
deposited_cycles: IDL.Opt(CyclesBalance),
|
|
53
|
-
cycles: CyclesBalance
|
|
54
|
-
});
|
|
55
|
-
const MonitoringHistory = IDL.Record({
|
|
56
|
-
cycles: IDL.Opt(MonitoringHistoryCycles)
|
|
57
|
-
});
|
|
58
|
-
const CyclesMonitoringStatus = IDL.Record({
|
|
59
|
-
monitored_ids: IDL.Vec(IDL.Principal),
|
|
60
|
-
running: IDL.Bool
|
|
61
|
-
});
|
|
62
|
-
const MonitoringStatus = IDL.Record({
|
|
63
|
-
cycles: IDL.Opt(CyclesMonitoringStatus)
|
|
64
|
-
});
|
|
65
|
-
const MissionControlSettings = IDL.Record({
|
|
66
|
-
updated_at: IDL.Nat64,
|
|
67
|
-
created_at: IDL.Nat64,
|
|
68
|
-
monitoring: IDL.Opt(Monitoring)
|
|
69
|
-
});
|
|
70
|
-
const Tokens = IDL.Record({e8s: IDL.Nat64});
|
|
71
|
-
const Timestamp = IDL.Record({timestamp_nanos: IDL.Nat64});
|
|
72
|
-
const TransferArgs = IDL.Record({
|
|
73
|
-
to: IDL.Vec(IDL.Nat8),
|
|
74
|
-
fee: Tokens,
|
|
75
|
-
memo: IDL.Nat64,
|
|
76
|
-
from_subaccount: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
77
|
-
created_at_time: IDL.Opt(Timestamp),
|
|
78
|
-
amount: Tokens
|
|
79
|
-
});
|
|
80
|
-
const TransferError = IDL.Variant({
|
|
81
|
-
TxTooOld: IDL.Record({allowed_window_nanos: IDL.Nat64}),
|
|
82
|
-
BadFee: IDL.Record({expected_fee: Tokens}),
|
|
83
|
-
TxDuplicate: IDL.Record({duplicate_of: IDL.Nat64}),
|
|
84
|
-
TxCreatedInFuture: IDL.Null,
|
|
85
|
-
InsufficientFunds: IDL.Record({balance: Tokens})
|
|
86
|
-
});
|
|
87
|
-
const Result = IDL.Variant({Ok: IDL.Nat64, Err: TransferError});
|
|
88
|
-
const Account = IDL.Record({
|
|
89
|
-
owner: IDL.Principal,
|
|
90
|
-
subaccount: IDL.Opt(IDL.Vec(IDL.Nat8))
|
|
91
|
-
});
|
|
92
|
-
const TransferArg = IDL.Record({
|
|
93
|
-
to: Account,
|
|
94
|
-
fee: IDL.Opt(IDL.Nat),
|
|
95
|
-
memo: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
96
|
-
from_subaccount: IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
97
|
-
created_at_time: IDL.Opt(IDL.Nat64),
|
|
98
|
-
amount: IDL.Nat
|
|
99
|
-
});
|
|
100
|
-
const TransferError_1 = IDL.Variant({
|
|
101
|
-
GenericError: IDL.Record({
|
|
102
|
-
message: IDL.Text,
|
|
103
|
-
error_code: IDL.Nat
|
|
104
|
-
}),
|
|
105
|
-
TemporarilyUnavailable: IDL.Null,
|
|
106
|
-
BadBurn: IDL.Record({min_burn_amount: IDL.Nat}),
|
|
107
|
-
Duplicate: IDL.Record({duplicate_of: IDL.Nat}),
|
|
108
|
-
BadFee: IDL.Record({expected_fee: IDL.Nat}),
|
|
109
|
-
CreatedInFuture: IDL.Record({ledger_time: IDL.Nat64}),
|
|
110
|
-
TooOld: IDL.Null,
|
|
111
|
-
InsufficientFunds: IDL.Record({balance: IDL.Nat})
|
|
112
|
-
});
|
|
113
|
-
const Result_1 = IDL.Variant({Ok: IDL.Nat, Err: TransferError_1});
|
|
114
|
-
const ControllerScope = IDL.Variant({
|
|
115
|
-
Write: IDL.Null,
|
|
116
|
-
Admin: IDL.Null
|
|
117
|
-
});
|
|
118
|
-
const Controller = IDL.Record({
|
|
119
|
-
updated_at: IDL.Nat64,
|
|
120
|
-
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
121
|
-
created_at: IDL.Nat64,
|
|
122
|
-
scope: ControllerScope,
|
|
123
|
-
expires_at: IDL.Opt(IDL.Nat64)
|
|
124
|
-
});
|
|
125
|
-
const CanisterStatusType = IDL.Variant({
|
|
126
|
-
stopped: IDL.Null,
|
|
127
|
-
stopping: IDL.Null,
|
|
128
|
-
running: IDL.Null
|
|
129
|
-
});
|
|
130
|
-
const SegmentCanisterSettings = IDL.Record({
|
|
131
|
-
freezing_threshold: IDL.Nat,
|
|
132
|
-
controllers: IDL.Vec(IDL.Principal),
|
|
133
|
-
memory_allocation: IDL.Nat,
|
|
134
|
-
compute_allocation: IDL.Nat
|
|
135
|
-
});
|
|
136
|
-
const SegmentCanisterStatus = IDL.Record({
|
|
137
|
-
status: CanisterStatusType,
|
|
138
|
-
memory_size: IDL.Nat,
|
|
139
|
-
cycles: IDL.Nat,
|
|
140
|
-
settings: SegmentCanisterSettings,
|
|
141
|
-
idle_cycles_burned_per_day: IDL.Nat,
|
|
142
|
-
module_hash: IDL.Opt(IDL.Vec(IDL.Nat8))
|
|
143
|
-
});
|
|
144
|
-
const SegmentStatus = IDL.Record({
|
|
145
|
-
id: IDL.Principal,
|
|
146
|
-
status: SegmentCanisterStatus,
|
|
147
|
-
metadata: IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))),
|
|
148
|
-
status_at: IDL.Nat64
|
|
149
|
-
});
|
|
150
|
-
const Result_2 = IDL.Variant({Ok: SegmentStatus, Err: IDL.Text});
|
|
151
|
-
const SetController = IDL.Record({
|
|
152
|
-
metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)),
|
|
153
|
-
scope: ControllerScope,
|
|
154
|
-
expires_at: IDL.Opt(IDL.Nat64)
|
|
155
|
-
});
|
|
156
|
-
const CronJobStatusesConfig = IDL.Record({
|
|
157
|
-
enabled: IDL.Bool,
|
|
158
|
-
cycles_threshold: IDL.Opt(IDL.Nat64)
|
|
159
|
-
});
|
|
160
|
-
const StatusesArgs = IDL.Record({
|
|
161
|
-
mission_control_cycles_threshold: IDL.Opt(IDL.Nat64),
|
|
162
|
-
orbiters: IDL.Vec(IDL.Tuple(IDL.Principal, CronJobStatusesConfig)),
|
|
163
|
-
satellites: IDL.Vec(IDL.Tuple(IDL.Principal, CronJobStatusesConfig)),
|
|
164
|
-
cycles_threshold: IDL.Opt(IDL.Nat64)
|
|
165
|
-
});
|
|
166
|
-
const SegmentsStatuses = IDL.Record({
|
|
167
|
-
orbiters: IDL.Opt(IDL.Vec(Result_2)),
|
|
168
|
-
satellites: IDL.Opt(IDL.Vec(Result_2)),
|
|
169
|
-
mission_control: Result_2
|
|
170
|
-
});
|
|
171
|
-
const SegmentsMonitoringStrategy = IDL.Record({
|
|
172
|
-
ids: IDL.Vec(IDL.Principal),
|
|
173
|
-
strategy: CyclesMonitoringStrategy
|
|
174
|
-
});
|
|
175
|
-
const CyclesMonitoringStartConfig = IDL.Record({
|
|
176
|
-
orbiters_strategy: IDL.Opt(SegmentsMonitoringStrategy),
|
|
177
|
-
mission_control_strategy: IDL.Opt(CyclesMonitoringStrategy),
|
|
178
|
-
satellites_strategy: IDL.Opt(SegmentsMonitoringStrategy)
|
|
179
|
-
});
|
|
180
|
-
const MonitoringStartConfig = IDL.Record({
|
|
181
|
-
cycles_config: IDL.Opt(CyclesMonitoringStartConfig)
|
|
182
|
-
});
|
|
183
|
-
const CyclesMonitoringStopConfig = IDL.Record({
|
|
184
|
-
satellite_ids: IDL.Opt(IDL.Vec(IDL.Principal)),
|
|
185
|
-
try_mission_control: IDL.Opt(IDL.Bool),
|
|
186
|
-
orbiter_ids: IDL.Opt(IDL.Vec(IDL.Principal))
|
|
187
|
-
});
|
|
188
|
-
const MonitoringStopConfig = IDL.Record({
|
|
189
|
-
cycles_config: IDL.Opt(CyclesMonitoringStopConfig)
|
|
190
|
-
});
|
|
191
|
-
return IDL.Service({
|
|
192
|
-
add_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal)], [], []),
|
|
193
|
-
add_satellites_controllers: IDL.Func([IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)], [], []),
|
|
194
|
-
create_orbiter: IDL.Func([IDL.Opt(IDL.Text)], [Orbiter], []),
|
|
195
|
-
create_orbiter_with_config: IDL.Func([CreateCanisterConfig], [Orbiter], []),
|
|
196
|
-
create_satellite: IDL.Func([IDL.Text], [Satellite], []),
|
|
197
|
-
create_satellite_with_config: IDL.Func([CreateCanisterConfig], [Satellite], []),
|
|
198
|
-
del_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal)], [], []),
|
|
199
|
-
del_orbiter: IDL.Func([IDL.Principal, IDL.Nat], [], []),
|
|
200
|
-
del_orbiters_controllers: IDL.Func([IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)], [], []),
|
|
201
|
-
del_satellite: IDL.Func([IDL.Principal, IDL.Nat], [], []),
|
|
202
|
-
del_satellites_controllers: IDL.Func([IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)], [], []),
|
|
203
|
-
deposit_cycles: IDL.Func([DepositCyclesArgs], [], []),
|
|
204
|
-
get_monitoring_history: IDL.Func(
|
|
205
|
-
[GetMonitoringHistory],
|
|
206
|
-
[IDL.Vec(IDL.Tuple(MonitoringHistoryKey, MonitoringHistory))],
|
|
207
|
-
['query']
|
|
208
|
-
),
|
|
209
|
-
get_monitoring_status: IDL.Func([], [MonitoringStatus], ['query']),
|
|
210
|
-
get_settings: IDL.Func([], [IDL.Opt(MissionControlSettings)], ['query']),
|
|
211
|
-
get_user: IDL.Func([], [IDL.Principal], ['query']),
|
|
212
|
-
icp_transfer: IDL.Func([TransferArgs], [Result], []),
|
|
213
|
-
icrc_transfer: IDL.Func([IDL.Principal, TransferArg], [Result_1], []),
|
|
214
|
-
list_mission_control_controllers: IDL.Func(
|
|
215
|
-
[],
|
|
216
|
-
[IDL.Vec(IDL.Tuple(IDL.Principal, Controller))],
|
|
217
|
-
['query']
|
|
218
|
-
),
|
|
219
|
-
list_mission_control_statuses: IDL.Func(
|
|
220
|
-
[],
|
|
221
|
-
[IDL.Vec(IDL.Tuple(IDL.Nat64, Result_2))],
|
|
222
|
-
['query']
|
|
223
|
-
),
|
|
224
|
-
list_orbiter_statuses: IDL.Func(
|
|
225
|
-
[IDL.Principal],
|
|
226
|
-
[IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Nat64, Result_2)))],
|
|
227
|
-
['query']
|
|
228
|
-
),
|
|
229
|
-
list_orbiters: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Orbiter))], ['query']),
|
|
230
|
-
list_satellite_statuses: IDL.Func(
|
|
231
|
-
[IDL.Principal],
|
|
232
|
-
[IDL.Opt(IDL.Vec(IDL.Tuple(IDL.Nat64, Result_2)))],
|
|
233
|
-
['query']
|
|
234
|
-
),
|
|
235
|
-
list_satellites: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Satellite))], ['query']),
|
|
236
|
-
remove_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal)], [], []),
|
|
237
|
-
remove_satellites_controllers: IDL.Func(
|
|
238
|
-
[IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)],
|
|
239
|
-
[],
|
|
240
|
-
[]
|
|
241
|
-
),
|
|
242
|
-
set_metadata: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [], []),
|
|
243
|
-
set_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal), SetController], [], []),
|
|
244
|
-
set_orbiter: IDL.Func([IDL.Principal, IDL.Opt(IDL.Text)], [Orbiter], []),
|
|
245
|
-
set_orbiter_metadata: IDL.Func(
|
|
246
|
-
[IDL.Principal, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))],
|
|
247
|
-
[Orbiter],
|
|
248
|
-
[]
|
|
249
|
-
),
|
|
250
|
-
set_orbiters_controllers: IDL.Func(
|
|
251
|
-
[IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal), SetController],
|
|
252
|
-
[],
|
|
253
|
-
[]
|
|
254
|
-
),
|
|
255
|
-
set_satellite: IDL.Func([IDL.Principal, IDL.Opt(IDL.Text)], [Satellite], []),
|
|
256
|
-
set_satellite_metadata: IDL.Func(
|
|
257
|
-
[IDL.Principal, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))],
|
|
258
|
-
[Satellite],
|
|
259
|
-
[]
|
|
260
|
-
),
|
|
261
|
-
set_satellites_controllers: IDL.Func(
|
|
262
|
-
[IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal), SetController],
|
|
263
|
-
[],
|
|
264
|
-
[]
|
|
265
|
-
),
|
|
266
|
-
start_monitoring: IDL.Func([], [], []),
|
|
267
|
-
status: IDL.Func([StatusesArgs], [SegmentsStatuses], []),
|
|
268
|
-
stop_monitoring: IDL.Func([], [], []),
|
|
269
|
-
top_up: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
270
|
-
unset_orbiter: IDL.Func([IDL.Principal], [], []),
|
|
271
|
-
unset_satellite: IDL.Func([IDL.Principal], [], []),
|
|
272
|
-
update_and_start_monitoring: IDL.Func([MonitoringStartConfig], [], []),
|
|
273
|
-
update_and_stop_monitoring: IDL.Func([MonitoringStopConfig], [], []),
|
|
274
|
-
version: IDL.Func([], [IDL.Text], ['query'])
|
|
275
|
-
});
|
|
276
|
-
};
|
|
277
|
-
// @ts-ignore
|
|
278
|
-
export const init = ({IDL}) => {
|
|
279
|
-
return [];
|
|
280
|
-
};
|