Skip to content

Commit

Permalink
build: generate did files with didc v0.3.7
Browse files Browse the repository at this point in the history
Signed-off-by: David Dal Busco <[email protected]>
  • Loading branch information
peterpeterparker committed Apr 1, 2024
1 parent be5ccfe commit 69ffae2
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ckbtc/candid/minter.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -304,3 +305,5 @@ export interface _SERVICE {
{ Ok: Array<UtxoStatus> } | { Err: UpdateBalanceError }
>;
}
export declare const idlFactory: IDL.InterfaceFactory;
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
3 changes: 3 additions & 0 deletions packages/cketh/candid/minter.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/cmc/candid/cmc.d.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/ic-management/candid/ic-management.d.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/ledger-icp/candid/index.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/ledger-icp/candid/ledger.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/ledger-icrc/candid/icrc_index-ng.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -115,3 +116,5 @@ export interface _SERVICE {
list_subaccounts: ActorMethod<[ListSubaccountsArgs], Array<SubAccount>>;
status: ActorMethod<[], Status>;
}
export declare const idlFactory: IDL.InterfaceFactory;
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
3 changes: 3 additions & 0 deletions packages/ledger-icrc/candid/icrc_index.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -81,3 +82,5 @@ export interface _SERVICE {
ledger_id: ActorMethod<[], Principal>;
list_subaccounts: ActorMethod<[ListSubaccountsArgs], Array<SubAccount>>;
}
export declare const idlFactory: IDL.InterfaceFactory;
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
3 changes: 3 additions & 0 deletions packages/ledger-icrc/candid/icrc_ledger.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/nns/candid/genesis_token.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/nns/candid/governance.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/nns/candid/governance_test.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/nns/candid/sns_wasm.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -288,3 +289,5 @@ export interface _SERVICE {
UpdateSnsSubnetListResponse
>;
}
export declare const idlFactory: IDL.InterfaceFactory;
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
3 changes: 3 additions & 0 deletions packages/sns/candid/sns_governance.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/sns/candid/sns_governance_test.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];
3 changes: 3 additions & 0 deletions packages/sns/candid/sns_root.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -118,3 +119,5 @@ export interface _SERVICE {
SetDappControllersResponse
>;
}
export declare const idlFactory: IDL.InterfaceFactory;
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
3 changes: 3 additions & 0 deletions packages/sns/candid/sns_swap.d.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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[];

0 comments on commit 69ffae2

Please sign in to comment.