@junobuild/functions 0.4.1 → 0.5.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/canisters/_canister.d.ts +17 -0
- package/canisters/_constants.d.ts +3 -0
- package/canisters/ckbtc/index.d.ts +1 -0
- package/canisters/ckbtc/index.js +2 -0
- package/canisters/cketh/index.d.ts +1 -0
- package/canisters/cketh/index.js +2 -0
- package/canisters/cketh/index.js.map +7 -0
- package/canisters/cmc/cmc.canister.d.ts +28 -0
- package/canisters/cmc/index.d.ts +2 -0
- package/canisters/cmc/index.js +2 -0
- package/canisters/cmc/index.js.map +7 -0
- package/canisters/declarations/_idl.d.ts +16 -0
- package/canisters/declarations/_types.d.ts +16 -0
- package/canisters/declarations/ckbtc/bitcoin.did.d.ts +134 -0
- package/canisters/declarations/ckbtc/bitcoin.did.idl.d.ts +40 -0
- package/canisters/declarations/ckbtc/minter.did.d.ts +831 -0
- package/canisters/declarations/ckbtc/minter.did.idl.d.ts +61 -0
- package/canisters/declarations/cketh/minter.did.d.ts +893 -0
- package/canisters/declarations/cketh/minter.did.idl.d.ts +58 -0
- package/canisters/declarations/cketh/orchestrator.did.d.ts +302 -0
- package/canisters/declarations/cketh/orchestrator.did.idl.d.ts +34 -0
- package/canisters/declarations/cmc/cmc.did.d.ts +344 -0
- package/canisters/declarations/cmc/cmc.did.idl.d.ts +53 -0
- package/canisters/declarations/ic-management/ic-management.did.d.ts +583 -0
- package/canisters/declarations/ic-management/ic-management.did.idl.d.ts +147 -0
- package/canisters/declarations/index.d.ts +2 -0
- package/canisters/declarations/ledger-icp/index.did.d.ts +119 -0
- package/canisters/declarations/ledger-icp/index.did.idl.d.ts +35 -0
- package/canisters/declarations/ledger-icp/ledger.did.d.ts +606 -0
- package/canisters/declarations/ledger-icp/ledger.did.idl.d.ts +106 -0
- package/canisters/declarations/ledger-icrc/icrc_index-ng.did.d.ts +148 -0
- package/canisters/declarations/ledger-icrc/icrc_index-ng.did.idl.d.ts +44 -0
- package/canisters/declarations/ledger-icrc/icrc_index.did.d.ts +102 -0
- package/canisters/declarations/ledger-icrc/icrc_index.did.idl.d.ts +28 -0
- package/canisters/declarations/ledger-icrc/icrc_ledger.did.d.ts +579 -0
- package/canisters/declarations/ledger-icrc/icrc_ledger.did.idl.d.ts +100 -0
- package/canisters/declarations/ledger-icrc/icrc_nft-ledger.did.d.ts +81 -0
- package/canisters/declarations/ledger-icrc/icrc_nft-ledger.did.idl.d.ts +39 -0
- package/canisters/declarations/nns/genesis_token.did.d.ts +49 -0
- package/canisters/declarations/nns/genesis_token.did.idl.d.ts +24 -0
- package/canisters/declarations/nns/governance.did.d.ts +1254 -0
- package/canisters/declarations/nns/governance.did.idl.d.ts +217 -0
- package/canisters/declarations/nns/governance_test.did.d.ts +1258 -0
- package/canisters/declarations/nns/governance_test.did.idl.d.ts +218 -0
- package/canisters/declarations/nns/sns_wasm.did.d.ts +286 -0
- package/canisters/declarations/nns/sns_wasm.did.idl.d.ts +80 -0
- package/canisters/declarations/sns/sns_governance.did.d.ts +834 -0
- package/canisters/declarations/sns/sns_governance.did.idl.d.ts +189 -0
- package/canisters/declarations/sns/sns_governance_test.did.d.ts +861 -0
- package/canisters/declarations/sns/sns_governance_test.did.idl.d.ts +199 -0
- package/canisters/declarations/sns/sns_root.did.d.ts +204 -0
- package/canisters/declarations/sns/sns_root.did.idl.d.ts +53 -0
- package/canisters/declarations/sns/sns_swap.did.d.ts +411 -0
- package/canisters/declarations/sns/sns_swap.did.idl.d.ts +108 -0
- package/canisters/ic-management/index.d.ts +1 -0
- package/canisters/ic-management/index.js +2 -0
- package/canisters/ic-management/index.js.map +7 -0
- package/canisters/index.d.ts +1 -0
- package/canisters/index.js +2 -0
- package/canisters/index.js.map +7 -0
- package/canisters/ledger/icp/index.d.ts +2 -0
- package/canisters/ledger/icp/index.js +2 -0
- package/canisters/ledger/icp/index.js.map +7 -0
- package/canisters/ledger/icp/ledger.canister.d.ts +24 -0
- package/canisters/ledger/icrc/index.d.ts +3 -0
- package/canisters/ledger/icrc/index.js +2 -0
- package/canisters/ledger/icrc/index.js.map +7 -0
- package/canisters/ledger/icrc/ledger.canister.d.ts +45 -0
- package/canisters/ledger/icrc/schemas.d.ts +11 -0
- package/canisters/nns/index.d.ts +1 -0
- package/canisters/nns/index.js +2 -0
- package/canisters/nns/index.js.map +7 -0
- package/canisters/schemas.d.ts +11 -0
- package/canisters/sns/index.d.ts +1 -0
- package/canisters/sns/index.js +2 -0
- package/canisters/sns/index.js.map +7 -0
- package/chunk-4C666HHU.js +2 -0
- package/chunk-4C666HHU.js.map +7 -0
- package/chunk-5NZMOUKF.js +2 -0
- package/chunk-5NZMOUKF.js.map +7 -0
- package/chunk-BXZ5PSUW.js +2 -0
- package/chunk-BXZ5PSUW.js.map +7 -0
- package/chunk-EMQQE34V.js +2 -0
- package/chunk-EMQQE34V.js.map +7 -0
- package/chunk-HANEPD6T.js +2 -0
- package/chunk-HANEPD6T.js.map +7 -0
- package/chunk-TZVF5LQY.js +2 -0
- package/chunk-TZVF5LQY.js.map +7 -0
- package/ic-cdk.js +1 -1
- package/ic-cdk.js.map +4 -4
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +39 -2
- package/sdk.js +1 -1
- package/sdk.js.map +1 -1
- package/src/canisters/declarations/ckbtc/bitcoin.did.d.ts +134 -0
- package/src/canisters/declarations/ckbtc/bitcoin.did.idl.js +302 -0
- package/src/canisters/declarations/ckbtc/minter.did.d.ts +831 -0
- package/src/canisters/declarations/ckbtc/minter.did.idl.js +893 -0
- package/src/canisters/declarations/cketh/minter.did.d.ts +893 -0
- package/src/canisters/declarations/cketh/minter.did.idl.js +878 -0
- package/src/canisters/declarations/cketh/orchestrator.did.d.ts +302 -0
- package/src/canisters/declarations/cketh/orchestrator.did.idl.js +343 -0
- package/src/canisters/declarations/cmc/cmc.did.d.ts +344 -0
- package/src/canisters/declarations/cmc/cmc.did.idl.js +338 -0
- package/src/canisters/declarations/ic-management/ic-management.did.d.ts +583 -0
- package/src/canisters/declarations/ic-management/ic-management.did.idl.js +1150 -0
- package/src/canisters/declarations/ledger-icp/index.did.d.ts +119 -0
- package/src/canisters/declarations/ledger-icp/index.did.idl.js +225 -0
- package/src/canisters/declarations/ledger-icp/ledger.did.d.ts +606 -0
- package/src/canisters/declarations/ledger-icp/ledger.did.idl.js +813 -0
- package/src/canisters/declarations/ledger-icrc/icrc_index-ng.did.d.ts +148 -0
- package/src/canisters/declarations/ledger-icrc/icrc_index-ng.did.idl.js +274 -0
- package/src/canisters/declarations/ledger-icrc/icrc_index.did.d.ts +102 -0
- package/src/canisters/declarations/ledger-icrc/icrc_index.did.idl.js +171 -0
- package/src/canisters/declarations/ledger-icrc/icrc_ledger.did.d.ts +579 -0
- package/src/canisters/declarations/ledger-icrc/icrc_ledger.did.idl.js +923 -0
- package/src/canisters/declarations/ledger-icrc/icrc_nft-ledger.did.d.ts +81 -0
- package/src/canisters/declarations/ledger-icrc/icrc_nft-ledger.did.idl.js +163 -0
- package/src/canisters/declarations/nns/genesis_token.did.d.ts +49 -0
- package/src/canisters/declarations/nns/genesis_token.did.idl.js +84 -0
- package/src/canisters/declarations/nns/governance.did.d.ts +1254 -0
- package/src/canisters/declarations/nns/governance.did.idl.js +2756 -0
- package/src/canisters/declarations/nns/governance_test.did.d.ts +1258 -0
- package/src/canisters/declarations/nns/governance_test.did.idl.js +2758 -0
- package/src/canisters/declarations/nns/sns_wasm.did.d.ts +286 -0
- package/src/canisters/declarations/nns/sns_wasm.did.idl.js +589 -0
- package/src/canisters/declarations/sns/sns_governance.did.d.ts +834 -0
- package/src/canisters/declarations/sns/sns_governance.did.idl.js +2235 -0
- package/src/canisters/declarations/sns/sns_governance_test.did.d.ts +861 -0
- package/src/canisters/declarations/sns/sns_governance_test.did.idl.js +2283 -0
- package/src/canisters/declarations/sns/sns_root.did.d.ts +204 -0
- package/src/canisters/declarations/sns/sns_root.did.idl.js +433 -0
- package/src/canisters/declarations/sns/sns_swap.did.d.ts +411 -0
- package/src/canisters/declarations/sns/sns_swap.did.idl.js +858 -0
- package/global.d.js +0 -1
- /package/{global.d.js.map → canisters/ckbtc/index.js.map} +0 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This file was automatically generated by @icp-sdk/bindgen@0.2.0.
|
|
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
|
+
|
|
9
|
+
import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
10
|
+
import type { IDL } from '@icp-sdk/core/candid';
|
|
11
|
+
import type { Principal } from '@icp-sdk/core/principal';
|
|
12
|
+
|
|
13
|
+
export interface AddWasmRequest {
|
|
14
|
+
'hash' : Uint8Array,
|
|
15
|
+
'wasm' : [] | [SnsWasm],
|
|
16
|
+
'skip_update_latest_version' : [] | [boolean],
|
|
17
|
+
}
|
|
18
|
+
export interface AddWasmResponse { 'result' : [] | [Result] }
|
|
19
|
+
export interface Canister { 'id' : [] | [Principal] }
|
|
20
|
+
export interface Countries { 'iso_codes' : Array<string> }
|
|
21
|
+
export interface DappCanisters { 'canisters' : Array<Canister> }
|
|
22
|
+
export interface DappCanistersTransferResult {
|
|
23
|
+
'restored_dapp_canisters' : Array<Canister>,
|
|
24
|
+
'nns_controlled_dapp_canisters' : Array<Canister>,
|
|
25
|
+
'sns_controlled_dapp_canisters' : Array<Canister>,
|
|
26
|
+
}
|
|
27
|
+
export interface DeployNewSnsRequest {
|
|
28
|
+
'sns_init_payload' : [] | [SnsInitPayload],
|
|
29
|
+
}
|
|
30
|
+
export interface DeployNewSnsResponse {
|
|
31
|
+
'dapp_canisters_transfer_result' : [] | [DappCanistersTransferResult],
|
|
32
|
+
'subnet_id' : [] | [Principal],
|
|
33
|
+
'error' : [] | [SnsWasmError],
|
|
34
|
+
'canisters' : [] | [SnsCanisterIds],
|
|
35
|
+
}
|
|
36
|
+
export interface DeployedSns {
|
|
37
|
+
'root_canister_id' : [] | [Principal],
|
|
38
|
+
'governance_canister_id' : [] | [Principal],
|
|
39
|
+
'index_canister_id' : [] | [Principal],
|
|
40
|
+
'swap_canister_id' : [] | [Principal],
|
|
41
|
+
'ledger_canister_id' : [] | [Principal],
|
|
42
|
+
}
|
|
43
|
+
export interface DeveloperDistribution {
|
|
44
|
+
'developer_neurons' : Array<NeuronDistribution>,
|
|
45
|
+
}
|
|
46
|
+
export interface FractionalDeveloperVotingPower {
|
|
47
|
+
'treasury_distribution' : [] | [TreasuryDistribution],
|
|
48
|
+
'developer_distribution' : [] | [DeveloperDistribution],
|
|
49
|
+
'swap_distribution' : [] | [SwapDistribution],
|
|
50
|
+
}
|
|
51
|
+
export interface GetAllowedPrincipalsResponse {
|
|
52
|
+
'allowed_principals' : Array<Principal>,
|
|
53
|
+
}
|
|
54
|
+
export interface GetDeployedSnsByProposalIdRequest { 'proposal_id' : bigint }
|
|
55
|
+
export interface GetDeployedSnsByProposalIdResponse {
|
|
56
|
+
'get_deployed_sns_by_proposal_id_result' : [] | [
|
|
57
|
+
GetDeployedSnsByProposalIdResult
|
|
58
|
+
],
|
|
59
|
+
}
|
|
60
|
+
export type GetDeployedSnsByProposalIdResult = { 'Error' : SnsWasmError } |
|
|
61
|
+
{ 'DeployedSns' : DeployedSns };
|
|
62
|
+
export interface GetNextSnsVersionRequest {
|
|
63
|
+
'governance_canister_id' : [] | [Principal],
|
|
64
|
+
'current_version' : [] | [SnsVersion],
|
|
65
|
+
}
|
|
66
|
+
export interface GetNextSnsVersionResponse {
|
|
67
|
+
'next_version' : [] | [SnsVersion],
|
|
68
|
+
}
|
|
69
|
+
export interface GetProposalIdThatAddedWasmRequest { 'hash' : Uint8Array }
|
|
70
|
+
export interface GetProposalIdThatAddedWasmResponse {
|
|
71
|
+
'proposal_id' : [] | [bigint],
|
|
72
|
+
}
|
|
73
|
+
export interface GetSnsSubnetIdsResponse { 'sns_subnet_ids' : Array<Principal> }
|
|
74
|
+
export interface GetWasmMetadataRequest { 'hash' : [] | [Uint8Array] }
|
|
75
|
+
export interface GetWasmMetadataResponse { 'result' : [] | [Result_1] }
|
|
76
|
+
export interface GetWasmRequest { 'hash' : Uint8Array }
|
|
77
|
+
export interface GetWasmResponse { 'wasm' : [] | [SnsWasm] }
|
|
78
|
+
export interface IdealMatchedParticipationFunction {
|
|
79
|
+
'serialized_representation' : [] | [string],
|
|
80
|
+
}
|
|
81
|
+
export type InitialTokenDistribution = {
|
|
82
|
+
'FractionalDeveloperVotingPower' : FractionalDeveloperVotingPower
|
|
83
|
+
};
|
|
84
|
+
export interface InsertUpgradePathEntriesRequest {
|
|
85
|
+
'upgrade_path' : Array<SnsUpgrade>,
|
|
86
|
+
'sns_governance_canister_id' : [] | [Principal],
|
|
87
|
+
}
|
|
88
|
+
export interface InsertUpgradePathEntriesResponse {
|
|
89
|
+
'error' : [] | [SnsWasmError],
|
|
90
|
+
}
|
|
91
|
+
export interface LinearScalingCoefficient {
|
|
92
|
+
'slope_numerator' : [] | [bigint],
|
|
93
|
+
'intercept_icp_e8s' : [] | [bigint],
|
|
94
|
+
'from_direct_participation_icp_e8s' : [] | [bigint],
|
|
95
|
+
'slope_denominator' : [] | [bigint],
|
|
96
|
+
'to_direct_participation_icp_e8s' : [] | [bigint],
|
|
97
|
+
}
|
|
98
|
+
export interface ListDeployedSnsesResponse { 'instances' : Array<DeployedSns> }
|
|
99
|
+
export interface ListUpgradeStep {
|
|
100
|
+
'pretty_version' : [] | [PrettySnsVersion],
|
|
101
|
+
'version' : [] | [SnsVersion],
|
|
102
|
+
}
|
|
103
|
+
export interface ListUpgradeStepsRequest {
|
|
104
|
+
'limit' : number,
|
|
105
|
+
'starting_at' : [] | [SnsVersion],
|
|
106
|
+
'sns_governance_canister_id' : [] | [Principal],
|
|
107
|
+
}
|
|
108
|
+
export interface ListUpgradeStepsResponse { 'steps' : Array<ListUpgradeStep> }
|
|
109
|
+
export interface MetadataSection {
|
|
110
|
+
'contents' : [] | [Uint8Array],
|
|
111
|
+
'name' : [] | [string],
|
|
112
|
+
'visibility' : [] | [string],
|
|
113
|
+
}
|
|
114
|
+
export interface NeuronBasketConstructionParameters {
|
|
115
|
+
'dissolve_delay_interval_seconds' : bigint,
|
|
116
|
+
'count' : bigint,
|
|
117
|
+
}
|
|
118
|
+
export interface NeuronDistribution {
|
|
119
|
+
'controller' : [] | [Principal],
|
|
120
|
+
'dissolve_delay_seconds' : bigint,
|
|
121
|
+
'memo' : bigint,
|
|
122
|
+
'stake_e8s' : bigint,
|
|
123
|
+
'vesting_period_seconds' : [] | [bigint],
|
|
124
|
+
}
|
|
125
|
+
export interface NeuronsFundParticipationConstraints {
|
|
126
|
+
'coefficient_intervals' : Array<LinearScalingCoefficient>,
|
|
127
|
+
'max_neurons_fund_participation_icp_e8s' : [] | [bigint],
|
|
128
|
+
'min_direct_participation_threshold_icp_e8s' : [] | [bigint],
|
|
129
|
+
'ideal_matched_participation_function' : [] | [
|
|
130
|
+
IdealMatchedParticipationFunction
|
|
131
|
+
],
|
|
132
|
+
}
|
|
133
|
+
export interface Ok { 'sections' : Array<MetadataSection> }
|
|
134
|
+
export interface PrettySnsVersion {
|
|
135
|
+
'archive_wasm_hash' : string,
|
|
136
|
+
'root_wasm_hash' : string,
|
|
137
|
+
'swap_wasm_hash' : string,
|
|
138
|
+
'ledger_wasm_hash' : string,
|
|
139
|
+
'governance_wasm_hash' : string,
|
|
140
|
+
'index_wasm_hash' : string,
|
|
141
|
+
}
|
|
142
|
+
export type Result = { 'Error' : SnsWasmError } |
|
|
143
|
+
{ 'Hash' : Uint8Array };
|
|
144
|
+
export type Result_1 = { 'Ok' : Ok } |
|
|
145
|
+
{ 'Error' : SnsWasmError };
|
|
146
|
+
export interface SnsCanisterIds {
|
|
147
|
+
'root' : [] | [Principal],
|
|
148
|
+
'swap' : [] | [Principal],
|
|
149
|
+
'ledger' : [] | [Principal],
|
|
150
|
+
'index' : [] | [Principal],
|
|
151
|
+
'governance' : [] | [Principal],
|
|
152
|
+
}
|
|
153
|
+
export interface SnsInitPayload {
|
|
154
|
+
'url' : [] | [string],
|
|
155
|
+
'max_dissolve_delay_seconds' : [] | [bigint],
|
|
156
|
+
'max_dissolve_delay_bonus_percentage' : [] | [bigint],
|
|
157
|
+
'nns_proposal_id' : [] | [bigint],
|
|
158
|
+
'neurons_fund_participation' : [] | [boolean],
|
|
159
|
+
'min_participant_icp_e8s' : [] | [bigint],
|
|
160
|
+
'neuron_basket_construction_parameters' : [] | [
|
|
161
|
+
NeuronBasketConstructionParameters
|
|
162
|
+
],
|
|
163
|
+
'fallback_controller_principal_ids' : Array<string>,
|
|
164
|
+
'token_symbol' : [] | [string],
|
|
165
|
+
'final_reward_rate_basis_points' : [] | [bigint],
|
|
166
|
+
'max_icp_e8s' : [] | [bigint],
|
|
167
|
+
'neuron_minimum_stake_e8s' : [] | [bigint],
|
|
168
|
+
'confirmation_text' : [] | [string],
|
|
169
|
+
'logo' : [] | [string],
|
|
170
|
+
'name' : [] | [string],
|
|
171
|
+
'swap_start_timestamp_seconds' : [] | [bigint],
|
|
172
|
+
'swap_due_timestamp_seconds' : [] | [bigint],
|
|
173
|
+
'initial_voting_period_seconds' : [] | [bigint],
|
|
174
|
+
'neuron_minimum_dissolve_delay_to_vote_seconds' : [] | [bigint],
|
|
175
|
+
'description' : [] | [string],
|
|
176
|
+
'max_neuron_age_seconds_for_age_bonus' : [] | [bigint],
|
|
177
|
+
'min_participants' : [] | [bigint],
|
|
178
|
+
'initial_reward_rate_basis_points' : [] | [bigint],
|
|
179
|
+
'wait_for_quiet_deadline_increase_seconds' : [] | [bigint],
|
|
180
|
+
'transaction_fee_e8s' : [] | [bigint],
|
|
181
|
+
'dapp_canisters' : [] | [DappCanisters],
|
|
182
|
+
'neurons_fund_participation_constraints' : [] | [
|
|
183
|
+
NeuronsFundParticipationConstraints
|
|
184
|
+
],
|
|
185
|
+
'max_age_bonus_percentage' : [] | [bigint],
|
|
186
|
+
'initial_token_distribution' : [] | [InitialTokenDistribution],
|
|
187
|
+
'reward_rate_transition_duration_seconds' : [] | [bigint],
|
|
188
|
+
'token_logo' : [] | [string],
|
|
189
|
+
'token_name' : [] | [string],
|
|
190
|
+
'max_participant_icp_e8s' : [] | [bigint],
|
|
191
|
+
'min_direct_participation_icp_e8s' : [] | [bigint],
|
|
192
|
+
'proposal_reject_cost_e8s' : [] | [bigint],
|
|
193
|
+
'restricted_countries' : [] | [Countries],
|
|
194
|
+
'min_icp_e8s' : [] | [bigint],
|
|
195
|
+
'max_direct_participation_icp_e8s' : [] | [bigint],
|
|
196
|
+
}
|
|
197
|
+
export interface SnsUpgrade {
|
|
198
|
+
'next_version' : [] | [SnsVersion],
|
|
199
|
+
'current_version' : [] | [SnsVersion],
|
|
200
|
+
}
|
|
201
|
+
export interface SnsVersion {
|
|
202
|
+
'archive_wasm_hash' : Uint8Array,
|
|
203
|
+
'root_wasm_hash' : Uint8Array,
|
|
204
|
+
'swap_wasm_hash' : Uint8Array,
|
|
205
|
+
'ledger_wasm_hash' : Uint8Array,
|
|
206
|
+
'governance_wasm_hash' : Uint8Array,
|
|
207
|
+
'index_wasm_hash' : Uint8Array,
|
|
208
|
+
}
|
|
209
|
+
export interface SnsWasm {
|
|
210
|
+
'wasm' : Uint8Array,
|
|
211
|
+
'proposal_id' : [] | [bigint],
|
|
212
|
+
'canister_type' : number,
|
|
213
|
+
}
|
|
214
|
+
export interface SnsWasmCanisterInitPayload {
|
|
215
|
+
'allowed_principals' : Array<Principal>,
|
|
216
|
+
'access_controls_enabled' : boolean,
|
|
217
|
+
'sns_subnet_ids' : Array<Principal>,
|
|
218
|
+
}
|
|
219
|
+
export interface SnsWasmError { 'message' : string }
|
|
220
|
+
export interface SwapDistribution {
|
|
221
|
+
'total_e8s' : bigint,
|
|
222
|
+
'initial_swap_amount_e8s' : bigint,
|
|
223
|
+
}
|
|
224
|
+
export interface TreasuryDistribution { 'total_e8s' : bigint }
|
|
225
|
+
export interface UpdateAllowedPrincipalsRequest {
|
|
226
|
+
'added_principals' : Array<Principal>,
|
|
227
|
+
'removed_principals' : Array<Principal>,
|
|
228
|
+
}
|
|
229
|
+
export interface UpdateAllowedPrincipalsResponse {
|
|
230
|
+
'update_allowed_principals_result' : [] | [UpdateAllowedPrincipalsResult],
|
|
231
|
+
}
|
|
232
|
+
export type UpdateAllowedPrincipalsResult = { 'Error' : SnsWasmError } |
|
|
233
|
+
{ 'AllowedPrincipals' : GetAllowedPrincipalsResponse };
|
|
234
|
+
export interface UpdateSnsSubnetListRequest {
|
|
235
|
+
'sns_subnet_ids_to_add' : Array<Principal>,
|
|
236
|
+
'sns_subnet_ids_to_remove' : Array<Principal>,
|
|
237
|
+
}
|
|
238
|
+
export interface UpdateSnsSubnetListResponse { 'error' : [] | [SnsWasmError] }
|
|
239
|
+
export interface _SERVICE {
|
|
240
|
+
'add_wasm' : ActorMethod<[AddWasmRequest], AddWasmResponse>,
|
|
241
|
+
'deploy_new_sns' : ActorMethod<[DeployNewSnsRequest], DeployNewSnsResponse>,
|
|
242
|
+
'get_allowed_principals' : ActorMethod<[{}], GetAllowedPrincipalsResponse>,
|
|
243
|
+
'get_deployed_sns_by_proposal_id' : ActorMethod<
|
|
244
|
+
[GetDeployedSnsByProposalIdRequest],
|
|
245
|
+
GetDeployedSnsByProposalIdResponse
|
|
246
|
+
>,
|
|
247
|
+
'get_latest_sns_version_pretty' : ActorMethod<
|
|
248
|
+
[null],
|
|
249
|
+
Array<[string, string]>
|
|
250
|
+
>,
|
|
251
|
+
'get_next_sns_version' : ActorMethod<
|
|
252
|
+
[GetNextSnsVersionRequest],
|
|
253
|
+
GetNextSnsVersionResponse
|
|
254
|
+
>,
|
|
255
|
+
'get_proposal_id_that_added_wasm' : ActorMethod<
|
|
256
|
+
[GetProposalIdThatAddedWasmRequest],
|
|
257
|
+
GetProposalIdThatAddedWasmResponse
|
|
258
|
+
>,
|
|
259
|
+
'get_sns_subnet_ids' : ActorMethod<[{}], GetSnsSubnetIdsResponse>,
|
|
260
|
+
'get_wasm' : ActorMethod<[GetWasmRequest], GetWasmResponse>,
|
|
261
|
+
'get_wasm_metadata' : ActorMethod<
|
|
262
|
+
[GetWasmMetadataRequest],
|
|
263
|
+
GetWasmMetadataResponse
|
|
264
|
+
>,
|
|
265
|
+
'insert_upgrade_path_entries' : ActorMethod<
|
|
266
|
+
[InsertUpgradePathEntriesRequest],
|
|
267
|
+
InsertUpgradePathEntriesResponse
|
|
268
|
+
>,
|
|
269
|
+
'list_deployed_snses' : ActorMethod<[{}], ListDeployedSnsesResponse>,
|
|
270
|
+
'list_upgrade_steps' : ActorMethod<
|
|
271
|
+
[ListUpgradeStepsRequest],
|
|
272
|
+
ListUpgradeStepsResponse
|
|
273
|
+
>,
|
|
274
|
+
'update_allowed_principals' : ActorMethod<
|
|
275
|
+
[UpdateAllowedPrincipalsRequest],
|
|
276
|
+
UpdateAllowedPrincipalsResponse
|
|
277
|
+
>,
|
|
278
|
+
'update_sns_subnet_list' : ActorMethod<
|
|
279
|
+
[UpdateSnsSubnetListRequest],
|
|
280
|
+
UpdateSnsSubnetListResponse
|
|
281
|
+
>,
|
|
282
|
+
}
|
|
283
|
+
export declare const idlService: IDL.ServiceClass;
|
|
284
|
+
export declare const idlInitArgs: IDL.Type[];
|
|
285
|
+
export declare const idlFactory: IDL.InterfaceFactory;
|
|
286
|
+
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
|