/** * This file was automatically generated by @algorandfoundation/algokit-client-generator. * DO NOT MODIFY IT BY HAND. * requires: @algorandfoundation/algokit-utils: ^7 */ import { type AlgorandClient } from '@algorandfoundation/algokit-utils/types/algorand-client'; import { ABIReturn } from '@algorandfoundation/algokit-utils/types/app'; import { Arc56Contract } from '@algorandfoundation/algokit-utils/types/app-arc56'; import { AppClient as _AppClient, AppClientMethodCallParams, AppClientParams, AppClientBareCallParams, CallOnComplete, ResolveAppClientByCreatorAndName, ResolveAppClientByNetwork, CloneAppClientParams } from '@algorandfoundation/algokit-utils/types/app-client'; import { TransactionComposer, AppCallMethodCall, RawSimulateOptions, SkipSignaturesSimulateOptions } from '@algorandfoundation/algokit-utils/types/composer'; import { SendParams, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction'; import { Address, modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk'; export declare const APP_SPEC: Arc56Contract; /** * A state record containing binary data */ export interface BinaryState { /** * Gets the state value as a Uint8Array */ asByteArray(): Uint8Array | undefined; /** * Gets the state value as a string */ asString(): string | undefined; } /** * Expands types for IntelliSense so they are more human readable * See https://stackoverflow.com/a/69288824 */ export type Expand = T extends (...args: infer A) => infer R ? (...args: Expand) => Expand : T extends infer O ? { [K in keyof O]: O[K]; } : never; export type Child = { foo: bigint; bar: bigint; }; /** * Converts the ABI tuple representation of a Child to the struct representation */ export declare function ChildFromTuple(abiTuple: [bigint, bigint]): Child; export type GrandParent = { a: bigint; arr: [bigint, [bigint, bigint], bigint][]; b: bigint; }; /** * Converts the ABI tuple representation of a GrandParent to the struct representation */ export declare function GrandParentFromTuple(abiTuple: [bigint, [bigint, [bigint, bigint], bigint][], bigint]): GrandParent; export type Parent = { baz: bigint; simple: Child; buz: bigint; }; /** * Converts the ABI tuple representation of a Parent to the struct representation */ export declare function ParentFromTuple(abiTuple: [bigint, [bigint, bigint], bigint]): Parent; export type StructWithNestedArray = { nested: GrandParent; padding: Uint8Array[]; }; /** * Converts the ABI tuple representation of a StructWithNestedArray to the struct representation */ export declare function StructWithNestedArrayFromTuple(abiTuple: [[bigint, [bigint, [bigint, bigint], bigint][], bigint], Uint8Array[]]): StructWithNestedArray; /** * The argument types for the NestedArrayUInt64 contract */ export type NestedArrayUInt64Args = { /** * The object representation of the arguments for each method */ obj: { 'bootstrap()void': Record; 'append((uint64,(uint64,uint64),uint64))void': { value: Parent; }; 'concat((uint64,(uint64,uint64),uint64)[])void': { array: [bigint | number, [bigint | number, bigint | number], bigint | number][]; }; 'pop()(uint64,(uint64,uint64),uint64)': Record; 'get(uint64)(uint64,(uint64,uint64),uint64)': { idx: bigint | number; }; 'set(uint64,(uint64,(uint64,uint64),uint64))void': { idx: bigint | number; value: Parent; }; 'verify((uint64,(uint64,uint64),uint64)[])void': { expected: [bigint | number, [bigint | number, bigint | number], bigint | number][]; }; }; /** * The tuple representation of the arguments for each method */ tuple: { 'bootstrap()void': []; 'append((uint64,(uint64,uint64),uint64))void': [value: Parent]; 'concat((uint64,(uint64,uint64),uint64)[])void': [array: [bigint | number, [bigint | number, bigint | number], bigint | number][]]; 'pop()(uint64,(uint64,uint64),uint64)': []; 'get(uint64)(uint64,(uint64,uint64),uint64)': [idx: bigint | number]; 'set(uint64,(uint64,(uint64,uint64),uint64))void': [idx: bigint | number, value: Parent]; 'verify((uint64,(uint64,uint64),uint64)[])void': [expected: [bigint | number, [bigint | number, bigint | number], bigint | number][]]; }; }; /** * The return type for each method */ export type NestedArrayUInt64Returns = { 'bootstrap()void': void; 'append((uint64,(uint64,uint64),uint64))void': void; 'concat((uint64,(uint64,uint64),uint64)[])void': void; 'pop()(uint64,(uint64,uint64),uint64)': Parent; 'get(uint64)(uint64,(uint64,uint64),uint64)': Parent; 'set(uint64,(uint64,(uint64,uint64),uint64))void': void; 'verify((uint64,(uint64,uint64),uint64)[])void': void; }; /** * Defines the types of available calls and state of the NestedArrayUInt64 smart contract. */ export type NestedArrayUInt64Types = { /** * Maps method signatures / names to their argument and return types. */ methods: Record<'bootstrap()void' | 'bootstrap', { argsObj: NestedArrayUInt64Args['obj']['bootstrap()void']; argsTuple: NestedArrayUInt64Args['tuple']['bootstrap()void']; returns: NestedArrayUInt64Returns['bootstrap()void']; }> & Record<'append((uint64,(uint64,uint64),uint64))void' | 'append', { argsObj: NestedArrayUInt64Args['obj']['append((uint64,(uint64,uint64),uint64))void']; argsTuple: NestedArrayUInt64Args['tuple']['append((uint64,(uint64,uint64),uint64))void']; returns: NestedArrayUInt64Returns['append((uint64,(uint64,uint64),uint64))void']; }> & Record<'concat((uint64,(uint64,uint64),uint64)[])void' | 'concat', { argsObj: NestedArrayUInt64Args['obj']['concat((uint64,(uint64,uint64),uint64)[])void']; argsTuple: NestedArrayUInt64Args['tuple']['concat((uint64,(uint64,uint64),uint64)[])void']; returns: NestedArrayUInt64Returns['concat((uint64,(uint64,uint64),uint64)[])void']; }> & Record<'pop()(uint64,(uint64,uint64),uint64)' | 'pop', { argsObj: NestedArrayUInt64Args['obj']['pop()(uint64,(uint64,uint64),uint64)']; argsTuple: NestedArrayUInt64Args['tuple']['pop()(uint64,(uint64,uint64),uint64)']; returns: NestedArrayUInt64Returns['pop()(uint64,(uint64,uint64),uint64)']; }> & Record<'get(uint64)(uint64,(uint64,uint64),uint64)' | 'get', { argsObj: NestedArrayUInt64Args['obj']['get(uint64)(uint64,(uint64,uint64),uint64)']; argsTuple: NestedArrayUInt64Args['tuple']['get(uint64)(uint64,(uint64,uint64),uint64)']; returns: NestedArrayUInt64Returns['get(uint64)(uint64,(uint64,uint64),uint64)']; }> & Record<'set(uint64,(uint64,(uint64,uint64),uint64))void' | 'set', { argsObj: NestedArrayUInt64Args['obj']['set(uint64,(uint64,(uint64,uint64),uint64))void']; argsTuple: NestedArrayUInt64Args['tuple']['set(uint64,(uint64,(uint64,uint64),uint64))void']; returns: NestedArrayUInt64Returns['set(uint64,(uint64,(uint64,uint64),uint64))void']; }> & Record<'verify((uint64,(uint64,uint64),uint64)[])void' | 'verify', { argsObj: NestedArrayUInt64Args['obj']['verify((uint64,(uint64,uint64),uint64)[])void']; argsTuple: NestedArrayUInt64Args['tuple']['verify((uint64,(uint64,uint64),uint64)[])void']; returns: NestedArrayUInt64Returns['verify((uint64,(uint64,uint64),uint64)[])void']; }>; /** * Defines the shape of the state of the application. */ state: { box: { keys: { box: StructWithNestedArray; }; maps: {}; }; }; }; /** * Defines the possible abi call signatures. */ export type NestedArrayUInt64Signatures = keyof NestedArrayUInt64Types['methods']; /** * Defines the possible abi call signatures for methods that return a non-void value. */ export type NestedArrayUInt64NonVoidMethodSignatures = keyof NestedArrayUInt64Types['methods'] extends infer T ? T extends keyof NestedArrayUInt64Types['methods'] ? MethodReturn extends void ? never : T : never : never; /** * Defines an object containing all relevant parameters for a single call to the contract. */ export type CallParams = Expand & { /** The args for the ABI method call, either as an ordered array or an object */ args: Expand; }>; /** * Maps a method signature from the NestedArrayUInt64 smart contract to the method's arguments in either tuple or struct form */ export type MethodArgs = NestedArrayUInt64Types['methods'][TSignature]['argsObj' | 'argsTuple']; /** * Maps a method signature from the NestedArrayUInt64 smart contract to the method's return type */ export type MethodReturn = NestedArrayUInt64Types['methods'][TSignature]['returns']; /** * Defines the shape of the keyed box state of the application. */ export type BoxKeysState = NestedArrayUInt64Types['state']['box']['keys']; /** * Exposes methods for constructing `AppClient` params objects for ABI calls to the NestedArrayUInt64 smart contract */ export declare abstract class NestedArrayUInt64ParamsFactory { /** * Constructs a no op call for the bootstrap()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static bootstrap(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the append((uint64,(uint64,uint64),uint64))void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static append(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the concat((uint64,(uint64,uint64),uint64)[])void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static concat(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the pop()(uint64,(uint64,uint64),uint64) ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static pop(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the get(uint64)(uint64,(uint64,uint64),uint64) ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static get(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the set(uint64,(uint64,(uint64,uint64),uint64))void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static set(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the verify((uint64,(uint64,uint64),uint64)[])void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static verify(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; } /** * A client to make calls to the NestedArrayUInt64 smart contract */ export declare class NestedArrayUInt64Client { /** * The underlying `AppClient` for when you want to have more flexibility */ readonly appClient: _AppClient; /** * Creates a new instance of `NestedArrayUInt64Client` * * @param appClient An `AppClient` instance which has been created with the NestedArrayUInt64 app spec */ constructor(appClient: _AppClient); /** * Creates a new instance of `NestedArrayUInt64Client` * * @param params The parameters to initialise the app client with */ constructor(params: Omit); /** * Checks for decode errors on the given return value and maps the return value to the return type for the given method * @returns The typed return value or undefined if there was no value */ decodeReturnValue(method: TSignature, returnValue: ABIReturn | undefined): MethodReturn; /** * Returns a new `NestedArrayUInt64Client` client, resolving the app by creator address and name * using AlgoKit app deployment semantics (i.e. looking for the app creation transaction note). * @param params The parameters to create the app client */ static fromCreatorAndName(params: Omit): Promise; /** * Returns an `NestedArrayUInt64Client` instance for the current network based on * pre-determined network-specific app IDs specified in the ARC-56 app spec. * * If no IDs are in the app spec or the network isn't recognised, an error is thrown. * @param params The parameters to create the app client */ static fromNetwork(params: Omit): Promise; /** The ID of the app instance this client is linked to. */ get appId(): bigint; /** The app address of the app instance this client is linked to. */ get appAddress(): Address; /** The name of the app. */ get appName(): string; /** The ARC-56 app spec being used */ get appSpec(): Arc56Contract; /** A reference to the underlying `AlgorandClient` this app client is using. */ get algorand(): AlgorandClient; /** * Get parameters to create transactions for the current app. A good mental model for this is that these parameters represent a deferred transaction creation. */ readonly params: { /** * Makes a clear_state call to an existing instance of the NestedArrayUInt64 smart contract. * * @param params The params for the bare (raw) call * @returns The clearState result */ clearState: (params?: Expand) => import("@algorandfoundation/algokit-utils/types/composer").AppCallParams; /** * Makes a call to the NestedArrayUInt64 smart contract using the `bootstrap()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ bootstrap: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the NestedArrayUInt64 smart contract using the `append((uint64,(uint64,uint64),uint64))void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ append: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the NestedArrayUInt64 smart contract using the `concat((uint64,(uint64,uint64),uint64)[])void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ concat: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the NestedArrayUInt64 smart contract using the `pop()(uint64,(uint64,uint64),uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call params */ pop: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the NestedArrayUInt64 smart contract using the `get(uint64)(uint64,(uint64,uint64),uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call params */ get: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the NestedArrayUInt64 smart contract using the `set(uint64,(uint64,(uint64,uint64),uint64))void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ set: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the NestedArrayUInt64 smart contract using the `verify((uint64,(uint64,uint64),uint64)[])void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ verify: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; }; /** * Create transactions for the current app */ readonly createTransaction: { /** * Makes a clear_state call to an existing instance of the NestedArrayUInt64 smart contract. * * @param params The params for the bare (raw) call * @returns The clearState result */ clearState: (params?: Expand) => Promise; /** * Makes a call to the NestedArrayUInt64 smart contract using the `bootstrap()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ bootstrap: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `append((uint64,(uint64,uint64),uint64))void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ append: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `concat((uint64,(uint64,uint64),uint64)[])void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ concat: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `pop()(uint64,(uint64,uint64),uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ pop: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `get(uint64)(uint64,(uint64,uint64),uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ get: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `set(uint64,(uint64,(uint64,uint64),uint64))void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ set: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `verify((uint64,(uint64,uint64),uint64)[])void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ verify: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; }; /** * Send calls to the current app */ readonly send: { /** * Makes a clear_state call to an existing instance of the NestedArrayUInt64 smart contract. * * @param params The params for the bare (raw) call * @returns The clearState result */ clearState: (params?: Expand) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return?: ABIReturn | undefined; }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `bootstrap()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ bootstrap: (params?: CallParams & SendParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return: (undefined | NestedArrayUInt64Returns['bootstrap()void']); }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `append((uint64,(uint64,uint64),uint64))void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ append: (params: CallParams & SendParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return: (undefined | NestedArrayUInt64Returns['append((uint64,(uint64,uint64),uint64))void']); }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `concat((uint64,(uint64,uint64),uint64)[])void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ concat: (params: CallParams & SendParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return: (undefined | NestedArrayUInt64Returns['concat((uint64,(uint64,uint64),uint64)[])void']); }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `pop()(uint64,(uint64,uint64),uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call result */ pop: (params?: CallParams & SendParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return: (undefined | NestedArrayUInt64Returns['pop()(uint64,(uint64,uint64),uint64)']); }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `get(uint64)(uint64,(uint64,uint64),uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call result */ get: (params: CallParams & SendParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return: (undefined | NestedArrayUInt64Returns['get(uint64)(uint64,(uint64,uint64),uint64)']); }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `set(uint64,(uint64,(uint64,uint64),uint64))void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ set: (params: CallParams & SendParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return: (undefined | NestedArrayUInt64Returns['set(uint64,(uint64,(uint64,uint64),uint64))void']); }>; /** * Makes a call to the NestedArrayUInt64 smart contract using the `verify((uint64,(uint64,uint64),uint64)[])void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ verify: (params: CallParams & SendParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ groupId: string; txIds: string[]; returns?: ABIReturn[] | undefined; confirmations: modelsv2.PendingTransactionResponse[]; transactions: Transaction[]; confirmation: modelsv2.PendingTransactionResponse; transaction: Transaction; return: (undefined | NestedArrayUInt64Returns['verify((uint64,(uint64,uint64),uint64)[])void']); }>; }; /** * Clone this app client with different params * * @param params The params to use for the the cloned app client. Omit a param to keep the original value. Set a param to override the original value. Setting to undefined will clear the original value. * @returns A new app client with the altered params */ clone(params: CloneAppClientParams): NestedArrayUInt64Client; /** * Methods to access state for the current NestedArrayUInt64 app */ state: { /** * Methods to access box state for the current NestedArrayUInt64 app */ box: { /** * Get all current keyed values from box state */ getAll: () => Promise>>; /** * Get the current value of the box key in box state */ box: () => Promise; }; }; newGroup(): NestedArrayUInt64Composer; } export type NestedArrayUInt64Composer = { /** * Calls the bootstrap()void ABI method. * * @param args The arguments for the contract call * @param params Any additional parameters for the call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ bootstrap(params?: CallParams): NestedArrayUInt64Composer<[...TReturns, NestedArrayUInt64Returns['bootstrap()void'] | undefined]>; /** * Calls the append((uint64,(uint64,uint64),uint64))void ABI method. * * @param args The arguments for the contract call * @param params Any additional parameters for the call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ append(params?: CallParams): NestedArrayUInt64Composer<[...TReturns, NestedArrayUInt64Returns['append((uint64,(uint64,uint64),uint64))void'] | undefined]>; /** * Calls the concat((uint64,(uint64,uint64),uint64)[])void ABI method. * * @param args The arguments for the contract call * @param params Any additional parameters for the call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ concat(params?: CallParams): NestedArrayUInt64Composer<[...TReturns, NestedArrayUInt64Returns['concat((uint64,(uint64,uint64),uint64)[])void'] | undefined]>; /** * Calls the pop()(uint64,(uint64,uint64),uint64) ABI method. * * @param args The arguments for the contract call * @param params Any additional parameters for the call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ pop(params?: CallParams): NestedArrayUInt64Composer<[...TReturns, NestedArrayUInt64Returns['pop()(uint64,(uint64,uint64),uint64)'] | undefined]>; /** * Calls the get(uint64)(uint64,(uint64,uint64),uint64) ABI method. * * @param args The arguments for the contract call * @param params Any additional parameters for the call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ get(params?: CallParams): NestedArrayUInt64Composer<[...TReturns, NestedArrayUInt64Returns['get(uint64)(uint64,(uint64,uint64),uint64)'] | undefined]>; /** * Calls the set(uint64,(uint64,(uint64,uint64),uint64))void ABI method. * * @param args The arguments for the contract call * @param params Any additional parameters for the call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ set(params?: CallParams): NestedArrayUInt64Composer<[...TReturns, NestedArrayUInt64Returns['set(uint64,(uint64,(uint64,uint64),uint64))void'] | undefined]>; /** * Calls the verify((uint64,(uint64,uint64),uint64)[])void ABI method. * * @param args The arguments for the contract call * @param params Any additional parameters for the call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ verify(params?: CallParams): NestedArrayUInt64Composer<[...TReturns, NestedArrayUInt64Returns['verify((uint64,(uint64,uint64),uint64)[])void'] | undefined]>; /** * Makes a clear_state call to an existing instance of the NestedArrayUInt64 smart contract. * * @param args The arguments for the bare call * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions */ clearState(params?: AppClientBareCallParams): NestedArrayUInt64Composer<[...TReturns, undefined]>; /** * Adds a transaction to the composer * * @param txn A transaction to add to the transaction group * @param signer The optional signer to use when signing this transaction. */ addTransaction(txn: Transaction, signer?: TransactionSigner): NestedArrayUInt64Composer; /** * Returns the underlying AtomicTransactionComposer instance */ composer(): Promise; /** * Simulates the transaction group and returns the result */ simulate(): Promise & { simulateResponse: modelsv2.SimulateResponse; }>; simulate(options: SkipSignaturesSimulateOptions): Promise & { simulateResponse: modelsv2.SimulateResponse; }>; simulate(options: RawSimulateOptions): Promise & { simulateResponse: modelsv2.SimulateResponse; }>; /** * Sends the transaction group to the network and returns the results */ send(params?: SendParams): Promise>; }; export type NestedArrayUInt64ComposerResults = Expand;