From 19c0b5e66661ae011f482d3c7afd27b93fd8cbe9 Mon Sep 17 00:00:00 2001 From: sa-github-api <138766536+sa-github-api@users.noreply.github.com> Date: Mon, 16 Sep 2024 06:10:35 +0200 Subject: [PATCH] Update Candid Files (#718) # Motivation The canisters APIs have been updated. # Changes * Updated the candid interface files for the canisters used in this library. * Updated the javascript bindings for the latest candid interfaces. # Tests - [ ] Please check the API updates for any breaking changes that affect our code. --------- Signed-off-by: David Dal Busco Co-authored-by: gix-bot Co-authored-by: David Dal Busco --- packages/ckbtc/candid/minter.did | 2 +- packages/cketh/candid/minter.did | 2 +- .../candid/orchestrator.certified.idl.js | 29 ++++++++++++ packages/cketh/candid/orchestrator.d.ts | 18 ++++++++ packages/cketh/candid/orchestrator.did | 45 ++++++++++++++++++- packages/cketh/candid/orchestrator.idl.js | 29 ++++++++++++ .../cketh/src/orchestrator.canister.spec.ts | 12 +++++ packages/cmc/candid/cmc.certified.idl.js | 4 -- packages/cmc/candid/cmc.d.ts | 8 ++-- packages/cmc/candid/cmc.did | 9 +--- packages/cmc/candid/cmc.idl.js | 4 -- packages/ledger-icp/candid/index.did | 2 +- packages/ledger-icp/candid/ledger.did | 2 +- packages/ledger-icrc/candid/icrc_index-ng.did | 2 +- packages/ledger-icrc/candid/icrc_index.did | 2 +- packages/ledger-icrc/candid/icrc_ledger.did | 2 +- packages/nns/candid/genesis_token.did | 2 +- packages/nns/candid/governance.did | 2 +- packages/nns/candid/governance_test.did | 2 +- packages/nns/candid/sns_wasm.did | 2 +- packages/sns/candid/sns_governance.did | 2 +- packages/sns/candid/sns_governance_test.did | 2 +- packages/sns/candid/sns_root.did | 2 +- packages/sns/candid/sns_swap.did | 2 +- 24 files changed, 151 insertions(+), 37 deletions(-) diff --git a/packages/ckbtc/candid/minter.did b/packages/ckbtc/candid/minter.did index c411ee9b..2de761d1 100644 --- a/packages/ckbtc/candid/minter.did +++ b/packages/ckbtc/candid/minter.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) '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 }; diff --git a/packages/cketh/candid/minter.did b/packages/cketh/candid/minter.did index a8bd7331..1675389c 100644 --- a/packages/cketh/candid/minter.did +++ b/packages/cketh/candid/minter.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid type EthereumNetwork = variant { // The public Ethereum mainnet. Mainnet; diff --git a/packages/cketh/candid/orchestrator.certified.idl.js b/packages/cketh/candid/orchestrator.certified.idl.js index 531a1724..2cfbfc69 100644 --- a/packages/cketh/candid/orchestrator.certified.idl.js +++ b/packages/cketh/candid/orchestrator.certified.idl.js @@ -1,5 +1,15 @@ /* Do not edit. Compiled with ./scripts/compile-idl-js from packages/cketh/candid/orchestrator.did */ export const idlFactory = ({ IDL }) => { + const InstalledCanister = IDL.Record({ + 'canister_id' : IDL.Principal, + 'installed_wasm_hash' : IDL.Text, + }); + const InstalledLedgerSuite = IDL.Record({ + 'token_symbol' : IDL.Text, + 'ledger' : InstalledCanister, + 'index' : InstalledCanister, + 'archives' : IDL.Opt(IDL.Vec(IDL.Principal)), + }); const UpdateCyclesManagement = IDL.Record({ 'cycles_top_up_increment' : IDL.Opt(IDL.Nat), 'cycles_for_ledger_creation' : IDL.Opt(IDL.Nat), @@ -7,6 +17,7 @@ export const idlFactory = ({ IDL }) => { 'cycles_for_index_creation' : IDL.Opt(IDL.Nat), }); const UpgradeArg = IDL.Record({ + 'manage_ledger_suites' : IDL.Opt(IDL.Vec(InstalledLedgerSuite)), 'cycles_management' : IDL.Opt(UpdateCyclesManagement), 'archive_compressed_wasm_hash' : IDL.Opt(IDL.Text), 'git_commit_hash' : IDL.Opt(IDL.Text), @@ -91,6 +102,12 @@ export const idlFactory = ({ IDL }) => { 'archives' : IDL.Vec(IDL.Principal), 'ckerc20_token_symbol' : IDL.Text, }); + const ManagedLedgerSuite = IDL.Record({ + 'token_symbol' : IDL.Text, + 'ledger' : IDL.Opt(ManagedCanisterStatus), + 'index' : IDL.Opt(ManagedCanisterStatus), + 'archives' : IDL.Vec(IDL.Principal), + }); const LedgerSuiteVersion = IDL.Record({ 'archive_compressed_wasm_hash' : IDL.Text, 'ledger_compressed_wasm_hash' : IDL.Text, @@ -99,6 +116,7 @@ export const idlFactory = ({ IDL }) => { const OrchestratorInfo = IDL.Record({ 'cycles_management' : CyclesManagement, 'managed_canisters' : IDL.Vec(ManagedCanisters), + 'managed_pre_existing_ledger_suites' : IDL.Opt(IDL.Vec(ManagedLedgerSuite)), 'more_controller_ids' : IDL.Vec(IDL.Principal), 'ledger_suite_version' : IDL.Opt(LedgerSuiteVersion), 'minter_id' : IDL.Opt(IDL.Principal), @@ -114,6 +132,16 @@ export const idlFactory = ({ IDL }) => { }); }; export const init = ({ IDL }) => { + const InstalledCanister = IDL.Record({ + 'canister_id' : IDL.Principal, + 'installed_wasm_hash' : IDL.Text, + }); + const InstalledLedgerSuite = IDL.Record({ + 'token_symbol' : IDL.Text, + 'ledger' : InstalledCanister, + 'index' : InstalledCanister, + 'archives' : IDL.Opt(IDL.Vec(IDL.Principal)), + }); const UpdateCyclesManagement = IDL.Record({ 'cycles_top_up_increment' : IDL.Opt(IDL.Nat), 'cycles_for_ledger_creation' : IDL.Opt(IDL.Nat), @@ -121,6 +149,7 @@ export const init = ({ IDL }) => { 'cycles_for_index_creation' : IDL.Opt(IDL.Nat), }); const UpgradeArg = IDL.Record({ + 'manage_ledger_suites' : IDL.Opt(IDL.Vec(InstalledLedgerSuite)), 'cycles_management' : IDL.Opt(UpdateCyclesManagement), 'archive_compressed_wasm_hash' : IDL.Opt(IDL.Text), 'git_commit_hash' : IDL.Opt(IDL.Text), diff --git a/packages/cketh/candid/orchestrator.d.ts b/packages/cketh/candid/orchestrator.d.ts index 9e734569..a4d0e259 100644 --- a/packages/cketh/candid/orchestrator.d.ts +++ b/packages/cketh/candid/orchestrator.d.ts @@ -42,6 +42,16 @@ export interface InitArg { more_controller_ids: Array; minter_id: [] | [Principal]; } +export interface InstalledCanister { + canister_id: Principal; + installed_wasm_hash: string; +} +export interface InstalledLedgerSuite { + token_symbol: string; + ledger: InstalledCanister; + index: InstalledCanister; + archives: [] | [Array]; +} export interface LedgerInitArg { decimals: number; token_symbol: string; @@ -73,6 +83,12 @@ export interface ManagedCanisters { archives: Array; ckerc20_token_symbol: string; } +export interface ManagedLedgerSuite { + token_symbol: string; + ledger: [] | [ManagedCanisterStatus]; + index: [] | [ManagedCanisterStatus]; + archives: Array; +} export type OrchestratorArg = | { UpgradeArg: UpgradeArg } | { InitArg: InitArg } @@ -80,6 +96,7 @@ export type OrchestratorArg = export interface OrchestratorInfo { cycles_management: CyclesManagement; managed_canisters: Array; + managed_pre_existing_ledger_suites: [] | [Array]; more_controller_ids: Array; ledger_suite_version: [] | [LedgerSuiteVersion]; minter_id: [] | [Principal]; @@ -97,6 +114,7 @@ export interface UpdateCyclesManagement { cycles_for_index_creation: [] | [bigint]; } export interface UpgradeArg { + manage_ledger_suites: [] | [Array]; cycles_management: [] | [UpdateCyclesManagement]; archive_compressed_wasm_hash: [] | [string]; git_commit_hash: [] | [string]; diff --git a/packages/cketh/candid/orchestrator.did b/packages/cketh/candid/orchestrator.did index 206beae6..09e57e36 100644 --- a/packages/cketh/candid/orchestrator.did +++ b/packages/cketh/candid/orchestrator.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid type OrchestratorArg = variant { UpgradeArg : UpgradeArg; InitArg : InitArg; @@ -45,6 +45,11 @@ type UpgradeArg = record { // Update the cycles management of the canisters managed by the orchestrator. cycles_management: opt UpdateCyclesManagement; + + // Add already installed ledger suites to the canisters managed by the orchestrator. + // Those ledger suites are *NOT* necessarily ckERC20 tokens. + // This assumes that the orchestrator is a controller of all the canisters in the list. + manage_ledger_suites: opt vec InstalledLedgerSuite; }; type AddErc20Arg = record { @@ -97,6 +102,26 @@ type ManagedCanisterStatus = variant { Installed : record { canister_id : principal; installed_wasm_hash : text }; }; +type InstalledCanister = record { + canister_id : principal; + installed_wasm_hash : text +}; + +type InstalledLedgerSuite = record { + // Token symbol on the ledger + token_symbol : text; + + // Ledger canister + ledger : InstalledCanister; + + // Index canister + index : InstalledCanister; + + // List of archive canister ids + archives : opt vec principal; +}; + + type ManagedCanisters = record { // Corresponding ERC20 contract erc20_contract: Erc20Contract; @@ -114,6 +139,20 @@ type ManagedCanisters = record { archives : vec principal; }; +type ManagedLedgerSuite = record { + // Token symbol + token_symbol : text; + + // Status of the ledger canister + ledger : opt ManagedCanisterStatus; + + // Status of the index canister + index : opt ManagedCanisterStatus; + + // List of archive canister ids + archives : vec principal; +}; + type OrchestratorInfo = record { // List of managed canisters data for each ERC20 contract. managed_canisters : vec ManagedCanisters; @@ -129,6 +168,10 @@ type OrchestratorInfo = record { // Ledger suite version that will be used to spawn off a new ledger suite (ledger and index canisters) when an ERC-20 token is added. ledger_suite_version: opt LedgerSuiteVersion; + + // List of managed ledger suites that were not initially installed by the orchestrator. + // Those ledger suites are *NOT* necessarily ckERC20 tokens. + managed_pre_existing_ledger_suites: opt vec ManagedLedgerSuite; }; type LedgerSuiteVersion = record { diff --git a/packages/cketh/candid/orchestrator.idl.js b/packages/cketh/candid/orchestrator.idl.js index bd2d24b3..b5e7e19d 100644 --- a/packages/cketh/candid/orchestrator.idl.js +++ b/packages/cketh/candid/orchestrator.idl.js @@ -1,5 +1,15 @@ /* Do not edit. Compiled with ./scripts/compile-idl-js from packages/cketh/candid/orchestrator.did */ export const idlFactory = ({ IDL }) => { + const InstalledCanister = IDL.Record({ + 'canister_id' : IDL.Principal, + 'installed_wasm_hash' : IDL.Text, + }); + const InstalledLedgerSuite = IDL.Record({ + 'token_symbol' : IDL.Text, + 'ledger' : InstalledCanister, + 'index' : InstalledCanister, + 'archives' : IDL.Opt(IDL.Vec(IDL.Principal)), + }); const UpdateCyclesManagement = IDL.Record({ 'cycles_top_up_increment' : IDL.Opt(IDL.Nat), 'cycles_for_ledger_creation' : IDL.Opt(IDL.Nat), @@ -7,6 +17,7 @@ export const idlFactory = ({ IDL }) => { 'cycles_for_index_creation' : IDL.Opt(IDL.Nat), }); const UpgradeArg = IDL.Record({ + 'manage_ledger_suites' : IDL.Opt(IDL.Vec(InstalledLedgerSuite)), 'cycles_management' : IDL.Opt(UpdateCyclesManagement), 'archive_compressed_wasm_hash' : IDL.Opt(IDL.Text), 'git_commit_hash' : IDL.Opt(IDL.Text), @@ -91,6 +102,12 @@ export const idlFactory = ({ IDL }) => { 'archives' : IDL.Vec(IDL.Principal), 'ckerc20_token_symbol' : IDL.Text, }); + const ManagedLedgerSuite = IDL.Record({ + 'token_symbol' : IDL.Text, + 'ledger' : IDL.Opt(ManagedCanisterStatus), + 'index' : IDL.Opt(ManagedCanisterStatus), + 'archives' : IDL.Vec(IDL.Principal), + }); const LedgerSuiteVersion = IDL.Record({ 'archive_compressed_wasm_hash' : IDL.Text, 'ledger_compressed_wasm_hash' : IDL.Text, @@ -99,6 +116,7 @@ export const idlFactory = ({ IDL }) => { const OrchestratorInfo = IDL.Record({ 'cycles_management' : CyclesManagement, 'managed_canisters' : IDL.Vec(ManagedCanisters), + 'managed_pre_existing_ledger_suites' : IDL.Opt(IDL.Vec(ManagedLedgerSuite)), 'more_controller_ids' : IDL.Vec(IDL.Principal), 'ledger_suite_version' : IDL.Opt(LedgerSuiteVersion), 'minter_id' : IDL.Opt(IDL.Principal), @@ -114,6 +132,16 @@ export const idlFactory = ({ IDL }) => { }); }; export const init = ({ IDL }) => { + const InstalledCanister = IDL.Record({ + 'canister_id' : IDL.Principal, + 'installed_wasm_hash' : IDL.Text, + }); + const InstalledLedgerSuite = IDL.Record({ + 'token_symbol' : IDL.Text, + 'ledger' : InstalledCanister, + 'index' : InstalledCanister, + 'archives' : IDL.Opt(IDL.Vec(IDL.Principal)), + }); const UpdateCyclesManagement = IDL.Record({ 'cycles_top_up_increment' : IDL.Opt(IDL.Nat), 'cycles_for_ledger_creation' : IDL.Opt(IDL.Nat), @@ -121,6 +149,7 @@ export const init = ({ IDL }) => { 'cycles_for_index_creation' : IDL.Opt(IDL.Nat), }); const UpgradeArg = IDL.Record({ + 'manage_ledger_suites' : IDL.Opt(IDL.Vec(InstalledLedgerSuite)), 'cycles_management' : IDL.Opt(UpdateCyclesManagement), 'archive_compressed_wasm_hash' : IDL.Opt(IDL.Text), 'git_commit_hash' : IDL.Opt(IDL.Text), diff --git a/packages/cketh/src/orchestrator.canister.spec.ts b/packages/cketh/src/orchestrator.canister.spec.ts index 9ee7fbeb..8ca6347d 100644 --- a/packages/cketh/src/orchestrator.canister.spec.ts +++ b/packages/cketh/src/orchestrator.canister.spec.ts @@ -48,6 +48,8 @@ describe("ckETH orchestrator canister", () => { }, }; + const mockCanisterId = Principal.from("yfumr-cyaaa-aaaar-qaela-cai"); + const orchestratorInfoMock: OrchestratorInfo = { minter_id: [minterCanisterIdMock], more_controller_ids: [], @@ -65,6 +67,16 @@ describe("ckETH orchestrator canister", () => { index_compressed_wasm_hash: "efgdh", }, ], + managed_pre_existing_ledger_suites: [ + [ + { + token_symbol: "def", + ledger: [{ Created: { canister_id: mockCanisterId } }], + index: [{ Created: { canister_id: mockCanisterId } }], + archives: [mockCanisterId], + }, + ], + ], }; const service = mock>(); diff --git a/packages/cmc/candid/cmc.certified.idl.js b/packages/cmc/candid/cmc.certified.idl.js index b27411a8..631d99e0 100644 --- a/packages/cmc/candid/cmc.certified.idl.js +++ b/packages/cmc/candid/cmc.certified.idl.js @@ -42,10 +42,6 @@ export const idlFactory = ({ IDL }) => { 'create_error' : IDL.Text, 'refund_amount' : IDL.Nat, }), - 'RefundFailed' : IDL.Record({ - 'create_error' : IDL.Text, - 'refund_error' : IDL.Text, - }), }); const CreateCanisterResult = IDL.Variant({ 'Ok' : IDL.Principal, diff --git a/packages/cmc/candid/cmc.d.ts b/packages/cmc/candid/cmc.d.ts index f37868f1..9fd91d51 100644 --- a/packages/cmc/candid/cmc.d.ts +++ b/packages/cmc/candid/cmc.d.ts @@ -19,11 +19,9 @@ export interface CreateCanisterArg { settings: [] | [CanisterSettings]; subnet_type: [] | [string]; } -export type CreateCanisterError = - | { - Refunded: { create_error: string; refund_amount: bigint }; - } - | { RefundFailed: { create_error: string; refund_error: string } }; +export type CreateCanisterError = { + Refunded: { create_error: string; refund_amount: bigint }; +}; export type CreateCanisterResult = | { Ok: Principal } | { Err: CreateCanisterError }; diff --git a/packages/cmc/candid/cmc.did b/packages/cmc/candid/cmc.did index 26e38459..c27e623c 100644 --- a/packages/cmc/candid/cmc.did +++ b/packages/cmc/candid/cmc.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/nns/cmc/cmc.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/nns/cmc/cmc.did' by import-candid type Cycles = nat; type BlockIndex = nat64; type log_visibility = variant { @@ -87,13 +87,6 @@ type CreateCanisterError = variant { // The reason why creating a canister failed. create_error : text; }; - RefundFailed : record { - // The reason why creating a canister failed. - create_error : text; - - // The reason why refunding cycles failed. - refund_error : text; - }; }; type NotifyError = variant { diff --git a/packages/cmc/candid/cmc.idl.js b/packages/cmc/candid/cmc.idl.js index 4d071125..8bfd4f8f 100644 --- a/packages/cmc/candid/cmc.idl.js +++ b/packages/cmc/candid/cmc.idl.js @@ -42,10 +42,6 @@ export const idlFactory = ({ IDL }) => { 'create_error' : IDL.Text, 'refund_amount' : IDL.Nat, }), - 'RefundFailed' : IDL.Record({ - 'create_error' : IDL.Text, - 'refund_error' : IDL.Text, - }), }); const CreateCanisterResult = IDL.Variant({ 'Ok' : IDL.Principal, diff --git a/packages/ledger-icp/candid/index.did b/packages/ledger-icp/candid/index.did index c1dde218..78d1a58b 100644 --- a/packages/ledger-icp/candid/index.did +++ b/packages/ledger-icp/candid/index.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/rosetta-api/icp_ledger/index/index.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/rosetta-api/icp_ledger/index/index.did' by import-candid type Account = record { owner : principal; subaccount : opt vec nat8 }; type GetAccountIdentifierTransactionsArgs = record { max_results : nat64; diff --git a/packages/ledger-icp/candid/ledger.did b/packages/ledger-icp/candid/ledger.did index ac62b0af..c0bc59bb 100644 --- a/packages/ledger-icp/candid/ledger.did +++ b/packages/ledger-icp/candid/ledger.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/rosetta-api/icp_ledger/ledger.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/rosetta-api/icp_ledger/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. diff --git a/packages/ledger-icrc/candid/icrc_index-ng.did b/packages/ledger-icrc/candid/icrc_index-ng.did index 10d409db..37741c95 100644 --- a/packages/ledger-icrc/candid/icrc_index-ng.did +++ b/packages/ledger-icrc/candid/icrc_index-ng.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/rosetta-api/icrc1/index-ng/index-ng.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/rosetta-api/icrc1/index-ng/index-ng.did' by import-candid type Tokens = nat; type InitArg = record { diff --git a/packages/ledger-icrc/candid/icrc_index.did b/packages/ledger-icrc/candid/icrc_index.did index 6db3377a..89f8074b 100644 --- a/packages/ledger-icrc/candid/icrc_index.did +++ b/packages/ledger-icrc/candid/icrc_index.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/rosetta-api/icrc1/index/index.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/rosetta-api/icrc1/index/index.did' by import-candid type TxId = nat; type Account = record { owner : principal; subaccount : opt blob }; diff --git a/packages/ledger-icrc/candid/icrc_ledger.did b/packages/ledger-icrc/candid/icrc_ledger.did index 0928937b..0b70a2fd 100644 --- a/packages/ledger-icrc/candid/icrc_ledger.did +++ b/packages/ledger-icrc/candid/icrc_ledger.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/rosetta-api/icrc1/ledger/ledger.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/rosetta-api/icrc1/ledger/ledger.did' by import-candid type BlockIndex = nat; type Subaccount = blob; // Number of nanoseconds since the UNIX epoch in UTC timezone. diff --git a/packages/nns/candid/genesis_token.did b/packages/nns/candid/genesis_token.did index 0fba5063..a9996cdc 100644 --- a/packages/nns/candid/genesis_token.did +++ b/packages/nns/candid/genesis_token.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/nns/gtc/canister/gtc.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/nns/gtc/canister/gtc.did' by import-candid type AccountState = record { authenticated_principal_id : opt principal; successfully_transferred_neurons : vec TransferredNeuron; diff --git a/packages/nns/candid/governance.did b/packages/nns/candid/governance.did index b5c3745b..790dacba 100644 --- a/packages/nns/candid/governance.did +++ b/packages/nns/candid/governance.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/nns/governance/canister/governance.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/nns/governance/canister/governance.did' by import-candid type AccountIdentifier = record { hash : blob; }; diff --git a/packages/nns/candid/governance_test.did b/packages/nns/candid/governance_test.did index 2dfb3763..cc4ce26c 100644 --- a/packages/nns/candid/governance_test.did +++ b/packages/nns/candid/governance_test.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/nns/governance/canister/governance_test.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/nns/governance/canister/governance_test.did' by import-candid type AccountIdentifier = record { hash : blob; }; diff --git a/packages/nns/candid/sns_wasm.did b/packages/nns/candid/sns_wasm.did index a0f7fa67..5c6d44c8 100644 --- a/packages/nns/candid/sns_wasm.did +++ b/packages/nns/candid/sns_wasm.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid type AddWasmRequest = record { hash : blob; wasm : opt SnsWasm; diff --git a/packages/sns/candid/sns_governance.did b/packages/sns/candid/sns_governance.did index ee0fe159..296860ab 100644 --- a/packages/sns/candid/sns_governance.did +++ b/packages/sns/candid/sns_governance.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/sns/governance/canister/governance.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/sns/governance/canister/governance.did' by import-candid type Account = record { owner : opt principal; subaccount : opt Subaccount; diff --git a/packages/sns/candid/sns_governance_test.did b/packages/sns/candid/sns_governance_test.did index 063d2571..adced23b 100644 --- a/packages/sns/candid/sns_governance_test.did +++ b/packages/sns/candid/sns_governance_test.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/sns/governance/canister/governance_test.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/sns/governance/canister/governance_test.did' by import-candid type Account = record { owner : opt principal; subaccount : opt Subaccount; diff --git a/packages/sns/candid/sns_root.did b/packages/sns/candid/sns_root.did index 2f10f648..1edc08f8 100644 --- a/packages/sns/candid/sns_root.did +++ b/packages/sns/candid/sns_root.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/sns/root/canister/root.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/sns/root/canister/root.did' by import-candid type CanisterCallError = record { code : opt int32; description : text; diff --git a/packages/sns/candid/sns_swap.did b/packages/sns/candid/sns_swap.did index feebf2bd..c8ea5e25 100644 --- a/packages/sns/candid/sns_swap.did +++ b/packages/sns/candid/sns_swap.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit 843e71b (2024-08-14 tags: release-2024-09-06_01-30-canister-snapshots) 'rs/sns/swap/canister/swap.did' by import-candid +// Generated from IC repo commit afe1a18 (2024-09-11 tags: release-2024-09-12_01-30-base) 'rs/sns/swap/canister/swap.did' by import-candid type BuyerState = record { icp : opt TransferableAmount; has_created_neuron_recipes : opt bool;