/** * 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; /** * The argument types for the ImmutableArrayContract contract */ export type ImmutableArrayContractArgs = { /** * The object representation of the arguments for each method */ obj: { 'test_uint64_array()void': Record; 'test_biguint_array()void': Record; 'test_bool_array(uint64)void': { length: bigint | number; }; 'test_fixed_size_tuple_array()void': Record; 'test_fixed_size_named_tuple_array()void': Record; 'test_dynamic_sized_tuple_array()void': Record; 'test_dynamic_sized_named_tuple_array()void': Record; 'test_implicit_conversion_log(uint64[])void': { arr: bigint[] | number[]; }; 'test_implicit_conversion_emit(uint64[])void': { arr: bigint[] | number[]; }; 'test_nested_array(uint64,uint64[][])uint64[]': { arrToAdd: bigint | number; arr: bigint[] | number[][]; }; 'test_bit_packed_tuples()void': Record; 'sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)': { arr1: bigint[] | number[]; arr2: boolean[]; arr3: [bigint | number, boolean, boolean][]; arr4: [bigint | number, string][]; }; 'test_uint64_return(uint64)uint64[]': { append: bigint | number; }; 'test_bool_return(uint64)bool[]': { append: bigint | number; }; 'test_tuple_return(uint64)(uint64,bool,bool)[]': { append: bigint | number; }; 'test_dynamic_tuple_return(uint64)(uint64,string)[]': { append: bigint | number; }; 'test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]': { arr: [bigint | number, boolean, boolean][]; append: bigint | number; }; 'test_concat_with_arc4_tuple((uint64,uint64))uint64[]': { arg: [bigint | number, bigint | number]; }; 'test_concat_with_native_tuple((uint64,uint64))uint64[]': { arg: [bigint | number, bigint | number]; }; 'test_dynamic_concat_with_arc4_tuple((string,string))string[]': { arg: [string, string]; }; 'test_dynamic_concat_with_native_tuple((string,string))string[]': { arg: [string, string]; }; 'test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]': { imm1: [bigint | number, string][]; imm2: [bigint | number, string][]; }; 'test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]': { imm: [bigint | number, bigint | number][]; }; 'test_imm_fixed_arr()(uint64,uint64)[3]': Record; }; /** * The tuple representation of the arguments for each method */ tuple: { 'test_uint64_array()void': []; 'test_biguint_array()void': []; 'test_bool_array(uint64)void': [length: bigint | number]; 'test_fixed_size_tuple_array()void': []; 'test_fixed_size_named_tuple_array()void': []; 'test_dynamic_sized_tuple_array()void': []; 'test_dynamic_sized_named_tuple_array()void': []; 'test_implicit_conversion_log(uint64[])void': [arr: bigint[] | number[]]; 'test_implicit_conversion_emit(uint64[])void': [arr: bigint[] | number[]]; 'test_nested_array(uint64,uint64[][])uint64[]': [arrToAdd: bigint | number, arr: bigint[] | number[][]]; 'test_bit_packed_tuples()void': []; 'sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)': [arr1: bigint[] | number[], arr2: boolean[], arr3: [bigint | number, boolean, boolean][], arr4: [bigint | number, string][]]; 'test_uint64_return(uint64)uint64[]': [append: bigint | number]; 'test_bool_return(uint64)bool[]': [append: bigint | number]; 'test_tuple_return(uint64)(uint64,bool,bool)[]': [append: bigint | number]; 'test_dynamic_tuple_return(uint64)(uint64,string)[]': [append: bigint | number]; 'test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]': [arr: [bigint | number, boolean, boolean][], append: bigint | number]; 'test_concat_with_arc4_tuple((uint64,uint64))uint64[]': [arg: [bigint | number, bigint | number]]; 'test_concat_with_native_tuple((uint64,uint64))uint64[]': [arg: [bigint | number, bigint | number]]; 'test_dynamic_concat_with_arc4_tuple((string,string))string[]': [arg: [string, string]]; 'test_dynamic_concat_with_native_tuple((string,string))string[]': [arg: [string, string]]; 'test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]': [imm1: [bigint | number, string][], imm2: [bigint | number, string][]]; 'test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]': [imm: [bigint | number, bigint | number][]]; 'test_imm_fixed_arr()(uint64,uint64)[3]': []; }; }; /** * The return type for each method */ export type ImmutableArrayContractReturns = { 'test_uint64_array()void': void; 'test_biguint_array()void': void; 'test_bool_array(uint64)void': void; 'test_fixed_size_tuple_array()void': void; 'test_fixed_size_named_tuple_array()void': void; 'test_dynamic_sized_tuple_array()void': void; 'test_dynamic_sized_named_tuple_array()void': void; 'test_implicit_conversion_log(uint64[])void': void; 'test_implicit_conversion_emit(uint64[])void': void; 'test_nested_array(uint64,uint64[][])uint64[]': bigint[]; 'test_bit_packed_tuples()void': void; 'sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)': [bigint, bigint, bigint, bigint]; 'test_uint64_return(uint64)uint64[]': bigint[]; 'test_bool_return(uint64)bool[]': boolean[]; 'test_tuple_return(uint64)(uint64,bool,bool)[]': [bigint, boolean, boolean][]; 'test_dynamic_tuple_return(uint64)(uint64,string)[]': [bigint, string][]; 'test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]': [bigint, boolean, boolean][]; 'test_concat_with_arc4_tuple((uint64,uint64))uint64[]': bigint[]; 'test_concat_with_native_tuple((uint64,uint64))uint64[]': bigint[]; 'test_dynamic_concat_with_arc4_tuple((string,string))string[]': string[]; 'test_dynamic_concat_with_native_tuple((string,string))string[]': string[]; 'test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]': [bigint, string][]; 'test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]': [bigint, bigint][]; 'test_imm_fixed_arr()(uint64,uint64)[3]': [[bigint, bigint], [bigint, bigint], [bigint, bigint]]; }; /** * Defines the types of available calls and state of the ImmutableArrayContract smart contract. */ export type ImmutableArrayContractTypes = { /** * Maps method signatures / names to their argument and return types. */ methods: Record<'test_uint64_array()void' | 'test_uint64_array', { argsObj: ImmutableArrayContractArgs['obj']['test_uint64_array()void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_uint64_array()void']; returns: ImmutableArrayContractReturns['test_uint64_array()void']; }> & Record<'test_biguint_array()void' | 'test_biguint_array', { argsObj: ImmutableArrayContractArgs['obj']['test_biguint_array()void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_biguint_array()void']; returns: ImmutableArrayContractReturns['test_biguint_array()void']; }> & Record<'test_bool_array(uint64)void' | 'test_bool_array', { argsObj: ImmutableArrayContractArgs['obj']['test_bool_array(uint64)void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_bool_array(uint64)void']; returns: ImmutableArrayContractReturns['test_bool_array(uint64)void']; }> & Record<'test_fixed_size_tuple_array()void' | 'test_fixed_size_tuple_array', { argsObj: ImmutableArrayContractArgs['obj']['test_fixed_size_tuple_array()void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_fixed_size_tuple_array()void']; returns: ImmutableArrayContractReturns['test_fixed_size_tuple_array()void']; }> & Record<'test_fixed_size_named_tuple_array()void' | 'test_fixed_size_named_tuple_array', { argsObj: ImmutableArrayContractArgs['obj']['test_fixed_size_named_tuple_array()void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_fixed_size_named_tuple_array()void']; returns: ImmutableArrayContractReturns['test_fixed_size_named_tuple_array()void']; }> & Record<'test_dynamic_sized_tuple_array()void' | 'test_dynamic_sized_tuple_array', { argsObj: ImmutableArrayContractArgs['obj']['test_dynamic_sized_tuple_array()void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_dynamic_sized_tuple_array()void']; returns: ImmutableArrayContractReturns['test_dynamic_sized_tuple_array()void']; }> & Record<'test_dynamic_sized_named_tuple_array()void' | 'test_dynamic_sized_named_tuple_array', { argsObj: ImmutableArrayContractArgs['obj']['test_dynamic_sized_named_tuple_array()void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_dynamic_sized_named_tuple_array()void']; returns: ImmutableArrayContractReturns['test_dynamic_sized_named_tuple_array()void']; }> & Record<'test_implicit_conversion_log(uint64[])void' | 'test_implicit_conversion_log', { argsObj: ImmutableArrayContractArgs['obj']['test_implicit_conversion_log(uint64[])void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_implicit_conversion_log(uint64[])void']; returns: ImmutableArrayContractReturns['test_implicit_conversion_log(uint64[])void']; }> & Record<'test_implicit_conversion_emit(uint64[])void' | 'test_implicit_conversion_emit', { argsObj: ImmutableArrayContractArgs['obj']['test_implicit_conversion_emit(uint64[])void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_implicit_conversion_emit(uint64[])void']; returns: ImmutableArrayContractReturns['test_implicit_conversion_emit(uint64[])void']; }> & Record<'test_nested_array(uint64,uint64[][])uint64[]' | 'test_nested_array', { argsObj: ImmutableArrayContractArgs['obj']['test_nested_array(uint64,uint64[][])uint64[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_nested_array(uint64,uint64[][])uint64[]']; returns: ImmutableArrayContractReturns['test_nested_array(uint64,uint64[][])uint64[]']; }> & Record<'test_bit_packed_tuples()void' | 'test_bit_packed_tuples', { argsObj: ImmutableArrayContractArgs['obj']['test_bit_packed_tuples()void']; argsTuple: ImmutableArrayContractArgs['tuple']['test_bit_packed_tuples()void']; returns: ImmutableArrayContractReturns['test_bit_packed_tuples()void']; }> & Record<'sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)' | 'sum_uints_and_lengths_and_trues', { argsObj: ImmutableArrayContractArgs['obj']['sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)']; argsTuple: ImmutableArrayContractArgs['tuple']['sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)']; returns: ImmutableArrayContractReturns['sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)']; }> & Record<'test_uint64_return(uint64)uint64[]' | 'test_uint64_return', { argsObj: ImmutableArrayContractArgs['obj']['test_uint64_return(uint64)uint64[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_uint64_return(uint64)uint64[]']; returns: ImmutableArrayContractReturns['test_uint64_return(uint64)uint64[]']; }> & Record<'test_bool_return(uint64)bool[]' | 'test_bool_return', { argsObj: ImmutableArrayContractArgs['obj']['test_bool_return(uint64)bool[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_bool_return(uint64)bool[]']; returns: ImmutableArrayContractReturns['test_bool_return(uint64)bool[]']; }> & Record<'test_tuple_return(uint64)(uint64,bool,bool)[]' | 'test_tuple_return', { argsObj: ImmutableArrayContractArgs['obj']['test_tuple_return(uint64)(uint64,bool,bool)[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_tuple_return(uint64)(uint64,bool,bool)[]']; returns: ImmutableArrayContractReturns['test_tuple_return(uint64)(uint64,bool,bool)[]']; }> & Record<'test_dynamic_tuple_return(uint64)(uint64,string)[]' | 'test_dynamic_tuple_return', { argsObj: ImmutableArrayContractArgs['obj']['test_dynamic_tuple_return(uint64)(uint64,string)[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_dynamic_tuple_return(uint64)(uint64,string)[]']; returns: ImmutableArrayContractReturns['test_dynamic_tuple_return(uint64)(uint64,string)[]']; }> & Record<'test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]' | 'test_convert_to_array_and_back', { argsObj: ImmutableArrayContractArgs['obj']['test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]']; returns: ImmutableArrayContractReturns['test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]']; }> & Record<'test_concat_with_arc4_tuple((uint64,uint64))uint64[]' | 'test_concat_with_arc4_tuple', { argsObj: ImmutableArrayContractArgs['obj']['test_concat_with_arc4_tuple((uint64,uint64))uint64[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_concat_with_arc4_tuple((uint64,uint64))uint64[]']; returns: ImmutableArrayContractReturns['test_concat_with_arc4_tuple((uint64,uint64))uint64[]']; }> & Record<'test_concat_with_native_tuple((uint64,uint64))uint64[]' | 'test_concat_with_native_tuple', { argsObj: ImmutableArrayContractArgs['obj']['test_concat_with_native_tuple((uint64,uint64))uint64[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_concat_with_native_tuple((uint64,uint64))uint64[]']; returns: ImmutableArrayContractReturns['test_concat_with_native_tuple((uint64,uint64))uint64[]']; }> & Record<'test_dynamic_concat_with_arc4_tuple((string,string))string[]' | 'test_dynamic_concat_with_arc4_tuple', { argsObj: ImmutableArrayContractArgs['obj']['test_dynamic_concat_with_arc4_tuple((string,string))string[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_dynamic_concat_with_arc4_tuple((string,string))string[]']; returns: ImmutableArrayContractReturns['test_dynamic_concat_with_arc4_tuple((string,string))string[]']; }> & Record<'test_dynamic_concat_with_native_tuple((string,string))string[]' | 'test_dynamic_concat_with_native_tuple', { argsObj: ImmutableArrayContractArgs['obj']['test_dynamic_concat_with_native_tuple((string,string))string[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_dynamic_concat_with_native_tuple((string,string))string[]']; returns: ImmutableArrayContractReturns['test_dynamic_concat_with_native_tuple((string,string))string[]']; }> & Record<'test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]' | 'test_concat_immutable_dynamic', { argsObj: ImmutableArrayContractArgs['obj']['test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]']; returns: ImmutableArrayContractReturns['test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]']; }> & Record<'test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]' | 'test_immutable_arc4', { argsObj: ImmutableArrayContractArgs['obj']['test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]']; returns: ImmutableArrayContractReturns['test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]']; }> & Record<'test_imm_fixed_arr()(uint64,uint64)[3]' | 'test_imm_fixed_arr', { argsObj: ImmutableArrayContractArgs['obj']['test_imm_fixed_arr()(uint64,uint64)[3]']; argsTuple: ImmutableArrayContractArgs['tuple']['test_imm_fixed_arr()(uint64,uint64)[3]']; returns: ImmutableArrayContractReturns['test_imm_fixed_arr()(uint64,uint64)[3]']; }>; /** * Defines the shape of the state of the application. */ state: { global: { keys: { a: bigint[]; g: boolean[]; c: [bigint, bigint][]; d: [bigint, boolean, boolean][]; e: [bigint, Uint8Array][]; f: [bigint, string][]; bool2: [boolean, boolean][]; bool7: [bigint, boolean, boolean, boolean, boolean, boolean, boolean, boolean, bigint][]; bool8: [bigint, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, bigint][]; bool9: [bigint, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, bigint][]; immFixedArr: [[bigint, bigint], [bigint, bigint], [bigint, bigint]]; }; maps: {}; }; }; }; /** * Defines the possible abi call signatures. */ export type ImmutableArrayContractSignatures = keyof ImmutableArrayContractTypes['methods']; /** * Defines the possible abi call signatures for methods that return a non-void value. */ export type ImmutableArrayContractNonVoidMethodSignatures = keyof ImmutableArrayContractTypes['methods'] extends infer T ? T extends keyof ImmutableArrayContractTypes['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 ImmutableArrayContract smart contract to the method's arguments in either tuple or struct form */ export type MethodArgs = ImmutableArrayContractTypes['methods'][TSignature]['argsObj' | 'argsTuple']; /** * Maps a method signature from the ImmutableArrayContract smart contract to the method's return type */ export type MethodReturn = ImmutableArrayContractTypes['methods'][TSignature]['returns']; /** * Defines the shape of the keyed global state of the application. */ export type GlobalKeysState = ImmutableArrayContractTypes['state']['global']['keys']; /** * Exposes methods for constructing `AppClient` params objects for ABI calls to the ImmutableArrayContract smart contract */ export declare abstract class ImmutableArrayContractParamsFactory { /** * Constructs a no op call for the test_uint64_array()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testUint64Array(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_biguint_array()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testBiguintArray(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_bool_array(uint64)void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testBoolArray(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_fixed_size_tuple_array()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testFixedSizeTupleArray(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_fixed_size_named_tuple_array()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testFixedSizeNamedTupleArray(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_dynamic_sized_tuple_array()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testDynamicSizedTupleArray(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_dynamic_sized_named_tuple_array()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testDynamicSizedNamedTupleArray(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_implicit_conversion_log(uint64[])void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testImplicitConversionLog(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_implicit_conversion_emit(uint64[])void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testImplicitConversionEmit(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_nested_array(uint64,uint64[][])uint64[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testNestedArray(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_bit_packed_tuples()void ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testBitPackedTuples(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64) ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static sumUintsAndLengthsAndTrues(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_uint64_return(uint64)uint64[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testUint64Return(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_bool_return(uint64)bool[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testBoolReturn(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_tuple_return(uint64)(uint64,bool,bool)[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testTupleReturn(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_dynamic_tuple_return(uint64)(uint64,string)[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testDynamicTupleReturn(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testConvertToArrayAndBack(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_concat_with_arc4_tuple((uint64,uint64))uint64[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testConcatWithArc4Tuple(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_concat_with_native_tuple((uint64,uint64))uint64[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testConcatWithNativeTuple(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_dynamic_concat_with_arc4_tuple((string,string))string[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testDynamicConcatWithArc4Tuple(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_dynamic_concat_with_native_tuple((string,string))string[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testDynamicConcatWithNativeTuple(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testConcatImmutableDynamic(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testImmutableArc4(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; /** * Constructs a no op call for the test_imm_fixed_arr()(uint64,uint64)[3] ABI method * * @param params Parameters for the call * @returns An `AppClientMethodCallParams` object for the call */ static testImmFixedArr(params: CallParams & CallOnComplete): AppClientMethodCallParams & CallOnComplete; } /** * A client to make calls to the ImmutableArrayContract smart contract */ export declare class ImmutableArrayContractClient { /** * The underlying `AppClient` for when you want to have more flexibility */ readonly appClient: _AppClient; /** * Creates a new instance of `ImmutableArrayContractClient` * * @param appClient An `AppClient` instance which has been created with the ImmutableArrayContract app spec */ constructor(appClient: _AppClient); /** * Creates a new instance of `ImmutableArrayContractClient` * * @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 `ImmutableArrayContractClient` 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 `ImmutableArrayContractClient` 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 ImmutableArrayContract 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 ImmutableArrayContract smart contract using the `test_uint64_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testUint64Array: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_biguint_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testBiguintArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bool_array(uint64)void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testBoolArray: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_fixed_size_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testFixedSizeTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_fixed_size_named_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testFixedSizeNamedTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_sized_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testDynamicSizedTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_sized_named_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testDynamicSizedNamedTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_implicit_conversion_log(uint64[])void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testImplicitConversionLog: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_implicit_conversion_emit(uint64[])void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testImplicitConversionEmit: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_nested_array(uint64,uint64[][])uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testNestedArray: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bit_packed_tuples()void` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testBitPackedTuples: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call params */ sumUintsAndLengthsAndTrues: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_uint64_return(uint64)uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testUint64Return: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bool_return(uint64)bool[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testBoolReturn: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_tuple_return(uint64)(uint64,bool,bool)[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testTupleReturn: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_tuple_return(uint64)(uint64,string)[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testDynamicTupleReturn: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testConvertToArrayAndBack: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_with_arc4_tuple((uint64,uint64))uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testConcatWithArc4Tuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_with_native_tuple((uint64,uint64))uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testConcatWithNativeTuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_concat_with_arc4_tuple((string,string))string[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testDynamicConcatWithArc4Tuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_concat_with_native_tuple((string,string))string[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testDynamicConcatWithNativeTuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testConcatImmutableDynamic: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testImmutableArc4: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_imm_fixed_arr()(uint64,uint64)[3]` ABI method. * * @param params The params for the smart contract call * @returns The call params */ testImmFixedArr: (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 ImmutableArrayContract smart contract. * * @param params The params for the bare (raw) call * @returns The clearState result */ clearState: (params?: Expand) => Promise; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_uint64_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testUint64Array: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_biguint_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testBiguintArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bool_array(uint64)void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testBoolArray: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_fixed_size_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testFixedSizeTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_fixed_size_named_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testFixedSizeNamedTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_sized_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testDynamicSizedTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_sized_named_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testDynamicSizedNamedTupleArray: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_implicit_conversion_log(uint64[])void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testImplicitConversionLog: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_implicit_conversion_emit(uint64[])void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testImplicitConversionEmit: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_nested_array(uint64,uint64[][])uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testNestedArray: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bit_packed_tuples()void` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testBitPackedTuples: (params?: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ sumUintsAndLengthsAndTrues: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_uint64_return(uint64)uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testUint64Return: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bool_return(uint64)bool[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testBoolReturn: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_tuple_return(uint64)(uint64,bool,bool)[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testTupleReturn: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_tuple_return(uint64)(uint64,string)[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testDynamicTupleReturn: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testConvertToArrayAndBack: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_with_arc4_tuple((uint64,uint64))uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testConcatWithArc4Tuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_with_native_tuple((uint64,uint64))uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testConcatWithNativeTuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_concat_with_arc4_tuple((string,string))string[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testDynamicConcatWithArc4Tuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_concat_with_native_tuple((string,string))string[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testDynamicConcatWithNativeTuple: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testConcatImmutableDynamic: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testImmutableArc4: (params: CallParams & { onComplete?: OnApplicationComplete.NoOpOC; }) => Promise<{ transactions: Transaction[]; methodCalls: Map; signers: Map; }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_imm_fixed_arr()(uint64,uint64)[3]` ABI method. * * @param params The params for the smart contract call * @returns The call transaction */ testImmFixedArr: (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 ImmutableArrayContract 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 ImmutableArrayContract smart contract using the `test_uint64_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testUint64Array: (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 | ImmutableArrayContractReturns['test_uint64_array()void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_biguint_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testBiguintArray: (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 | ImmutableArrayContractReturns['test_biguint_array()void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bool_array(uint64)void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testBoolArray: (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 | ImmutableArrayContractReturns['test_bool_array(uint64)void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_fixed_size_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testFixedSizeTupleArray: (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 | ImmutableArrayContractReturns['test_fixed_size_tuple_array()void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_fixed_size_named_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testFixedSizeNamedTupleArray: (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 | ImmutableArrayContractReturns['test_fixed_size_named_tuple_array()void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_sized_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testDynamicSizedTupleArray: (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 | ImmutableArrayContractReturns['test_dynamic_sized_tuple_array()void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_sized_named_tuple_array()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testDynamicSizedNamedTupleArray: (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 | ImmutableArrayContractReturns['test_dynamic_sized_named_tuple_array()void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_implicit_conversion_log(uint64[])void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testImplicitConversionLog: (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 | ImmutableArrayContractReturns['test_implicit_conversion_log(uint64[])void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_implicit_conversion_emit(uint64[])void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testImplicitConversionEmit: (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 | ImmutableArrayContractReturns['test_implicit_conversion_emit(uint64[])void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_nested_array(uint64,uint64[][])uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testNestedArray: (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 | ImmutableArrayContractReturns['test_nested_array(uint64,uint64[][])uint64[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bit_packed_tuples()void` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testBitPackedTuples: (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 | ImmutableArrayContractReturns['test_bit_packed_tuples()void']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)` ABI method. * * @param params The params for the smart contract call * @returns The call result */ sumUintsAndLengthsAndTrues: (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 | ImmutableArrayContractReturns['sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_uint64_return(uint64)uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testUint64Return: (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 | ImmutableArrayContractReturns['test_uint64_return(uint64)uint64[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_bool_return(uint64)bool[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testBoolReturn: (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 | ImmutableArrayContractReturns['test_bool_return(uint64)bool[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_tuple_return(uint64)(uint64,bool,bool)[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testTupleReturn: (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 | ImmutableArrayContractReturns['test_tuple_return(uint64)(uint64,bool,bool)[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_tuple_return(uint64)(uint64,string)[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testDynamicTupleReturn: (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 | ImmutableArrayContractReturns['test_dynamic_tuple_return(uint64)(uint64,string)[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testConvertToArrayAndBack: (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 | ImmutableArrayContractReturns['test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_with_arc4_tuple((uint64,uint64))uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testConcatWithArc4Tuple: (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 | ImmutableArrayContractReturns['test_concat_with_arc4_tuple((uint64,uint64))uint64[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_with_native_tuple((uint64,uint64))uint64[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testConcatWithNativeTuple: (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 | ImmutableArrayContractReturns['test_concat_with_native_tuple((uint64,uint64))uint64[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_concat_with_arc4_tuple((string,string))string[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testDynamicConcatWithArc4Tuple: (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 | ImmutableArrayContractReturns['test_dynamic_concat_with_arc4_tuple((string,string))string[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_dynamic_concat_with_native_tuple((string,string))string[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testDynamicConcatWithNativeTuple: (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 | ImmutableArrayContractReturns['test_dynamic_concat_with_native_tuple((string,string))string[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testConcatImmutableDynamic: (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 | ImmutableArrayContractReturns['test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testImmutableArc4: (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 | ImmutableArrayContractReturns['test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]']); }>; /** * Makes a call to the ImmutableArrayContract smart contract using the `test_imm_fixed_arr()(uint64,uint64)[3]` ABI method. * * @param params The params for the smart contract call * @returns The call result */ testImmFixedArr: (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 | ImmutableArrayContractReturns['test_imm_fixed_arr()(uint64,uint64)[3]']); }>; }; /** * 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): ImmutableArrayContractClient; /** * Methods to access state for the current ImmutableArrayContract app */ state: { /** * Methods to access global state for the current ImmutableArrayContract app */ global: { /** * Get all current keyed values from global state */ getAll: () => Promise>>; /** * Get the current value of the a key in global state */ a: () => Promise; /** * Get the current value of the g key in global state */ g: () => Promise; /** * Get the current value of the c key in global state */ c: () => Promise<[bigint, bigint][] | undefined>; /** * Get the current value of the d key in global state */ d: () => Promise<[bigint, boolean, boolean][] | undefined>; /** * Get the current value of the e key in global state */ e: () => Promise<[bigint, Uint8Array][] | undefined>; /** * Get the current value of the f key in global state */ f: () => Promise<[bigint, string][] | undefined>; /** * Get the current value of the bool2 key in global state */ bool2: () => Promise<[boolean, boolean][] | undefined>; /** * Get the current value of the bool7 key in global state */ bool7: () => Promise<[bigint, boolean, boolean, boolean, boolean, boolean, boolean, boolean, bigint][] | undefined>; /** * Get the current value of the bool8 key in global state */ bool8: () => Promise<[bigint, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, bigint][] | undefined>; /** * Get the current value of the bool9 key in global state */ bool9: () => Promise<[bigint, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, bigint][] | undefined>; /** * Get the current value of the imm_fixed_arr key in global state */ immFixedArr: () => Promise<[[bigint, bigint], [bigint, bigint], [bigint, bigint]] | undefined>; }; }; newGroup(): ImmutableArrayContractComposer; } export type ImmutableArrayContractComposer = { /** * Calls the test_uint64_array()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 */ testUint64Array(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_uint64_array()void'] | undefined]>; /** * Calls the test_biguint_array()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 */ testBiguintArray(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_biguint_array()void'] | undefined]>; /** * Calls the test_bool_array(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 */ testBoolArray(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_bool_array(uint64)void'] | undefined]>; /** * Calls the test_fixed_size_tuple_array()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 */ testFixedSizeTupleArray(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_fixed_size_tuple_array()void'] | undefined]>; /** * Calls the test_fixed_size_named_tuple_array()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 */ testFixedSizeNamedTupleArray(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_fixed_size_named_tuple_array()void'] | undefined]>; /** * Calls the test_dynamic_sized_tuple_array()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 */ testDynamicSizedTupleArray(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_dynamic_sized_tuple_array()void'] | undefined]>; /** * Calls the test_dynamic_sized_named_tuple_array()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 */ testDynamicSizedNamedTupleArray(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_dynamic_sized_named_tuple_array()void'] | undefined]>; /** * Calls the test_implicit_conversion_log(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 */ testImplicitConversionLog(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_implicit_conversion_log(uint64[])void'] | undefined]>; /** * Calls the test_implicit_conversion_emit(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 */ testImplicitConversionEmit(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_implicit_conversion_emit(uint64[])void'] | undefined]>; /** * Calls the test_nested_array(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 */ testNestedArray(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_nested_array(uint64,uint64[][])uint64[]'] | undefined]>; /** * Calls the test_bit_packed_tuples()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 */ testBitPackedTuples(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_bit_packed_tuples()void'] | undefined]>; /** * Calls the sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(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 */ sumUintsAndLengthsAndTrues(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['sum_uints_and_lengths_and_trues(uint64[],bool[],(uint64,bool,bool)[],(uint64,string)[])(uint64,uint64,uint64,uint64)'] | undefined]>; /** * Calls the test_uint64_return(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 */ testUint64Return(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_uint64_return(uint64)uint64[]'] | undefined]>; /** * Calls the test_bool_return(uint64)bool[] 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 */ testBoolReturn(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_bool_return(uint64)bool[]'] | undefined]>; /** * Calls the test_tuple_return(uint64)(uint64,bool,bool)[] 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 */ testTupleReturn(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_tuple_return(uint64)(uint64,bool,bool)[]'] | undefined]>; /** * Calls the test_dynamic_tuple_return(uint64)(uint64,string)[] 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 */ testDynamicTupleReturn(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_dynamic_tuple_return(uint64)(uint64,string)[]'] | undefined]>; /** * Calls the test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[] 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 */ testConvertToArrayAndBack(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_convert_to_array_and_back((uint64,bool,bool)[],uint64)(uint64,bool,bool)[]'] | undefined]>; /** * Calls the test_concat_with_arc4_tuple((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 */ testConcatWithArc4Tuple(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_concat_with_arc4_tuple((uint64,uint64))uint64[]'] | undefined]>; /** * Calls the test_concat_with_native_tuple((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 */ testConcatWithNativeTuple(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_concat_with_native_tuple((uint64,uint64))uint64[]'] | undefined]>; /** * Calls the test_dynamic_concat_with_arc4_tuple((string,string))string[] 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 */ testDynamicConcatWithArc4Tuple(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_dynamic_concat_with_arc4_tuple((string,string))string[]'] | undefined]>; /** * Calls the test_dynamic_concat_with_native_tuple((string,string))string[] 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 */ testDynamicConcatWithNativeTuple(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_dynamic_concat_with_native_tuple((string,string))string[]'] | undefined]>; /** * Calls the test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[] 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 */ testConcatImmutableDynamic(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_concat_immutable_dynamic((uint64,string)[],(uint64,string)[])(uint64,string)[]'] | undefined]>; /** * Calls the test_immutable_arc4((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 */ testImmutableArc4(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_immutable_arc4((uint64,uint64)[])(uint64,uint64)[]'] | undefined]>; /** * Calls the test_imm_fixed_arr()(uint64,uint64)[3] 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 */ testImmFixedArr(params?: CallParams): ImmutableArrayContractComposer<[...TReturns, ImmutableArrayContractReturns['test_imm_fixed_arr()(uint64,uint64)[3]'] | undefined]>; /** * Makes a clear_state call to an existing instance of the ImmutableArrayContract 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): ImmutableArrayContractComposer<[...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): ImmutableArrayContractComposer; /** * 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 ImmutableArrayContractComposerResults = Expand;