Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bot: Update Candid Files #837

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/ckbtc/candid/minter.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid
// Represents an account on the ckBTC ledger.
type Account = record { owner : principal; subaccount : opt blob };

Expand Down
2 changes: 1 addition & 1 deletion packages/cketh/candid/minter.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid
type EthereumNetwork = variant {
// The public Ethereum mainnet.
Mainnet;
Expand Down
2 changes: 1 addition & 1 deletion packages/cketh/candid/orchestrator.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid
type OrchestratorArg = variant {
UpgradeArg : UpgradeArg;
InitArg : InitArg;
Expand Down
2 changes: 1 addition & 1 deletion packages/cmc/candid/cmc.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/nns/cmc/cmc.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/cmc/cmc.did' by import-candid
type Cycles = nat;
type BlockIndex = nat64;
type log_visibility = variant {
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icp/candid/index.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/ledger_suite/icp/index/index.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/ledger_suite/icp/index/index.did' by import-candid
type Account = record { owner : principal; subaccount : opt vec nat8 };
type GetAccountIdentifierTransactionsArgs = record {
max_results : nat64;
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icp/candid/ledger.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/ledger_suite/icp/ledger.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/ledger_suite/icp/ledger.did' by import-candid
// This is the official Ledger interface that is guaranteed to be backward compatible.

// Amount of tokens, measured in 10^-8 of a token.
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icrc/candid/icrc_index-ng.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/ledger_suite/icrc1/index-ng/index-ng.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/ledger_suite/icrc1/index-ng/index-ng.did' by import-candid
type Tokens = nat;

type InitArg = record {
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icrc/candid/icrc_ledger.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/ledger_suite/icrc1/ledger/ledger.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/ledger_suite/icrc1/ledger/ledger.did' by import-candid
type BlockIndex = nat;
type Subaccount = blob;
// Number of nanoseconds since the UNIX epoch in UTC timezone.
Expand Down
2 changes: 1 addition & 1 deletion packages/nns/candid/genesis_token.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 14c8f44cd6 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/gtc/canister/gtc.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/gtc/canister/gtc.did' by import-candid
type AccountState = record {
authenticated_principal_id : opt principal;
successfully_transferred_neurons : vec TransferredNeuron;
Expand Down
2 changes: 1 addition & 1 deletion packages/nns/candid/governance.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 14c8f44cd6 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/governance/canister/governance.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/governance/canister/governance.did' by import-candid
type AccountIdentifier = record {
hash : blob;
};
Expand Down
2 changes: 1 addition & 1 deletion packages/nns/candid/governance_test.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 14c8f44cd6 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/governance/canister/governance_test.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/governance/canister/governance_test.did' by import-candid
type AccountIdentifier = record {
hash : blob;
};
Expand Down
2 changes: 1 addition & 1 deletion packages/nns/candid/sns_wasm.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 14c8f44cd6 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
type AddWasmRequest = record {
hash : blob;
wasm : opt SnsWasm;
Expand Down
7 changes: 7 additions & 0 deletions packages/sns/candid/sns_governance.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,18 @@ export const idlFactory = ({ IDL }) => {
'memory_allocation' : IDL.Nat,
'compute_allocation' : IDL.Nat,
});
const QueryStats = IDL.Record({
'response_payload_bytes_total' : IDL.Opt(IDL.Nat),
'num_instructions_total' : IDL.Opt(IDL.Nat),
'num_calls_total' : IDL.Opt(IDL.Nat),
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
});
const CanisterStatusResultV2 = IDL.Record({
'status' : CanisterStatusType,
'memory_size' : IDL.Nat,
'cycles' : IDL.Nat,
'settings' : DefiniteCanisterSettingsArgs,
'query_stats' : IDL.Opt(QueryStats),
'idle_cycles_burned_per_day' : IDL.Nat,
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
Expand Down
7 changes: 7 additions & 0 deletions packages/sns/candid/sns_governance.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export interface CanisterStatusResultV2 {
memory_size: bigint;
cycles: bigint;
settings: DefiniteCanisterSettingsArgs;
query_stats: [] | [QueryStats];
idle_cycles_burned_per_day: bigint;
module_hash: [] | [Uint8Array | number[]];
}
Expand Down Expand Up @@ -529,6 +530,12 @@ export interface ProposalData {
export interface ProposalId {
id: bigint;
}
export interface QueryStats {
response_payload_bytes_total: [] | [bigint];
num_instructions_total: [] | [bigint];
num_calls_total: [] | [bigint];
request_payload_bytes_total: [] | [bigint];
}
export interface RegisterDappCanisters {
canister_ids: Array<Principal>;
}
Expand Down
10 changes: 9 additions & 1 deletion packages/sns/candid/sns_governance.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/sns/governance/canister/governance.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/sns/governance/canister/governance.did' by import-candid
type Account = record {
owner : opt principal;
subaccount : opt Subaccount;
Expand Down Expand Up @@ -56,6 +56,7 @@ type CanisterStatusResultV2 = record {
settings : DefiniteCanisterSettingsArgs;
idle_cycles_burned_per_day : nat;
module_hash : opt blob;
query_stats : opt QueryStats;
};

type CanisterStatusType = variant {
Expand Down Expand Up @@ -611,6 +612,13 @@ type ProposalId = record {
id : nat64;
};

type QueryStats = record {
num_calls_total : opt nat;
num_instructions_total : opt nat;
request_payload_bytes_total : opt nat;
response_payload_bytes_total : opt nat;
};

type RegisterDappCanisters = record {
canister_ids : vec principal;
};
Expand Down
7 changes: 7 additions & 0 deletions packages/sns/candid/sns_governance.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,18 @@ export const idlFactory = ({ IDL }) => {
'memory_allocation' : IDL.Nat,
'compute_allocation' : IDL.Nat,
});
const QueryStats = IDL.Record({
'response_payload_bytes_total' : IDL.Opt(IDL.Nat),
'num_instructions_total' : IDL.Opt(IDL.Nat),
'num_calls_total' : IDL.Opt(IDL.Nat),
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
});
const CanisterStatusResultV2 = IDL.Record({
'status' : CanisterStatusType,
'memory_size' : IDL.Nat,
'cycles' : IDL.Nat,
'settings' : DefiniteCanisterSettingsArgs,
'query_stats' : IDL.Opt(QueryStats),
'idle_cycles_burned_per_day' : IDL.Nat,
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
Expand Down
7 changes: 7 additions & 0 deletions packages/sns/candid/sns_governance_test.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,18 @@ export const idlFactory = ({ IDL }) => {
'memory_allocation' : IDL.Nat,
'compute_allocation' : IDL.Nat,
});
const QueryStats = IDL.Record({
'response_payload_bytes_total' : IDL.Opt(IDL.Nat),
'num_instructions_total' : IDL.Opt(IDL.Nat),
'num_calls_total' : IDL.Opt(IDL.Nat),
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
});
const CanisterStatusResultV2 = IDL.Record({
'status' : CanisterStatusType,
'memory_size' : IDL.Nat,
'cycles' : IDL.Nat,
'settings' : DefiniteCanisterSettingsArgs,
'query_stats' : IDL.Opt(QueryStats),
'idle_cycles_burned_per_day' : IDL.Nat,
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
Expand Down
7 changes: 7 additions & 0 deletions packages/sns/candid/sns_governance_test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export interface CanisterStatusResultV2 {
memory_size: bigint;
cycles: bigint;
settings: DefiniteCanisterSettingsArgs;
query_stats: [] | [QueryStats];
idle_cycles_burned_per_day: bigint;
module_hash: [] | [Uint8Array | number[]];
}
Expand Down Expand Up @@ -544,6 +545,12 @@ export interface ProposalData {
export interface ProposalId {
id: bigint;
}
export interface QueryStats {
response_payload_bytes_total: [] | [bigint];
num_instructions_total: [] | [bigint];
num_calls_total: [] | [bigint];
request_payload_bytes_total: [] | [bigint];
}
export interface RegisterDappCanisters {
canister_ids: Array<Principal>;
}
Expand Down
10 changes: 9 additions & 1 deletion packages/sns/candid/sns_governance_test.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/sns/governance/canister/governance_test.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/sns/governance/canister/governance_test.did' by import-candid
type Account = record {
owner : opt principal;
subaccount : opt Subaccount;
Expand Down Expand Up @@ -65,6 +65,7 @@ type CanisterStatusResultV2 = record {
settings : DefiniteCanisterSettingsArgs;
idle_cycles_burned_per_day : nat;
module_hash : opt blob;
query_stats : opt QueryStats;
};

type CanisterStatusType = variant {
Expand Down Expand Up @@ -625,6 +626,13 @@ type ProposalId = record {
id : nat64;
};

type QueryStats = record {
num_calls_total : opt nat;
num_instructions_total : opt nat;
request_payload_bytes_total : opt nat;
response_payload_bytes_total : opt nat;
};

type RegisterDappCanisters = record {
canister_ids : vec principal;
};
Expand Down
7 changes: 7 additions & 0 deletions packages/sns/candid/sns_governance_test.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,18 @@ export const idlFactory = ({ IDL }) => {
'memory_allocation' : IDL.Nat,
'compute_allocation' : IDL.Nat,
});
const QueryStats = IDL.Record({
'response_payload_bytes_total' : IDL.Opt(IDL.Nat),
'num_instructions_total' : IDL.Opt(IDL.Nat),
'num_calls_total' : IDL.Opt(IDL.Nat),
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
});
const CanisterStatusResultV2 = IDL.Record({
'status' : CanisterStatusType,
'memory_size' : IDL.Nat,
'cycles' : IDL.Nat,
'settings' : DefiniteCanisterSettingsArgs,
'query_stats' : IDL.Opt(QueryStats),
'idle_cycles_burned_per_day' : IDL.Nat,
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
Expand Down
9 changes: 9 additions & 0 deletions packages/sns/candid/sns_root.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const idlFactory = ({ IDL }) => {
const LogVisibility = IDL.Variant({
'controllers' : IDL.Null,
'public' : IDL.Null,
'allowed_viewers' : IDL.Vec(IDL.Principal),
});
const DefiniteCanisterSettings = IDL.Record({
'freezing_threshold' : IDL.Opt(IDL.Nat),
Expand All @@ -35,11 +36,18 @@ export const idlFactory = ({ IDL }) => {
'memory_allocation' : IDL.Opt(IDL.Nat),
'compute_allocation' : IDL.Opt(IDL.Nat),
});
const QueryStats = IDL.Record({
'response_payload_bytes_total' : IDL.Opt(IDL.Nat),
'num_instructions_total' : IDL.Opt(IDL.Nat),
'num_calls_total' : IDL.Opt(IDL.Nat),
'request_payload_bytes_total' : IDL.Opt(IDL.Nat),
});
const CanisterStatusResult = IDL.Record({
'status' : CanisterStatusType,
'memory_size' : IDL.Nat,
'cycles' : IDL.Nat,
'settings' : DefiniteCanisterSettings,
'query_stats' : IDL.Opt(QueryStats),
'idle_cycles_burned_per_day' : IDL.Opt(IDL.Nat),
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
'reserved_cycles' : IDL.Opt(IDL.Nat),
Expand Down Expand Up @@ -80,6 +88,7 @@ export const idlFactory = ({ IDL }) => {
'memory_size' : IDL.Nat,
'cycles' : IDL.Nat,
'settings' : DefiniteCanisterSettingsArgs,
'query_stats' : IDL.Opt(QueryStats),
'idle_cycles_burned_per_day' : IDL.Nat,
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
Expand Down
13 changes: 12 additions & 1 deletion packages/sns/candid/sns_root.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export interface CanisterStatusResult {
memory_size: bigint;
cycles: bigint;
settings: DefiniteCanisterSettings;
query_stats: [] | [QueryStats];
idle_cycles_burned_per_day: [] | [bigint];
module_hash: [] | [Uint8Array | number[]];
reserved_cycles: [] | [bigint];
Expand All @@ -27,6 +28,7 @@ export interface CanisterStatusResultV2 {
memory_size: bigint;
cycles: bigint;
settings: DefiniteCanisterSettingsArgs;
query_stats: [] | [QueryStats];
idle_cycles_burned_per_day: bigint;
module_hash: [] | [Uint8Array | number[]];
}
Expand Down Expand Up @@ -99,7 +101,10 @@ export interface ListSnsCanistersResponse {
dapps: Array<Principal>;
archives: Array<Principal>;
}
export type LogVisibility = { controllers: null } | { public: null };
export type LogVisibility =
| { controllers: null }
| { public: null }
| { allowed_viewers: Array<Principal> };
export interface ManageDappCanisterSettingsRequest {
freezing_threshold: [] | [bigint];
wasm_memory_threshold: [] | [bigint];
Expand All @@ -113,6 +118,12 @@ export interface ManageDappCanisterSettingsRequest {
export interface ManageDappCanisterSettingsResponse {
failure_reason: [] | [string];
}
export interface QueryStats {
response_payload_bytes_total: [] | [bigint];
num_instructions_total: [] | [bigint];
num_calls_total: [] | [bigint];
request_payload_bytes_total: [] | [bigint];
}
export interface RegisterDappCanisterRequest {
canister_id: [] | [Principal];
}
Expand Down
12 changes: 11 additions & 1 deletion packages/sns/candid/sns_root.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit fb16293 (2025-01-22 tags: release-2025-01-30_03-03-hashes-in-blocks) 'rs/sns/root/canister/root.did' by import-candid
// Generated from IC repo commit 14c8f44 (2025-02-07 tags: release-2025-02-06_12-26-revert-hashes-in-blocks) 'rs/sns/root/canister/root.did' by import-candid
type CanisterCallError = record {
code : opt int32;
description : text;
Expand All @@ -22,6 +22,7 @@ type CanisterStatusResult = record {
idle_cycles_burned_per_day : opt nat;
module_hash : opt blob;
reserved_cycles : opt nat;
query_stats : opt QueryStats;
};

type CanisterStatusResultV2 = record {
Expand All @@ -31,6 +32,7 @@ type CanisterStatusResultV2 = record {
settings : DefiniteCanisterSettingsArgs;
idle_cycles_burned_per_day : nat;
module_hash : opt blob;
query_stats : opt QueryStats;
};

type CanisterStatusType = variant {
Expand Down Expand Up @@ -81,6 +83,13 @@ type DefiniteCanisterSettingsArgs = record {
wasm_memory_threshold : opt nat;
};

type QueryStats = record {
num_calls_total : opt nat;
num_instructions_total : opt nat;
request_payload_bytes_total : opt nat;
response_payload_bytes_total : opt nat;
};

type FailedUpdate = record {
err : opt CanisterCallError;
dapp_canister_id : opt principal;
Expand Down Expand Up @@ -113,6 +122,7 @@ type ListSnsCanistersResponse = record {
type LogVisibility = variant {
controllers;
public;
allowed_viewers: vec principal;
};

type ManageDappCanisterSettingsRequest = record {
Expand Down
Loading