1pub const CANIC_RESPONSE_CAPABILITY_V1: &str = "canic_response_capability_v1";
6pub const CANIC_UPSERT_ROOT_ISSUER_POLICY: &str = "canic_upsert_root_issuer_policy";
7pub const CANIC_UPSERT_ROOT_ISSUER_RENEWAL_TEMPLATE: &str =
8 "canic_upsert_root_issuer_renewal_template";
9pub const CANIC_ROOT_ISSUER_RENEWAL_STATUS: &str = "canic_root_issuer_renewal_status";
10pub const CANIC_PREPARE_DELEGATION_PROOF_BATCH: &str = "canic_prepare_delegation_proof_batch";
11pub const CANIC_GET_DELEGATION_PROOF_BATCH: &str = "canic_get_delegation_proof_batch";
12pub const CANIC_GET_DELEGATION_RENEWAL_PROOF_BATCH: &str =
13 "canic_get_delegation_renewal_proof_batch";
14pub const CANIC_UPSERT_DELEGATION_RENEWAL_PROVISIONER: &str =
15 "canic_upsert_delegation_renewal_provisioner";
16pub const CANIC_DELEGATION_RENEWAL_PROVISIONERS: &str = "canic_delegation_renewal_provisioners";
17pub const CANIC_DELEGATION_RENEWAL_WORK: &str = "canic_delegation_renewal_work";
18pub const CANIC_INSTALL_DELEGATION_PROOF_BATCH: &str = "canic_install_delegation_proof_batch";
19pub const CANIC_PREPARE_DELEGATED_TOKEN: &str = "canic_prepare_delegated_token";
20pub const CANIC_GET_DELEGATED_TOKEN: &str = "canic_get_delegated_token";
21pub const CANIC_ACTIVE_DELEGATION_PROOF_STATUS: &str = "canic_active_delegation_proof_status";
22pub const CANIC_PREPARE_ROLE_ATTESTATION: &str = "canic_prepare_role_attestation";
23pub const CANIC_GET_ROLE_ATTESTATION: &str = "canic_get_role_attestation";
24pub const CANIC_INSTALL_ACTIVE_DELEGATION_PROOF: &str = "canic_install_active_delegation_proof";
25pub const CANIC_BOOTSTRAP_STATUS: &str = "canic_bootstrap_status";
26pub const CANIC_CYCLE_BALANCE: &str = "canic_cycle_balance";
27pub const CANIC_CYCLE_TRACKER: &str = "canic_cycle_tracker";
28pub const CANIC_CYCLE_TOPUPS: &str = "canic_cycle_topups";
29pub const CANIC_METADATA: &str = "canic_metadata";
30pub const CANIC_WASM_STORE_CATALOG: &str = "canic_wasm_store_catalog";
31pub const CANIC_WASM_STORE_INFO: &str = "canic_wasm_store_info";
32pub const CANIC_WASM_STORE_STATUS: &str = "canic_wasm_store_status";
33pub const CANIC_WASM_STORE_PREPARE_GC: &str = "canic_wasm_store_prepare_gc";
34pub const CANIC_WASM_STORE_BEGIN_GC: &str = "canic_wasm_store_begin_gc";
35pub const CANIC_WASM_STORE_COMPLETE_GC: &str = "canic_wasm_store_complete_gc";
36pub const CANIC_WASM_STORE_PREPARE: &str = "canic_wasm_store_prepare";
37pub const CANIC_WASM_STORE_CHUNK: &str = "canic_wasm_store_chunk";
38pub const CANIC_WASM_STORE_PUBLISH_CHUNK: &str = "canic_wasm_store_publish_chunk";
39pub const CANIC_WASM_STORE_STAGE_MANIFEST: &str = "canic_wasm_store_stage_manifest";
40pub const CANIC_WASM_STORE_BOOTSTRAP_RESUME_ROOT_ADMIN: &str =
41 "canic_wasm_store_bootstrap_resume_root_admin";
42pub const CANIC_WASM_STORE_BOOTSTRAP_DEBUG: &str = "canic_wasm_store_bootstrap_debug";
43pub const CANIC_WASM_STORE_OVERVIEW: &str = "canic_wasm_store_overview";
44pub const CANIC_TEMPLATE_PREPARE_ADMIN: &str = "canic_template_prepare_admin";
45pub const CANIC_TEMPLATE_PUBLISH_CHUNK_ADMIN: &str = "canic_template_publish_chunk_admin";
46pub const CANIC_TEMPLATE_STAGE_MANIFEST_ADMIN: &str = "canic_template_stage_manifest_admin";
47pub const BLOB_STORAGE_BLOBS_ARE_LIVE: &str = "_immutableObjectStorageBlobsAreLive";
48pub const BLOB_STORAGE_BLOBS_TO_DELETE: &str = "_immutableObjectStorageBlobsToDelete";
49pub const BLOB_STORAGE_CONFIRM_BLOB_DELETION: &str = "_immutableObjectStorageConfirmBlobDeletion";
50pub const BLOB_STORAGE_CREATE_CERTIFICATE: &str = "_immutableObjectStorageCreateCertificate";
51pub const BLOB_STORAGE_UPDATE_GATEWAY_PRINCIPALS: &str =
52 "_immutableObjectStorageUpdateGatewayPrincipals";
53pub const BLOB_STORAGE_FUND_FROM_PROJECT_CYCLES: &str =
54 "_immutableObjectStorageFundFromProjectCycles";
55pub const BLOB_STORAGE_STATUS: &str = "get_blob_storage_status";
56pub const BLOB_STORAGE_CASHIER_ACCOUNT_BALANCE_GET_V1: &str = "account_balance_get_v1";
57pub const BLOB_STORAGE_CASHIER_ACCOUNT_TOP_UP_V1: &str = "account_top_up_v1";
58pub const BLOB_STORAGE_CASHIER_STORAGE_GATEWAY_PRINCIPAL_LIST_V1: &str =
59 "storage_gateway_principal_list_v1";
60
61pub const CANIC_SYNC_STATE: &str = "canic_sync_state";
62pub const CANIC_SYNC_TOPOLOGY: &str = "canic_sync_topology";
63
64pub const CANIC_WASM_STORE_ROOT_UPDATE_METHODS: &[&str] = &[
65 CANIC_WASM_STORE_BEGIN_GC,
66 CANIC_WASM_STORE_CHUNK,
67 CANIC_WASM_STORE_COMPLETE_GC,
68 CANIC_WASM_STORE_INFO,
69 CANIC_WASM_STORE_PREPARE,
70 CANIC_WASM_STORE_PREPARE_GC,
71 CANIC_WASM_STORE_PUBLISH_CHUNK,
72 CANIC_WASM_STORE_STAGE_MANIFEST,
73];
74
75pub const CANIC_WASM_STORE_STRUCTURAL_QUERY_METHODS: &[&str] =
76 &[CANIC_WASM_STORE_CATALOG, CANIC_WASM_STORE_STATUS];
77
78pub const BLOB_STORAGE_069_GATEWAY_METHODS: &[&str] = &[
79 BLOB_STORAGE_BLOBS_ARE_LIVE,
80 BLOB_STORAGE_BLOBS_TO_DELETE,
81 BLOB_STORAGE_CONFIRM_BLOB_DELETION,
82 BLOB_STORAGE_CREATE_CERTIFICATE,
83];
84
85pub const BLOB_STORAGE_070_GATEWAY_METHODS: &[&str] = &[
86 BLOB_STORAGE_UPDATE_GATEWAY_PRINCIPALS,
87 BLOB_STORAGE_FUND_FROM_PROJECT_CYCLES,
88];
89
90pub const BLOB_STORAGE_070_CASHIER_METHODS: &[&str] = &[
91 BLOB_STORAGE_CASHIER_ACCOUNT_BALANCE_GET_V1,
92 BLOB_STORAGE_CASHIER_ACCOUNT_TOP_UP_V1,
93 BLOB_STORAGE_CASHIER_STORAGE_GATEWAY_PRINCIPAL_LIST_V1,
94];
95
96#[must_use]
97pub const fn canic_wasm_store_method_requires_internal_proof(method: &str) -> bool {
98 let _ = method;
99 false
100}