abel-ghost-sdk 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2474 @@
1
+ /**
2
+ * This file was automatically generated by @algorandfoundation/algokit-client-generator.
3
+ * DO NOT MODIFY IT BY HAND.
4
+ * requires: @algorandfoundation/algokit-utils: ^7
5
+ */
6
+ import { type AlgorandClient } from '@algorandfoundation/algokit-utils/types/algorand-client';
7
+ import { ABIReturn } from '@algorandfoundation/algokit-utils/types/app';
8
+ import { Arc56Contract } from '@algorandfoundation/algokit-utils/types/app-arc56';
9
+ import { AppClient as _AppClient, AppClientMethodCallParams, AppClientParams, AppClientBareCallParams, CallOnComplete, AppClientCompilationParams, ResolveAppClientByCreatorAndName, ResolveAppClientByNetwork, CloneAppClientParams } from '@algorandfoundation/algokit-utils/types/app-client';
10
+ import { AppFactory as _AppFactory, AppFactoryAppClientParams, AppFactoryResolveAppClientByCreatorAndNameParams, AppFactoryDeployParams, AppFactoryParams, CreateSchema } from '@algorandfoundation/algokit-utils/types/app-factory';
11
+ import { TransactionComposer, AppCallMethodCall, AppMethodCallTransactionArgument, RawSimulateOptions, SkipSignaturesSimulateOptions } from '@algorandfoundation/algokit-utils/types/composer';
12
+ import { SendParams, SendAtomicTransactionComposerResults } from '@algorandfoundation/algokit-utils/types/transaction';
13
+ import { Address, modelsv2, OnApplicationComplete, Transaction, TransactionSigner } from 'algosdk';
14
+ export declare const APP_SPEC: Arc56Contract;
15
+ /**
16
+ * A state record containing binary data
17
+ */
18
+ export interface BinaryState {
19
+ /**
20
+ * Gets the state value as a Uint8Array
21
+ */
22
+ asByteArray(): Uint8Array | undefined;
23
+ /**
24
+ * Gets the state value as a string
25
+ */
26
+ asString(): string | undefined;
27
+ }
28
+ /**
29
+ * Expands types for IntelliSense so they are more human readable
30
+ * See https://stackoverflow.com/a/69288824
31
+ */
32
+ export type Expand<T> = T extends (...args: infer A) => infer R ? (...args: Expand<A>) => Expand<R> : T extends infer O ? {
33
+ [K in keyof O]: O[K];
34
+ } : never;
35
+ export type NodePoolAssignmentConfig = {
36
+ nodes: [[[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]]];
37
+ };
38
+ /**
39
+ * Converts the ABI tuple representation of a NodePoolAssignmentConfig to the struct representation
40
+ */
41
+ export declare function NodePoolAssignmentConfigFromTuple(abiTuple: [[[[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]]]]): NodePoolAssignmentConfig;
42
+ export type PoolInfo = {
43
+ poolAppId: bigint;
44
+ totalStakers: number;
45
+ totalAlgoStaked: bigint;
46
+ };
47
+ /**
48
+ * Converts the ABI tuple representation of a PoolInfo to the struct representation
49
+ */
50
+ export declare function PoolInfoFromTuple(abiTuple: [bigint, number, bigint]): PoolInfo;
51
+ export type ValidatorConfig = {
52
+ id: bigint;
53
+ owner: string;
54
+ manager: string;
55
+ nfdForInfo: bigint;
56
+ entryGatingType: number;
57
+ entryGatingAddress: string;
58
+ entryGatingAssets: [bigint, bigint, bigint, bigint];
59
+ gatingAssetMinBalance: bigint;
60
+ rewardTokenId: bigint;
61
+ rewardPerPayout: bigint;
62
+ epochRoundLength: number;
63
+ percentToValidator: number;
64
+ validatorCommissionAddress: string;
65
+ minEntryStake: bigint;
66
+ maxAlgoPerPool: bigint;
67
+ poolsPerNode: number;
68
+ sunsettingOn: bigint;
69
+ sunsettingTo: bigint;
70
+ };
71
+ /**
72
+ * Converts the ABI tuple representation of a ValidatorConfig to the struct representation
73
+ */
74
+ export declare function ValidatorConfigFromTuple(abiTuple: [bigint, string, string, bigint, number, string, [bigint, bigint, bigint, bigint], bigint, bigint, bigint, number, number, string, bigint, bigint, number, bigint, bigint]): ValidatorConfig;
75
+ export type ValidatorCurState = {
76
+ numPools: number;
77
+ totalStakers: bigint;
78
+ totalAlgoStaked: bigint;
79
+ rewardTokenHeldBack: bigint;
80
+ };
81
+ /**
82
+ * Converts the ABI tuple representation of a ValidatorCurState to the struct representation
83
+ */
84
+ export declare function ValidatorCurStateFromTuple(abiTuple: [number, bigint, bigint, bigint]): ValidatorCurState;
85
+ export type AllPoolInfo = {
86
+ config: ValidatorConfig;
87
+ state: ValidatorCurState;
88
+ poolInfo: [bigint, number, bigint][];
89
+ nodeAssignment: NodePoolAssignmentConfig;
90
+ };
91
+ /**
92
+ * Converts the ABI tuple representation of a AllPoolInfo to the struct representation
93
+ */
94
+ export declare function AllPoolInfoFromTuple(abiTuple: [[bigint, string, string, bigint, number, string, [bigint, bigint, bigint, bigint], bigint, bigint, bigint, number, number, string, bigint, bigint, number, bigint, bigint], [number, bigint, bigint, bigint], [bigint, number, bigint][], [[[[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]], [[bigint, bigint, bigint]]]]]): AllPoolInfo;
95
+ export type ValidatorPoolInfo = {
96
+ validatorId: bigint;
97
+ poolInfo: PoolInfo;
98
+ };
99
+ /**
100
+ * Converts the ABI tuple representation of a ValidatorPoolInfo to the struct representation
101
+ */
102
+ export declare function ValidatorPoolInfoFromTuple(abiTuple: [bigint, [bigint, number, bigint]]): ValidatorPoolInfo;
103
+ /**
104
+ * The argument types for the RetiReader contract
105
+ */
106
+ export type RetiReaderArgs = {
107
+ /**
108
+ * The object representation of the arguments for each method
109
+ */
110
+ obj: {
111
+ 'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)': {
112
+ registryAppId: bigint | number;
113
+ validatorIds: bigint[] | number[];
114
+ };
115
+ 'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)': {
116
+ registryAppId: bigint | number;
117
+ validatorIds: bigint[] | number[];
118
+ };
119
+ 'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))': {
120
+ registryAppId: bigint | number;
121
+ validatorIds: bigint[] | number[];
122
+ };
123
+ 'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])': {
124
+ registryAppId: bigint | number;
125
+ validatorIds: bigint[] | number[];
126
+ };
127
+ 'getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))': {
128
+ registryAppId: bigint | number;
129
+ validatorIds: bigint[] | number[];
130
+ };
131
+ 'getBlockTimestamps(uint64)uint64': {
132
+ num: bigint | number;
133
+ };
134
+ 'getAlgodVersion(uint64[])string': {
135
+ poolAppIds: bigint[] | number[];
136
+ };
137
+ };
138
+ /**
139
+ * The tuple representation of the arguments for each method
140
+ */
141
+ tuple: {
142
+ 'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
143
+ 'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
144
+ 'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
145
+ 'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
146
+ 'getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
147
+ 'getBlockTimestamps(uint64)uint64': [num: bigint | number];
148
+ 'getAlgodVersion(uint64[])string': [poolAppIds: bigint[] | number[]];
149
+ };
150
+ };
151
+ /**
152
+ * The return type for each method
153
+ */
154
+ export type RetiReaderReturns = {
155
+ 'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)': ValidatorConfig;
156
+ 'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)': ValidatorCurState;
157
+ 'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))': ValidatorPoolInfo;
158
+ 'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])': NodePoolAssignmentConfig;
159
+ 'getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))': AllPoolInfo;
160
+ 'getBlockTimestamps(uint64)uint64': bigint;
161
+ 'getAlgodVersion(uint64[])string': string;
162
+ };
163
+ /**
164
+ * Defines the types of available calls and state of the RetiReader smart contract.
165
+ */
166
+ export type RetiReaderTypes = {
167
+ /**
168
+ * Maps method signatures / names to their argument and return types.
169
+ */
170
+ methods: Record<'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)' | 'getValidatorConfig', {
171
+ argsObj: RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'];
172
+ argsTuple: RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'];
173
+ returns: RetiReaderReturns['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'];
174
+ }> & Record<'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)' | 'getValidatorStates', {
175
+ argsObj: RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'];
176
+ argsTuple: RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'];
177
+ returns: RetiReaderReturns['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'];
178
+ }> & Record<'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))' | 'getPools', {
179
+ argsObj: RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'];
180
+ argsTuple: RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'];
181
+ returns: RetiReaderReturns['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'];
182
+ }> & Record<'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])' | 'getNodePoolAssignments', {
183
+ argsObj: RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'];
184
+ argsTuple: RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'];
185
+ returns: RetiReaderReturns['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'];
186
+ }> & Record<'getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))' | 'getAllPoolInfo', {
187
+ argsObj: RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'];
188
+ argsTuple: RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'];
189
+ returns: RetiReaderReturns['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'];
190
+ }> & Record<'getBlockTimestamps(uint64)uint64' | 'getBlockTimestamps', {
191
+ argsObj: RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'];
192
+ argsTuple: RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64'];
193
+ returns: RetiReaderReturns['getBlockTimestamps(uint64)uint64'];
194
+ }> & Record<'getAlgodVersion(uint64[])string' | 'getAlgodVersion', {
195
+ argsObj: RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'];
196
+ argsTuple: RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string'];
197
+ returns: RetiReaderReturns['getAlgodVersion(uint64[])string'];
198
+ }>;
199
+ };
200
+ /**
201
+ * Defines the possible abi call signatures.
202
+ */
203
+ export type RetiReaderSignatures = keyof RetiReaderTypes['methods'];
204
+ /**
205
+ * Defines the possible abi call signatures for methods that return a non-void value.
206
+ */
207
+ export type RetiReaderNonVoidMethodSignatures = keyof RetiReaderTypes['methods'] extends infer T ? T extends keyof RetiReaderTypes['methods'] ? MethodReturn<T> extends void ? never : T : never : never;
208
+ /**
209
+ * Defines an object containing all relevant parameters for a single call to the contract.
210
+ */
211
+ export type CallParams<TArgs> = Expand<Omit<AppClientMethodCallParams, 'method' | 'args' | 'onComplete'> & {
212
+ /** The args for the ABI method call, either as an ordered array or an object */
213
+ args: Expand<TArgs>;
214
+ }>;
215
+ /**
216
+ * Maps a method signature from the RetiReader smart contract to the method's arguments in either tuple or struct form
217
+ */
218
+ export type MethodArgs<TSignature extends RetiReaderSignatures> = RetiReaderTypes['methods'][TSignature]['argsObj' | 'argsTuple'];
219
+ /**
220
+ * Maps a method signature from the RetiReader smart contract to the method's return type
221
+ */
222
+ export type MethodReturn<TSignature extends RetiReaderSignatures> = RetiReaderTypes['methods'][TSignature]['returns'];
223
+ /**
224
+ * Defines supported create method params for this smart contract
225
+ */
226
+ export type RetiReaderCreateCallParams = Expand<CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & {
227
+ method: 'getValidatorConfig';
228
+ } & {
229
+ onComplete?: OnApplicationComplete.NoOpOC;
230
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & {
231
+ method: 'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)';
232
+ } & {
233
+ onComplete?: OnApplicationComplete.NoOpOC;
234
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
235
+ method: 'getValidatorStates';
236
+ } & {
237
+ onComplete?: OnApplicationComplete.NoOpOC;
238
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
239
+ method: 'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)';
240
+ } & {
241
+ onComplete?: OnApplicationComplete.NoOpOC;
242
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
243
+ method: 'getPools';
244
+ } & {
245
+ onComplete?: OnApplicationComplete.NoOpOC;
246
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
247
+ method: 'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))';
248
+ } & {
249
+ onComplete?: OnApplicationComplete.NoOpOC;
250
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
251
+ method: 'getNodePoolAssignments';
252
+ } & {
253
+ onComplete?: OnApplicationComplete.NoOpOC;
254
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
255
+ method: 'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])';
256
+ } & {
257
+ onComplete?: OnApplicationComplete.NoOpOC;
258
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & {
259
+ method: 'getAllPoolInfo';
260
+ } & {
261
+ onComplete?: OnApplicationComplete.NoOpOC;
262
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & {
263
+ method: 'getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))';
264
+ } & {
265
+ onComplete?: OnApplicationComplete.NoOpOC;
266
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
267
+ method: 'getBlockTimestamps';
268
+ } & {
269
+ onComplete?: OnApplicationComplete.NoOpOC;
270
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
271
+ method: 'getBlockTimestamps(uint64)uint64';
272
+ } & {
273
+ onComplete?: OnApplicationComplete.NoOpOC;
274
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
275
+ method: 'getAlgodVersion';
276
+ } & {
277
+ onComplete?: OnApplicationComplete.NoOpOC;
278
+ } & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
279
+ method: 'getAlgodVersion(uint64[])string';
280
+ } & {
281
+ onComplete?: OnApplicationComplete.NoOpOC;
282
+ } & CreateSchema>;
283
+ /**
284
+ * Defines supported update method params for this smart contract
285
+ */
286
+ export type RetiReaderUpdateCallParams = Expand<AppClientBareCallParams> & {
287
+ method?: never;
288
+ };
289
+ /**
290
+ * Defines supported delete method params for this smart contract
291
+ */
292
+ export type RetiReaderDeleteCallParams = Expand<AppClientBareCallParams> & {
293
+ method?: never;
294
+ };
295
+ /**
296
+ * Defines arguments required for the deploy method.
297
+ */
298
+ export type RetiReaderDeployParams = Expand<Omit<AppFactoryDeployParams, 'createParams' | 'updateParams' | 'deleteParams'> & {
299
+ /**
300
+ * Create transaction parameters to use if a create needs to be issued as part of deployment; use `method` to define ABI call (if available) or leave out for a bare call (if available)
301
+ */
302
+ createParams?: RetiReaderCreateCallParams;
303
+ /**
304
+ * Update transaction parameters to use if a create needs to be issued as part of deployment; use `method` to define ABI call (if available) or leave out for a bare call (if available)
305
+ */
306
+ updateParams?: RetiReaderUpdateCallParams;
307
+ /**
308
+ * Delete transaction parameters to use if a create needs to be issued as part of deployment; use `method` to define ABI call (if available) or leave out for a bare call (if available)
309
+ */
310
+ deleteParams?: RetiReaderDeleteCallParams;
311
+ }>;
312
+ /**
313
+ * Exposes methods for constructing `AppClient` params objects for ABI calls to the RetiReader smart contract
314
+ */
315
+ export declare abstract class RetiReaderParamsFactory {
316
+ /**
317
+ * Gets available create ABI call param factories
318
+ */
319
+ static get create(): {
320
+ _resolveByMethod<TParams extends RetiReaderCreateCallParams & {
321
+ method: string;
322
+ }>(params: TParams): {
323
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
324
+ rekeyTo?: string | Address | undefined;
325
+ note?: string | Uint8Array | undefined;
326
+ lease?: string | Uint8Array | undefined;
327
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
328
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
329
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
330
+ validityWindow?: number | bigint | undefined;
331
+ firstValidRound?: bigint | undefined;
332
+ lastValidRound?: bigint | undefined;
333
+ onComplete?: OnApplicationComplete | undefined;
334
+ accountReferences?: (string | Address)[] | undefined;
335
+ appReferences?: bigint[] | undefined;
336
+ assetReferences?: bigint[] | undefined;
337
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
338
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
339
+ rejectVersion?: number | undefined;
340
+ sender?: string | Address | undefined;
341
+ method: string;
342
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
343
+ } & AppClientCompilationParams & {
344
+ onComplete?: OnApplicationComplete.NoOpOC | undefined;
345
+ };
346
+ /**
347
+ * Constructs create ABI call params for the RetiReader smart contract using the getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) ABI method
348
+ *
349
+ * @param params Parameters for the call
350
+ * @returns An `AppClientMethodCallParams` object for the call
351
+ */
352
+ getValidatorConfig(params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & AppClientCompilationParams & {
353
+ onComplete?: OnApplicationComplete.NoOpOC;
354
+ }): AppClientMethodCallParams & AppClientCompilationParams & {
355
+ onComplete?: OnApplicationComplete.NoOpOC;
356
+ };
357
+ /**
358
+ * Constructs create ABI call params for the RetiReader smart contract using the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method
359
+ *
360
+ * @param params Parameters for the call
361
+ * @returns An `AppClientMethodCallParams` object for the call
362
+ */
363
+ getValidatorStates(params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & {
364
+ onComplete?: OnApplicationComplete.NoOpOC;
365
+ }): AppClientMethodCallParams & AppClientCompilationParams & {
366
+ onComplete?: OnApplicationComplete.NoOpOC;
367
+ };
368
+ /**
369
+ * Constructs create ABI call params for the RetiReader smart contract using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method
370
+ *
371
+ * @param params Parameters for the call
372
+ * @returns An `AppClientMethodCallParams` object for the call
373
+ */
374
+ getPools(params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & {
375
+ onComplete?: OnApplicationComplete.NoOpOC;
376
+ }): AppClientMethodCallParams & AppClientCompilationParams & {
377
+ onComplete?: OnApplicationComplete.NoOpOC;
378
+ };
379
+ /**
380
+ * Constructs create ABI call params for the RetiReader smart contract using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method
381
+ *
382
+ * @param params Parameters for the call
383
+ * @returns An `AppClientMethodCallParams` object for the call
384
+ */
385
+ getNodePoolAssignments(params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & {
386
+ onComplete?: OnApplicationComplete.NoOpOC;
387
+ }): AppClientMethodCallParams & AppClientCompilationParams & {
388
+ onComplete?: OnApplicationComplete.NoOpOC;
389
+ };
390
+ /**
391
+ * Constructs create ABI call params for the RetiReader smart contract using the getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8])) ABI method
392
+ *
393
+ * @param params Parameters for the call
394
+ * @returns An `AppClientMethodCallParams` object for the call
395
+ */
396
+ getAllPoolInfo(params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & AppClientCompilationParams & {
397
+ onComplete?: OnApplicationComplete.NoOpOC;
398
+ }): AppClientMethodCallParams & AppClientCompilationParams & {
399
+ onComplete?: OnApplicationComplete.NoOpOC;
400
+ };
401
+ /**
402
+ * Constructs create ABI call params for the RetiReader smart contract using the getBlockTimestamps(uint64)uint64 ABI method
403
+ *
404
+ * @param params Parameters for the call
405
+ * @returns An `AppClientMethodCallParams` object for the call
406
+ */
407
+ getBlockTimestamps(params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & {
408
+ onComplete?: OnApplicationComplete.NoOpOC;
409
+ }): AppClientMethodCallParams & AppClientCompilationParams & {
410
+ onComplete?: OnApplicationComplete.NoOpOC;
411
+ };
412
+ /**
413
+ * Constructs create ABI call params for the RetiReader smart contract using the getAlgodVersion(uint64[])string ABI method
414
+ *
415
+ * @param params Parameters for the call
416
+ * @returns An `AppClientMethodCallParams` object for the call
417
+ */
418
+ getAlgodVersion(params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & {
419
+ onComplete?: OnApplicationComplete.NoOpOC;
420
+ }): AppClientMethodCallParams & AppClientCompilationParams & {
421
+ onComplete?: OnApplicationComplete.NoOpOC;
422
+ };
423
+ };
424
+ /**
425
+ * Constructs a no op call for the getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) ABI method
426
+ *
427
+ * @param params Parameters for the call
428
+ * @returns An `AppClientMethodCallParams` object for the call
429
+ */
430
+ static getValidatorConfig(params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
431
+ /**
432
+ * Constructs a no op call for the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method
433
+ *
434
+ * @param params Parameters for the call
435
+ * @returns An `AppClientMethodCallParams` object for the call
436
+ */
437
+ static getValidatorStates(params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
438
+ /**
439
+ * Constructs a no op call for the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method
440
+ *
441
+ * @param params Parameters for the call
442
+ * @returns An `AppClientMethodCallParams` object for the call
443
+ */
444
+ static getPools(params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
445
+ /**
446
+ * Constructs a no op call for the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method
447
+ *
448
+ * @param params Parameters for the call
449
+ * @returns An `AppClientMethodCallParams` object for the call
450
+ */
451
+ static getNodePoolAssignments(params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
452
+ /**
453
+ * Constructs a no op call for the getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8])) ABI method
454
+ *
455
+ * @param params Parameters for the call
456
+ * @returns An `AppClientMethodCallParams` object for the call
457
+ */
458
+ static getAllPoolInfo(params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
459
+ /**
460
+ * Constructs a no op call for the getBlockTimestamps(uint64)uint64 ABI method
461
+ *
462
+ * @param params Parameters for the call
463
+ * @returns An `AppClientMethodCallParams` object for the call
464
+ */
465
+ static getBlockTimestamps(params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
466
+ /**
467
+ * Constructs a no op call for the getAlgodVersion(uint64[])string ABI method
468
+ *
469
+ * @param params Parameters for the call
470
+ * @returns An `AppClientMethodCallParams` object for the call
471
+ */
472
+ static getAlgodVersion(params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
473
+ }
474
+ /**
475
+ * A factory to create and deploy one or more instance of the RetiReader smart contract and to create one or more app clients to interact with those (or other) app instances
476
+ */
477
+ declare class RetiReaderFactory {
478
+ /**
479
+ * The underlying `AppFactory` for when you want to have more flexibility
480
+ */
481
+ readonly appFactory: _AppFactory;
482
+ /**
483
+ * Creates a new instance of `RetiReaderFactory`
484
+ *
485
+ * @param params The parameters to initialise the app factory with
486
+ */
487
+ constructor(params: Omit<AppFactoryParams, 'appSpec'>);
488
+ /** The name of the app (from the ARC-32 / ARC-56 app spec or override). */
489
+ get appName(): string;
490
+ /** The ARC-56 app spec being used */
491
+ get appSpec(): Arc56Contract;
492
+ /** A reference to the underlying `AlgorandClient` this app factory is using. */
493
+ get algorand(): AlgorandClient;
494
+ /**
495
+ * Returns a new `AppClient` client for an app instance of the given ID.
496
+ *
497
+ * Automatically populates appName, defaultSender and source maps from the factory
498
+ * if not specified in the params.
499
+ * @param params The parameters to create the app client
500
+ * @returns The `AppClient`
501
+ */
502
+ getAppClientById(params: AppFactoryAppClientParams): RetiReaderClient;
503
+ /**
504
+ * Returns a new `AppClient` client, resolving the app by creator address and name
505
+ * using AlgoKit app deployment semantics (i.e. looking for the app creation transaction note).
506
+ *
507
+ * Automatically populates appName, defaultSender and source maps from the factory
508
+ * if not specified in the params.
509
+ * @param params The parameters to create the app client
510
+ * @returns The `AppClient`
511
+ */
512
+ getAppClientByCreatorAndName(params: AppFactoryResolveAppClientByCreatorAndNameParams): Promise<RetiReaderClient>;
513
+ /**
514
+ * Idempotently deploys the RetiReader smart contract.
515
+ *
516
+ * @param params The arguments for the contract calls and any additional parameters for the call
517
+ * @returns The deployment result
518
+ */
519
+ deploy(params?: RetiReaderDeployParams): Promise<{
520
+ result: {
521
+ return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
522
+ deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
523
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
524
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
525
+ operationPerformed: "create";
526
+ version: string;
527
+ name: string;
528
+ createdRound: bigint;
529
+ updatedRound: bigint;
530
+ createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
531
+ deleted: boolean;
532
+ deletable?: boolean | undefined;
533
+ updatable?: boolean | undefined;
534
+ groupId: string;
535
+ txIds: string[];
536
+ returns?: ABIReturn[] | undefined;
537
+ confirmations: modelsv2.PendingTransactionResponse[];
538
+ transactions: Transaction[];
539
+ confirmation: modelsv2.PendingTransactionResponse;
540
+ transaction: Transaction;
541
+ appId: bigint;
542
+ appAddress: Address;
543
+ } | {
544
+ return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
545
+ deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
546
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
547
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
548
+ operationPerformed: "update";
549
+ appId: bigint;
550
+ appAddress: Address;
551
+ createdRound: bigint;
552
+ updatedRound: bigint;
553
+ createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
554
+ deleted: boolean;
555
+ name: string;
556
+ version: string;
557
+ deletable?: boolean | undefined;
558
+ updatable?: boolean | undefined;
559
+ groupId: string;
560
+ txIds: string[];
561
+ returns?: ABIReturn[] | undefined;
562
+ confirmations: modelsv2.PendingTransactionResponse[];
563
+ transactions: Transaction[];
564
+ confirmation: modelsv2.PendingTransactionResponse;
565
+ transaction: Transaction;
566
+ } | {
567
+ return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
568
+ deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
569
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
570
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
571
+ operationPerformed: "replace";
572
+ version: string;
573
+ name: string;
574
+ createdRound: bigint;
575
+ updatedRound: bigint;
576
+ createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
577
+ deleted: boolean;
578
+ deletable?: boolean | undefined;
579
+ updatable?: boolean | undefined;
580
+ groupId: string;
581
+ txIds: string[];
582
+ returns?: ABIReturn[] | undefined;
583
+ confirmations: modelsv2.PendingTransactionResponse[];
584
+ transactions: Transaction[];
585
+ confirmation: modelsv2.PendingTransactionResponse;
586
+ transaction: Transaction;
587
+ appId: bigint;
588
+ appAddress: Address;
589
+ deleteResult: import("@algorandfoundation/algokit-utils/types/transaction").ConfirmedTransactionResult;
590
+ } | {
591
+ return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
592
+ deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
593
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
594
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
595
+ operationPerformed: "nothing";
596
+ appId: bigint;
597
+ appAddress: Address;
598
+ createdRound: bigint;
599
+ updatedRound: bigint;
600
+ createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
601
+ deleted: boolean;
602
+ name: string;
603
+ version: string;
604
+ deletable?: boolean | undefined;
605
+ updatable?: boolean | undefined;
606
+ };
607
+ appClient: RetiReaderClient;
608
+ }>;
609
+ /**
610
+ * Get parameters to create transactions (create and deploy related calls) for the current app. A good mental model for this is that these parameters represent a deferred transaction creation.
611
+ */
612
+ readonly params: {
613
+ /**
614
+ * Gets available create methods
615
+ */
616
+ create: {
617
+ /**
618
+ * Creates a new instance of the RetiReader smart contract using the getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) ABI method.
619
+ *
620
+ * @param params The params for the smart contract call
621
+ * @returns The create params
622
+ */
623
+ getValidatorConfig: (params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
624
+ onComplete?: OnApplicationComplete.NoOpOC;
625
+ }) => Promise<{
626
+ deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
627
+ schema: {
628
+ globalInts: number;
629
+ globalByteSlices: number;
630
+ localInts: number;
631
+ localByteSlices: number;
632
+ };
633
+ approvalProgram: Uint8Array;
634
+ clearStateProgram: Uint8Array;
635
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
636
+ note?: string | Uint8Array | undefined;
637
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
638
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
639
+ rejectVersion?: number | undefined;
640
+ lease?: string | Uint8Array | undefined;
641
+ rekeyTo?: string | Address | undefined;
642
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
643
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
644
+ validityWindow?: number | bigint | undefined;
645
+ firstValidRound?: bigint | undefined;
646
+ lastValidRound?: bigint | undefined;
647
+ accountReferences?: (string | Address)[] | undefined;
648
+ appReferences?: bigint[] | undefined;
649
+ assetReferences?: bigint[] | undefined;
650
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
651
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
652
+ sender?: string | Address | undefined;
653
+ method: string;
654
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
655
+ updatable?: boolean | undefined;
656
+ deletable?: boolean | undefined;
657
+ extraProgramPages?: number | undefined;
658
+ } & {
659
+ sender: Address;
660
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
661
+ method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
662
+ args: (import("algosdk").ABIValue | import("algosdk").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/types/composer").AppMethodCallParams> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
663
+ sender: string | Address;
664
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
665
+ note?: string | Uint8Array | undefined;
666
+ args?: Uint8Array[] | undefined;
667
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
668
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
669
+ rejectVersion?: number | undefined;
670
+ lease?: string | Uint8Array | undefined;
671
+ rekeyTo?: string | Address | undefined;
672
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
673
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
674
+ validityWindow?: number | bigint | undefined;
675
+ firstValidRound?: bigint | undefined;
676
+ lastValidRound?: bigint | undefined;
677
+ accountReferences?: (string | Address)[] | undefined;
678
+ appReferences?: bigint[] | undefined;
679
+ assetReferences?: bigint[] | undefined;
680
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
681
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
682
+ approvalProgram: string | Uint8Array;
683
+ clearStateProgram: string | Uint8Array;
684
+ schema?: {
685
+ globalInts: number;
686
+ globalByteSlices: number;
687
+ localInts: number;
688
+ localByteSlices: number;
689
+ } | undefined;
690
+ extraProgramPages?: number | undefined;
691
+ }> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
692
+ sender: string | Address;
693
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
694
+ rekeyTo?: string | Address | undefined;
695
+ note?: string | Uint8Array | undefined;
696
+ lease?: string | Uint8Array | undefined;
697
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
698
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
699
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
700
+ validityWindow?: number | bigint | undefined;
701
+ firstValidRound?: bigint | undefined;
702
+ lastValidRound?: bigint | undefined;
703
+ appId: bigint;
704
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
705
+ args?: Uint8Array[] | undefined;
706
+ accountReferences?: (string | Address)[] | undefined;
707
+ appReferences?: bigint[] | undefined;
708
+ assetReferences?: bigint[] | undefined;
709
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
710
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
711
+ rejectVersion?: number | undefined;
712
+ approvalProgram: string | Uint8Array;
713
+ clearStateProgram: string | Uint8Array;
714
+ }> | undefined)[] | undefined;
715
+ onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
716
+ }>;
717
+ /**
718
+ * Creates a new instance of the RetiReader smart contract using the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method.
719
+ *
720
+ * @param params The params for the smart contract call
721
+ * @returns The create params
722
+ */
723
+ getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
724
+ onComplete?: OnApplicationComplete.NoOpOC;
725
+ }) => Promise<{
726
+ deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
727
+ schema: {
728
+ globalInts: number;
729
+ globalByteSlices: number;
730
+ localInts: number;
731
+ localByteSlices: number;
732
+ };
733
+ approvalProgram: Uint8Array;
734
+ clearStateProgram: Uint8Array;
735
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
736
+ note?: string | Uint8Array | undefined;
737
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
738
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
739
+ rejectVersion?: number | undefined;
740
+ lease?: string | Uint8Array | undefined;
741
+ rekeyTo?: string | Address | undefined;
742
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
743
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
744
+ validityWindow?: number | bigint | undefined;
745
+ firstValidRound?: bigint | undefined;
746
+ lastValidRound?: bigint | undefined;
747
+ accountReferences?: (string | Address)[] | undefined;
748
+ appReferences?: bigint[] | undefined;
749
+ assetReferences?: bigint[] | undefined;
750
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
751
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
752
+ sender?: string | Address | undefined;
753
+ method: string;
754
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
755
+ updatable?: boolean | undefined;
756
+ deletable?: boolean | undefined;
757
+ extraProgramPages?: number | undefined;
758
+ } & {
759
+ sender: Address;
760
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
761
+ method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
762
+ args: (import("algosdk").ABIValue | import("algosdk").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/types/composer").AppMethodCallParams> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
763
+ sender: string | Address;
764
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
765
+ note?: string | Uint8Array | undefined;
766
+ args?: Uint8Array[] | undefined;
767
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
768
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
769
+ rejectVersion?: number | undefined;
770
+ lease?: string | Uint8Array | undefined;
771
+ rekeyTo?: string | Address | undefined;
772
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
773
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
774
+ validityWindow?: number | bigint | undefined;
775
+ firstValidRound?: bigint | undefined;
776
+ lastValidRound?: bigint | undefined;
777
+ accountReferences?: (string | Address)[] | undefined;
778
+ appReferences?: bigint[] | undefined;
779
+ assetReferences?: bigint[] | undefined;
780
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
781
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
782
+ approvalProgram: string | Uint8Array;
783
+ clearStateProgram: string | Uint8Array;
784
+ schema?: {
785
+ globalInts: number;
786
+ globalByteSlices: number;
787
+ localInts: number;
788
+ localByteSlices: number;
789
+ } | undefined;
790
+ extraProgramPages?: number | undefined;
791
+ }> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
792
+ sender: string | Address;
793
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
794
+ rekeyTo?: string | Address | undefined;
795
+ note?: string | Uint8Array | undefined;
796
+ lease?: string | Uint8Array | undefined;
797
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
798
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
799
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
800
+ validityWindow?: number | bigint | undefined;
801
+ firstValidRound?: bigint | undefined;
802
+ lastValidRound?: bigint | undefined;
803
+ appId: bigint;
804
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
805
+ args?: Uint8Array[] | undefined;
806
+ accountReferences?: (string | Address)[] | undefined;
807
+ appReferences?: bigint[] | undefined;
808
+ assetReferences?: bigint[] | undefined;
809
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
810
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
811
+ rejectVersion?: number | undefined;
812
+ approvalProgram: string | Uint8Array;
813
+ clearStateProgram: string | Uint8Array;
814
+ }> | undefined)[] | undefined;
815
+ onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
816
+ }>;
817
+ /**
818
+ * Creates a new instance of the RetiReader smart contract using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
819
+ *
820
+ * @param params The params for the smart contract call
821
+ * @returns The create params
822
+ */
823
+ getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & CreateSchema & {
824
+ onComplete?: OnApplicationComplete.NoOpOC;
825
+ }) => Promise<{
826
+ deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
827
+ schema: {
828
+ globalInts: number;
829
+ globalByteSlices: number;
830
+ localInts: number;
831
+ localByteSlices: number;
832
+ };
833
+ approvalProgram: Uint8Array;
834
+ clearStateProgram: Uint8Array;
835
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
836
+ note?: string | Uint8Array | undefined;
837
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
838
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
839
+ rejectVersion?: number | undefined;
840
+ lease?: string | Uint8Array | undefined;
841
+ rekeyTo?: string | Address | undefined;
842
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
843
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
844
+ validityWindow?: number | bigint | undefined;
845
+ firstValidRound?: bigint | undefined;
846
+ lastValidRound?: bigint | undefined;
847
+ accountReferences?: (string | Address)[] | undefined;
848
+ appReferences?: bigint[] | undefined;
849
+ assetReferences?: bigint[] | undefined;
850
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
851
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
852
+ sender?: string | Address | undefined;
853
+ method: string;
854
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
855
+ updatable?: boolean | undefined;
856
+ deletable?: boolean | undefined;
857
+ extraProgramPages?: number | undefined;
858
+ } & {
859
+ sender: Address;
860
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
861
+ method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
862
+ args: (import("algosdk").ABIValue | import("algosdk").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/types/composer").AppMethodCallParams> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
863
+ sender: string | Address;
864
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
865
+ note?: string | Uint8Array | undefined;
866
+ args?: Uint8Array[] | undefined;
867
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
868
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
869
+ rejectVersion?: number | undefined;
870
+ lease?: string | Uint8Array | undefined;
871
+ rekeyTo?: string | Address | undefined;
872
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
873
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
874
+ validityWindow?: number | bigint | undefined;
875
+ firstValidRound?: bigint | undefined;
876
+ lastValidRound?: bigint | undefined;
877
+ accountReferences?: (string | Address)[] | undefined;
878
+ appReferences?: bigint[] | undefined;
879
+ assetReferences?: bigint[] | undefined;
880
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
881
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
882
+ approvalProgram: string | Uint8Array;
883
+ clearStateProgram: string | Uint8Array;
884
+ schema?: {
885
+ globalInts: number;
886
+ globalByteSlices: number;
887
+ localInts: number;
888
+ localByteSlices: number;
889
+ } | undefined;
890
+ extraProgramPages?: number | undefined;
891
+ }> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
892
+ sender: string | Address;
893
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
894
+ rekeyTo?: string | Address | undefined;
895
+ note?: string | Uint8Array | undefined;
896
+ lease?: string | Uint8Array | undefined;
897
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
898
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
899
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
900
+ validityWindow?: number | bigint | undefined;
901
+ firstValidRound?: bigint | undefined;
902
+ lastValidRound?: bigint | undefined;
903
+ appId: bigint;
904
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
905
+ args?: Uint8Array[] | undefined;
906
+ accountReferences?: (string | Address)[] | undefined;
907
+ appReferences?: bigint[] | undefined;
908
+ assetReferences?: bigint[] | undefined;
909
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
910
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
911
+ rejectVersion?: number | undefined;
912
+ approvalProgram: string | Uint8Array;
913
+ clearStateProgram: string | Uint8Array;
914
+ }> | undefined)[] | undefined;
915
+ onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
916
+ }>;
917
+ /**
918
+ * Creates a new instance of the RetiReader smart contract using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
919
+ *
920
+ * @param params The params for the smart contract call
921
+ * @returns The create params
922
+ */
923
+ getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & CreateSchema & {
924
+ onComplete?: OnApplicationComplete.NoOpOC;
925
+ }) => Promise<{
926
+ deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
927
+ schema: {
928
+ globalInts: number;
929
+ globalByteSlices: number;
930
+ localInts: number;
931
+ localByteSlices: number;
932
+ };
933
+ approvalProgram: Uint8Array;
934
+ clearStateProgram: Uint8Array;
935
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
936
+ note?: string | Uint8Array | undefined;
937
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
938
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
939
+ rejectVersion?: number | undefined;
940
+ lease?: string | Uint8Array | undefined;
941
+ rekeyTo?: string | Address | undefined;
942
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
943
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
944
+ validityWindow?: number | bigint | undefined;
945
+ firstValidRound?: bigint | undefined;
946
+ lastValidRound?: bigint | undefined;
947
+ accountReferences?: (string | Address)[] | undefined;
948
+ appReferences?: bigint[] | undefined;
949
+ assetReferences?: bigint[] | undefined;
950
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
951
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
952
+ sender?: string | Address | undefined;
953
+ method: string;
954
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
955
+ updatable?: boolean | undefined;
956
+ deletable?: boolean | undefined;
957
+ extraProgramPages?: number | undefined;
958
+ } & {
959
+ sender: Address;
960
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
961
+ method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
962
+ args: (import("algosdk").ABIValue | import("algosdk").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/types/composer").AppMethodCallParams> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
963
+ sender: string | Address;
964
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
965
+ note?: string | Uint8Array | undefined;
966
+ args?: Uint8Array[] | undefined;
967
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
968
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
969
+ rejectVersion?: number | undefined;
970
+ lease?: string | Uint8Array | undefined;
971
+ rekeyTo?: string | Address | undefined;
972
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
973
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
974
+ validityWindow?: number | bigint | undefined;
975
+ firstValidRound?: bigint | undefined;
976
+ lastValidRound?: bigint | undefined;
977
+ accountReferences?: (string | Address)[] | undefined;
978
+ appReferences?: bigint[] | undefined;
979
+ assetReferences?: bigint[] | undefined;
980
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
981
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
982
+ approvalProgram: string | Uint8Array;
983
+ clearStateProgram: string | Uint8Array;
984
+ schema?: {
985
+ globalInts: number;
986
+ globalByteSlices: number;
987
+ localInts: number;
988
+ localByteSlices: number;
989
+ } | undefined;
990
+ extraProgramPages?: number | undefined;
991
+ }> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
992
+ sender: string | Address;
993
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
994
+ rekeyTo?: string | Address | undefined;
995
+ note?: string | Uint8Array | undefined;
996
+ lease?: string | Uint8Array | undefined;
997
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
998
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
999
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1000
+ validityWindow?: number | bigint | undefined;
1001
+ firstValidRound?: bigint | undefined;
1002
+ lastValidRound?: bigint | undefined;
1003
+ appId: bigint;
1004
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
1005
+ args?: Uint8Array[] | undefined;
1006
+ accountReferences?: (string | Address)[] | undefined;
1007
+ appReferences?: bigint[] | undefined;
1008
+ assetReferences?: bigint[] | undefined;
1009
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1010
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1011
+ rejectVersion?: number | undefined;
1012
+ approvalProgram: string | Uint8Array;
1013
+ clearStateProgram: string | Uint8Array;
1014
+ }> | undefined)[] | undefined;
1015
+ onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
1016
+ }>;
1017
+ /**
1018
+ * Creates a new instance of the RetiReader smart contract using the getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8])) ABI method.
1019
+ *
1020
+ * @param params The params for the smart contract call
1021
+ * @returns The create params
1022
+ */
1023
+ getAllPoolInfo: (params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & AppClientCompilationParams & CreateSchema & {
1024
+ onComplete?: OnApplicationComplete.NoOpOC;
1025
+ }) => Promise<{
1026
+ deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
1027
+ schema: {
1028
+ globalInts: number;
1029
+ globalByteSlices: number;
1030
+ localInts: number;
1031
+ localByteSlices: number;
1032
+ };
1033
+ approvalProgram: Uint8Array;
1034
+ clearStateProgram: Uint8Array;
1035
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1036
+ note?: string | Uint8Array | undefined;
1037
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1038
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
1039
+ rejectVersion?: number | undefined;
1040
+ lease?: string | Uint8Array | undefined;
1041
+ rekeyTo?: string | Address | undefined;
1042
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1043
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1044
+ validityWindow?: number | bigint | undefined;
1045
+ firstValidRound?: bigint | undefined;
1046
+ lastValidRound?: bigint | undefined;
1047
+ accountReferences?: (string | Address)[] | undefined;
1048
+ appReferences?: bigint[] | undefined;
1049
+ assetReferences?: bigint[] | undefined;
1050
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1051
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1052
+ sender?: string | Address | undefined;
1053
+ method: string;
1054
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
1055
+ updatable?: boolean | undefined;
1056
+ deletable?: boolean | undefined;
1057
+ extraProgramPages?: number | undefined;
1058
+ } & {
1059
+ sender: Address;
1060
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1061
+ method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
1062
+ args: (import("algosdk").ABIValue | import("algosdk").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/types/composer").AppMethodCallParams> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
1063
+ sender: string | Address;
1064
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1065
+ note?: string | Uint8Array | undefined;
1066
+ args?: Uint8Array[] | undefined;
1067
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1068
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
1069
+ rejectVersion?: number | undefined;
1070
+ lease?: string | Uint8Array | undefined;
1071
+ rekeyTo?: string | Address | undefined;
1072
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1073
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1074
+ validityWindow?: number | bigint | undefined;
1075
+ firstValidRound?: bigint | undefined;
1076
+ lastValidRound?: bigint | undefined;
1077
+ accountReferences?: (string | Address)[] | undefined;
1078
+ appReferences?: bigint[] | undefined;
1079
+ assetReferences?: bigint[] | undefined;
1080
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1081
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1082
+ approvalProgram: string | Uint8Array;
1083
+ clearStateProgram: string | Uint8Array;
1084
+ schema?: {
1085
+ globalInts: number;
1086
+ globalByteSlices: number;
1087
+ localInts: number;
1088
+ localByteSlices: number;
1089
+ } | undefined;
1090
+ extraProgramPages?: number | undefined;
1091
+ }> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
1092
+ sender: string | Address;
1093
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1094
+ rekeyTo?: string | Address | undefined;
1095
+ note?: string | Uint8Array | undefined;
1096
+ lease?: string | Uint8Array | undefined;
1097
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1098
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1099
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1100
+ validityWindow?: number | bigint | undefined;
1101
+ firstValidRound?: bigint | undefined;
1102
+ lastValidRound?: bigint | undefined;
1103
+ appId: bigint;
1104
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
1105
+ args?: Uint8Array[] | undefined;
1106
+ accountReferences?: (string | Address)[] | undefined;
1107
+ appReferences?: bigint[] | undefined;
1108
+ assetReferences?: bigint[] | undefined;
1109
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1110
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1111
+ rejectVersion?: number | undefined;
1112
+ approvalProgram: string | Uint8Array;
1113
+ clearStateProgram: string | Uint8Array;
1114
+ }> | undefined)[] | undefined;
1115
+ onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
1116
+ }>;
1117
+ /**
1118
+ * Creates a new instance of the RetiReader smart contract using the getBlockTimestamps(uint64)uint64 ABI method.
1119
+ *
1120
+ * @param params The params for the smart contract call
1121
+ * @returns The create params
1122
+ */
1123
+ getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & CreateSchema & {
1124
+ onComplete?: OnApplicationComplete.NoOpOC;
1125
+ }) => Promise<{
1126
+ deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
1127
+ schema: {
1128
+ globalInts: number;
1129
+ globalByteSlices: number;
1130
+ localInts: number;
1131
+ localByteSlices: number;
1132
+ };
1133
+ approvalProgram: Uint8Array;
1134
+ clearStateProgram: Uint8Array;
1135
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1136
+ note?: string | Uint8Array | undefined;
1137
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1138
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
1139
+ rejectVersion?: number | undefined;
1140
+ lease?: string | Uint8Array | undefined;
1141
+ rekeyTo?: string | Address | undefined;
1142
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1143
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1144
+ validityWindow?: number | bigint | undefined;
1145
+ firstValidRound?: bigint | undefined;
1146
+ lastValidRound?: bigint | undefined;
1147
+ accountReferences?: (string | Address)[] | undefined;
1148
+ appReferences?: bigint[] | undefined;
1149
+ assetReferences?: bigint[] | undefined;
1150
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1151
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1152
+ sender?: string | Address | undefined;
1153
+ method: string;
1154
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
1155
+ updatable?: boolean | undefined;
1156
+ deletable?: boolean | undefined;
1157
+ extraProgramPages?: number | undefined;
1158
+ } & {
1159
+ sender: Address;
1160
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1161
+ method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
1162
+ args: (import("algosdk").ABIValue | import("algosdk").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/types/composer").AppMethodCallParams> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
1163
+ sender: string | Address;
1164
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1165
+ note?: string | Uint8Array | undefined;
1166
+ args?: Uint8Array[] | undefined;
1167
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1168
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
1169
+ rejectVersion?: number | undefined;
1170
+ lease?: string | Uint8Array | undefined;
1171
+ rekeyTo?: string | Address | undefined;
1172
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1173
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1174
+ validityWindow?: number | bigint | undefined;
1175
+ firstValidRound?: bigint | undefined;
1176
+ lastValidRound?: bigint | undefined;
1177
+ accountReferences?: (string | Address)[] | undefined;
1178
+ appReferences?: bigint[] | undefined;
1179
+ assetReferences?: bigint[] | undefined;
1180
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1181
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1182
+ approvalProgram: string | Uint8Array;
1183
+ clearStateProgram: string | Uint8Array;
1184
+ schema?: {
1185
+ globalInts: number;
1186
+ globalByteSlices: number;
1187
+ localInts: number;
1188
+ localByteSlices: number;
1189
+ } | undefined;
1190
+ extraProgramPages?: number | undefined;
1191
+ }> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
1192
+ sender: string | Address;
1193
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1194
+ rekeyTo?: string | Address | undefined;
1195
+ note?: string | Uint8Array | undefined;
1196
+ lease?: string | Uint8Array | undefined;
1197
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1198
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1199
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1200
+ validityWindow?: number | bigint | undefined;
1201
+ firstValidRound?: bigint | undefined;
1202
+ lastValidRound?: bigint | undefined;
1203
+ appId: bigint;
1204
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
1205
+ args?: Uint8Array[] | undefined;
1206
+ accountReferences?: (string | Address)[] | undefined;
1207
+ appReferences?: bigint[] | undefined;
1208
+ assetReferences?: bigint[] | undefined;
1209
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1210
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1211
+ rejectVersion?: number | undefined;
1212
+ approvalProgram: string | Uint8Array;
1213
+ clearStateProgram: string | Uint8Array;
1214
+ }> | undefined)[] | undefined;
1215
+ onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
1216
+ }>;
1217
+ /**
1218
+ * Creates a new instance of the RetiReader smart contract using the getAlgodVersion(uint64[])string ABI method.
1219
+ *
1220
+ * @param params The params for the smart contract call
1221
+ * @returns The create params
1222
+ */
1223
+ getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & CreateSchema & {
1224
+ onComplete?: OnApplicationComplete.NoOpOC;
1225
+ }) => Promise<{
1226
+ deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
1227
+ schema: {
1228
+ globalInts: number;
1229
+ globalByteSlices: number;
1230
+ localInts: number;
1231
+ localByteSlices: number;
1232
+ };
1233
+ approvalProgram: Uint8Array;
1234
+ clearStateProgram: Uint8Array;
1235
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1236
+ note?: string | Uint8Array | undefined;
1237
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1238
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
1239
+ rejectVersion?: number | undefined;
1240
+ lease?: string | Uint8Array | undefined;
1241
+ rekeyTo?: string | Address | undefined;
1242
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1243
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1244
+ validityWindow?: number | bigint | undefined;
1245
+ firstValidRound?: bigint | undefined;
1246
+ lastValidRound?: bigint | undefined;
1247
+ accountReferences?: (string | Address)[] | undefined;
1248
+ appReferences?: bigint[] | undefined;
1249
+ assetReferences?: bigint[] | undefined;
1250
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1251
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1252
+ sender?: string | Address | undefined;
1253
+ method: string;
1254
+ args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
1255
+ updatable?: boolean | undefined;
1256
+ deletable?: boolean | undefined;
1257
+ extraProgramPages?: number | undefined;
1258
+ } & {
1259
+ sender: Address;
1260
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1261
+ method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
1262
+ args: (import("algosdk").ABIValue | import("algosdk").TransactionWithSigner | Transaction | Promise<Transaction> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<import("@algorandfoundation/algokit-utils/types/composer").AppMethodCallParams> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
1263
+ sender: string | Address;
1264
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1265
+ note?: string | Uint8Array | undefined;
1266
+ args?: Uint8Array[] | undefined;
1267
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1268
+ onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
1269
+ rejectVersion?: number | undefined;
1270
+ lease?: string | Uint8Array | undefined;
1271
+ rekeyTo?: string | Address | undefined;
1272
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1273
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1274
+ validityWindow?: number | bigint | undefined;
1275
+ firstValidRound?: bigint | undefined;
1276
+ lastValidRound?: bigint | undefined;
1277
+ accountReferences?: (string | Address)[] | undefined;
1278
+ appReferences?: bigint[] | undefined;
1279
+ assetReferences?: bigint[] | undefined;
1280
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1281
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1282
+ approvalProgram: string | Uint8Array;
1283
+ clearStateProgram: string | Uint8Array;
1284
+ schema?: {
1285
+ globalInts: number;
1286
+ globalByteSlices: number;
1287
+ localInts: number;
1288
+ localByteSlices: number;
1289
+ } | undefined;
1290
+ extraProgramPages?: number | undefined;
1291
+ }> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
1292
+ sender: string | Address;
1293
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1294
+ rekeyTo?: string | Address | undefined;
1295
+ note?: string | Uint8Array | undefined;
1296
+ lease?: string | Uint8Array | undefined;
1297
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1298
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1299
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1300
+ validityWindow?: number | bigint | undefined;
1301
+ firstValidRound?: bigint | undefined;
1302
+ lastValidRound?: bigint | undefined;
1303
+ appId: bigint;
1304
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
1305
+ args?: Uint8Array[] | undefined;
1306
+ accountReferences?: (string | Address)[] | undefined;
1307
+ appReferences?: bigint[] | undefined;
1308
+ assetReferences?: bigint[] | undefined;
1309
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1310
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1311
+ rejectVersion?: number | undefined;
1312
+ approvalProgram: string | Uint8Array;
1313
+ clearStateProgram: string | Uint8Array;
1314
+ }> | undefined)[] | undefined;
1315
+ onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
1316
+ }>;
1317
+ };
1318
+ /**
1319
+ * Gets available deployUpdate methods
1320
+ */
1321
+ deployUpdate: {
1322
+ /**
1323
+ * Updates an existing instance of the RetiReader smart contract using a bare call.
1324
+ *
1325
+ * @param params The params for the bare (raw) call
1326
+ * @returns The params for a deployUpdate call
1327
+ */
1328
+ bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams>) => {
1329
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1330
+ note?: string | Uint8Array | undefined;
1331
+ args?: Uint8Array[] | undefined;
1332
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1333
+ rejectVersion?: number | undefined;
1334
+ lease?: string | Uint8Array | undefined;
1335
+ rekeyTo?: string | Address | undefined;
1336
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1337
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1338
+ validityWindow?: number | bigint | undefined;
1339
+ firstValidRound?: bigint | undefined;
1340
+ lastValidRound?: bigint | undefined;
1341
+ accountReferences?: (string | Address)[] | undefined;
1342
+ appReferences?: bigint[] | undefined;
1343
+ assetReferences?: bigint[] | undefined;
1344
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1345
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1346
+ sender?: string | Address | undefined;
1347
+ } & {
1348
+ sender: Address;
1349
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1350
+ onComplete: OnApplicationComplete.UpdateApplicationOC;
1351
+ };
1352
+ };
1353
+ /**
1354
+ * Gets available deployDelete methods
1355
+ */
1356
+ deployDelete: {
1357
+ /**
1358
+ * Deletes an existing instance of the RetiReader smart contract using a bare call.
1359
+ *
1360
+ * @param params The params for the bare (raw) call
1361
+ * @returns The params for a deployDelete call
1362
+ */
1363
+ bare: (params?: Expand<AppClientBareCallParams>) => {
1364
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1365
+ note?: string | Uint8Array | undefined;
1366
+ args?: Uint8Array[] | undefined;
1367
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1368
+ rejectVersion?: number | undefined;
1369
+ lease?: string | Uint8Array | undefined;
1370
+ rekeyTo?: string | Address | undefined;
1371
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1372
+ /**
1373
+ * Converts the ABI tuple representation of a NodePoolAssignmentConfig to the struct representation
1374
+ */
1375
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1376
+ validityWindow?: number | bigint | undefined;
1377
+ firstValidRound?: bigint | undefined;
1378
+ lastValidRound?: bigint | undefined;
1379
+ accountReferences?: (string | Address)[] | undefined;
1380
+ appReferences?: bigint[] | undefined;
1381
+ assetReferences?: bigint[] | undefined;
1382
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1383
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1384
+ sender?: string | Address | undefined;
1385
+ } & {
1386
+ sender: Address;
1387
+ signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1388
+ onComplete: OnApplicationComplete.DeleteApplicationOC;
1389
+ };
1390
+ };
1391
+ };
1392
+ /**
1393
+ * Create transactions for the current app
1394
+ */
1395
+ readonly createTransaction: {
1396
+ /**
1397
+ * Gets available create methods
1398
+ */
1399
+ create: {
1400
+ /**
1401
+ * Creates a new instance of the RetiReader smart contract using the getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) ABI method.
1402
+ *
1403
+ * @param params The params for the smart contract call
1404
+ * @returns The create transaction
1405
+ */
1406
+ getValidatorConfig: (params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
1407
+ onComplete?: OnApplicationComplete.NoOpOC;
1408
+ }) => Promise<{
1409
+ transactions: Transaction[];
1410
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1411
+ signers: Map<number, TransactionSigner>;
1412
+ }>;
1413
+ /**
1414
+ * Creates a new instance of the RetiReader smart contract using the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method.
1415
+ *
1416
+ * @param params The params for the smart contract call
1417
+ * @returns The create transaction
1418
+ */
1419
+ getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
1420
+ onComplete?: OnApplicationComplete.NoOpOC;
1421
+ }) => Promise<{
1422
+ transactions: Transaction[];
1423
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1424
+ signers: Map<number, TransactionSigner>;
1425
+ }>;
1426
+ /**
1427
+ * Creates a new instance of the RetiReader smart contract using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
1428
+ *
1429
+ * @param params The params for the smart contract call
1430
+ * @returns The create transaction
1431
+ */
1432
+ getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & CreateSchema & {
1433
+ onComplete?: OnApplicationComplete.NoOpOC;
1434
+ }) => Promise<{
1435
+ transactions: Transaction[];
1436
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1437
+ signers: Map<number, TransactionSigner>;
1438
+ }>;
1439
+ /**
1440
+ * Creates a new instance of the RetiReader smart contract using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
1441
+ *
1442
+ * @param params The params for the smart contract call
1443
+ * @returns The create transaction
1444
+ */
1445
+ getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & CreateSchema & {
1446
+ onComplete?: OnApplicationComplete.NoOpOC;
1447
+ }) => Promise<{
1448
+ transactions: Transaction[];
1449
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1450
+ signers: Map<number, TransactionSigner>;
1451
+ }>;
1452
+ /**
1453
+ * Creates a new instance of the RetiReader smart contract using the getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8])) ABI method.
1454
+ *
1455
+ * @param params The params for the smart contract call
1456
+ * @returns The create transaction
1457
+ */
1458
+ getAllPoolInfo: (params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & AppClientCompilationParams & CreateSchema & {
1459
+ onComplete?: OnApplicationComplete.NoOpOC;
1460
+ }) => Promise<{
1461
+ transactions: Transaction[];
1462
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1463
+ signers: Map<number, TransactionSigner>;
1464
+ }>;
1465
+ /**
1466
+ * Creates a new instance of the RetiReader smart contract using the getBlockTimestamps(uint64)uint64 ABI method.
1467
+ *
1468
+ * @param params The params for the smart contract call
1469
+ * @returns The create transaction
1470
+ */
1471
+ getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & CreateSchema & {
1472
+ onComplete?: OnApplicationComplete.NoOpOC;
1473
+ }) => Promise<{
1474
+ transactions: Transaction[];
1475
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1476
+ signers: Map<number, TransactionSigner>;
1477
+ }>;
1478
+ /**
1479
+ * Creates a new instance of the RetiReader smart contract using the getAlgodVersion(uint64[])string ABI method.
1480
+ *
1481
+ * @param params The params for the smart contract call
1482
+ * @returns The create transaction
1483
+ */
1484
+ getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & CreateSchema & {
1485
+ onComplete?: OnApplicationComplete.NoOpOC;
1486
+ }) => Promise<{
1487
+ transactions: Transaction[];
1488
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1489
+ signers: Map<number, TransactionSigner>;
1490
+ }>;
1491
+ };
1492
+ };
1493
+ /**
1494
+ * Send calls to the current app
1495
+ */
1496
+ readonly send: {
1497
+ /**
1498
+ * Gets available create methods
1499
+ */
1500
+ create: {
1501
+ /**
1502
+ * Creates a new instance of the RetiReader smart contract using an ABI method call using the getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) ABI method.
1503
+ *
1504
+ * @param params The params for the smart contract call
1505
+ * @returns The create result
1506
+ */
1507
+ getValidatorConfig: (params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & SendParams & {
1508
+ onComplete?: OnApplicationComplete.NoOpOC;
1509
+ }) => Promise<{
1510
+ result: {
1511
+ return: ValidatorConfig | undefined;
1512
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1513
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1514
+ appId: bigint;
1515
+ groupId: string;
1516
+ txIds: string[];
1517
+ returns?: ABIReturn[] | undefined;
1518
+ confirmations: modelsv2.PendingTransactionResponse[];
1519
+ transactions: Transaction[];
1520
+ confirmation: modelsv2.PendingTransactionResponse;
1521
+ transaction: Transaction;
1522
+ appAddress: Address;
1523
+ };
1524
+ appClient: RetiReaderClient;
1525
+ }>;
1526
+ /**
1527
+ * Creates a new instance of the RetiReader smart contract using an ABI method call using the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method.
1528
+ *
1529
+ * @param params The params for the smart contract call
1530
+ * @returns The create result
1531
+ */
1532
+ getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & SendParams & {
1533
+ onComplete?: OnApplicationComplete.NoOpOC;
1534
+ }) => Promise<{
1535
+ result: {
1536
+ return: ValidatorCurState | undefined;
1537
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1538
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1539
+ appId: bigint;
1540
+ groupId: string;
1541
+ txIds: string[];
1542
+ returns?: ABIReturn[] | undefined;
1543
+ confirmations: modelsv2.PendingTransactionResponse[];
1544
+ transactions: Transaction[];
1545
+ confirmation: modelsv2.PendingTransactionResponse;
1546
+ transaction: Transaction;
1547
+ appAddress: Address;
1548
+ };
1549
+ appClient: RetiReaderClient;
1550
+ }>;
1551
+ /**
1552
+ * Creates a new instance of the RetiReader smart contract using an ABI method call using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
1553
+ *
1554
+ * @param params The params for the smart contract call
1555
+ * @returns The create result
1556
+ */
1557
+ getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & CreateSchema & SendParams & {
1558
+ onComplete?: OnApplicationComplete.NoOpOC;
1559
+ }) => Promise<{
1560
+ result: {
1561
+ return: ValidatorPoolInfo | undefined;
1562
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1563
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1564
+ appId: bigint;
1565
+ groupId: string;
1566
+ txIds: string[];
1567
+ returns?: ABIReturn[] | undefined;
1568
+ confirmations: modelsv2.PendingTransactionResponse[];
1569
+ transactions: Transaction[];
1570
+ confirmation: modelsv2.PendingTransactionResponse;
1571
+ transaction: Transaction;
1572
+ appAddress: Address;
1573
+ };
1574
+ appClient: RetiReaderClient;
1575
+ }>;
1576
+ /**
1577
+ * Creates a new instance of the RetiReader smart contract using an ABI method call using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
1578
+ *
1579
+ * @param params The params for the smart contract call
1580
+ * @returns The create result
1581
+ */
1582
+ getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & CreateSchema & SendParams & {
1583
+ onComplete?: OnApplicationComplete.NoOpOC;
1584
+ }) => Promise<{
1585
+ result: {
1586
+ return: NodePoolAssignmentConfig | undefined;
1587
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1588
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1589
+ appId: bigint;
1590
+ groupId: string;
1591
+ txIds: string[];
1592
+ returns?: ABIReturn[] | undefined;
1593
+ confirmations: modelsv2.PendingTransactionResponse[];
1594
+ transactions: Transaction[];
1595
+ confirmation: modelsv2.PendingTransactionResponse;
1596
+ transaction: Transaction;
1597
+ appAddress: Address;
1598
+ };
1599
+ appClient: RetiReaderClient;
1600
+ }>;
1601
+ /**
1602
+ * Creates a new instance of the RetiReader smart contract using an ABI method call using the getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8])) ABI method.
1603
+ *
1604
+ * @param params The params for the smart contract call
1605
+ * @returns The create result
1606
+ */
1607
+ getAllPoolInfo: (params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & AppClientCompilationParams & CreateSchema & SendParams & {
1608
+ onComplete?: OnApplicationComplete.NoOpOC;
1609
+ }) => Promise<{
1610
+ result: {
1611
+ return: AllPoolInfo | undefined;
1612
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1613
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1614
+ appId: bigint;
1615
+ groupId: string;
1616
+ txIds: string[];
1617
+ returns?: ABIReturn[] | undefined;
1618
+ confirmations: modelsv2.PendingTransactionResponse[];
1619
+ transactions: Transaction[];
1620
+ confirmation: modelsv2.PendingTransactionResponse;
1621
+ transaction: Transaction;
1622
+ appAddress: Address;
1623
+ };
1624
+ appClient: RetiReaderClient;
1625
+ }>;
1626
+ /**
1627
+ * Creates a new instance of the RetiReader smart contract using an ABI method call using the getBlockTimestamps(uint64)uint64 ABI method.
1628
+ *
1629
+ * @param params The params for the smart contract call
1630
+ * @returns The create result
1631
+ */
1632
+ getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & CreateSchema & SendParams & {
1633
+ onComplete?: OnApplicationComplete.NoOpOC;
1634
+ }) => Promise<{
1635
+ result: {
1636
+ return: bigint | undefined;
1637
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1638
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1639
+ appId: bigint;
1640
+ groupId: string;
1641
+ txIds: string[];
1642
+ returns?: ABIReturn[] | undefined;
1643
+ confirmations: modelsv2.PendingTransactionResponse[];
1644
+ transactions: Transaction[];
1645
+ confirmation: modelsv2.PendingTransactionResponse;
1646
+ transaction: Transaction;
1647
+ appAddress: Address;
1648
+ };
1649
+ appClient: RetiReaderClient;
1650
+ }>;
1651
+ /**
1652
+ * Creates a new instance of the RetiReader smart contract using an ABI method call using the getAlgodVersion(uint64[])string ABI method.
1653
+ *
1654
+ * @param params The params for the smart contract call
1655
+ * @returns The create result
1656
+ */
1657
+ getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & CreateSchema & SendParams & {
1658
+ onComplete?: OnApplicationComplete.NoOpOC;
1659
+ }) => Promise<{
1660
+ result: {
1661
+ return: string | undefined;
1662
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1663
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
1664
+ appId: bigint;
1665
+ groupId: string;
1666
+ txIds: string[];
1667
+ returns?: ABIReturn[] | undefined;
1668
+ confirmations: modelsv2.PendingTransactionResponse[];
1669
+ transactions: Transaction[];
1670
+ confirmation: modelsv2.PendingTransactionResponse;
1671
+ transaction: Transaction;
1672
+ appAddress: Address;
1673
+ };
1674
+ appClient: RetiReaderClient;
1675
+ }>;
1676
+ };
1677
+ };
1678
+ }
1679
+ /**
1680
+ * A client to make calls to the RetiReader smart contract
1681
+ */
1682
+ declare class RetiReaderClient {
1683
+ /**
1684
+ * The underlying `AppClient` for when you want to have more flexibility
1685
+ */
1686
+ readonly appClient: _AppClient;
1687
+ /**
1688
+ * Creates a new instance of `RetiReaderClient`
1689
+ *
1690
+ * @param appClient An `AppClient` instance which has been created with the RetiReader app spec
1691
+ */
1692
+ constructor(appClient: _AppClient);
1693
+ /**
1694
+ * Creates a new instance of `RetiReaderClient`
1695
+ *
1696
+ * @param params The parameters to initialise the app client with
1697
+ */
1698
+ constructor(params: Omit<AppClientParams, 'appSpec'>);
1699
+ /**
1700
+ * Checks for decode errors on the given return value and maps the return value to the return type for the given method
1701
+ * @returns The typed return value or undefined if there was no value
1702
+ */
1703
+ decodeReturnValue<TSignature extends RetiReaderNonVoidMethodSignatures>(method: TSignature, returnValue: ABIReturn | undefined): MethodReturn<TSignature> | undefined;
1704
+ /**
1705
+ * Returns a new `RetiReaderClient` client, resolving the app by creator address and name
1706
+ * using AlgoKit app deployment semantics (i.e. looking for the app creation transaction note).
1707
+ * @param params The parameters to create the app client
1708
+ */
1709
+ static fromCreatorAndName(params: Omit<ResolveAppClientByCreatorAndName, 'appSpec'>): Promise<RetiReaderClient>;
1710
+ /**
1711
+ * Returns an `RetiReaderClient` instance for the current network based on
1712
+ * pre-determined network-specific app IDs specified in the ARC-56 app spec.
1713
+ *
1714
+ * If no IDs are in the app spec or the network isn't recognised, an error is thrown.
1715
+ * @param params The parameters to create the app client
1716
+ */
1717
+ static fromNetwork(params: Omit<ResolveAppClientByNetwork, 'appSpec'>): Promise<RetiReaderClient>;
1718
+ /** The ID of the app instance this client is linked to. */
1719
+ get appId(): bigint;
1720
+ /** The app address of the app instance this client is linked to. */
1721
+ get appAddress(): Address;
1722
+ /** The name of the app. */
1723
+ get appName(): string;
1724
+ /** The ARC-56 app spec being used */
1725
+ get appSpec(): Arc56Contract;
1726
+ /** A reference to the underlying `AlgorandClient` this app client is using. */
1727
+ get algorand(): AlgorandClient;
1728
+ /**
1729
+ * Get parameters to create transactions for the current app. A good mental model for this is that these parameters represent a deferred transaction creation.
1730
+ */
1731
+ readonly params: {
1732
+ /**
1733
+ * Gets available update methods
1734
+ */
1735
+ update: {
1736
+ /**
1737
+ * Updates an existing instance of the RetiReader smart contract using a bare call.
1738
+ *
1739
+ * @param params The params for the bare (raw) call
1740
+ * @returns The update result
1741
+ */
1742
+ bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams>) => Promise<{
1743
+ sender: string | Address;
1744
+ signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
1745
+ rekeyTo?: string | Address | undefined;
1746
+ note?: string | Uint8Array | undefined;
1747
+ lease?: string | Uint8Array | undefined;
1748
+ staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1749
+ extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1750
+ maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
1751
+ validityWindow?: number | bigint | undefined;
1752
+ firstValidRound?: bigint | undefined;
1753
+ lastValidRound?: bigint | undefined;
1754
+ appId: bigint;
1755
+ onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
1756
+ args?: Uint8Array[] | undefined;
1757
+ accountReferences?: (string | Address)[] | undefined;
1758
+ appReferences?: bigint[] | undefined;
1759
+ assetReferences?: bigint[] | undefined;
1760
+ boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
1761
+ accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
1762
+ rejectVersion?: number | undefined;
1763
+ approvalProgram: string | Uint8Array;
1764
+ clearStateProgram: string | Uint8Array;
1765
+ }>;
1766
+ };
1767
+ /**
1768
+ * Gets available delete methods
1769
+ */
1770
+ delete: {
1771
+ /**
1772
+ * Deletes an existing instance of the RetiReader smart contract using a bare call.
1773
+ *
1774
+ * @param params The params for the bare (raw) call
1775
+ * @returns The delete result
1776
+ */
1777
+ bare: (params?: Expand<AppClientBareCallParams>) => import("@algorandfoundation/algokit-utils/types/composer").AppDeleteParams;
1778
+ };
1779
+ /**
1780
+ * Makes a clear_state call to an existing instance of the RetiReader smart contract.
1781
+ *
1782
+ * @param params The params for the bare (raw) call
1783
+ * @returns The clearState result
1784
+ */
1785
+ clearState: (params?: Expand<AppClientBareCallParams>) => import("@algorandfoundation/algokit-utils/types/composer").AppCallParams;
1786
+ /**
1787
+ * Makes a call to the RetiReader smart contract using the `getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)` ABI method.
1788
+ *
1789
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1790
+ *
1791
+ * @param params The params for the smart contract call
1792
+ * @returns The call params
1793
+ */
1794
+ getValidatorConfig: (params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & {
1795
+ onComplete?: OnApplicationComplete.NoOpOC;
1796
+ }) => Promise<AppCallMethodCall>;
1797
+ /**
1798
+ * Makes a call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
1799
+ *
1800
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1801
+ *
1802
+ * @param params The params for the smart contract call
1803
+ * @returns The call params
1804
+ */
1805
+ getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
1806
+ onComplete?: OnApplicationComplete.NoOpOC;
1807
+ }) => Promise<AppCallMethodCall>;
1808
+ /**
1809
+ * Makes a call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
1810
+ *
1811
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1812
+ *
1813
+ * @param params The params for the smart contract call
1814
+ * @returns The call params
1815
+ */
1816
+ getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
1817
+ onComplete?: OnApplicationComplete.NoOpOC;
1818
+ }) => Promise<AppCallMethodCall>;
1819
+ /**
1820
+ * Makes a call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
1821
+ *
1822
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1823
+ *
1824
+ * @param params The params for the smart contract call
1825
+ * @returns The call params
1826
+ */
1827
+ getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
1828
+ onComplete?: OnApplicationComplete.NoOpOC;
1829
+ }) => Promise<AppCallMethodCall>;
1830
+ /**
1831
+ * Makes a call to the RetiReader smart contract using the `getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))` ABI method.
1832
+ *
1833
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1834
+ *
1835
+ * @param params The params for the smart contract call
1836
+ * @returns The call params
1837
+ */
1838
+ getAllPoolInfo: (params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & {
1839
+ onComplete?: OnApplicationComplete.NoOpOC;
1840
+ }) => Promise<AppCallMethodCall>;
1841
+ /**
1842
+ * Makes a call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
1843
+ *
1844
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1845
+ *
1846
+ * @param params The params for the smart contract call
1847
+ * @returns The call params
1848
+ */
1849
+ getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
1850
+ onComplete?: OnApplicationComplete.NoOpOC;
1851
+ }) => Promise<AppCallMethodCall>;
1852
+ /**
1853
+ * Makes a call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
1854
+ *
1855
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1856
+ *
1857
+ * @param params The params for the smart contract call
1858
+ * @returns The call params
1859
+ */
1860
+ getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
1861
+ onComplete?: OnApplicationComplete.NoOpOC;
1862
+ }) => Promise<AppCallMethodCall>;
1863
+ };
1864
+ /**
1865
+ * Create transactions for the current app
1866
+ */
1867
+ readonly createTransaction: {
1868
+ /**
1869
+ * Gets available update methods
1870
+ */
1871
+ update: {
1872
+ /**
1873
+ * Updates an existing instance of the RetiReader smart contract using a bare call.
1874
+ *
1875
+ * @param params The params for the bare (raw) call
1876
+ * @returns The update result
1877
+ */
1878
+ bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams>) => Promise<Transaction>;
1879
+ };
1880
+ /**
1881
+ * Gets available delete methods
1882
+ */
1883
+ delete: {
1884
+ /**
1885
+ * Deletes an existing instance of the RetiReader smart contract using a bare call.
1886
+ *
1887
+ * @param params The params for the bare (raw) call
1888
+ * @returns The delete result
1889
+ */
1890
+ bare: (params?: Expand<AppClientBareCallParams>) => Promise<Transaction>;
1891
+ };
1892
+ /**
1893
+ * Makes a clear_state call to an existing instance of the RetiReader smart contract.
1894
+ *
1895
+ * @param params The params for the bare (raw) call
1896
+ * @returns The clearState result
1897
+ */
1898
+ clearState: (params?: Expand<AppClientBareCallParams>) => Promise<Transaction>;
1899
+ /**
1900
+ * Makes a call to the RetiReader smart contract using the `getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)` ABI method.
1901
+ *
1902
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1903
+ *
1904
+ * @param params The params for the smart contract call
1905
+ * @returns The call transaction
1906
+ */
1907
+ getValidatorConfig: (params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & {
1908
+ onComplete?: OnApplicationComplete.NoOpOC;
1909
+ }) => Promise<{
1910
+ transactions: Transaction[];
1911
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1912
+ signers: Map<number, TransactionSigner>;
1913
+ }>;
1914
+ /**
1915
+ * Makes a call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
1916
+ *
1917
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1918
+ *
1919
+ * @param params The params for the smart contract call
1920
+ * @returns The call transaction
1921
+ */
1922
+ getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
1923
+ onComplete?: OnApplicationComplete.NoOpOC;
1924
+ }) => Promise<{
1925
+ transactions: Transaction[];
1926
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1927
+ signers: Map<number, TransactionSigner>;
1928
+ }>;
1929
+ /**
1930
+ * Makes a call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
1931
+ *
1932
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1933
+ *
1934
+ * @param params The params for the smart contract call
1935
+ * @returns The call transaction
1936
+ */
1937
+ getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
1938
+ onComplete?: OnApplicationComplete.NoOpOC;
1939
+ }) => Promise<{
1940
+ transactions: Transaction[];
1941
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1942
+ signers: Map<number, TransactionSigner>;
1943
+ }>;
1944
+ /**
1945
+ * Makes a call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
1946
+ *
1947
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1948
+ *
1949
+ * @param params The params for the smart contract call
1950
+ * @returns The call transaction
1951
+ */
1952
+ getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
1953
+ onComplete?: OnApplicationComplete.NoOpOC;
1954
+ }) => Promise<{
1955
+ transactions: Transaction[];
1956
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1957
+ signers: Map<number, TransactionSigner>;
1958
+ }>;
1959
+ /**
1960
+ * Makes a call to the RetiReader smart contract using the `getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))` ABI method.
1961
+ *
1962
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1963
+ *
1964
+ * @param params The params for the smart contract call
1965
+ * @returns The call transaction
1966
+ */
1967
+ getAllPoolInfo: (params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & {
1968
+ onComplete?: OnApplicationComplete.NoOpOC;
1969
+ }) => Promise<{
1970
+ transactions: Transaction[];
1971
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1972
+ signers: Map<number, TransactionSigner>;
1973
+ }>;
1974
+ /**
1975
+ * Makes a call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
1976
+ *
1977
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1978
+ *
1979
+ * @param params The params for the smart contract call
1980
+ * @returns The call transaction
1981
+ */
1982
+ getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
1983
+ onComplete?: OnApplicationComplete.NoOpOC;
1984
+ }) => Promise<{
1985
+ transactions: Transaction[];
1986
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
1987
+ signers: Map<number, TransactionSigner>;
1988
+ }>;
1989
+ /**
1990
+ * Makes a call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
1991
+ *
1992
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
1993
+ *
1994
+ * @param params The params for the smart contract call
1995
+ * @returns The call transaction
1996
+ */
1997
+ getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
1998
+ onComplete?: OnApplicationComplete.NoOpOC;
1999
+ }) => Promise<{
2000
+ transactions: Transaction[];
2001
+ methodCalls: Map<number, import("algosdk").ABIMethod>;
2002
+ signers: Map<number, TransactionSigner>;
2003
+ }>;
2004
+ };
2005
+ /**
2006
+ * Send calls to the current app
2007
+ */
2008
+ readonly send: {
2009
+ /**
2010
+ * Gets available update methods
2011
+ */
2012
+ update: {
2013
+ /**
2014
+ * Updates an existing instance of the RetiReader smart contract using a bare call.
2015
+ *
2016
+ * @param params The params for the bare (raw) call
2017
+ * @returns The update result
2018
+ */
2019
+ bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams & SendParams>) => Promise<{
2020
+ compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
2021
+ compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
2022
+ groupId: string;
2023
+ txIds: string[];
2024
+ returns?: ABIReturn[] | undefined;
2025
+ confirmations: modelsv2.PendingTransactionResponse[];
2026
+ transactions: Transaction[];
2027
+ confirmation: modelsv2.PendingTransactionResponse;
2028
+ transaction: Transaction;
2029
+ return?: ABIReturn | undefined;
2030
+ }>;
2031
+ };
2032
+ /**
2033
+ * Gets available delete methods
2034
+ */
2035
+ delete: {
2036
+ /**
2037
+ * Deletes an existing instance of the RetiReader smart contract using a bare call.
2038
+ *
2039
+ * @param params The params for the bare (raw) call
2040
+ * @returns The delete result
2041
+ */
2042
+ bare: (params?: Expand<AppClientBareCallParams & SendParams>) => Promise<{
2043
+ groupId: string;
2044
+ txIds: string[];
2045
+ returns?: ABIReturn[] | undefined;
2046
+ confirmations: modelsv2.PendingTransactionResponse[]; /**
2047
+ * Creates a new instance of the RetiReader smart contract using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
2048
+ *
2049
+ * @param params The params for the smart contract call
2050
+ * @returns The create params
2051
+ */
2052
+ transactions: Transaction[];
2053
+ confirmation: modelsv2.PendingTransactionResponse;
2054
+ transaction: Transaction;
2055
+ return?: ABIReturn | undefined;
2056
+ }>;
2057
+ };
2058
+ /**
2059
+ * Makes a clear_state call to an existing instance of the RetiReader smart contract.
2060
+ *
2061
+ * @param params The params for the bare (raw) call
2062
+ * @returns The clearState result
2063
+ */
2064
+ clearState: (params?: Expand<AppClientBareCallParams & SendParams>) => Promise<{
2065
+ groupId: string;
2066
+ txIds: string[];
2067
+ returns?: ABIReturn[] | undefined;
2068
+ confirmations: modelsv2.PendingTransactionResponse[];
2069
+ transactions: Transaction[];
2070
+ confirmation: modelsv2.PendingTransactionResponse;
2071
+ transaction: Transaction;
2072
+ return?: ABIReturn | undefined;
2073
+ }>;
2074
+ /**
2075
+ * Makes a call to the RetiReader smart contract using the `getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)` ABI method.
2076
+ *
2077
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2078
+ *
2079
+ * @param params The params for the smart contract call
2080
+ * @returns The call result
2081
+ */
2082
+ getValidatorConfig: (params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']> & SendParams & {
2083
+ onComplete?: OnApplicationComplete.NoOpOC;
2084
+ }) => Promise<{
2085
+ return: ValidatorConfig | undefined;
2086
+ returns?: ABIReturn[] | undefined;
2087
+ groupId: string;
2088
+ txIds: string[];
2089
+ confirmations: modelsv2.PendingTransactionResponse[];
2090
+ transactions: Transaction[];
2091
+ confirmation: modelsv2.PendingTransactionResponse;
2092
+ transaction: Transaction;
2093
+ }>;
2094
+ /**
2095
+ * Makes a call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
2096
+ *
2097
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2098
+ *
2099
+ * @param params The params for the smart contract call
2100
+ * @returns The call result
2101
+ */
2102
+ getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & SendParams & {
2103
+ onComplete?: OnApplicationComplete.NoOpOC;
2104
+ }) => Promise<{
2105
+ return: ValidatorCurState | undefined;
2106
+ returns?: ABIReturn[] | undefined;
2107
+ groupId: string;
2108
+ txIds: string[];
2109
+ confirmations: modelsv2.PendingTransactionResponse[];
2110
+ transactions: Transaction[];
2111
+ confirmation: modelsv2.PendingTransactionResponse;
2112
+ transaction: Transaction;
2113
+ }>;
2114
+ /**
2115
+ * Makes a call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
2116
+ *
2117
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2118
+ *
2119
+ * @param params The params for the smart contract call
2120
+ * @returns The call result
2121
+ */
2122
+ getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & SendParams & {
2123
+ onComplete?: OnApplicationComplete.NoOpOC;
2124
+ }) => Promise<{
2125
+ return: ValidatorPoolInfo | undefined;
2126
+ returns?: ABIReturn[] | undefined;
2127
+ groupId: string;
2128
+ txIds: string[];
2129
+ confirmations: modelsv2.PendingTransactionResponse[];
2130
+ transactions: Transaction[];
2131
+ confirmation: modelsv2.PendingTransactionResponse;
2132
+ transaction: Transaction;
2133
+ }>;
2134
+ /**
2135
+ * Makes a call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
2136
+ *
2137
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2138
+ *
2139
+ * @param params The params for the smart contract call
2140
+ * @returns The call result
2141
+ */
2142
+ getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & SendParams & {
2143
+ onComplete?: OnApplicationComplete.NoOpOC;
2144
+ }) => Promise<{
2145
+ return: NodePoolAssignmentConfig | undefined;
2146
+ returns?: ABIReturn[] | undefined;
2147
+ groupId: string;
2148
+ txIds: string[];
2149
+ confirmations: modelsv2.PendingTransactionResponse[];
2150
+ transactions: Transaction[];
2151
+ confirmation: modelsv2.PendingTransactionResponse;
2152
+ transaction: Transaction;
2153
+ }>;
2154
+ /**
2155
+ * Makes a call to the RetiReader smart contract using the `getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))` ABI method.
2156
+ *
2157
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2158
+ *
2159
+ * @param params The params for the smart contract call
2160
+ * @returns The call result
2161
+ */
2162
+ getAllPoolInfo: (params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']> & SendParams & {
2163
+ onComplete?: OnApplicationComplete.NoOpOC;
2164
+ }) => Promise<{
2165
+ return: AllPoolInfo | undefined;
2166
+ returns?: ABIReturn[] | undefined;
2167
+ groupId: string;
2168
+ txIds: string[];
2169
+ confirmations: modelsv2.PendingTransactionResponse[];
2170
+ transactions: Transaction[];
2171
+ confirmation: modelsv2.PendingTransactionResponse;
2172
+ transaction: Transaction;
2173
+ }>;
2174
+ /**
2175
+ * Makes a call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
2176
+ *
2177
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2178
+ *
2179
+ * @param params The params for the smart contract call
2180
+ * @returns The call result
2181
+ */
2182
+ getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & SendParams & {
2183
+ onComplete?: OnApplicationComplete.NoOpOC;
2184
+ }) => Promise<{
2185
+ return: bigint | undefined;
2186
+ returns?: ABIReturn[] | undefined;
2187
+ groupId: string;
2188
+ txIds: string[];
2189
+ confirmations: modelsv2.PendingTransactionResponse[];
2190
+ transactions: Transaction[];
2191
+ confirmation: modelsv2.PendingTransactionResponse;
2192
+ transaction: Transaction;
2193
+ }>;
2194
+ /**
2195
+ * Makes a call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
2196
+ *
2197
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2198
+ *
2199
+ * @param params The params for the smart contract call
2200
+ * @returns The call result
2201
+ */
2202
+ getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & SendParams & {
2203
+ onComplete?: OnApplicationComplete.NoOpOC;
2204
+ }) => Promise<{
2205
+ return: string | undefined;
2206
+ returns?: ABIReturn[] | undefined;
2207
+ groupId: string;
2208
+ txIds: string[];
2209
+ confirmations: modelsv2.PendingTransactionResponse[];
2210
+ transactions: Transaction[];
2211
+ confirmation: modelsv2.PendingTransactionResponse;
2212
+ transaction: Transaction;
2213
+ }>;
2214
+ };
2215
+ /**
2216
+ * Clone this app client with different params
2217
+ *
2218
+ * @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.
2219
+ * @returns A new app client with the altered params
2220
+ */
2221
+ clone(params: CloneAppClientParams): RetiReaderClient;
2222
+ /**
2223
+ * Makes a readonly (simulated) call to the RetiReader smart contract using the `getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)` ABI method.
2224
+ *
2225
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2226
+ *
2227
+ * @param params The params for the smart contract call
2228
+ * @returns The call result
2229
+ */
2230
+ getValidatorConfig(params: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']>): Promise<ValidatorConfig>;
2231
+ /**
2232
+ * Makes a readonly (simulated) call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
2233
+ *
2234
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2235
+ *
2236
+ * @param params The params for the smart contract call
2237
+ * @returns The call result
2238
+ */
2239
+ getValidatorStates(params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']>): Promise<ValidatorCurState>;
2240
+ /**
2241
+ * Makes a readonly (simulated) call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
2242
+ *
2243
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2244
+ *
2245
+ * @param params The params for the smart contract call
2246
+ * @returns The call result
2247
+ */
2248
+ getPools(params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']>): Promise<ValidatorPoolInfo>;
2249
+ /**
2250
+ * Makes a readonly (simulated) call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
2251
+ *
2252
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2253
+ *
2254
+ * @param params The params for the smart contract call
2255
+ * @returns The call result
2256
+ */
2257
+ getNodePoolAssignments(params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']>): Promise<NodePoolAssignmentConfig>;
2258
+ /**
2259
+ * Makes a readonly (simulated) call to the RetiReader smart contract using the `getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))` ABI method.
2260
+ *
2261
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2262
+ *
2263
+ * @param params The params for the smart contract call
2264
+ * @returns The call result
2265
+ */
2266
+ getAllPoolInfo(params: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']>): Promise<AllPoolInfo>;
2267
+ /**
2268
+ * Makes a readonly (simulated) call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
2269
+ *
2270
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2271
+ *
2272
+ * @param params The params for the smart contract call
2273
+ * @returns The call result
2274
+ */
2275
+ getBlockTimestamps(params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']>): Promise<bigint>;
2276
+ /**
2277
+ * Makes a readonly (simulated) call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
2278
+ *
2279
+ * This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
2280
+ *
2281
+ * @param params The params for the smart contract call
2282
+ * @returns The call result
2283
+ */
2284
+ getAlgodVersion(params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']>): Promise<string>;
2285
+ /**
2286
+ * Methods to access state for the current RetiReader app
2287
+ */
2288
+ state: {};
2289
+ newGroup(): RetiReaderComposer;
2290
+ }
2291
+ export type RetiReaderComposer<TReturns extends [...any[]] = []> = {
2292
+ /**
2293
+ * Calls the getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64) ABI method.
2294
+ *
2295
+ * @param args The arguments for the contract call
2296
+ * @param params Any additional parameters for the call
2297
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2298
+ */
2299
+ getValidatorConfig(params?: CallParams<RetiReaderArgs['obj']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'] | undefined]>;
2300
+ /**
2301
+ * Calls the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method.
2302
+ *
2303
+ * @param args The arguments for the contract call
2304
+ * @param params Any additional parameters for the call
2305
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2306
+ */
2307
+ getValidatorStates(params?: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | undefined]>;
2308
+ /**
2309
+ * Calls the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
2310
+ *
2311
+ * @param args The arguments for the contract call
2312
+ * @param params Any additional parameters for the call
2313
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2314
+ */
2315
+ getPools(params?: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | undefined]>;
2316
+ /**
2317
+ * Calls the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
2318
+ *
2319
+ * @param args The arguments for the contract call
2320
+ * @param params Any additional parameters for the call
2321
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2322
+ */
2323
+ getNodePoolAssignments(params?: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | undefined]>;
2324
+ /**
2325
+ * Calls the getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8])) ABI method.
2326
+ *
2327
+ * @param args The arguments for the contract call
2328
+ * @param params Any additional parameters for the call
2329
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2330
+ */
2331
+ getAllPoolInfo(params?: CallParams<RetiReaderArgs['obj']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | RetiReaderArgs['tuple']['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getAllPoolInfo(uint64,uint64[])((uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64),(uint16,uint64,uint64,uint64),(uint64,uint16,uint64)[],((uint64[3])[8]))'] | undefined]>;
2332
+ /**
2333
+ * Calls the getBlockTimestamps(uint64)uint64 ABI method.
2334
+ *
2335
+ * @param args The arguments for the contract call
2336
+ * @param params Any additional parameters for the call
2337
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2338
+ */
2339
+ getBlockTimestamps(params?: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getBlockTimestamps(uint64)uint64'] | undefined]>;
2340
+ /**
2341
+ * Calls the getAlgodVersion(uint64[])string ABI method.
2342
+ *
2343
+ * @param args The arguments for the contract call
2344
+ * @param params Any additional parameters for the call
2345
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2346
+ */
2347
+ getAlgodVersion(params?: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getAlgodVersion(uint64[])string'] | undefined]>;
2348
+ /**
2349
+ * Gets available update methods
2350
+ */
2351
+ readonly update: {
2352
+ /**
2353
+ * Updates an existing instance of the RetiReader smart contract using a bare call.
2354
+ *
2355
+ * @param args The arguments for the bare call
2356
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2357
+ */
2358
+ bare(params?: AppClientBareCallParams): RetiReaderComposer<[...TReturns, undefined]>;
2359
+ };
2360
+ /**
2361
+ * Gets available delete methods
2362
+ */
2363
+ readonly delete: {
2364
+ /**
2365
+ * Deletes an existing instance of the RetiReader smart contract using a bare call.
2366
+ *
2367
+ * @param args The arguments for the bare call
2368
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2369
+ */
2370
+ bare(params?: AppClientBareCallParams): RetiReaderComposer<[...TReturns, undefined]>;
2371
+ };
2372
+ /**
2373
+ * Makes a clear_state call to an existing instance of the RetiReader smart contract.
2374
+ *
2375
+ * @param args The arguments for the bare call
2376
+ * @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
2377
+ */
2378
+ clearState(params?: AppClientBareCallParams): RetiReaderComposer<[...TReturns, undefined]>;
2379
+ /**
2380
+ * Adds a transaction to the composer
2381
+ *
2382
+ * @param txn A transaction to add to the transaction group
2383
+ * @param signer The optional signer to use when signing this transaction.
2384
+ */
2385
+ addTransaction(txn: Transaction, signer?: TransactionSigner): RetiReaderComposer<TReturns>;
2386
+ /**
2387
+ * Returns the underlying AtomicTransactionComposer instance
2388
+ */
2389
+ composer(): Promise<TransactionComposer>;
2390
+ /**
2391
+ * Simulates the transaction group and returns the result
2392
+ */
2393
+ simulate(): Promise<RetiReaderComposerResults<TReturns> & {
2394
+ simulateResponse: modelsv2.SimulateResponse;
2395
+ }>;
2396
+ simulate(options: SkipSignaturesSimulateOptions): Promise<RetiReaderComposerResults<TReturns> & {
2397
+ simulateResponse: modelsv2.SimulateResponse;
2398
+ }>;
2399
+ simulate(options: RawSimulateOptions): Promise<RetiReaderComposerResults<TReturns> & {
2400
+ simulateResponse: modelsv2.SimulateResponse;
2401
+ }>;
2402
+ /**
2403
+ * Sends the transaction group to the network and returns the results
2404
+ */
2405
+ send(params?: SendParams): Promise<RetiReaderComposerResults<TReturns>>;
2406
+ };
2407
+ export type RetiReaderComposerResults<TReturns extends [...any[]]> = Expand<SendAtomicTransactionComposerResults & {
2408
+ returns: TReturns;
2409
+ }>;
2410
+ import { CommonAppCallParams } from '@algorandfoundation/algokit-utils/types/composer';
2411
+ type ExtraMethodCallArgs = Omit<CommonAppCallParams, 'appId' | 'sender' | 'method' | 'args' | 'onComplete'>;
2412
+ type Methods = RetiReaderTypes['methods'];
2413
+ declare class GhostBase {
2414
+ static factory: typeof RetiReaderFactory;
2415
+ static client: typeof RetiReaderClient;
2416
+ algorand: AlgorandClient;
2417
+ readerAccount: string;
2418
+ ghostAppId?: bigint;
2419
+ factory: RetiReaderFactory;
2420
+ protected client: RetiReaderClient;
2421
+ cacheParamsTimeout: number;
2422
+ constructor({ algorand, readerAccount, ghostAppId, }: {
2423
+ algorand: AlgorandClient;
2424
+ readerAccount?: string;
2425
+ ghostAppId?: bigint;
2426
+ });
2427
+ protected getAndCacheSuggestedParams(): Promise<import("algosdk").SuggestedParams>;
2428
+ protected execute<T>({ signature, txnBuilder, methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2429
+ signature: string;
2430
+ txnBuilder: (builder: RetiReaderComposer<any>, args: any) => RetiReaderComposer<any>;
2431
+ methodArgsOrArgsArray: any;
2432
+ extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
2433
+ extraSimulateArgs?: RawSimulateOptions;
2434
+ }): Promise<T[]>;
2435
+ }
2436
+ export declare class RetiReaderSDK extends GhostBase {
2437
+ constructor(args: ConstructorParameters<typeof GhostBase>[0]);
2438
+ getValidatorConfig({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2439
+ methodArgsOrArgsArray: Methods['getValidatorConfig']['argsObj'] | Methods['getValidatorConfig']['argsObj'][];
2440
+ extraMethodCallArgs?: ExtraMethodCallArgs;
2441
+ extraSimulateArgs?: RawSimulateOptions;
2442
+ }): Promise<Methods['getValidatorConfig']['returns'][]>;
2443
+ getValidatorStates({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2444
+ methodArgsOrArgsArray: Methods['getValidatorStates']['argsObj'] | Methods['getValidatorStates']['argsObj'][];
2445
+ extraMethodCallArgs?: ExtraMethodCallArgs;
2446
+ extraSimulateArgs?: RawSimulateOptions;
2447
+ }): Promise<Methods['getValidatorStates']['returns'][]>;
2448
+ getPools({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2449
+ methodArgsOrArgsArray: Methods['getPools']['argsObj'] | Methods['getPools']['argsObj'][];
2450
+ extraMethodCallArgs?: ExtraMethodCallArgs;
2451
+ extraSimulateArgs?: RawSimulateOptions;
2452
+ }): Promise<Methods['getPools']['returns'][]>;
2453
+ getNodePoolAssignments({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2454
+ methodArgsOrArgsArray: Methods['getNodePoolAssignments']['argsObj'] | Methods['getNodePoolAssignments']['argsObj'][];
2455
+ extraMethodCallArgs?: ExtraMethodCallArgs;
2456
+ extraSimulateArgs?: RawSimulateOptions;
2457
+ }): Promise<Methods['getNodePoolAssignments']['returns'][]>;
2458
+ getAllPoolInfo({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2459
+ methodArgsOrArgsArray: Methods['getAllPoolInfo']['argsObj'] | Methods['getAllPoolInfo']['argsObj'][];
2460
+ extraMethodCallArgs?: ExtraMethodCallArgs;
2461
+ extraSimulateArgs?: RawSimulateOptions;
2462
+ }): Promise<Methods['getAllPoolInfo']['returns'][]>;
2463
+ getBlockTimestamps({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2464
+ methodArgsOrArgsArray: Methods['getBlockTimestamps']['argsObj'] | Methods['getBlockTimestamps']['argsObj'][];
2465
+ extraMethodCallArgs?: ExtraMethodCallArgs;
2466
+ extraSimulateArgs?: RawSimulateOptions;
2467
+ }): Promise<Methods['getBlockTimestamps']['returns'][]>;
2468
+ getAlgodVersion({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
2469
+ methodArgsOrArgsArray: Methods['getAlgodVersion']['argsObj'] | Methods['getAlgodVersion']['argsObj'][];
2470
+ extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
2471
+ extraSimulateArgs?: RawSimulateOptions;
2472
+ }): Promise<Methods['getAlgodVersion']['returns'][]>;
2473
+ }
2474
+ export {};