Skip to content

Commit

Permalink
Update IC commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gix-bot authored Mar 7, 2025
1 parent 03af972 commit 8453287
Show file tree
Hide file tree
Showing 31 changed files with 220 additions and 33 deletions.
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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/nns/cmc/cmc.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/ledger_suite/icp/index/index.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/ledger_suite/icp/ledger.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/ledger_suite/icrc1/index-ng/index-ng.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/ledger_suite/icrc1/ledger/ledger.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) '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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/nns/gtc/canister/gtc.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) 'rs/nns/gtc/canister/gtc.did' by import-candid
type AccountState = record {
authenticated_principal_id : opt principal;
successfully_transferred_neurons : vec TransferredNeuron;
Expand Down
23 changes: 23 additions & 0 deletions packages/nns/candid/governance.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ export const idlFactory = ({ IDL }) => {
'topic' : IDL.Int32,
'followees' : IDL.Vec(NeuronId),
});
const Account = IDL.Record({
'owner' : IDL.Opt(IDL.Principal),
'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
const DisburseMaturity = IDL.Record({
'to_account' : IDL.Opt(Account),
'percentage_to_disburse' : IDL.Nat32,
});
const RefreshVotingPower = IDL.Record({});
const ClaimOrRefreshNeuronFromAccount = IDL.Record({
'controller' : IDL.Opt(IDL.Principal),
Expand Down Expand Up @@ -87,6 +95,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand Down Expand Up @@ -817,6 +826,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand All @@ -836,6 +846,9 @@ export const idlFactory = ({ IDL }) => {
})
);
const SpawnResponse = IDL.Record({ 'created_neuron_id' : IDL.Opt(NeuronId) });
const DisburseMaturityResponse = IDL.Record({
'amount_disbursed_e8s' : IDL.Opt(IDL.Nat64),
});
const RefreshVotingPowerResponse = IDL.Record({});
const ClaimOrRefreshResponse = IDL.Record({
'refreshed_neuron_id' : IDL.Opt(NeuronId),
Expand Down Expand Up @@ -864,6 +877,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : SpawnResponse,
'Split' : SpawnResponse,
'Follow' : IDL.Record({}),
'DisburseMaturity' : DisburseMaturityResponse,
'RefreshVotingPower' : RefreshVotingPowerResponse,
'ClaimOrRefresh' : ClaimOrRefreshResponse,
'Configure' : IDL.Record({}),
Expand Down Expand Up @@ -1021,6 +1035,14 @@ export const init = ({ IDL }) => {
'topic' : IDL.Int32,
'followees' : IDL.Vec(NeuronId),
});
const Account = IDL.Record({
'owner' : IDL.Opt(IDL.Principal),
'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
const DisburseMaturity = IDL.Record({
'to_account' : IDL.Opt(Account),
'percentage_to_disburse' : IDL.Nat32,
});
const RefreshVotingPower = IDL.Record({});
const ClaimOrRefreshNeuronFromAccount = IDL.Record({
'controller' : IDL.Opt(IDL.Principal),
Expand Down Expand Up @@ -1086,6 +1108,7 @@ export const init = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand Down
14 changes: 14 additions & 0 deletions packages/nns/candid/governance.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import type { ActorMethod } from "@dfinity/agent";
import type { IDL } from "@dfinity/candid";
import type { Principal } from "@dfinity/principal";

export interface Account {
owner: [] | [Principal];
subaccount: [] | [Uint8Array | number[]];
}
export interface AccountIdentifier {
hash: Uint8Array | number[];
}
Expand Down Expand Up @@ -92,6 +96,7 @@ export type Command =
| { Spawn: Spawn }
| { Split: Split }
| { Follow: Follow }
| { DisburseMaturity: DisburseMaturity }
| { RefreshVotingPower: RefreshVotingPower }
| { ClaimOrRefresh: ClaimOrRefresh }
| { Configure: Configure }
Expand All @@ -107,6 +112,7 @@ export type Command_1 =
| { Spawn: SpawnResponse }
| { Split: SpawnResponse }
| { Follow: {} }
| { DisburseMaturity: DisburseMaturityResponse }
| { RefreshVotingPower: RefreshVotingPowerResponse }
| { ClaimOrRefresh: ClaimOrRefreshResponse }
| { Configure: {} }
Expand Down Expand Up @@ -175,6 +181,13 @@ export interface Disburse {
to_account: [] | [AccountIdentifier];
amount: [] | [Amount];
}
export interface DisburseMaturity {
to_account: [] | [Account];
percentage_to_disburse: number;
}
export interface DisburseMaturityResponse {
amount_disbursed_e8s: [] | [bigint];
}
export interface DisburseResponse {
transfer_block_height: bigint;
}
Expand Down Expand Up @@ -410,6 +423,7 @@ export type ManageNeuronCommandRequest =
| { Spawn: Spawn }
| { Split: Split }
| { Follow: Follow }
| { DisburseMaturity: DisburseMaturity }
| { RefreshVotingPower: RefreshVotingPower }
| { ClaimOrRefresh: ClaimOrRefresh }
| { Configure: Configure }
Expand Down
19 changes: 18 additions & 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 2f02a66 (2025-02-13 tags: release-2025-02-20_10-16-disable-best-effort-messaging) 'rs/nns/governance/canister/governance.did' by import-candid
// Generated from IC repo commit 9769228 (2025-02-13 tags: release-2025-03-06_03-10-disable-best-effort-messaging) 'rs/nns/governance/canister/governance.did' by import-candid
type AccountIdentifier = record {
hash : blob;
};
Expand Down Expand Up @@ -124,6 +124,20 @@ type RefreshVotingPowerResponse = record {
// minimal until we discover there is a "real need". YAGNI.
};

type DisburseMaturity = record {
percentage_to_disburse : nat32;
to_account : opt Account;
};

type Account = record {
owner: opt principal;
subaccount: opt blob;
};

type DisburseMaturityResponse = record {
amount_disbursed_e8s : opt nat64;
};

// KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
type Command = variant {
Spawn : Spawn;
Expand All @@ -139,6 +153,7 @@ type Command = variant {
MergeMaturity : MergeMaturity;
Disburse : Disburse;
RefreshVotingPower : RefreshVotingPower;
DisburseMaturity : DisburseMaturity;

// KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
};
Expand All @@ -158,6 +173,7 @@ type Command_1 = variant {
MergeMaturity : MergeMaturityResponse;
Disburse : DisburseResponse;
RefreshVotingPower : RefreshVotingPowerResponse;
DisburseMaturity : DisburseMaturityResponse;
};

type Command_2 = variant {
Expand Down Expand Up @@ -541,6 +557,7 @@ type ManageNeuronCommandRequest = variant {
MergeMaturity : MergeMaturity;
Disburse : Disburse;
RefreshVotingPower : RefreshVotingPower;
DisburseMaturity : DisburseMaturity;

// KEEP THIS IN SYNC WITH COMMAND!
};
Expand Down
23 changes: 23 additions & 0 deletions packages/nns/candid/governance.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ export const idlFactory = ({ IDL }) => {
'topic' : IDL.Int32,
'followees' : IDL.Vec(NeuronId),
});
const Account = IDL.Record({
'owner' : IDL.Opt(IDL.Principal),
'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
const DisburseMaturity = IDL.Record({
'to_account' : IDL.Opt(Account),
'percentage_to_disburse' : IDL.Nat32,
});
const RefreshVotingPower = IDL.Record({});
const ClaimOrRefreshNeuronFromAccount = IDL.Record({
'controller' : IDL.Opt(IDL.Principal),
Expand Down Expand Up @@ -87,6 +95,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand Down Expand Up @@ -817,6 +826,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand All @@ -836,6 +846,9 @@ export const idlFactory = ({ IDL }) => {
})
);
const SpawnResponse = IDL.Record({ 'created_neuron_id' : IDL.Opt(NeuronId) });
const DisburseMaturityResponse = IDL.Record({
'amount_disbursed_e8s' : IDL.Opt(IDL.Nat64),
});
const RefreshVotingPowerResponse = IDL.Record({});
const ClaimOrRefreshResponse = IDL.Record({
'refreshed_neuron_id' : IDL.Opt(NeuronId),
Expand Down Expand Up @@ -864,6 +877,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : SpawnResponse,
'Split' : SpawnResponse,
'Follow' : IDL.Record({}),
'DisburseMaturity' : DisburseMaturityResponse,
'RefreshVotingPower' : RefreshVotingPowerResponse,
'ClaimOrRefresh' : ClaimOrRefreshResponse,
'Configure' : IDL.Record({}),
Expand Down Expand Up @@ -1037,6 +1051,14 @@ export const init = ({ IDL }) => {
'topic' : IDL.Int32,
'followees' : IDL.Vec(NeuronId),
});
const Account = IDL.Record({
'owner' : IDL.Opt(IDL.Principal),
'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
const DisburseMaturity = IDL.Record({
'to_account' : IDL.Opt(Account),
'percentage_to_disburse' : IDL.Nat32,
});
const RefreshVotingPower = IDL.Record({});
const ClaimOrRefreshNeuronFromAccount = IDL.Record({
'controller' : IDL.Opt(IDL.Principal),
Expand Down Expand Up @@ -1102,6 +1124,7 @@ export const init = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand Down
23 changes: 23 additions & 0 deletions packages/nns/candid/governance_test.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ export const idlFactory = ({ IDL }) => {
'topic' : IDL.Int32,
'followees' : IDL.Vec(NeuronId),
});
const Account = IDL.Record({
'owner' : IDL.Opt(IDL.Principal),
'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
const DisburseMaturity = IDL.Record({
'to_account' : IDL.Opt(Account),
'percentage_to_disburse' : IDL.Nat32,
});
const RefreshVotingPower = IDL.Record({});
const ClaimOrRefreshNeuronFromAccount = IDL.Record({
'controller' : IDL.Opt(IDL.Principal),
Expand Down Expand Up @@ -87,6 +95,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand Down Expand Up @@ -817,6 +826,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand All @@ -836,6 +846,9 @@ export const idlFactory = ({ IDL }) => {
})
);
const SpawnResponse = IDL.Record({ 'created_neuron_id' : IDL.Opt(NeuronId) });
const DisburseMaturityResponse = IDL.Record({
'amount_disbursed_e8s' : IDL.Opt(IDL.Nat64),
});
const RefreshVotingPowerResponse = IDL.Record({});
const ClaimOrRefreshResponse = IDL.Record({
'refreshed_neuron_id' : IDL.Opt(NeuronId),
Expand Down Expand Up @@ -864,6 +877,7 @@ export const idlFactory = ({ IDL }) => {
'Spawn' : SpawnResponse,
'Split' : SpawnResponse,
'Follow' : IDL.Record({}),
'DisburseMaturity' : DisburseMaturityResponse,
'RefreshVotingPower' : RefreshVotingPowerResponse,
'ClaimOrRefresh' : ClaimOrRefreshResponse,
'Configure' : IDL.Record({}),
Expand Down Expand Up @@ -1022,6 +1036,14 @@ export const init = ({ IDL }) => {
'topic' : IDL.Int32,
'followees' : IDL.Vec(NeuronId),
});
const Account = IDL.Record({
'owner' : IDL.Opt(IDL.Principal),
'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)),
});
const DisburseMaturity = IDL.Record({
'to_account' : IDL.Opt(Account),
'percentage_to_disburse' : IDL.Nat32,
});
const RefreshVotingPower = IDL.Record({});
const ClaimOrRefreshNeuronFromAccount = IDL.Record({
'controller' : IDL.Opt(IDL.Principal),
Expand Down Expand Up @@ -1087,6 +1109,7 @@ export const init = ({ IDL }) => {
'Spawn' : Spawn,
'Split' : Split,
'Follow' : Follow,
'DisburseMaturity' : DisburseMaturity,
'RefreshVotingPower' : RefreshVotingPower,
'ClaimOrRefresh' : ClaimOrRefresh,
'Configure' : Configure,
Expand Down
Loading

0 comments on commit 8453287

Please sign in to comment.