/* eslint-disable */ // @ts-nocheck // This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. import type { ActorMethod } from '@icp-sdk/core/agent'; import type { IDL } from '@icp-sdk/core/candid'; import type { Principal } from '@icp-sdk/core/principal'; export interface Account { 'owner' : Principal, 'subaccount' : [] | [Subaccount], } export type Subaccount = Uint8Array; export interface TransferArg { 'to' : Account, 'token_id' : bigint, 'memo' : [] | [Uint8Array], 'from_subaccount' : [] | [Uint8Array], 'created_at_time' : [] | [bigint], } export type TransferError = { 'GenericError' : { 'message' : string, 'error_code' : bigint } } | { 'Duplicate' : { 'duplicate_of' : bigint } } | { 'NonExistingTokenId' : null } | { 'Unauthorized' : null } | { 'CreatedInFuture' : { 'ledger_time' : bigint } } | { 'InvalidRecipient' : null } | { 'GenericBatchError' : { 'message' : string, 'error_code' : bigint } } | { 'TooOld' : null }; export type TransferResult = { 'Ok' : bigint } | { 'Err' : TransferError }; /** * Generic value in accordance with ICRC-3 */ export type Value = { 'Int' : bigint } | { 'Map' : Array<[string, Value]> } | { 'Nat' : bigint } | { 'Blob' : Uint8Array } | { 'Text' : string } | { 'Array' : Array }; export interface _SERVICE { 'icrc7_atomic_batch_transfers' : ActorMethod<[], [] | [boolean]>, 'icrc7_balance_of' : ActorMethod<[Array], Array>, 'icrc7_collection_metadata' : ActorMethod<[], Array<[string, Value]>>, 'icrc7_default_take_value' : ActorMethod<[], [] | [bigint]>, 'icrc7_description' : ActorMethod<[], [] | [string]>, 'icrc7_logo' : ActorMethod<[], [] | [string]>, 'icrc7_max_memo_size' : ActorMethod<[], [] | [bigint]>, 'icrc7_max_query_batch_size' : ActorMethod<[], [] | [bigint]>, 'icrc7_max_take_value' : ActorMethod<[], [] | [bigint]>, 'icrc7_max_update_batch_size' : ActorMethod<[], [] | [bigint]>, 'icrc7_name' : ActorMethod<[], string>, 'icrc7_owner_of' : ActorMethod<[Array], Array<[] | [Account]>>, 'icrc7_permitted_drift' : ActorMethod<[], [] | [bigint]>, 'icrc7_supply_cap' : ActorMethod<[], [] | [bigint]>, 'icrc7_symbol' : ActorMethod<[], string>, 'icrc7_token_metadata' : ActorMethod< [Array], Array<[] | [Array<[string, Value]>]> >, 'icrc7_tokens' : ActorMethod<[[] | [bigint], [] | [bigint]], Array>, 'icrc7_tokens_of' : ActorMethod< [Account, [] | [bigint], [] | [bigint]], Array >, 'icrc7_total_supply' : ActorMethod<[], bigint>, 'icrc7_transfer' : ActorMethod< [Array], Array<[] | [TransferResult]> >, 'icrc7_tx_window' : ActorMethod<[], [] | [bigint]>, } export declare const idlService: IDL.ServiceClass; export declare const idlInitArgs: IDL.Type[]; export declare const idlFactory: IDL.InterfaceFactory; export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];