diff --git a/packages/ckbtc/candid/minter.d.ts b/packages/ckbtc/candid/minter.d.ts index 5b19d6e98..c29c7b125 100644 --- a/packages/ckbtc/candid/minter.d.ts +++ b/packages/ckbtc/candid/minter.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -304,3 +305,5 @@ export interface _SERVICE { { Ok: Array } | { Err: UpdateBalanceError } >; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/cketh/candid/minter.d.ts b/packages/cketh/candid/minter.d.ts index c97e53e7b..d2b44d203 100644 --- a/packages/cketh/candid/minter.d.ts +++ b/packages/cketh/candid/minter.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface AddCkErc20Token { @@ -237,3 +238,5 @@ export interface _SERVICE { { Ok: RetrieveEthRequest } | { Err: WithdrawalError } >; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/cmc/candid/cmc.d.ts b/packages/cmc/candid/cmc.d.ts index bd45c44f9..0d58843f6 100644 --- a/packages/cmc/candid/cmc.d.ts +++ b/packages/cmc/candid/cmc.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export type AccountIdentifier = string; @@ -114,3 +115,5 @@ export interface _SERVICE { >; notify_top_up: ActorMethod<[NotifyTopUpArg], NotifyTopUpResult>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/ic-management/candid/ic-management.d.ts b/packages/ic-management/candid/ic-management.d.ts index 1c1e5529b..e0d269134 100644 --- a/packages/ic-management/candid/ic-management.d.ts +++ b/packages/ic-management/candid/ic-management.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export type bitcoin_address = string; @@ -313,3 +314,5 @@ export interface _SERVICE { update_settings: ActorMethod<[update_settings_args], undefined>; upload_chunk: ActorMethod<[upload_chunk_args], upload_chunk_result>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/ledger-icp/candid/index.d.ts b/packages/ledger-icp/candid/index.d.ts index 8dbefb65e..b653cc564 100644 --- a/packages/ledger-icp/candid/index.d.ts +++ b/packages/ledger-icp/candid/index.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -110,3 +111,5 @@ export interface _SERVICE { ledger_id: ActorMethod<[], Principal>; status: ActorMethod<[], Status>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/ledger-icp/candid/ledger.d.ts b/packages/ledger-icp/candid/ledger.d.ts index 4cd0772b5..356d3c265 100644 --- a/packages/ledger-icp/candid/ledger.d.ts +++ b/packages/ledger-icp/candid/ledger.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -298,3 +299,5 @@ export interface _SERVICE { transfer: ActorMethod<[TransferArgs], TransferResult>; transfer_fee: ActorMethod<[TransferFeeArg], TransferFee>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/ledger-icrc/candid/icrc_index-ng.d.ts b/packages/ledger-icrc/candid/icrc_index-ng.d.ts index bcbc04fd3..76a272194 100644 --- a/packages/ledger-icrc/candid/icrc_index-ng.d.ts +++ b/packages/ledger-icrc/candid/icrc_index-ng.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -115,3 +116,5 @@ export interface _SERVICE { list_subaccounts: ActorMethod<[ListSubaccountsArgs], Array>; status: ActorMethod<[], Status>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/ledger-icrc/candid/icrc_index.d.ts b/packages/ledger-icrc/candid/icrc_index.d.ts index 33e4d9038..e054269fd 100644 --- a/packages/ledger-icrc/candid/icrc_index.d.ts +++ b/packages/ledger-icrc/candid/icrc_index.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -81,3 +82,5 @@ export interface _SERVICE { ledger_id: ActorMethod<[], Principal>; list_subaccounts: ActorMethod<[ListSubaccountsArgs], Array>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/ledger-icrc/candid/icrc_ledger.d.ts b/packages/ledger-icrc/candid/icrc_ledger.d.ts index ab0f2347b..f812acd46 100644 --- a/packages/ledger-icrc/candid/icrc_ledger.d.ts +++ b/packages/ledger-icrc/candid/icrc_ledger.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -267,3 +268,5 @@ export interface _SERVICE { icrc2_approve: ActorMethod<[ApproveArgs], ApproveResult>; icrc2_transfer_from: ActorMethod<[TransferFromArgs], TransferFromResult>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/nns/candid/genesis_token.d.ts b/packages/nns/candid/genesis_token.d.ts index 7f18ded4b..ac5aa02e4 100644 --- a/packages/nns/candid/genesis_token.d.ts +++ b/packages/nns/candid/genesis_token.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface AccountState { @@ -33,3 +34,5 @@ export interface _SERVICE { len: ActorMethod<[], number>; total: ActorMethod<[], number>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/nns/candid/governance.d.ts b/packages/nns/candid/governance.d.ts index 0f8410375..a49023267 100644 --- a/packages/nns/candid/governance.d.ts +++ b/packages/nns/candid/governance.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface AccountIdentifier { @@ -791,3 +792,5 @@ export interface _SERVICE { transfer_gtc_neuron: ActorMethod<[NeuronId, NeuronId], Result>; update_node_provider: ActorMethod<[UpdateNodeProvider], Result>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/nns/candid/governance_test.d.ts b/packages/nns/candid/governance_test.d.ts index 893182fec..c0b58b109 100644 --- a/packages/nns/candid/governance_test.d.ts +++ b/packages/nns/candid/governance_test.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface AccountIdentifier { @@ -792,3 +793,5 @@ export interface _SERVICE { update_neuron: ActorMethod<[Neuron], [] | [GovernanceError]>; update_node_provider: ActorMethod<[UpdateNodeProvider], Result>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/nns/candid/sns_wasm.d.ts b/packages/nns/candid/sns_wasm.d.ts index 0a84318a3..498ba1fc2 100644 --- a/packages/nns/candid/sns_wasm.d.ts +++ b/packages/nns/candid/sns_wasm.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface AddWasmRequest { @@ -288,3 +289,5 @@ export interface _SERVICE { UpdateSnsSubnetListResponse >; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/sns/candid/sns_governance.d.ts b/packages/sns/candid/sns_governance.d.ts index f8b444723..d4d0f9d5c 100644 --- a/packages/sns/candid/sns_governance.d.ts +++ b/packages/sns/candid/sns_governance.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -552,3 +553,5 @@ export interface _SERVICE { manage_neuron: ActorMethod<[ManageNeuron], ManageNeuronResponse>; set_mode: ActorMethod<[SetMode], {}>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/sns/candid/sns_governance_test.d.ts b/packages/sns/candid/sns_governance_test.d.ts index ee32ce169..a2137b5c9 100644 --- a/packages/sns/candid/sns_governance_test.d.ts +++ b/packages/sns/candid/sns_governance_test.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface Account { @@ -566,3 +567,5 @@ export interface _SERVICE { set_mode: ActorMethod<[SetMode], {}>; update_neuron: ActorMethod<[Neuron], [] | [GovernanceError]>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/sns/candid/sns_root.d.ts b/packages/sns/candid/sns_root.d.ts index a10744dc8..711a9ecd1 100644 --- a/packages/sns/candid/sns_root.d.ts +++ b/packages/sns/candid/sns_root.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface CanisterCallError { @@ -118,3 +119,5 @@ export interface _SERVICE { SetDappControllersResponse >; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/sns/candid/sns_swap.d.ts b/packages/sns/candid/sns_swap.d.ts index a1fb94b71..c12f173eb 100644 --- a/packages/sns/candid/sns_swap.d.ts +++ b/packages/sns/candid/sns_swap.d.ts @@ -1,4 +1,5 @@ import type { ActorMethod } from "@dfinity/agent"; +import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; export interface BuyerState { @@ -395,3 +396,5 @@ export interface _SERVICE { >; restore_dapp_controllers: ActorMethod<[{}], SetDappControllersCallResult>; } +export declare const idlFactory: IDL.InterfaceFactory; +export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];