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.
- package/README.md +11 -0
- package/dist/examples/assets.d.ts +1 -0
- package/dist/examples/assets.js +14 -0
- package/dist/examples/deployed.d.ts +1 -0
- package/dist/examples/deployed.js +31 -0
- package/dist/examples/run.d.ts +1 -0
- package/dist/examples/run.js +48 -0
- package/dist/examples/single.d.ts +1 -0
- package/dist/examples/single.js +21 -0
- package/dist/generated/AbelReaderSDK.d.ts +729 -0
- package/dist/generated/AbelReaderSDK.js +511 -0
- package/dist/generated/RetiReaderSDK.d.ts +3236 -0
- package/dist/generated/RetiReaderSDK.js +1773 -0
- package/dist/generated/sdk.d.ts +2474 -0
- package/dist/generated/sdk.js +1388 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +45 -0
- package/dist/utils/chunk.d.ts +1 -0
- package/dist/utils/chunk.js +9 -0
- package/dist/utils/chunked.d.ts +7 -0
- package/dist/utils/chunked.js +35 -0
- package/package.json +37 -0
|
@@ -0,0 +1,3236 @@
|
|
|
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 AssetInfo = {
|
|
36
|
+
assetId: bigint;
|
|
37
|
+
creator: string;
|
|
38
|
+
total: bigint;
|
|
39
|
+
decimals: number;
|
|
40
|
+
unitName: string;
|
|
41
|
+
name: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Converts the ABI tuple representation of a AssetInfo to the struct representation
|
|
45
|
+
*/
|
|
46
|
+
export declare function AssetInfoFromTuple(abiTuple: [bigint, string, bigint, number, string, string]): AssetInfo;
|
|
47
|
+
export type Constraints = {
|
|
48
|
+
epochPayoutRoundsMin: bigint;
|
|
49
|
+
epochPayoutRoundsMax: bigint;
|
|
50
|
+
minPctToValidatorWFourDecimals: bigint;
|
|
51
|
+
maxPctToValidatorWFourDecimals: bigint;
|
|
52
|
+
minEntryStake: bigint;
|
|
53
|
+
maxAlgoPerPool: bigint;
|
|
54
|
+
maxAlgoPerValidator: bigint;
|
|
55
|
+
amtConsideredSaturated: bigint;
|
|
56
|
+
maxNodes: bigint;
|
|
57
|
+
maxPoolsPerNode: bigint;
|
|
58
|
+
maxStakersPerPool: bigint;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Converts the ABI tuple representation of a Constraints to the struct representation
|
|
62
|
+
*/
|
|
63
|
+
export declare function ConstraintsFromTuple(abiTuple: [bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint]): Constraints;
|
|
64
|
+
export type MbrAmounts = {
|
|
65
|
+
addValidatorMbr: bigint;
|
|
66
|
+
addPoolMbr: bigint;
|
|
67
|
+
poolInitMbr: bigint;
|
|
68
|
+
addStakerMbr: bigint;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Converts the ABI tuple representation of a MbrAmounts to the struct representation
|
|
72
|
+
*/
|
|
73
|
+
export declare function MbrAmountsFromTuple(abiTuple: [bigint, bigint, bigint, bigint]): MbrAmounts;
|
|
74
|
+
export type NodePoolAssignmentConfig = {
|
|
75
|
+
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]]];
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Converts the ABI tuple representation of a NodePoolAssignmentConfig to the struct representation
|
|
79
|
+
*/
|
|
80
|
+
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;
|
|
81
|
+
export type PoolInfo = {
|
|
82
|
+
poolAppId: bigint;
|
|
83
|
+
totalStakers: number;
|
|
84
|
+
totalAlgoStaked: bigint;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Converts the ABI tuple representation of a PoolInfo to the struct representation
|
|
88
|
+
*/
|
|
89
|
+
export declare function PoolInfoFromTuple(abiTuple: [bigint, number, bigint]): PoolInfo;
|
|
90
|
+
export type ValidatorConfig = {
|
|
91
|
+
id: bigint;
|
|
92
|
+
owner: string;
|
|
93
|
+
manager: string;
|
|
94
|
+
nfdForInfo: bigint;
|
|
95
|
+
entryGatingType: number;
|
|
96
|
+
entryGatingAddress: string;
|
|
97
|
+
entryGatingAssets: [bigint, bigint, bigint, bigint];
|
|
98
|
+
gatingAssetMinBalance: bigint;
|
|
99
|
+
rewardTokenId: bigint;
|
|
100
|
+
rewardPerPayout: bigint;
|
|
101
|
+
epochRoundLength: number;
|
|
102
|
+
percentToValidator: number;
|
|
103
|
+
validatorCommissionAddress: string;
|
|
104
|
+
minEntryStake: bigint;
|
|
105
|
+
maxAlgoPerPool: bigint;
|
|
106
|
+
poolsPerNode: number;
|
|
107
|
+
sunsettingOn: bigint;
|
|
108
|
+
sunsettingTo: bigint;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Converts the ABI tuple representation of a ValidatorConfig to the struct representation
|
|
112
|
+
*/
|
|
113
|
+
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;
|
|
114
|
+
export type ValidatorCurState = {
|
|
115
|
+
numPools: number;
|
|
116
|
+
totalStakers: bigint;
|
|
117
|
+
totalAlgoStaked: bigint;
|
|
118
|
+
rewardTokenHeldBack: bigint;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Converts the ABI tuple representation of a ValidatorCurState to the struct representation
|
|
122
|
+
*/
|
|
123
|
+
export declare function ValidatorCurStateFromTuple(abiTuple: [number, bigint, bigint, bigint]): ValidatorCurState;
|
|
124
|
+
export type MbrAmountsAndProtocolConstraints = {
|
|
125
|
+
mbrAmounts: MbrAmounts;
|
|
126
|
+
constraints: Constraints;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Converts the ABI tuple representation of a MbrAmountsAndProtocolConstraints to the struct representation
|
|
130
|
+
*/
|
|
131
|
+
export declare function MbrAmountsAndProtocolConstraintsFromTuple(abiTuple: [[bigint, bigint, bigint, bigint], [bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint]]): MbrAmountsAndProtocolConstraints;
|
|
132
|
+
export type Validator = {
|
|
133
|
+
config: ValidatorConfig;
|
|
134
|
+
state: ValidatorCurState;
|
|
135
|
+
poolInfo: [bigint, number, bigint][];
|
|
136
|
+
nodeAssignment: NodePoolAssignmentConfig;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Converts the ABI tuple representation of a Validator to the struct representation
|
|
140
|
+
*/
|
|
141
|
+
export declare function ValidatorFromTuple(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]]]]]): Validator;
|
|
142
|
+
export type ValidatorPoolInfo = {
|
|
143
|
+
validatorId: bigint;
|
|
144
|
+
poolInfo: PoolInfo;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Converts the ABI tuple representation of a ValidatorPoolInfo to the struct representation
|
|
148
|
+
*/
|
|
149
|
+
export declare function ValidatorPoolInfoFromTuple(abiTuple: [bigint, [bigint, number, bigint]]): ValidatorPoolInfo;
|
|
150
|
+
/**
|
|
151
|
+
* The argument types for the RetiReader contract
|
|
152
|
+
*/
|
|
153
|
+
export type RetiReaderArgs = {
|
|
154
|
+
/**
|
|
155
|
+
* The object representation of the arguments for each method
|
|
156
|
+
*/
|
|
157
|
+
obj: {
|
|
158
|
+
'getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))': {
|
|
159
|
+
registryAppId: bigint | number;
|
|
160
|
+
};
|
|
161
|
+
'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)': {
|
|
162
|
+
registryAppId: bigint | number;
|
|
163
|
+
validatorIds: bigint[] | number[];
|
|
164
|
+
};
|
|
165
|
+
'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)': {
|
|
166
|
+
registryAppId: bigint | number;
|
|
167
|
+
validatorIds: bigint[] | number[];
|
|
168
|
+
};
|
|
169
|
+
'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))': {
|
|
170
|
+
registryAppId: bigint | number;
|
|
171
|
+
validatorIds: bigint[] | number[];
|
|
172
|
+
};
|
|
173
|
+
'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])': {
|
|
174
|
+
registryAppId: bigint | number;
|
|
175
|
+
validatorIds: bigint[] | number[];
|
|
176
|
+
};
|
|
177
|
+
'getValidators(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]))': {
|
|
178
|
+
registryAppId: bigint | number;
|
|
179
|
+
validatorIds: bigint[] | number[];
|
|
180
|
+
};
|
|
181
|
+
'getBlockTimestamps(uint64)uint64': {
|
|
182
|
+
num: bigint | number;
|
|
183
|
+
};
|
|
184
|
+
'getAlgodVersion(uint64[])string': {
|
|
185
|
+
poolAppIds: bigint[] | number[];
|
|
186
|
+
};
|
|
187
|
+
'getAssets(uint64[])(uint64,address,uint64,uint8,string,string)': {
|
|
188
|
+
assetIds: bigint[] | number[];
|
|
189
|
+
};
|
|
190
|
+
'getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)': {
|
|
191
|
+
poolAppIds: bigint[] | number[];
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* The tuple representation of the arguments for each method
|
|
196
|
+
*/
|
|
197
|
+
tuple: {
|
|
198
|
+
'getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))': [registryAppId: bigint | number];
|
|
199
|
+
'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[]];
|
|
200
|
+
'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
|
|
201
|
+
'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
|
|
202
|
+
'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])': [registryAppId: bigint | number, validatorIds: bigint[] | number[]];
|
|
203
|
+
'getValidators(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[]];
|
|
204
|
+
'getBlockTimestamps(uint64)uint64': [num: bigint | number];
|
|
205
|
+
'getAlgodVersion(uint64[])string': [poolAppIds: bigint[] | number[]];
|
|
206
|
+
'getAssets(uint64[])(uint64,address,uint64,uint8,string,string)': [assetIds: bigint[] | number[]];
|
|
207
|
+
'getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)': [poolAppIds: bigint[] | number[]];
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* The return type for each method
|
|
212
|
+
*/
|
|
213
|
+
export type RetiReaderReturns = {
|
|
214
|
+
'getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))': MbrAmountsAndProtocolConstraints;
|
|
215
|
+
'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)': ValidatorConfig;
|
|
216
|
+
'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)': ValidatorCurState;
|
|
217
|
+
'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))': ValidatorPoolInfo;
|
|
218
|
+
'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])': NodePoolAssignmentConfig;
|
|
219
|
+
'getValidators(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]))': Validator;
|
|
220
|
+
'getBlockTimestamps(uint64)uint64': bigint;
|
|
221
|
+
'getAlgodVersion(uint64[])string': string;
|
|
222
|
+
'getAssets(uint64[])(uint64,address,uint64,uint8,string,string)': AssetInfo;
|
|
223
|
+
'getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)': [bigint, bigint];
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* Defines the types of available calls and state of the RetiReader smart contract.
|
|
227
|
+
*/
|
|
228
|
+
export type RetiReaderTypes = {
|
|
229
|
+
/**
|
|
230
|
+
* Maps method signatures / names to their argument and return types.
|
|
231
|
+
*/
|
|
232
|
+
methods: Record<'getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))' | 'getMbrAmountsAndProtocolConstraints', {
|
|
233
|
+
argsObj: RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'];
|
|
234
|
+
argsTuple: RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'];
|
|
235
|
+
returns: RetiReaderReturns['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'];
|
|
236
|
+
}> & Record<'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)' | 'getValidatorConfig', {
|
|
237
|
+
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)'];
|
|
238
|
+
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)'];
|
|
239
|
+
returns: RetiReaderReturns['getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)'];
|
|
240
|
+
}> & Record<'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)' | 'getValidatorStates', {
|
|
241
|
+
argsObj: RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'];
|
|
242
|
+
argsTuple: RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'];
|
|
243
|
+
returns: RetiReaderReturns['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'];
|
|
244
|
+
}> & Record<'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))' | 'getPools', {
|
|
245
|
+
argsObj: RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'];
|
|
246
|
+
argsTuple: RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'];
|
|
247
|
+
returns: RetiReaderReturns['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'];
|
|
248
|
+
}> & Record<'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])' | 'getNodePoolAssignments', {
|
|
249
|
+
argsObj: RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'];
|
|
250
|
+
argsTuple: RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'];
|
|
251
|
+
returns: RetiReaderReturns['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'];
|
|
252
|
+
}> & Record<'getValidators(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]))' | 'getValidators', {
|
|
253
|
+
argsObj: RetiReaderArgs['obj']['getValidators(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]))'];
|
|
254
|
+
argsTuple: RetiReaderArgs['tuple']['getValidators(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]))'];
|
|
255
|
+
returns: RetiReaderReturns['getValidators(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]))'];
|
|
256
|
+
}> & Record<'getBlockTimestamps(uint64)uint64' | 'getBlockTimestamps', {
|
|
257
|
+
argsObj: RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'];
|
|
258
|
+
argsTuple: RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64'];
|
|
259
|
+
returns: RetiReaderReturns['getBlockTimestamps(uint64)uint64'];
|
|
260
|
+
}> & Record<'getAlgodVersion(uint64[])string' | 'getAlgodVersion', {
|
|
261
|
+
argsObj: RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'];
|
|
262
|
+
argsTuple: RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string'];
|
|
263
|
+
returns: RetiReaderReturns['getAlgodVersion(uint64[])string'];
|
|
264
|
+
}> & Record<'getAssets(uint64[])(uint64,address,uint64,uint8,string,string)' | 'getAssets', {
|
|
265
|
+
argsObj: RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'];
|
|
266
|
+
argsTuple: RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'];
|
|
267
|
+
returns: RetiReaderReturns['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'];
|
|
268
|
+
}> & Record<'getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)' | 'getPoolBalancesAndLastPayouts', {
|
|
269
|
+
argsObj: RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'];
|
|
270
|
+
argsTuple: RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'];
|
|
271
|
+
returns: RetiReaderReturns['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'];
|
|
272
|
+
}>;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Defines the possible abi call signatures.
|
|
276
|
+
*/
|
|
277
|
+
export type RetiReaderSignatures = keyof RetiReaderTypes['methods'];
|
|
278
|
+
/**
|
|
279
|
+
* Defines the possible abi call signatures for methods that return a non-void value.
|
|
280
|
+
*/
|
|
281
|
+
export type RetiReaderNonVoidMethodSignatures = keyof RetiReaderTypes['methods'] extends infer T ? T extends keyof RetiReaderTypes['methods'] ? MethodReturn<T> extends void ? never : T : never : never;
|
|
282
|
+
/**
|
|
283
|
+
* Defines an object containing all relevant parameters for a single call to the contract.
|
|
284
|
+
*/
|
|
285
|
+
export type CallParams<TArgs> = Expand<Omit<AppClientMethodCallParams, 'method' | 'args' | 'onComplete'> & {
|
|
286
|
+
/** The args for the ABI method call, either as an ordered array or an object */
|
|
287
|
+
args: Expand<TArgs>;
|
|
288
|
+
}>;
|
|
289
|
+
/**
|
|
290
|
+
* Maps a method signature from the RetiReader smart contract to the method's arguments in either tuple or struct form
|
|
291
|
+
*/
|
|
292
|
+
export type MethodArgs<TSignature extends RetiReaderSignatures> = RetiReaderTypes['methods'][TSignature]['argsObj' | 'argsTuple'];
|
|
293
|
+
/**
|
|
294
|
+
* Maps a method signature from the RetiReader smart contract to the method's return type
|
|
295
|
+
*/
|
|
296
|
+
export type MethodReturn<TSignature extends RetiReaderSignatures> = RetiReaderTypes['methods'][TSignature]['returns'];
|
|
297
|
+
/**
|
|
298
|
+
* Defines supported create method params for this smart contract
|
|
299
|
+
*/
|
|
300
|
+
export type RetiReaderCreateCallParams = Expand<CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & {
|
|
301
|
+
method: 'getMbrAmountsAndProtocolConstraints';
|
|
302
|
+
} & {
|
|
303
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
304
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & {
|
|
305
|
+
method: 'getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))';
|
|
306
|
+
} & {
|
|
307
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
308
|
+
} & 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)']> & {
|
|
309
|
+
method: 'getValidatorConfig';
|
|
310
|
+
} & {
|
|
311
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
312
|
+
} & 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)']> & {
|
|
313
|
+
method: 'getValidatorConfig(uint64,uint64[])(uint64,address,address,uint64,uint8,address,uint64[4],uint64,uint64,uint64,uint32,uint32,address,uint64,uint64,uint8,uint64,uint64)';
|
|
314
|
+
} & {
|
|
315
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
316
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
|
|
317
|
+
method: 'getValidatorStates';
|
|
318
|
+
} & {
|
|
319
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
320
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
|
|
321
|
+
method: 'getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)';
|
|
322
|
+
} & {
|
|
323
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
324
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
|
|
325
|
+
method: 'getPools';
|
|
326
|
+
} & {
|
|
327
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
328
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
|
|
329
|
+
method: 'getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))';
|
|
330
|
+
} & {
|
|
331
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
332
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
|
|
333
|
+
method: 'getNodePoolAssignments';
|
|
334
|
+
} & {
|
|
335
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
336
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
|
|
337
|
+
method: 'getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])';
|
|
338
|
+
} & {
|
|
339
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
340
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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]))']> & {
|
|
341
|
+
method: 'getValidators';
|
|
342
|
+
} & {
|
|
343
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
344
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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]))']> & {
|
|
345
|
+
method: 'getValidators(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]))';
|
|
346
|
+
} & {
|
|
347
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
348
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
|
|
349
|
+
method: 'getBlockTimestamps';
|
|
350
|
+
} & {
|
|
351
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
352
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
|
|
353
|
+
method: 'getBlockTimestamps(uint64)uint64';
|
|
354
|
+
} & {
|
|
355
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
356
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
|
|
357
|
+
method: 'getAlgodVersion';
|
|
358
|
+
} & {
|
|
359
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
360
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
|
|
361
|
+
method: 'getAlgodVersion(uint64[])string';
|
|
362
|
+
} & {
|
|
363
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
364
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & {
|
|
365
|
+
method: 'getAssets';
|
|
366
|
+
} & {
|
|
367
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
368
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & {
|
|
369
|
+
method: 'getAssets(uint64[])(uint64,address,uint64,uint8,string,string)';
|
|
370
|
+
} & {
|
|
371
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
372
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & {
|
|
373
|
+
method: 'getPoolBalancesAndLastPayouts';
|
|
374
|
+
} & {
|
|
375
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
376
|
+
} & CreateSchema> | Expand<CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & {
|
|
377
|
+
method: 'getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)';
|
|
378
|
+
} & {
|
|
379
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
380
|
+
} & CreateSchema>;
|
|
381
|
+
/**
|
|
382
|
+
* Defines supported update method params for this smart contract
|
|
383
|
+
*/
|
|
384
|
+
export type RetiReaderUpdateCallParams = Expand<AppClientBareCallParams> & {
|
|
385
|
+
method?: never;
|
|
386
|
+
};
|
|
387
|
+
/**
|
|
388
|
+
* Defines supported delete method params for this smart contract
|
|
389
|
+
*/
|
|
390
|
+
export type RetiReaderDeleteCallParams = Expand<AppClientBareCallParams> & {
|
|
391
|
+
method?: never;
|
|
392
|
+
};
|
|
393
|
+
/**
|
|
394
|
+
* Defines arguments required for the deploy method.
|
|
395
|
+
*/
|
|
396
|
+
export type RetiReaderDeployParams = Expand<Omit<AppFactoryDeployParams, 'createParams' | 'updateParams' | 'deleteParams'> & {
|
|
397
|
+
/**
|
|
398
|
+
* 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)
|
|
399
|
+
*/
|
|
400
|
+
createParams?: RetiReaderCreateCallParams;
|
|
401
|
+
/**
|
|
402
|
+
* 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)
|
|
403
|
+
*/
|
|
404
|
+
updateParams?: RetiReaderUpdateCallParams;
|
|
405
|
+
/**
|
|
406
|
+
* 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)
|
|
407
|
+
*/
|
|
408
|
+
deleteParams?: RetiReaderDeleteCallParams;
|
|
409
|
+
}>;
|
|
410
|
+
/**
|
|
411
|
+
* Exposes methods for constructing `AppClient` params objects for ABI calls to the RetiReader smart contract
|
|
412
|
+
*/
|
|
413
|
+
export declare abstract class RetiReaderParamsFactory {
|
|
414
|
+
/**
|
|
415
|
+
* Gets available create ABI call param factories
|
|
416
|
+
*/
|
|
417
|
+
static get create(): {
|
|
418
|
+
_resolveByMethod<TParams extends RetiReaderCreateCallParams & {
|
|
419
|
+
method: string;
|
|
420
|
+
}>(params: TParams): {
|
|
421
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
422
|
+
rekeyTo?: string | Address | undefined;
|
|
423
|
+
note?: string | Uint8Array | undefined;
|
|
424
|
+
lease?: string | Uint8Array | undefined;
|
|
425
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
426
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
427
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
428
|
+
validityWindow?: number | bigint | undefined;
|
|
429
|
+
firstValidRound?: bigint | undefined;
|
|
430
|
+
lastValidRound?: bigint | undefined;
|
|
431
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
432
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
433
|
+
appReferences?: bigint[] | undefined;
|
|
434
|
+
assetReferences?: bigint[] | undefined;
|
|
435
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
436
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
437
|
+
rejectVersion?: number | undefined;
|
|
438
|
+
sender?: string | Address | undefined;
|
|
439
|
+
method: string;
|
|
440
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
441
|
+
} & AppClientCompilationParams & {
|
|
442
|
+
onComplete?: OnApplicationComplete.NoOpOC | undefined;
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)) ABI method
|
|
446
|
+
*
|
|
447
|
+
* @param params Parameters for the call
|
|
448
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
449
|
+
*/
|
|
450
|
+
getMbrAmountsAndProtocolConstraints(params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & AppClientCompilationParams & {
|
|
451
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
452
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
453
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* 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
|
|
457
|
+
*
|
|
458
|
+
* @param params Parameters for the call
|
|
459
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
460
|
+
*/
|
|
461
|
+
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 & {
|
|
462
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
463
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
464
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method
|
|
468
|
+
*
|
|
469
|
+
* @param params Parameters for the call
|
|
470
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
471
|
+
*/
|
|
472
|
+
getValidatorStates(params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & {
|
|
473
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
474
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
475
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
476
|
+
};
|
|
477
|
+
/**
|
|
478
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method
|
|
479
|
+
*
|
|
480
|
+
* @param params Parameters for the call
|
|
481
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
482
|
+
*/
|
|
483
|
+
getPools(params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & {
|
|
484
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
485
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
486
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method
|
|
490
|
+
*
|
|
491
|
+
* @param params Parameters for the call
|
|
492
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
493
|
+
*/
|
|
494
|
+
getNodePoolAssignments(params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & {
|
|
495
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
496
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
497
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getValidators(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
|
|
501
|
+
*
|
|
502
|
+
* @param params Parameters for the call
|
|
503
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
504
|
+
*/
|
|
505
|
+
getValidators(params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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 & {
|
|
506
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
507
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
508
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getBlockTimestamps(uint64)uint64 ABI method
|
|
512
|
+
*
|
|
513
|
+
* @param params Parameters for the call
|
|
514
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
515
|
+
*/
|
|
516
|
+
getBlockTimestamps(params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & {
|
|
517
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
518
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
519
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
520
|
+
};
|
|
521
|
+
/**
|
|
522
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getAlgodVersion(uint64[])string ABI method
|
|
523
|
+
*
|
|
524
|
+
* @param params Parameters for the call
|
|
525
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
526
|
+
*/
|
|
527
|
+
getAlgodVersion(params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & {
|
|
528
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
529
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
530
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getAssets(uint64[])(uint64,address,uint64,uint8,string,string) ABI method
|
|
534
|
+
*
|
|
535
|
+
* @param params Parameters for the call
|
|
536
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
537
|
+
*/
|
|
538
|
+
getAssets(params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & AppClientCompilationParams & {
|
|
539
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
540
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
541
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
542
|
+
};
|
|
543
|
+
/**
|
|
544
|
+
* Constructs create ABI call params for the RetiReader smart contract using the getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64) ABI method
|
|
545
|
+
*
|
|
546
|
+
* @param params Parameters for the call
|
|
547
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
548
|
+
*/
|
|
549
|
+
getPoolBalancesAndLastPayouts(params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & AppClientCompilationParams & {
|
|
550
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
551
|
+
}): AppClientMethodCallParams & AppClientCompilationParams & {
|
|
552
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* Constructs a no op call for the getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)) ABI method
|
|
557
|
+
*
|
|
558
|
+
* @param params Parameters for the call
|
|
559
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
560
|
+
*/
|
|
561
|
+
static getMbrAmountsAndProtocolConstraints(params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
562
|
+
/**
|
|
563
|
+
* 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
|
|
564
|
+
*
|
|
565
|
+
* @param params Parameters for the call
|
|
566
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
567
|
+
*/
|
|
568
|
+
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;
|
|
569
|
+
/**
|
|
570
|
+
* Constructs a no op call for the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method
|
|
571
|
+
*
|
|
572
|
+
* @param params Parameters for the call
|
|
573
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
574
|
+
*/
|
|
575
|
+
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;
|
|
576
|
+
/**
|
|
577
|
+
* Constructs a no op call for the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method
|
|
578
|
+
*
|
|
579
|
+
* @param params Parameters for the call
|
|
580
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
581
|
+
*/
|
|
582
|
+
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;
|
|
583
|
+
/**
|
|
584
|
+
* Constructs a no op call for the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method
|
|
585
|
+
*
|
|
586
|
+
* @param params Parameters for the call
|
|
587
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
588
|
+
*/
|
|
589
|
+
static getNodePoolAssignments(params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
590
|
+
/**
|
|
591
|
+
* Constructs a no op call for the getValidators(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
|
|
592
|
+
*
|
|
593
|
+
* @param params Parameters for the call
|
|
594
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
595
|
+
*/
|
|
596
|
+
static getValidators(params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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;
|
|
597
|
+
/**
|
|
598
|
+
* Constructs a no op call for the getBlockTimestamps(uint64)uint64 ABI method
|
|
599
|
+
*
|
|
600
|
+
* @param params Parameters for the call
|
|
601
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
602
|
+
*/
|
|
603
|
+
static getBlockTimestamps(params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
604
|
+
/**
|
|
605
|
+
* Constructs a no op call for the getAlgodVersion(uint64[])string ABI method
|
|
606
|
+
*
|
|
607
|
+
* @param params Parameters for the call
|
|
608
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
609
|
+
*/
|
|
610
|
+
static getAlgodVersion(params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
611
|
+
/**
|
|
612
|
+
* Constructs a no op call for the getAssets(uint64[])(uint64,address,uint64,uint8,string,string) ABI method
|
|
613
|
+
*
|
|
614
|
+
* @param params Parameters for the call
|
|
615
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
616
|
+
*/
|
|
617
|
+
static getAssets(params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
618
|
+
/**
|
|
619
|
+
* Constructs a no op call for the getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64) ABI method
|
|
620
|
+
*
|
|
621
|
+
* @param params Parameters for the call
|
|
622
|
+
* @returns An `AppClientMethodCallParams` object for the call
|
|
623
|
+
*/
|
|
624
|
+
static getPoolBalancesAndLastPayouts(params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & CallOnComplete): AppClientMethodCallParams & CallOnComplete;
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* 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
|
|
628
|
+
*/
|
|
629
|
+
declare class RetiReaderFactory {
|
|
630
|
+
/**
|
|
631
|
+
* The underlying `AppFactory` for when you want to have more flexibility
|
|
632
|
+
*/
|
|
633
|
+
readonly appFactory: _AppFactory;
|
|
634
|
+
/**
|
|
635
|
+
* Creates a new instance of `RetiReaderFactory`
|
|
636
|
+
*
|
|
637
|
+
* @param params The parameters to initialise the app factory with
|
|
638
|
+
*/
|
|
639
|
+
constructor(params: Omit<AppFactoryParams, 'appSpec'>);
|
|
640
|
+
/** The name of the app (from the ARC-32 / ARC-56 app spec or override). */
|
|
641
|
+
get appName(): string;
|
|
642
|
+
/** The ARC-56 app spec being used */
|
|
643
|
+
get appSpec(): Arc56Contract;
|
|
644
|
+
/** A reference to the underlying `AlgorandClient` this app factory is using. */
|
|
645
|
+
get algorand(): AlgorandClient;
|
|
646
|
+
/**
|
|
647
|
+
* Returns a new `AppClient` client for an app instance of the given ID.
|
|
648
|
+
*
|
|
649
|
+
* Automatically populates appName, defaultSender and source maps from the factory
|
|
650
|
+
* if not specified in the params.
|
|
651
|
+
* @param params The parameters to create the app client
|
|
652
|
+
* @returns The `AppClient`
|
|
653
|
+
*/
|
|
654
|
+
getAppClientById(params: AppFactoryAppClientParams): RetiReaderClient;
|
|
655
|
+
/**
|
|
656
|
+
* Returns a new `AppClient` client, resolving the app by creator address and name
|
|
657
|
+
* using AlgoKit app deployment semantics (i.e. looking for the app creation transaction note).
|
|
658
|
+
*
|
|
659
|
+
* Automatically populates appName, defaultSender and source maps from the factory
|
|
660
|
+
* if not specified in the params.
|
|
661
|
+
* @param params The parameters to create the app client
|
|
662
|
+
* @returns The `AppClient`
|
|
663
|
+
*/
|
|
664
|
+
getAppClientByCreatorAndName(params: AppFactoryResolveAppClientByCreatorAndNameParams): Promise<RetiReaderClient>;
|
|
665
|
+
/**
|
|
666
|
+
* Idempotently deploys the RetiReader smart contract.
|
|
667
|
+
*
|
|
668
|
+
* @param params The arguments for the contract calls and any additional parameters for the call
|
|
669
|
+
* @returns The deployment result
|
|
670
|
+
*/
|
|
671
|
+
deploy(params?: RetiReaderDeployParams): Promise<{
|
|
672
|
+
result: {
|
|
673
|
+
return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
674
|
+
deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
675
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
676
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
677
|
+
operationPerformed: "create";
|
|
678
|
+
version: string;
|
|
679
|
+
name: string;
|
|
680
|
+
createdRound: bigint;
|
|
681
|
+
updatedRound: bigint;
|
|
682
|
+
createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
|
|
683
|
+
deleted: boolean;
|
|
684
|
+
deletable?: boolean | undefined;
|
|
685
|
+
updatable?: boolean | undefined;
|
|
686
|
+
groupId: string;
|
|
687
|
+
txIds: string[];
|
|
688
|
+
returns?: ABIReturn[] | undefined;
|
|
689
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
690
|
+
transactions: Transaction[];
|
|
691
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
692
|
+
transaction: Transaction;
|
|
693
|
+
appId: bigint;
|
|
694
|
+
appAddress: Address;
|
|
695
|
+
} | {
|
|
696
|
+
return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
697
|
+
deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
698
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
699
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
700
|
+
operationPerformed: "update";
|
|
701
|
+
appId: bigint;
|
|
702
|
+
appAddress: Address;
|
|
703
|
+
createdRound: bigint;
|
|
704
|
+
updatedRound: bigint;
|
|
705
|
+
createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
|
|
706
|
+
deleted: boolean;
|
|
707
|
+
name: string;
|
|
708
|
+
version: string;
|
|
709
|
+
deletable?: boolean | undefined;
|
|
710
|
+
updatable?: boolean | undefined;
|
|
711
|
+
groupId: string;
|
|
712
|
+
txIds: string[];
|
|
713
|
+
returns?: ABIReturn[] | undefined;
|
|
714
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
715
|
+
transactions: Transaction[];
|
|
716
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
717
|
+
transaction: Transaction;
|
|
718
|
+
} | {
|
|
719
|
+
return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
720
|
+
deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
721
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
722
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
723
|
+
operationPerformed: "replace";
|
|
724
|
+
version: string;
|
|
725
|
+
name: string;
|
|
726
|
+
createdRound: bigint;
|
|
727
|
+
updatedRound: bigint;
|
|
728
|
+
createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
|
|
729
|
+
deleted: boolean;
|
|
730
|
+
deletable?: boolean | undefined;
|
|
731
|
+
updatable?: boolean | undefined;
|
|
732
|
+
groupId: string;
|
|
733
|
+
txIds: string[];
|
|
734
|
+
returns?: ABIReturn[] | undefined;
|
|
735
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
736
|
+
transactions: Transaction[];
|
|
737
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
738
|
+
transaction: Transaction;
|
|
739
|
+
appId: bigint;
|
|
740
|
+
appAddress: Address;
|
|
741
|
+
deleteResult: import("@algorandfoundation/algokit-utils/types/transaction").ConfirmedTransactionResult;
|
|
742
|
+
} | {
|
|
743
|
+
return: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
744
|
+
deleteReturn: import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | undefined;
|
|
745
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
746
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
747
|
+
operationPerformed: "nothing";
|
|
748
|
+
appId: bigint;
|
|
749
|
+
appAddress: Address;
|
|
750
|
+
createdRound: bigint;
|
|
751
|
+
updatedRound: bigint;
|
|
752
|
+
createdMetadata: import("@algorandfoundation/algokit-utils/types/app").AppDeployMetadata;
|
|
753
|
+
deleted: boolean;
|
|
754
|
+
name: string;
|
|
755
|
+
version: string;
|
|
756
|
+
deletable?: boolean | undefined;
|
|
757
|
+
updatable?: boolean | undefined;
|
|
758
|
+
};
|
|
759
|
+
appClient: RetiReaderClient;
|
|
760
|
+
}>;
|
|
761
|
+
/**
|
|
762
|
+
* 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.
|
|
763
|
+
*/
|
|
764
|
+
readonly params: {
|
|
765
|
+
/**
|
|
766
|
+
* Gets available create methods
|
|
767
|
+
*/
|
|
768
|
+
create: {
|
|
769
|
+
/**
|
|
770
|
+
* Creates a new instance of the RetiReader smart contract using the getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)) ABI method.
|
|
771
|
+
*
|
|
772
|
+
* @param params The params for the smart contract call
|
|
773
|
+
* @returns The create params
|
|
774
|
+
*/
|
|
775
|
+
getMbrAmountsAndProtocolConstraints: (params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & AppClientCompilationParams & CreateSchema & {
|
|
776
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
777
|
+
}) => Promise<{
|
|
778
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
779
|
+
schema: {
|
|
780
|
+
globalInts: number;
|
|
781
|
+
globalByteSlices: number;
|
|
782
|
+
localInts: number;
|
|
783
|
+
localByteSlices: number;
|
|
784
|
+
};
|
|
785
|
+
approvalProgram: Uint8Array;
|
|
786
|
+
clearStateProgram: Uint8Array;
|
|
787
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
788
|
+
note?: string | Uint8Array | undefined;
|
|
789
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
790
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
791
|
+
rejectVersion?: number | undefined;
|
|
792
|
+
lease?: string | Uint8Array | undefined;
|
|
793
|
+
rekeyTo?: string | Address | undefined;
|
|
794
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
795
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
796
|
+
validityWindow?: number | bigint | undefined;
|
|
797
|
+
firstValidRound?: bigint | undefined;
|
|
798
|
+
lastValidRound?: bigint | undefined;
|
|
799
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
800
|
+
appReferences?: bigint[] | undefined;
|
|
801
|
+
assetReferences?: bigint[] | undefined;
|
|
802
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
803
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
804
|
+
sender?: string | Address | undefined;
|
|
805
|
+
method: string;
|
|
806
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
807
|
+
updatable?: boolean | undefined;
|
|
808
|
+
deletable?: boolean | undefined;
|
|
809
|
+
extraProgramPages?: number | undefined;
|
|
810
|
+
} & {
|
|
811
|
+
sender: Address;
|
|
812
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
813
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
814
|
+
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<{
|
|
815
|
+
sender: string | Address;
|
|
816
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
817
|
+
note?: string | Uint8Array | undefined;
|
|
818
|
+
args?: Uint8Array[] | undefined;
|
|
819
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
820
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
821
|
+
rejectVersion?: number | undefined;
|
|
822
|
+
lease?: string | Uint8Array | undefined;
|
|
823
|
+
rekeyTo?: string | Address | undefined;
|
|
824
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
825
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
826
|
+
validityWindow?: number | bigint | undefined;
|
|
827
|
+
firstValidRound?: bigint | undefined;
|
|
828
|
+
lastValidRound?: bigint | undefined;
|
|
829
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
830
|
+
appReferences?: bigint[] | undefined;
|
|
831
|
+
assetReferences?: bigint[] | undefined;
|
|
832
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
833
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
834
|
+
approvalProgram: string | Uint8Array;
|
|
835
|
+
clearStateProgram: string | Uint8Array;
|
|
836
|
+
schema?: {
|
|
837
|
+
globalInts: number;
|
|
838
|
+
globalByteSlices: number;
|
|
839
|
+
localInts: number;
|
|
840
|
+
localByteSlices: number;
|
|
841
|
+
} | undefined;
|
|
842
|
+
extraProgramPages?: number | undefined;
|
|
843
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
844
|
+
sender: string | Address;
|
|
845
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
846
|
+
rekeyTo?: string | Address | undefined;
|
|
847
|
+
note?: string | Uint8Array | undefined;
|
|
848
|
+
lease?: string | Uint8Array | undefined;
|
|
849
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
850
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
851
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
852
|
+
validityWindow?: number | bigint | undefined;
|
|
853
|
+
firstValidRound?: bigint | undefined;
|
|
854
|
+
lastValidRound?: bigint | undefined;
|
|
855
|
+
appId: bigint;
|
|
856
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
857
|
+
args?: Uint8Array[] | undefined;
|
|
858
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
859
|
+
appReferences?: bigint[] | undefined;
|
|
860
|
+
assetReferences?: bigint[] | undefined;
|
|
861
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
862
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
863
|
+
rejectVersion?: number | undefined;
|
|
864
|
+
approvalProgram: string | Uint8Array;
|
|
865
|
+
clearStateProgram: string | Uint8Array;
|
|
866
|
+
}> | undefined)[] | undefined;
|
|
867
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
868
|
+
}>;
|
|
869
|
+
/**
|
|
870
|
+
* 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.
|
|
871
|
+
*
|
|
872
|
+
* @param params The params for the smart contract call
|
|
873
|
+
* @returns The create params
|
|
874
|
+
*/
|
|
875
|
+
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 & {
|
|
876
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
877
|
+
}) => Promise<{
|
|
878
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
879
|
+
schema: {
|
|
880
|
+
globalInts: number;
|
|
881
|
+
globalByteSlices: number;
|
|
882
|
+
localInts: number;
|
|
883
|
+
localByteSlices: number;
|
|
884
|
+
};
|
|
885
|
+
approvalProgram: Uint8Array;
|
|
886
|
+
clearStateProgram: Uint8Array;
|
|
887
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
888
|
+
note?: string | Uint8Array | undefined;
|
|
889
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
890
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
891
|
+
rejectVersion?: number | undefined;
|
|
892
|
+
lease?: string | Uint8Array | undefined;
|
|
893
|
+
rekeyTo?: string | Address | undefined;
|
|
894
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
895
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
896
|
+
validityWindow?: number | bigint | undefined;
|
|
897
|
+
firstValidRound?: bigint | undefined;
|
|
898
|
+
lastValidRound?: bigint | undefined;
|
|
899
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
900
|
+
appReferences?: bigint[] | undefined;
|
|
901
|
+
assetReferences?: bigint[] | undefined;
|
|
902
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
903
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
904
|
+
sender?: string | Address | undefined;
|
|
905
|
+
method: string;
|
|
906
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
907
|
+
updatable?: boolean | undefined;
|
|
908
|
+
deletable?: boolean | undefined;
|
|
909
|
+
extraProgramPages?: number | undefined;
|
|
910
|
+
} & {
|
|
911
|
+
sender: Address;
|
|
912
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
913
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
914
|
+
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<{
|
|
915
|
+
sender: string | Address;
|
|
916
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
917
|
+
note?: string | Uint8Array | undefined;
|
|
918
|
+
args?: Uint8Array[] | undefined;
|
|
919
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
920
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
921
|
+
rejectVersion?: number | undefined;
|
|
922
|
+
lease?: string | Uint8Array | undefined;
|
|
923
|
+
rekeyTo?: string | Address | undefined;
|
|
924
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
925
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
926
|
+
validityWindow?: number | bigint | undefined;
|
|
927
|
+
firstValidRound?: bigint | undefined;
|
|
928
|
+
lastValidRound?: bigint | undefined;
|
|
929
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
930
|
+
appReferences?: bigint[] | undefined;
|
|
931
|
+
assetReferences?: bigint[] | undefined;
|
|
932
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
933
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
934
|
+
approvalProgram: string | Uint8Array;
|
|
935
|
+
clearStateProgram: string | Uint8Array;
|
|
936
|
+
schema?: {
|
|
937
|
+
globalInts: number;
|
|
938
|
+
globalByteSlices: number;
|
|
939
|
+
localInts: number;
|
|
940
|
+
localByteSlices: number;
|
|
941
|
+
} | undefined;
|
|
942
|
+
extraProgramPages?: number | undefined;
|
|
943
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
944
|
+
sender: string | Address;
|
|
945
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
946
|
+
rekeyTo?: string | Address | undefined;
|
|
947
|
+
note?: string | Uint8Array | undefined;
|
|
948
|
+
lease?: string | Uint8Array | undefined;
|
|
949
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
950
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
951
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
952
|
+
validityWindow?: number | bigint | undefined;
|
|
953
|
+
firstValidRound?: bigint | undefined;
|
|
954
|
+
lastValidRound?: bigint | undefined;
|
|
955
|
+
appId: bigint;
|
|
956
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
957
|
+
args?: Uint8Array[] | undefined;
|
|
958
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
959
|
+
appReferences?: bigint[] | undefined;
|
|
960
|
+
assetReferences?: bigint[] | undefined;
|
|
961
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
962
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
963
|
+
rejectVersion?: number | undefined;
|
|
964
|
+
approvalProgram: string | Uint8Array;
|
|
965
|
+
clearStateProgram: string | Uint8Array;
|
|
966
|
+
}> | undefined)[] | undefined;
|
|
967
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
968
|
+
}>;
|
|
969
|
+
/**
|
|
970
|
+
* Creates a new instance of the RetiReader smart contract using the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method.
|
|
971
|
+
*
|
|
972
|
+
* @param params The params for the smart contract call
|
|
973
|
+
* @returns The create params
|
|
974
|
+
*/
|
|
975
|
+
getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
|
|
976
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
977
|
+
}) => Promise<{
|
|
978
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
979
|
+
schema: {
|
|
980
|
+
globalInts: number;
|
|
981
|
+
globalByteSlices: number;
|
|
982
|
+
localInts: number;
|
|
983
|
+
localByteSlices: number;
|
|
984
|
+
};
|
|
985
|
+
approvalProgram: Uint8Array;
|
|
986
|
+
clearStateProgram: Uint8Array;
|
|
987
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
988
|
+
note?: string | Uint8Array | undefined;
|
|
989
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
990
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
991
|
+
rejectVersion?: number | undefined;
|
|
992
|
+
lease?: string | Uint8Array | undefined;
|
|
993
|
+
rekeyTo?: string | Address | undefined;
|
|
994
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
995
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
996
|
+
validityWindow?: number | bigint | undefined;
|
|
997
|
+
firstValidRound?: bigint | undefined;
|
|
998
|
+
lastValidRound?: bigint | undefined;
|
|
999
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1000
|
+
appReferences?: bigint[] | undefined;
|
|
1001
|
+
assetReferences?: bigint[] | undefined;
|
|
1002
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1003
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1004
|
+
sender?: string | Address | undefined;
|
|
1005
|
+
method: string;
|
|
1006
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1007
|
+
updatable?: boolean | undefined;
|
|
1008
|
+
deletable?: boolean | undefined;
|
|
1009
|
+
extraProgramPages?: number | undefined;
|
|
1010
|
+
} & {
|
|
1011
|
+
sender: Address;
|
|
1012
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1013
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1014
|
+
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<{
|
|
1015
|
+
sender: string | Address;
|
|
1016
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1017
|
+
note?: string | Uint8Array | undefined;
|
|
1018
|
+
args?: Uint8Array[] | undefined;
|
|
1019
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1020
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1021
|
+
rejectVersion?: number | undefined;
|
|
1022
|
+
lease?: string | Uint8Array | undefined;
|
|
1023
|
+
rekeyTo?: string | Address | undefined;
|
|
1024
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1025
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1026
|
+
validityWindow?: number | bigint | undefined;
|
|
1027
|
+
firstValidRound?: bigint | undefined;
|
|
1028
|
+
lastValidRound?: bigint | undefined;
|
|
1029
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1030
|
+
appReferences?: bigint[] | undefined;
|
|
1031
|
+
assetReferences?: bigint[] | undefined;
|
|
1032
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1033
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1034
|
+
approvalProgram: string | Uint8Array;
|
|
1035
|
+
clearStateProgram: string | Uint8Array;
|
|
1036
|
+
schema?: {
|
|
1037
|
+
globalInts: number;
|
|
1038
|
+
globalByteSlices: number;
|
|
1039
|
+
localInts: number;
|
|
1040
|
+
localByteSlices: number;
|
|
1041
|
+
} | undefined;
|
|
1042
|
+
extraProgramPages?: number | undefined;
|
|
1043
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1044
|
+
sender: string | Address;
|
|
1045
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1046
|
+
rekeyTo?: string | Address | undefined;
|
|
1047
|
+
note?: string | Uint8Array | undefined;
|
|
1048
|
+
lease?: string | Uint8Array | undefined;
|
|
1049
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1050
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1051
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1052
|
+
validityWindow?: number | bigint | undefined;
|
|
1053
|
+
firstValidRound?: bigint | undefined;
|
|
1054
|
+
lastValidRound?: bigint | undefined;
|
|
1055
|
+
appId: bigint;
|
|
1056
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1057
|
+
args?: Uint8Array[] | undefined;
|
|
1058
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1059
|
+
appReferences?: bigint[] | undefined;
|
|
1060
|
+
assetReferences?: bigint[] | undefined;
|
|
1061
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1062
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1063
|
+
rejectVersion?: number | undefined;
|
|
1064
|
+
approvalProgram: string | Uint8Array;
|
|
1065
|
+
clearStateProgram: string | Uint8Array;
|
|
1066
|
+
}> | undefined)[] | undefined;
|
|
1067
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1068
|
+
}>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Creates a new instance of the RetiReader smart contract using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
|
|
1071
|
+
*
|
|
1072
|
+
* @param params The params for the smart contract call
|
|
1073
|
+
* @returns The create params
|
|
1074
|
+
*/
|
|
1075
|
+
getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & CreateSchema & {
|
|
1076
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1077
|
+
}) => Promise<{
|
|
1078
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
1079
|
+
schema: {
|
|
1080
|
+
globalInts: number;
|
|
1081
|
+
globalByteSlices: number;
|
|
1082
|
+
localInts: number;
|
|
1083
|
+
localByteSlices: number;
|
|
1084
|
+
};
|
|
1085
|
+
approvalProgram: Uint8Array;
|
|
1086
|
+
clearStateProgram: Uint8Array;
|
|
1087
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1088
|
+
note?: string | Uint8Array | undefined;
|
|
1089
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1090
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1091
|
+
rejectVersion?: number | undefined;
|
|
1092
|
+
lease?: string | Uint8Array | undefined;
|
|
1093
|
+
rekeyTo?: string | Address | undefined;
|
|
1094
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1095
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1096
|
+
validityWindow?: number | bigint | undefined;
|
|
1097
|
+
firstValidRound?: bigint | undefined;
|
|
1098
|
+
lastValidRound?: bigint | undefined;
|
|
1099
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1100
|
+
appReferences?: bigint[] | undefined;
|
|
1101
|
+
assetReferences?: bigint[] | undefined;
|
|
1102
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1103
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1104
|
+
sender?: string | Address | undefined;
|
|
1105
|
+
method: string;
|
|
1106
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1107
|
+
updatable?: boolean | undefined;
|
|
1108
|
+
deletable?: boolean | undefined;
|
|
1109
|
+
extraProgramPages?: number | undefined;
|
|
1110
|
+
} & {
|
|
1111
|
+
sender: Address;
|
|
1112
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1113
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1114
|
+
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<{
|
|
1115
|
+
sender: string | Address;
|
|
1116
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1117
|
+
note?: string | Uint8Array | undefined;
|
|
1118
|
+
args?: Uint8Array[] | undefined;
|
|
1119
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1120
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1121
|
+
rejectVersion?: number | undefined;
|
|
1122
|
+
lease?: string | Uint8Array | undefined;
|
|
1123
|
+
rekeyTo?: string | Address | undefined;
|
|
1124
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1125
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1126
|
+
validityWindow?: number | bigint | undefined;
|
|
1127
|
+
firstValidRound?: bigint | undefined;
|
|
1128
|
+
lastValidRound?: bigint | undefined;
|
|
1129
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1130
|
+
appReferences?: bigint[] | undefined;
|
|
1131
|
+
assetReferences?: bigint[] | undefined;
|
|
1132
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1133
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1134
|
+
approvalProgram: string | Uint8Array;
|
|
1135
|
+
clearStateProgram: string | Uint8Array;
|
|
1136
|
+
schema?: {
|
|
1137
|
+
globalInts: number;
|
|
1138
|
+
globalByteSlices: number;
|
|
1139
|
+
localInts: number;
|
|
1140
|
+
localByteSlices: number;
|
|
1141
|
+
} | undefined;
|
|
1142
|
+
extraProgramPages?: number | undefined;
|
|
1143
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1144
|
+
sender: string | Address;
|
|
1145
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1146
|
+
rekeyTo?: string | Address | undefined;
|
|
1147
|
+
note?: string | Uint8Array | undefined;
|
|
1148
|
+
lease?: string | Uint8Array | undefined;
|
|
1149
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1150
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1151
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1152
|
+
validityWindow?: number | bigint | undefined;
|
|
1153
|
+
firstValidRound?: bigint | undefined;
|
|
1154
|
+
lastValidRound?: bigint | undefined;
|
|
1155
|
+
appId: bigint;
|
|
1156
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1157
|
+
args?: Uint8Array[] | undefined;
|
|
1158
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1159
|
+
appReferences?: bigint[] | undefined;
|
|
1160
|
+
assetReferences?: bigint[] | undefined;
|
|
1161
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1162
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1163
|
+
rejectVersion?: number | undefined;
|
|
1164
|
+
approvalProgram: string | Uint8Array;
|
|
1165
|
+
clearStateProgram: string | Uint8Array;
|
|
1166
|
+
}> | undefined)[] | undefined;
|
|
1167
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1168
|
+
}>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Creates a new instance of the RetiReader smart contract using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
|
|
1171
|
+
*
|
|
1172
|
+
* @param params The params for the smart contract call
|
|
1173
|
+
* @returns The create params
|
|
1174
|
+
*/
|
|
1175
|
+
getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & CreateSchema & {
|
|
1176
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1177
|
+
}) => Promise<{
|
|
1178
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
1179
|
+
schema: {
|
|
1180
|
+
globalInts: number;
|
|
1181
|
+
globalByteSlices: number;
|
|
1182
|
+
localInts: number;
|
|
1183
|
+
localByteSlices: number;
|
|
1184
|
+
};
|
|
1185
|
+
approvalProgram: Uint8Array;
|
|
1186
|
+
clearStateProgram: Uint8Array;
|
|
1187
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1188
|
+
note?: string | Uint8Array | undefined;
|
|
1189
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1190
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1191
|
+
rejectVersion?: number | undefined;
|
|
1192
|
+
lease?: string | Uint8Array | undefined;
|
|
1193
|
+
rekeyTo?: string | Address | undefined;
|
|
1194
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1195
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1196
|
+
validityWindow?: number | bigint | undefined;
|
|
1197
|
+
firstValidRound?: bigint | undefined;
|
|
1198
|
+
lastValidRound?: bigint | undefined;
|
|
1199
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1200
|
+
appReferences?: bigint[] | undefined;
|
|
1201
|
+
assetReferences?: bigint[] | undefined;
|
|
1202
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1203
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1204
|
+
sender?: string | Address | undefined;
|
|
1205
|
+
method: string;
|
|
1206
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1207
|
+
updatable?: boolean | undefined;
|
|
1208
|
+
deletable?: boolean | undefined;
|
|
1209
|
+
extraProgramPages?: number | undefined;
|
|
1210
|
+
} & {
|
|
1211
|
+
sender: Address;
|
|
1212
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1213
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1214
|
+
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<{
|
|
1215
|
+
sender: string | Address;
|
|
1216
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1217
|
+
note?: string | Uint8Array | undefined;
|
|
1218
|
+
args?: Uint8Array[] | undefined;
|
|
1219
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1220
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1221
|
+
rejectVersion?: number | undefined;
|
|
1222
|
+
lease?: string | Uint8Array | undefined;
|
|
1223
|
+
rekeyTo?: string | Address | undefined;
|
|
1224
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1225
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1226
|
+
validityWindow?: number | bigint | undefined;
|
|
1227
|
+
firstValidRound?: bigint | undefined;
|
|
1228
|
+
lastValidRound?: bigint | undefined;
|
|
1229
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1230
|
+
appReferences?: bigint[] | undefined;
|
|
1231
|
+
assetReferences?: bigint[] | undefined;
|
|
1232
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1233
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1234
|
+
approvalProgram: string | Uint8Array;
|
|
1235
|
+
clearStateProgram: string | Uint8Array;
|
|
1236
|
+
schema?: {
|
|
1237
|
+
globalInts: number;
|
|
1238
|
+
globalByteSlices: number;
|
|
1239
|
+
localInts: number;
|
|
1240
|
+
localByteSlices: number;
|
|
1241
|
+
} | undefined;
|
|
1242
|
+
extraProgramPages?: number | undefined;
|
|
1243
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1244
|
+
sender: string | Address;
|
|
1245
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1246
|
+
rekeyTo?: string | Address | undefined;
|
|
1247
|
+
note?: string | Uint8Array | undefined;
|
|
1248
|
+
lease?: string | Uint8Array | undefined;
|
|
1249
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1250
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1251
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1252
|
+
validityWindow?: number | bigint | undefined;
|
|
1253
|
+
firstValidRound?: bigint | undefined;
|
|
1254
|
+
lastValidRound?: bigint | undefined;
|
|
1255
|
+
appId: bigint;
|
|
1256
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1257
|
+
args?: Uint8Array[] | undefined;
|
|
1258
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1259
|
+
appReferences?: bigint[] | undefined;
|
|
1260
|
+
assetReferences?: bigint[] | undefined;
|
|
1261
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1262
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1263
|
+
rejectVersion?: number | undefined;
|
|
1264
|
+
approvalProgram: string | Uint8Array;
|
|
1265
|
+
clearStateProgram: string | Uint8Array;
|
|
1266
|
+
}> | undefined)[] | undefined;
|
|
1267
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1268
|
+
}>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Creates a new instance of the RetiReader smart contract using the getValidators(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.
|
|
1271
|
+
*
|
|
1272
|
+
* @param params The params for the smart contract call
|
|
1273
|
+
* @returns The create params
|
|
1274
|
+
*/
|
|
1275
|
+
getValidators: (params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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 & {
|
|
1276
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1277
|
+
}) => Promise<{
|
|
1278
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
1279
|
+
schema: {
|
|
1280
|
+
globalInts: number;
|
|
1281
|
+
globalByteSlices: number;
|
|
1282
|
+
localInts: number;
|
|
1283
|
+
localByteSlices: number;
|
|
1284
|
+
};
|
|
1285
|
+
approvalProgram: Uint8Array;
|
|
1286
|
+
clearStateProgram: Uint8Array;
|
|
1287
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1288
|
+
note?: string | Uint8Array | undefined;
|
|
1289
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1290
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1291
|
+
rejectVersion?: number | undefined;
|
|
1292
|
+
lease?: string | Uint8Array | undefined;
|
|
1293
|
+
rekeyTo?: string | Address | undefined;
|
|
1294
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1295
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1296
|
+
validityWindow?: number | bigint | undefined;
|
|
1297
|
+
firstValidRound?: bigint | undefined;
|
|
1298
|
+
lastValidRound?: bigint | undefined;
|
|
1299
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1300
|
+
appReferences?: bigint[] | undefined;
|
|
1301
|
+
assetReferences?: bigint[] | undefined;
|
|
1302
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1303
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1304
|
+
sender?: string | Address | undefined;
|
|
1305
|
+
method: string;
|
|
1306
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1307
|
+
updatable?: boolean | undefined;
|
|
1308
|
+
deletable?: boolean | undefined;
|
|
1309
|
+
extraProgramPages?: number | undefined;
|
|
1310
|
+
} & {
|
|
1311
|
+
sender: Address;
|
|
1312
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1313
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1314
|
+
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<{
|
|
1315
|
+
sender: string | Address;
|
|
1316
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1317
|
+
note?: string | Uint8Array | undefined;
|
|
1318
|
+
args?: Uint8Array[] | undefined;
|
|
1319
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1320
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1321
|
+
rejectVersion?: number | undefined;
|
|
1322
|
+
lease?: string | Uint8Array | undefined;
|
|
1323
|
+
rekeyTo?: string | Address | undefined;
|
|
1324
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1325
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1326
|
+
validityWindow?: number | bigint | undefined;
|
|
1327
|
+
firstValidRound?: bigint | undefined;
|
|
1328
|
+
lastValidRound?: bigint | undefined;
|
|
1329
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1330
|
+
appReferences?: bigint[] | undefined;
|
|
1331
|
+
assetReferences?: bigint[] | undefined;
|
|
1332
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1333
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1334
|
+
approvalProgram: string | Uint8Array;
|
|
1335
|
+
clearStateProgram: string | Uint8Array;
|
|
1336
|
+
schema?: {
|
|
1337
|
+
globalInts: number;
|
|
1338
|
+
globalByteSlices: number;
|
|
1339
|
+
localInts: number;
|
|
1340
|
+
localByteSlices: number;
|
|
1341
|
+
} | undefined;
|
|
1342
|
+
extraProgramPages?: number | undefined;
|
|
1343
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1344
|
+
sender: string | Address;
|
|
1345
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1346
|
+
rekeyTo?: string | Address | undefined;
|
|
1347
|
+
note?: string | Uint8Array | undefined;
|
|
1348
|
+
lease?: string | Uint8Array | undefined;
|
|
1349
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1350
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1351
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1352
|
+
validityWindow?: number | bigint | undefined;
|
|
1353
|
+
firstValidRound?: bigint | undefined;
|
|
1354
|
+
lastValidRound?: bigint | undefined;
|
|
1355
|
+
appId: bigint;
|
|
1356
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1357
|
+
args?: Uint8Array[] | undefined;
|
|
1358
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1359
|
+
appReferences?: bigint[] | undefined;
|
|
1360
|
+
assetReferences?: bigint[] | undefined;
|
|
1361
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1362
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1363
|
+
rejectVersion?: number | undefined;
|
|
1364
|
+
approvalProgram: string | Uint8Array;
|
|
1365
|
+
clearStateProgram: string | Uint8Array;
|
|
1366
|
+
}> | undefined)[] | undefined;
|
|
1367
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1368
|
+
}>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Creates a new instance of the RetiReader smart contract using the getBlockTimestamps(uint64)uint64 ABI method.
|
|
1371
|
+
*
|
|
1372
|
+
* @param params The params for the smart contract call
|
|
1373
|
+
* @returns The create params
|
|
1374
|
+
*/
|
|
1375
|
+
getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & CreateSchema & {
|
|
1376
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1377
|
+
}) => Promise<{
|
|
1378
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
1379
|
+
schema: {
|
|
1380
|
+
globalInts: number;
|
|
1381
|
+
globalByteSlices: number;
|
|
1382
|
+
localInts: number;
|
|
1383
|
+
localByteSlices: number;
|
|
1384
|
+
};
|
|
1385
|
+
approvalProgram: Uint8Array;
|
|
1386
|
+
clearStateProgram: Uint8Array;
|
|
1387
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1388
|
+
note?: string | Uint8Array | undefined;
|
|
1389
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1390
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1391
|
+
rejectVersion?: number | undefined;
|
|
1392
|
+
lease?: string | Uint8Array | undefined;
|
|
1393
|
+
rekeyTo?: string | Address | undefined;
|
|
1394
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1395
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1396
|
+
validityWindow?: number | bigint | undefined;
|
|
1397
|
+
firstValidRound?: bigint | undefined;
|
|
1398
|
+
lastValidRound?: bigint | undefined;
|
|
1399
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1400
|
+
appReferences?: bigint[] | undefined;
|
|
1401
|
+
assetReferences?: bigint[] | undefined;
|
|
1402
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1403
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1404
|
+
sender?: string | Address | undefined;
|
|
1405
|
+
method: string;
|
|
1406
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1407
|
+
updatable?: boolean | undefined;
|
|
1408
|
+
deletable?: boolean | undefined;
|
|
1409
|
+
extraProgramPages?: number | undefined;
|
|
1410
|
+
} & {
|
|
1411
|
+
sender: Address;
|
|
1412
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1413
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1414
|
+
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<{
|
|
1415
|
+
sender: string | Address;
|
|
1416
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1417
|
+
note?: string | Uint8Array | undefined;
|
|
1418
|
+
args?: Uint8Array[] | undefined;
|
|
1419
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1420
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1421
|
+
rejectVersion?: number | undefined;
|
|
1422
|
+
lease?: string | Uint8Array | undefined;
|
|
1423
|
+
rekeyTo?: string | Address | undefined;
|
|
1424
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1425
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1426
|
+
validityWindow?: number | bigint | undefined;
|
|
1427
|
+
firstValidRound?: bigint | undefined;
|
|
1428
|
+
lastValidRound?: bigint | undefined;
|
|
1429
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1430
|
+
appReferences?: bigint[] | undefined;
|
|
1431
|
+
assetReferences?: bigint[] | undefined;
|
|
1432
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1433
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1434
|
+
approvalProgram: string | Uint8Array;
|
|
1435
|
+
clearStateProgram: string | Uint8Array;
|
|
1436
|
+
schema?: {
|
|
1437
|
+
globalInts: number;
|
|
1438
|
+
globalByteSlices: number;
|
|
1439
|
+
localInts: number;
|
|
1440
|
+
localByteSlices: number;
|
|
1441
|
+
} | undefined;
|
|
1442
|
+
extraProgramPages?: number | undefined;
|
|
1443
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1444
|
+
sender: string | Address;
|
|
1445
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1446
|
+
rekeyTo?: string | Address | undefined;
|
|
1447
|
+
note?: string | Uint8Array | undefined;
|
|
1448
|
+
lease?: string | Uint8Array | undefined;
|
|
1449
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1450
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1451
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1452
|
+
validityWindow?: number | bigint | undefined;
|
|
1453
|
+
firstValidRound?: bigint | undefined;
|
|
1454
|
+
lastValidRound?: bigint | undefined;
|
|
1455
|
+
appId: bigint;
|
|
1456
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1457
|
+
args?: Uint8Array[] | undefined;
|
|
1458
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1459
|
+
appReferences?: bigint[] | undefined;
|
|
1460
|
+
assetReferences?: bigint[] | undefined;
|
|
1461
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1462
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1463
|
+
rejectVersion?: number | undefined;
|
|
1464
|
+
approvalProgram: string | Uint8Array;
|
|
1465
|
+
clearStateProgram: string | Uint8Array;
|
|
1466
|
+
}> | undefined)[] | undefined;
|
|
1467
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1468
|
+
}>;
|
|
1469
|
+
/**
|
|
1470
|
+
* Creates a new instance of the RetiReader smart contract using the getAlgodVersion(uint64[])string ABI method.
|
|
1471
|
+
*
|
|
1472
|
+
* @param params The params for the smart contract call
|
|
1473
|
+
* @returns The create params
|
|
1474
|
+
*/
|
|
1475
|
+
getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & CreateSchema & {
|
|
1476
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1477
|
+
}) => Promise<{
|
|
1478
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
1479
|
+
schema: {
|
|
1480
|
+
globalInts: number;
|
|
1481
|
+
globalByteSlices: number;
|
|
1482
|
+
localInts: number;
|
|
1483
|
+
localByteSlices: number;
|
|
1484
|
+
};
|
|
1485
|
+
approvalProgram: Uint8Array;
|
|
1486
|
+
clearStateProgram: Uint8Array;
|
|
1487
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1488
|
+
note?: string | Uint8Array | undefined;
|
|
1489
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1490
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1491
|
+
rejectVersion?: number | undefined;
|
|
1492
|
+
lease?: string | Uint8Array | undefined;
|
|
1493
|
+
rekeyTo?: string | Address | undefined;
|
|
1494
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1495
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1496
|
+
validityWindow?: number | bigint | undefined;
|
|
1497
|
+
firstValidRound?: bigint | undefined;
|
|
1498
|
+
lastValidRound?: bigint | undefined;
|
|
1499
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1500
|
+
appReferences?: bigint[] | undefined;
|
|
1501
|
+
assetReferences?: bigint[] | undefined;
|
|
1502
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1503
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1504
|
+
sender?: string | Address | undefined;
|
|
1505
|
+
method: string;
|
|
1506
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1507
|
+
updatable?: boolean | undefined;
|
|
1508
|
+
deletable?: boolean | undefined;
|
|
1509
|
+
extraProgramPages?: number | undefined;
|
|
1510
|
+
} & {
|
|
1511
|
+
sender: Address;
|
|
1512
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1513
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1514
|
+
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<{
|
|
1515
|
+
sender: string | Address;
|
|
1516
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1517
|
+
note?: string | Uint8Array | undefined;
|
|
1518
|
+
args?: Uint8Array[] | undefined;
|
|
1519
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1520
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1521
|
+
rejectVersion?: number | undefined;
|
|
1522
|
+
lease?: string | Uint8Array | undefined;
|
|
1523
|
+
rekeyTo?: string | Address | undefined;
|
|
1524
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1525
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1526
|
+
validityWindow?: number | bigint | undefined;
|
|
1527
|
+
firstValidRound?: bigint | undefined;
|
|
1528
|
+
lastValidRound?: bigint | undefined;
|
|
1529
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1530
|
+
appReferences?: bigint[] | undefined;
|
|
1531
|
+
assetReferences?: bigint[] | undefined;
|
|
1532
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1533
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1534
|
+
approvalProgram: string | Uint8Array;
|
|
1535
|
+
clearStateProgram: string | Uint8Array;
|
|
1536
|
+
schema?: {
|
|
1537
|
+
globalInts: number;
|
|
1538
|
+
globalByteSlices: number;
|
|
1539
|
+
localInts: number;
|
|
1540
|
+
localByteSlices: number;
|
|
1541
|
+
} | undefined;
|
|
1542
|
+
extraProgramPages?: number | undefined;
|
|
1543
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1544
|
+
sender: string | Address;
|
|
1545
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1546
|
+
rekeyTo?: string | Address | undefined;
|
|
1547
|
+
note?: string | Uint8Array | undefined;
|
|
1548
|
+
lease?: string | Uint8Array | undefined;
|
|
1549
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1550
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1551
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1552
|
+
validityWindow?: number | bigint | undefined;
|
|
1553
|
+
firstValidRound?: bigint | undefined;
|
|
1554
|
+
lastValidRound?: bigint | undefined;
|
|
1555
|
+
appId: bigint;
|
|
1556
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1557
|
+
args?: Uint8Array[] | undefined;
|
|
1558
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1559
|
+
appReferences?: bigint[] | undefined;
|
|
1560
|
+
assetReferences?: bigint[] | undefined;
|
|
1561
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1562
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1563
|
+
rejectVersion?: number | undefined;
|
|
1564
|
+
approvalProgram: string | Uint8Array;
|
|
1565
|
+
clearStateProgram: string | Uint8Array;
|
|
1566
|
+
}> | undefined)[] | undefined;
|
|
1567
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1568
|
+
}>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Creates a new instance of the RetiReader smart contract using the getAssets(uint64[])(uint64,address,uint64,uint8,string,string) ABI method.
|
|
1571
|
+
*
|
|
1572
|
+
* @param params The params for the smart contract call
|
|
1573
|
+
* @returns The create params
|
|
1574
|
+
*/
|
|
1575
|
+
getAssets: (params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & AppClientCompilationParams & CreateSchema & {
|
|
1576
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1577
|
+
}) => Promise<{
|
|
1578
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
1579
|
+
schema: {
|
|
1580
|
+
globalInts: number;
|
|
1581
|
+
globalByteSlices: number;
|
|
1582
|
+
localInts: number;
|
|
1583
|
+
localByteSlices: number;
|
|
1584
|
+
};
|
|
1585
|
+
approvalProgram: Uint8Array;
|
|
1586
|
+
clearStateProgram: Uint8Array;
|
|
1587
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1588
|
+
note?: string | Uint8Array | undefined;
|
|
1589
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1590
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1591
|
+
rejectVersion?: number | undefined;
|
|
1592
|
+
lease?: string | Uint8Array | undefined;
|
|
1593
|
+
rekeyTo?: string | Address | undefined;
|
|
1594
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1595
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1596
|
+
validityWindow?: number | bigint | undefined;
|
|
1597
|
+
firstValidRound?: bigint | undefined;
|
|
1598
|
+
lastValidRound?: bigint | undefined;
|
|
1599
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1600
|
+
appReferences?: bigint[] | undefined;
|
|
1601
|
+
assetReferences?: bigint[] | undefined;
|
|
1602
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1603
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1604
|
+
sender?: string | Address | undefined;
|
|
1605
|
+
method: string;
|
|
1606
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1607
|
+
updatable?: boolean | undefined;
|
|
1608
|
+
deletable?: boolean | undefined;
|
|
1609
|
+
extraProgramPages?: number | undefined;
|
|
1610
|
+
} & {
|
|
1611
|
+
sender: Address;
|
|
1612
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1613
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1614
|
+
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<{
|
|
1615
|
+
sender: string | Address;
|
|
1616
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1617
|
+
note?: string | Uint8Array | undefined;
|
|
1618
|
+
args?: Uint8Array[] | undefined;
|
|
1619
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1620
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1621
|
+
rejectVersion?: number | undefined;
|
|
1622
|
+
lease?: string | Uint8Array | undefined;
|
|
1623
|
+
rekeyTo?: string | Address | undefined;
|
|
1624
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1625
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1626
|
+
validityWindow?: number | bigint | undefined;
|
|
1627
|
+
firstValidRound?: bigint | undefined;
|
|
1628
|
+
lastValidRound?: bigint | undefined;
|
|
1629
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1630
|
+
appReferences?: bigint[] | undefined;
|
|
1631
|
+
assetReferences?: bigint[] | undefined;
|
|
1632
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1633
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1634
|
+
approvalProgram: string | Uint8Array;
|
|
1635
|
+
clearStateProgram: string | Uint8Array;
|
|
1636
|
+
schema?: {
|
|
1637
|
+
globalInts: number;
|
|
1638
|
+
globalByteSlices: number;
|
|
1639
|
+
localInts: number;
|
|
1640
|
+
localByteSlices: number;
|
|
1641
|
+
} | undefined;
|
|
1642
|
+
extraProgramPages?: number | undefined;
|
|
1643
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1644
|
+
sender: string | Address;
|
|
1645
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1646
|
+
rekeyTo?: string | Address | undefined;
|
|
1647
|
+
note?: string | Uint8Array | undefined;
|
|
1648
|
+
lease?: string | Uint8Array | undefined;
|
|
1649
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1650
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1651
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1652
|
+
validityWindow?: number | bigint | undefined;
|
|
1653
|
+
firstValidRound?: bigint | undefined;
|
|
1654
|
+
lastValidRound?: bigint | undefined;
|
|
1655
|
+
appId: bigint;
|
|
1656
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1657
|
+
args?: Uint8Array[] | undefined;
|
|
1658
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1659
|
+
appReferences?: bigint[] | undefined;
|
|
1660
|
+
assetReferences?: bigint[] | undefined;
|
|
1661
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1662
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1663
|
+
rejectVersion?: number | undefined;
|
|
1664
|
+
approvalProgram: string | Uint8Array;
|
|
1665
|
+
clearStateProgram: string | Uint8Array;
|
|
1666
|
+
}> | undefined)[] | undefined;
|
|
1667
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1668
|
+
}>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Creates a new instance of the RetiReader smart contract using the getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64) ABI method.
|
|
1671
|
+
*
|
|
1672
|
+
* @param params The params for the smart contract call
|
|
1673
|
+
* @returns The create params
|
|
1674
|
+
*/
|
|
1675
|
+
getPoolBalancesAndLastPayouts: (params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
|
|
1676
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1677
|
+
}) => Promise<{
|
|
1678
|
+
deployTimeParams: import("@algorandfoundation/algokit-utils/types/app").TealTemplateParams | undefined;
|
|
1679
|
+
schema: {
|
|
1680
|
+
globalInts: number;
|
|
1681
|
+
globalByteSlices: number;
|
|
1682
|
+
localInts: number;
|
|
1683
|
+
localByteSlices: number;
|
|
1684
|
+
};
|
|
1685
|
+
approvalProgram: Uint8Array;
|
|
1686
|
+
clearStateProgram: Uint8Array;
|
|
1687
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1688
|
+
note?: string | Uint8Array | undefined;
|
|
1689
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1690
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1691
|
+
rejectVersion?: number | undefined;
|
|
1692
|
+
lease?: string | Uint8Array | undefined;
|
|
1693
|
+
rekeyTo?: string | Address | undefined;
|
|
1694
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1695
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1696
|
+
validityWindow?: number | bigint | undefined;
|
|
1697
|
+
firstValidRound?: bigint | undefined;
|
|
1698
|
+
lastValidRound?: bigint | undefined;
|
|
1699
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1700
|
+
appReferences?: bigint[] | undefined;
|
|
1701
|
+
assetReferences?: bigint[] | undefined;
|
|
1702
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1703
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1704
|
+
sender?: string | Address | undefined;
|
|
1705
|
+
method: string;
|
|
1706
|
+
args?: (import("algosdk").ABIValue | import("@algorandfoundation/algokit-utils/types/app-arc56").ABIStruct | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
1707
|
+
updatable?: boolean | undefined;
|
|
1708
|
+
deletable?: boolean | undefined;
|
|
1709
|
+
extraProgramPages?: number | undefined;
|
|
1710
|
+
} & {
|
|
1711
|
+
sender: Address;
|
|
1712
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1713
|
+
method: import("@algorandfoundation/algokit-utils/types/app-arc56").Arc56Method;
|
|
1714
|
+
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<{
|
|
1715
|
+
sender: string | Address;
|
|
1716
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1717
|
+
note?: string | Uint8Array | undefined;
|
|
1718
|
+
args?: Uint8Array[] | undefined;
|
|
1719
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1720
|
+
onComplete?: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1721
|
+
rejectVersion?: number | undefined;
|
|
1722
|
+
lease?: string | Uint8Array | undefined;
|
|
1723
|
+
rekeyTo?: string | Address | undefined;
|
|
1724
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1725
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1726
|
+
validityWindow?: number | bigint | undefined;
|
|
1727
|
+
firstValidRound?: bigint | undefined;
|
|
1728
|
+
lastValidRound?: bigint | undefined;
|
|
1729
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1730
|
+
appReferences?: bigint[] | undefined;
|
|
1731
|
+
assetReferences?: bigint[] | undefined;
|
|
1732
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1733
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1734
|
+
approvalProgram: string | Uint8Array;
|
|
1735
|
+
clearStateProgram: string | Uint8Array;
|
|
1736
|
+
schema?: {
|
|
1737
|
+
globalInts: number;
|
|
1738
|
+
globalByteSlices: number;
|
|
1739
|
+
localInts: number;
|
|
1740
|
+
localByteSlices: number;
|
|
1741
|
+
} | undefined;
|
|
1742
|
+
extraProgramPages?: number | undefined;
|
|
1743
|
+
}> | import("@algorandfoundation/algokit-utils/types/composer").AppMethodCall<{
|
|
1744
|
+
sender: string | Address;
|
|
1745
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1746
|
+
rekeyTo?: string | Address | undefined;
|
|
1747
|
+
note?: string | Uint8Array | undefined;
|
|
1748
|
+
lease?: string | Uint8Array | undefined;
|
|
1749
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1750
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1751
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1752
|
+
validityWindow?: number | bigint | undefined;
|
|
1753
|
+
firstValidRound?: bigint | undefined;
|
|
1754
|
+
lastValidRound?: bigint | undefined;
|
|
1755
|
+
appId: bigint;
|
|
1756
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1757
|
+
args?: Uint8Array[] | undefined;
|
|
1758
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1759
|
+
appReferences?: bigint[] | undefined;
|
|
1760
|
+
assetReferences?: bigint[] | undefined;
|
|
1761
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1762
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1763
|
+
rejectVersion?: number | undefined;
|
|
1764
|
+
approvalProgram: string | Uint8Array;
|
|
1765
|
+
clearStateProgram: string | Uint8Array;
|
|
1766
|
+
}> | undefined)[] | undefined;
|
|
1767
|
+
onComplete: OnApplicationComplete.NoOpOC | OnApplicationComplete.OptInOC | OnApplicationComplete.CloseOutOC | OnApplicationComplete.UpdateApplicationOC | OnApplicationComplete.DeleteApplicationOC;
|
|
1768
|
+
}>;
|
|
1769
|
+
};
|
|
1770
|
+
/**
|
|
1771
|
+
* Gets available deployUpdate methods
|
|
1772
|
+
*/
|
|
1773
|
+
deployUpdate: {
|
|
1774
|
+
/**
|
|
1775
|
+
* Updates an existing instance of the RetiReader smart contract using a bare call.
|
|
1776
|
+
*
|
|
1777
|
+
* @param params The params for the bare (raw) call
|
|
1778
|
+
* @returns The params for a deployUpdate call
|
|
1779
|
+
*/
|
|
1780
|
+
bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams>) => {
|
|
1781
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1782
|
+
note?: string | Uint8Array | undefined;
|
|
1783
|
+
args?: Uint8Array[] | undefined;
|
|
1784
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1785
|
+
rejectVersion?: number | undefined;
|
|
1786
|
+
lease?: string | Uint8Array | undefined;
|
|
1787
|
+
rekeyTo?: string | Address | undefined;
|
|
1788
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1789
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1790
|
+
validityWindow?: number | bigint | undefined;
|
|
1791
|
+
firstValidRound?: bigint | undefined;
|
|
1792
|
+
lastValidRound?: bigint | undefined;
|
|
1793
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1794
|
+
appReferences?: bigint[] | undefined;
|
|
1795
|
+
assetReferences?: bigint[] | undefined;
|
|
1796
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1797
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1798
|
+
sender?: string | Address | undefined;
|
|
1799
|
+
} & {
|
|
1800
|
+
sender: Address;
|
|
1801
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1802
|
+
onComplete: OnApplicationComplete.UpdateApplicationOC;
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
/**
|
|
1806
|
+
* Gets available deployDelete methods
|
|
1807
|
+
*/
|
|
1808
|
+
deployDelete: {
|
|
1809
|
+
/**
|
|
1810
|
+
* Deletes an existing instance of the RetiReader smart contract using a bare call.
|
|
1811
|
+
*
|
|
1812
|
+
* @param params The params for the bare (raw) call
|
|
1813
|
+
* @returns The params for a deployDelete call
|
|
1814
|
+
*/
|
|
1815
|
+
bare: (params?: Expand<AppClientBareCallParams>) => {
|
|
1816
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1817
|
+
note?: string | Uint8Array | undefined;
|
|
1818
|
+
args?: Uint8Array[] | undefined;
|
|
1819
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1820
|
+
rejectVersion?: number | undefined;
|
|
1821
|
+
lease?: string | Uint8Array | undefined;
|
|
1822
|
+
rekeyTo?: string | Address | undefined;
|
|
1823
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1824
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
1825
|
+
validityWindow?: number | bigint | undefined;
|
|
1826
|
+
firstValidRound?: bigint | undefined;
|
|
1827
|
+
lastValidRound?: bigint | undefined;
|
|
1828
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
1829
|
+
appReferences?: bigint[] | undefined;
|
|
1830
|
+
assetReferences?: bigint[] | undefined;
|
|
1831
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
1832
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
1833
|
+
sender?: string | Address | undefined;
|
|
1834
|
+
} & {
|
|
1835
|
+
sender: Address;
|
|
1836
|
+
signer: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
1837
|
+
onComplete: OnApplicationComplete.DeleteApplicationOC;
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
};
|
|
1841
|
+
/**
|
|
1842
|
+
* Create transactions for the current app
|
|
1843
|
+
*/
|
|
1844
|
+
readonly createTransaction: {
|
|
1845
|
+
/**
|
|
1846
|
+
* Gets available create methods
|
|
1847
|
+
*/
|
|
1848
|
+
create: {
|
|
1849
|
+
/**
|
|
1850
|
+
* Creates a new instance of the RetiReader smart contract using the getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)) ABI method.
|
|
1851
|
+
*
|
|
1852
|
+
* @param params The params for the smart contract call
|
|
1853
|
+
* @returns The create transaction
|
|
1854
|
+
*/
|
|
1855
|
+
getMbrAmountsAndProtocolConstraints: (params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & AppClientCompilationParams & CreateSchema & {
|
|
1856
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1857
|
+
}) => Promise<{
|
|
1858
|
+
transactions: Transaction[];
|
|
1859
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1860
|
+
signers: Map<number, TransactionSigner>;
|
|
1861
|
+
}>;
|
|
1862
|
+
/**
|
|
1863
|
+
* 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.
|
|
1864
|
+
*
|
|
1865
|
+
* @param params The params for the smart contract call
|
|
1866
|
+
* @returns The create transaction
|
|
1867
|
+
*/
|
|
1868
|
+
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 & {
|
|
1869
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1870
|
+
}) => Promise<{
|
|
1871
|
+
transactions: Transaction[];
|
|
1872
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1873
|
+
signers: Map<number, TransactionSigner>;
|
|
1874
|
+
}>;
|
|
1875
|
+
/**
|
|
1876
|
+
* Creates a new instance of the RetiReader smart contract using the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method.
|
|
1877
|
+
*
|
|
1878
|
+
* @param params The params for the smart contract call
|
|
1879
|
+
* @returns The create transaction
|
|
1880
|
+
*/
|
|
1881
|
+
getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
|
|
1882
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1883
|
+
}) => Promise<{
|
|
1884
|
+
transactions: Transaction[];
|
|
1885
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1886
|
+
signers: Map<number, TransactionSigner>;
|
|
1887
|
+
}>;
|
|
1888
|
+
/**
|
|
1889
|
+
* Creates a new instance of the RetiReader smart contract using the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
|
|
1890
|
+
*
|
|
1891
|
+
* @param params The params for the smart contract call
|
|
1892
|
+
* @returns The create transaction
|
|
1893
|
+
*/
|
|
1894
|
+
getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & CreateSchema & {
|
|
1895
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1896
|
+
}) => Promise<{
|
|
1897
|
+
transactions: Transaction[];
|
|
1898
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1899
|
+
signers: Map<number, TransactionSigner>;
|
|
1900
|
+
}>;
|
|
1901
|
+
/**
|
|
1902
|
+
* Creates a new instance of the RetiReader smart contract using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
|
|
1903
|
+
*
|
|
1904
|
+
* @param params The params for the smart contract call
|
|
1905
|
+
* @returns The create transaction
|
|
1906
|
+
*/
|
|
1907
|
+
getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & CreateSchema & {
|
|
1908
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1909
|
+
}) => Promise<{
|
|
1910
|
+
transactions: Transaction[];
|
|
1911
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1912
|
+
signers: Map<number, TransactionSigner>;
|
|
1913
|
+
}>;
|
|
1914
|
+
/**
|
|
1915
|
+
* Creates a new instance of the RetiReader smart contract using the getValidators(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.
|
|
1916
|
+
*
|
|
1917
|
+
* @param params The params for the smart contract call
|
|
1918
|
+
* @returns The create transaction
|
|
1919
|
+
*/
|
|
1920
|
+
getValidators: (params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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 & {
|
|
1921
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1922
|
+
}) => Promise<{
|
|
1923
|
+
transactions: Transaction[];
|
|
1924
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1925
|
+
signers: Map<number, TransactionSigner>;
|
|
1926
|
+
}>;
|
|
1927
|
+
/**
|
|
1928
|
+
* Creates a new instance of the RetiReader smart contract using the getBlockTimestamps(uint64)uint64 ABI method.
|
|
1929
|
+
*
|
|
1930
|
+
* @param params The params for the smart contract call
|
|
1931
|
+
* @returns The create transaction
|
|
1932
|
+
*/
|
|
1933
|
+
getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & CreateSchema & {
|
|
1934
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1935
|
+
}) => Promise<{
|
|
1936
|
+
transactions: Transaction[];
|
|
1937
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1938
|
+
signers: Map<number, TransactionSigner>;
|
|
1939
|
+
}>;
|
|
1940
|
+
/**
|
|
1941
|
+
* Creates a new instance of the RetiReader smart contract using the getAlgodVersion(uint64[])string ABI method.
|
|
1942
|
+
*
|
|
1943
|
+
* @param params The params for the smart contract call
|
|
1944
|
+
* @returns The create transaction
|
|
1945
|
+
*/
|
|
1946
|
+
getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & CreateSchema & {
|
|
1947
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1948
|
+
}) => Promise<{
|
|
1949
|
+
transactions: Transaction[];
|
|
1950
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1951
|
+
signers: Map<number, TransactionSigner>;
|
|
1952
|
+
}>;
|
|
1953
|
+
/**
|
|
1954
|
+
* Creates a new instance of the RetiReader smart contract using the getAssets(uint64[])(uint64,address,uint64,uint8,string,string) ABI method.
|
|
1955
|
+
*
|
|
1956
|
+
* @param params The params for the smart contract call
|
|
1957
|
+
* @returns The create transaction
|
|
1958
|
+
*/
|
|
1959
|
+
getAssets: (params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & AppClientCompilationParams & CreateSchema & {
|
|
1960
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1961
|
+
}) => Promise<{
|
|
1962
|
+
transactions: Transaction[];
|
|
1963
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1964
|
+
signers: Map<number, TransactionSigner>;
|
|
1965
|
+
}>;
|
|
1966
|
+
/**
|
|
1967
|
+
* Creates a new instance of the RetiReader smart contract using the getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64) ABI method.
|
|
1968
|
+
*
|
|
1969
|
+
* @param params The params for the smart contract call
|
|
1970
|
+
* @returns The create transaction
|
|
1971
|
+
*/
|
|
1972
|
+
getPoolBalancesAndLastPayouts: (params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & AppClientCompilationParams & CreateSchema & {
|
|
1973
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1974
|
+
}) => Promise<{
|
|
1975
|
+
transactions: Transaction[];
|
|
1976
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
1977
|
+
signers: Map<number, TransactionSigner>;
|
|
1978
|
+
}>;
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
/**
|
|
1982
|
+
* Send calls to the current app
|
|
1983
|
+
*/
|
|
1984
|
+
readonly send: {
|
|
1985
|
+
/**
|
|
1986
|
+
* Gets available create methods
|
|
1987
|
+
*/
|
|
1988
|
+
create: {
|
|
1989
|
+
/**
|
|
1990
|
+
* Creates a new instance of the RetiReader smart contract using an ABI method call using the getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)) ABI method.
|
|
1991
|
+
*
|
|
1992
|
+
* @param params The params for the smart contract call
|
|
1993
|
+
* @returns The create result
|
|
1994
|
+
*/
|
|
1995
|
+
getMbrAmountsAndProtocolConstraints: (params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
1996
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
1997
|
+
}) => Promise<{
|
|
1998
|
+
result: {
|
|
1999
|
+
return: MbrAmountsAndProtocolConstraints | undefined;
|
|
2000
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2001
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2002
|
+
appId: bigint;
|
|
2003
|
+
groupId: string;
|
|
2004
|
+
txIds: string[];
|
|
2005
|
+
returns?: ABIReturn[] | undefined;
|
|
2006
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2007
|
+
transactions: Transaction[];
|
|
2008
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2009
|
+
transaction: Transaction;
|
|
2010
|
+
appAddress: Address;
|
|
2011
|
+
};
|
|
2012
|
+
appClient: RetiReaderClient;
|
|
2013
|
+
}>;
|
|
2014
|
+
/**
|
|
2015
|
+
* 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.
|
|
2016
|
+
*
|
|
2017
|
+
* @param params The params for the smart contract call
|
|
2018
|
+
* @returns The create result
|
|
2019
|
+
*/
|
|
2020
|
+
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 & {
|
|
2021
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2022
|
+
}) => Promise<{
|
|
2023
|
+
result: {
|
|
2024
|
+
return: ValidatorConfig | undefined;
|
|
2025
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2026
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2027
|
+
appId: bigint;
|
|
2028
|
+
groupId: string;
|
|
2029
|
+
txIds: string[];
|
|
2030
|
+
returns?: ABIReturn[] | undefined;
|
|
2031
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2032
|
+
transactions: Transaction[];
|
|
2033
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2034
|
+
transaction: Transaction;
|
|
2035
|
+
appAddress: Address;
|
|
2036
|
+
};
|
|
2037
|
+
appClient: RetiReaderClient;
|
|
2038
|
+
}>;
|
|
2039
|
+
/**
|
|
2040
|
+
* 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.
|
|
2041
|
+
*
|
|
2042
|
+
* @param params The params for the smart contract call
|
|
2043
|
+
* @returns The create result
|
|
2044
|
+
*/
|
|
2045
|
+
getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
2046
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2047
|
+
}) => Promise<{
|
|
2048
|
+
result: {
|
|
2049
|
+
return: ValidatorCurState | undefined;
|
|
2050
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2051
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2052
|
+
appId: bigint;
|
|
2053
|
+
groupId: string;
|
|
2054
|
+
txIds: string[];
|
|
2055
|
+
returns?: ABIReturn[] | undefined;
|
|
2056
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2057
|
+
transactions: Transaction[];
|
|
2058
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2059
|
+
transaction: Transaction;
|
|
2060
|
+
appAddress: Address;
|
|
2061
|
+
};
|
|
2062
|
+
appClient: RetiReaderClient;
|
|
2063
|
+
}>;
|
|
2064
|
+
/**
|
|
2065
|
+
* 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.
|
|
2066
|
+
*
|
|
2067
|
+
* @param params The params for the smart contract call
|
|
2068
|
+
* @returns The create result
|
|
2069
|
+
*/
|
|
2070
|
+
getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
2071
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2072
|
+
}) => Promise<{
|
|
2073
|
+
result: {
|
|
2074
|
+
return: ValidatorPoolInfo | undefined;
|
|
2075
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2076
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2077
|
+
appId: bigint;
|
|
2078
|
+
groupId: string;
|
|
2079
|
+
txIds: string[];
|
|
2080
|
+
returns?: ABIReturn[] | undefined;
|
|
2081
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2082
|
+
transactions: Transaction[];
|
|
2083
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2084
|
+
transaction: Transaction;
|
|
2085
|
+
appAddress: Address;
|
|
2086
|
+
};
|
|
2087
|
+
appClient: RetiReaderClient;
|
|
2088
|
+
}>;
|
|
2089
|
+
/**
|
|
2090
|
+
* Creates a new instance of the RetiReader smart contract using an ABI method call using the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
|
|
2091
|
+
*
|
|
2092
|
+
* @param params The params for the smart contract call
|
|
2093
|
+
* @returns The create result
|
|
2094
|
+
*/
|
|
2095
|
+
getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
2096
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2097
|
+
}) => Promise<{
|
|
2098
|
+
result: {
|
|
2099
|
+
return: NodePoolAssignmentConfig | undefined;
|
|
2100
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2101
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2102
|
+
appId: bigint;
|
|
2103
|
+
groupId: string;
|
|
2104
|
+
txIds: string[];
|
|
2105
|
+
returns?: ABIReturn[] | undefined;
|
|
2106
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2107
|
+
transactions: Transaction[];
|
|
2108
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2109
|
+
transaction: Transaction;
|
|
2110
|
+
appAddress: Address;
|
|
2111
|
+
};
|
|
2112
|
+
appClient: RetiReaderClient;
|
|
2113
|
+
}>;
|
|
2114
|
+
/**
|
|
2115
|
+
* Creates a new instance of the RetiReader smart contract using an ABI method call using the getValidators(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.
|
|
2116
|
+
*
|
|
2117
|
+
* @param params The params for the smart contract call
|
|
2118
|
+
* @returns The create result
|
|
2119
|
+
*/
|
|
2120
|
+
getValidators: (params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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 & {
|
|
2121
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2122
|
+
}) => Promise<{
|
|
2123
|
+
result: {
|
|
2124
|
+
return: Validator | undefined;
|
|
2125
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2126
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2127
|
+
appId: bigint;
|
|
2128
|
+
groupId: string;
|
|
2129
|
+
txIds: string[];
|
|
2130
|
+
returns?: ABIReturn[] | undefined;
|
|
2131
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2132
|
+
transactions: Transaction[];
|
|
2133
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2134
|
+
transaction: Transaction;
|
|
2135
|
+
appAddress: Address;
|
|
2136
|
+
};
|
|
2137
|
+
appClient: RetiReaderClient;
|
|
2138
|
+
}>;
|
|
2139
|
+
/**
|
|
2140
|
+
* Creates a new instance of the RetiReader smart contract using an ABI method call using the getBlockTimestamps(uint64)uint64 ABI method.
|
|
2141
|
+
*
|
|
2142
|
+
* @param params The params for the smart contract call
|
|
2143
|
+
* @returns The create result
|
|
2144
|
+
*/
|
|
2145
|
+
getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
2146
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2147
|
+
}) => Promise<{
|
|
2148
|
+
result: {
|
|
2149
|
+
return: bigint | undefined;
|
|
2150
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2151
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2152
|
+
appId: bigint;
|
|
2153
|
+
groupId: string;
|
|
2154
|
+
txIds: string[];
|
|
2155
|
+
returns?: ABIReturn[] | undefined;
|
|
2156
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2157
|
+
transactions: Transaction[];
|
|
2158
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2159
|
+
transaction: Transaction;
|
|
2160
|
+
appAddress: Address;
|
|
2161
|
+
};
|
|
2162
|
+
appClient: RetiReaderClient;
|
|
2163
|
+
}>;
|
|
2164
|
+
/**
|
|
2165
|
+
* Creates a new instance of the RetiReader smart contract using an ABI method call using the getAlgodVersion(uint64[])string ABI method.
|
|
2166
|
+
*
|
|
2167
|
+
* @param params The params for the smart contract call
|
|
2168
|
+
* @returns The create result
|
|
2169
|
+
*/
|
|
2170
|
+
getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
2171
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2172
|
+
}) => Promise<{
|
|
2173
|
+
result: {
|
|
2174
|
+
return: string | undefined;
|
|
2175
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2176
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2177
|
+
appId: bigint;
|
|
2178
|
+
groupId: string;
|
|
2179
|
+
txIds: string[];
|
|
2180
|
+
returns?: ABIReturn[] | undefined;
|
|
2181
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2182
|
+
transactions: Transaction[];
|
|
2183
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2184
|
+
transaction: Transaction;
|
|
2185
|
+
appAddress: Address;
|
|
2186
|
+
};
|
|
2187
|
+
appClient: RetiReaderClient;
|
|
2188
|
+
}>;
|
|
2189
|
+
/**
|
|
2190
|
+
* Creates a new instance of the RetiReader smart contract using an ABI method call using the getAssets(uint64[])(uint64,address,uint64,uint8,string,string) ABI method.
|
|
2191
|
+
*
|
|
2192
|
+
* @param params The params for the smart contract call
|
|
2193
|
+
* @returns The create result
|
|
2194
|
+
*/
|
|
2195
|
+
getAssets: (params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
2196
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2197
|
+
}) => Promise<{
|
|
2198
|
+
result: {
|
|
2199
|
+
return: AssetInfo | undefined;
|
|
2200
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2201
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2202
|
+
appId: bigint;
|
|
2203
|
+
groupId: string;
|
|
2204
|
+
txIds: string[];
|
|
2205
|
+
returns?: ABIReturn[] | undefined;
|
|
2206
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2207
|
+
transactions: Transaction[];
|
|
2208
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2209
|
+
transaction: Transaction;
|
|
2210
|
+
appAddress: Address;
|
|
2211
|
+
};
|
|
2212
|
+
appClient: RetiReaderClient;
|
|
2213
|
+
}>;
|
|
2214
|
+
/**
|
|
2215
|
+
* Creates a new instance of the RetiReader smart contract using an ABI method call using the getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64) ABI method.
|
|
2216
|
+
*
|
|
2217
|
+
* @param params The params for the smart contract call
|
|
2218
|
+
* @returns The create result
|
|
2219
|
+
*/
|
|
2220
|
+
getPoolBalancesAndLastPayouts: (params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & AppClientCompilationParams & CreateSchema & SendParams & {
|
|
2221
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2222
|
+
}) => Promise<{
|
|
2223
|
+
result: {
|
|
2224
|
+
return: [bigint, bigint] | undefined;
|
|
2225
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2226
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2227
|
+
appId: bigint;
|
|
2228
|
+
groupId: string;
|
|
2229
|
+
txIds: string[];
|
|
2230
|
+
returns?: ABIReturn[] | undefined;
|
|
2231
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2232
|
+
transactions: Transaction[];
|
|
2233
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2234
|
+
transaction: Transaction;
|
|
2235
|
+
appAddress: Address;
|
|
2236
|
+
};
|
|
2237
|
+
appClient: RetiReaderClient;
|
|
2238
|
+
}>;
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
/**
|
|
2243
|
+
* A client to make calls to the RetiReader smart contract
|
|
2244
|
+
*/
|
|
2245
|
+
declare class RetiReaderClient {
|
|
2246
|
+
/**
|
|
2247
|
+
* The underlying `AppClient` for when you want to have more flexibility
|
|
2248
|
+
*/
|
|
2249
|
+
readonly appClient: _AppClient;
|
|
2250
|
+
/**
|
|
2251
|
+
* Creates a new instance of `RetiReaderClient`
|
|
2252
|
+
*
|
|
2253
|
+
* @param appClient An `AppClient` instance which has been created with the RetiReader app spec
|
|
2254
|
+
*/
|
|
2255
|
+
constructor(appClient: _AppClient);
|
|
2256
|
+
/**
|
|
2257
|
+
* Creates a new instance of `RetiReaderClient`
|
|
2258
|
+
*
|
|
2259
|
+
* @param params The parameters to initialise the app client with
|
|
2260
|
+
*/
|
|
2261
|
+
constructor(params: Omit<AppClientParams, 'appSpec'>);
|
|
2262
|
+
/**
|
|
2263
|
+
* Checks for decode errors on the given return value and maps the return value to the return type for the given method
|
|
2264
|
+
* @returns The typed return value or undefined if there was no value
|
|
2265
|
+
*/
|
|
2266
|
+
decodeReturnValue<TSignature extends RetiReaderNonVoidMethodSignatures>(method: TSignature, returnValue: ABIReturn | undefined): MethodReturn<TSignature> | undefined;
|
|
2267
|
+
/**
|
|
2268
|
+
* Returns a new `RetiReaderClient` client, resolving the app by creator address and name
|
|
2269
|
+
* using AlgoKit app deployment semantics (i.e. looking for the app creation transaction note).
|
|
2270
|
+
* @param params The parameters to create the app client
|
|
2271
|
+
*/
|
|
2272
|
+
static fromCreatorAndName(params: Omit<ResolveAppClientByCreatorAndName, 'appSpec'>): Promise<RetiReaderClient>;
|
|
2273
|
+
/**
|
|
2274
|
+
* Returns an `RetiReaderClient` instance for the current network based on
|
|
2275
|
+
* pre-determined network-specific app IDs specified in the ARC-56 app spec.
|
|
2276
|
+
*
|
|
2277
|
+
* If no IDs are in the app spec or the network isn't recognised, an error is thrown.
|
|
2278
|
+
* @param params The parameters to create the app client
|
|
2279
|
+
*/
|
|
2280
|
+
static fromNetwork(params: Omit<ResolveAppClientByNetwork, 'appSpec'>): Promise<RetiReaderClient>;
|
|
2281
|
+
/** The ID of the app instance this client is linked to. */
|
|
2282
|
+
get appId(): bigint;
|
|
2283
|
+
/** The app address of the app instance this client is linked to. */
|
|
2284
|
+
get appAddress(): Address;
|
|
2285
|
+
/** The name of the app. */
|
|
2286
|
+
get appName(): string;
|
|
2287
|
+
/** The ARC-56 app spec being used */
|
|
2288
|
+
get appSpec(): Arc56Contract;
|
|
2289
|
+
/** A reference to the underlying `AlgorandClient` this app client is using. */
|
|
2290
|
+
get algorand(): AlgorandClient;
|
|
2291
|
+
/**
|
|
2292
|
+
* Get parameters to create transactions for the current app. A good mental model for this is that these parameters represent a deferred transaction creation.
|
|
2293
|
+
*/
|
|
2294
|
+
readonly params: {
|
|
2295
|
+
/**
|
|
2296
|
+
* Gets available update methods
|
|
2297
|
+
*/
|
|
2298
|
+
update: {
|
|
2299
|
+
/**
|
|
2300
|
+
* Updates an existing instance of the RetiReader smart contract using a bare call.
|
|
2301
|
+
*
|
|
2302
|
+
* @param params The params for the bare (raw) call
|
|
2303
|
+
* @returns The update result
|
|
2304
|
+
*/
|
|
2305
|
+
bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams>) => Promise<{
|
|
2306
|
+
sender: string | Address;
|
|
2307
|
+
signer?: TransactionSigner | import("@algorandfoundation/algokit-utils/types/account").TransactionSignerAccount | undefined;
|
|
2308
|
+
rekeyTo?: string | Address | undefined;
|
|
2309
|
+
note?: string | Uint8Array | undefined;
|
|
2310
|
+
lease?: string | Uint8Array | undefined;
|
|
2311
|
+
staticFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
2312
|
+
extraFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
2313
|
+
maxFee?: import("@algorandfoundation/algokit-utils/types/amount").AlgoAmount | undefined;
|
|
2314
|
+
validityWindow?: number | bigint | undefined;
|
|
2315
|
+
firstValidRound?: bigint | undefined;
|
|
2316
|
+
lastValidRound?: bigint | undefined;
|
|
2317
|
+
appId: bigint;
|
|
2318
|
+
onComplete?: OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
2319
|
+
args?: Uint8Array[] | undefined;
|
|
2320
|
+
accountReferences?: (string | Address)[] | undefined;
|
|
2321
|
+
appReferences?: bigint[] | undefined;
|
|
2322
|
+
assetReferences?: bigint[] | undefined;
|
|
2323
|
+
boxReferences?: (import("@algorandfoundation/algokit-utils/types/app-manager").BoxReference | import("@algorandfoundation/algokit-utils/types/app-manager").BoxIdentifier)[] | undefined;
|
|
2324
|
+
accessReferences?: import("@algorandfoundation/algokit-utils/types/app-manager").ResourceReference[] | undefined;
|
|
2325
|
+
rejectVersion?: number | undefined;
|
|
2326
|
+
approvalProgram: string | Uint8Array;
|
|
2327
|
+
clearStateProgram: string | Uint8Array;
|
|
2328
|
+
}>;
|
|
2329
|
+
};
|
|
2330
|
+
/**
|
|
2331
|
+
* Gets available delete methods
|
|
2332
|
+
*/
|
|
2333
|
+
delete: {
|
|
2334
|
+
/**
|
|
2335
|
+
* Deletes an existing instance of the RetiReader smart contract using a bare call.
|
|
2336
|
+
*
|
|
2337
|
+
* @param params The params for the bare (raw) call
|
|
2338
|
+
* @returns The delete result
|
|
2339
|
+
*/
|
|
2340
|
+
bare: (params?: Expand<AppClientBareCallParams>) => import("@algorandfoundation/algokit-utils/types/composer").AppDeleteParams;
|
|
2341
|
+
};
|
|
2342
|
+
/**
|
|
2343
|
+
* Makes a clear_state call to an existing instance of the RetiReader smart contract.
|
|
2344
|
+
*
|
|
2345
|
+
* @param params The params for the bare (raw) call
|
|
2346
|
+
* @returns The clearState result
|
|
2347
|
+
*/
|
|
2348
|
+
clearState: (params?: Expand<AppClientBareCallParams>) => import("@algorandfoundation/algokit-utils/types/composer").AppCallParams;
|
|
2349
|
+
/**
|
|
2350
|
+
* Makes a call to the RetiReader smart contract using the `getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))` ABI method.
|
|
2351
|
+
*
|
|
2352
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2353
|
+
*
|
|
2354
|
+
* @param params The params for the smart contract call
|
|
2355
|
+
* @returns The call params
|
|
2356
|
+
*/
|
|
2357
|
+
getMbrAmountsAndProtocolConstraints: (params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & {
|
|
2358
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2359
|
+
}) => Promise<AppCallMethodCall>;
|
|
2360
|
+
/**
|
|
2361
|
+
* 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.
|
|
2362
|
+
*
|
|
2363
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2364
|
+
*
|
|
2365
|
+
* @param params The params for the smart contract call
|
|
2366
|
+
* @returns The call params
|
|
2367
|
+
*/
|
|
2368
|
+
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)']> & {
|
|
2369
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2370
|
+
}) => Promise<AppCallMethodCall>;
|
|
2371
|
+
/**
|
|
2372
|
+
* Makes a call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
|
|
2373
|
+
*
|
|
2374
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2375
|
+
*
|
|
2376
|
+
* @param params The params for the smart contract call
|
|
2377
|
+
* @returns The call params
|
|
2378
|
+
*/
|
|
2379
|
+
getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
|
|
2380
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2381
|
+
}) => Promise<AppCallMethodCall>;
|
|
2382
|
+
/**
|
|
2383
|
+
* Makes a call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
|
|
2384
|
+
*
|
|
2385
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2386
|
+
*
|
|
2387
|
+
* @param params The params for the smart contract call
|
|
2388
|
+
* @returns The call params
|
|
2389
|
+
*/
|
|
2390
|
+
getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
|
|
2391
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2392
|
+
}) => Promise<AppCallMethodCall>;
|
|
2393
|
+
/**
|
|
2394
|
+
* Makes a call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
|
|
2395
|
+
*
|
|
2396
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2397
|
+
*
|
|
2398
|
+
* @param params The params for the smart contract call
|
|
2399
|
+
* @returns The call params
|
|
2400
|
+
*/
|
|
2401
|
+
getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
|
|
2402
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2403
|
+
}) => Promise<AppCallMethodCall>;
|
|
2404
|
+
/**
|
|
2405
|
+
* Makes a call to the RetiReader smart contract using the `getValidators(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.
|
|
2406
|
+
*
|
|
2407
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2408
|
+
*
|
|
2409
|
+
* @param params The params for the smart contract call
|
|
2410
|
+
* @returns The call params
|
|
2411
|
+
*/
|
|
2412
|
+
getValidators: (params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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]))']> & {
|
|
2413
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2414
|
+
}) => Promise<AppCallMethodCall>;
|
|
2415
|
+
/**
|
|
2416
|
+
* Makes a call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
|
|
2417
|
+
*
|
|
2418
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2419
|
+
*
|
|
2420
|
+
* @param params The params for the smart contract call
|
|
2421
|
+
* @returns The call params
|
|
2422
|
+
*/
|
|
2423
|
+
getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
|
|
2424
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2425
|
+
}) => Promise<AppCallMethodCall>;
|
|
2426
|
+
/**
|
|
2427
|
+
* Makes a call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
|
|
2428
|
+
*
|
|
2429
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2430
|
+
*
|
|
2431
|
+
* @param params The params for the smart contract call
|
|
2432
|
+
* @returns The call params
|
|
2433
|
+
*/
|
|
2434
|
+
getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
|
|
2435
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2436
|
+
}) => Promise<AppCallMethodCall>;
|
|
2437
|
+
/**
|
|
2438
|
+
* Makes a call to the RetiReader smart contract using the `getAssets(uint64[])(uint64,address,uint64,uint8,string,string)` ABI method.
|
|
2439
|
+
*
|
|
2440
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2441
|
+
*
|
|
2442
|
+
* @param params The params for the smart contract call
|
|
2443
|
+
* @returns The call params
|
|
2444
|
+
*/
|
|
2445
|
+
getAssets: (params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & {
|
|
2446
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2447
|
+
}) => Promise<AppCallMethodCall>;
|
|
2448
|
+
/**
|
|
2449
|
+
* Makes a call to the RetiReader smart contract using the `getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)` ABI method.
|
|
2450
|
+
*
|
|
2451
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2452
|
+
*
|
|
2453
|
+
* @param params The params for the smart contract call
|
|
2454
|
+
* @returns The call params
|
|
2455
|
+
*/
|
|
2456
|
+
getPoolBalancesAndLastPayouts: (params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & {
|
|
2457
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2458
|
+
}) => Promise<AppCallMethodCall>;
|
|
2459
|
+
};
|
|
2460
|
+
/**
|
|
2461
|
+
* Create transactions for the current app
|
|
2462
|
+
*/
|
|
2463
|
+
readonly createTransaction: {
|
|
2464
|
+
/**
|
|
2465
|
+
* Gets available update methods
|
|
2466
|
+
*/
|
|
2467
|
+
update: {
|
|
2468
|
+
/**
|
|
2469
|
+
* Updates an existing instance of the RetiReader smart contract using a bare call.
|
|
2470
|
+
*
|
|
2471
|
+
* @param params The params for the bare (raw) call
|
|
2472
|
+
* @returns The update result
|
|
2473
|
+
*/
|
|
2474
|
+
bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams>) => Promise<Transaction>;
|
|
2475
|
+
};
|
|
2476
|
+
/**
|
|
2477
|
+
* Gets available delete methods
|
|
2478
|
+
*/
|
|
2479
|
+
delete: {
|
|
2480
|
+
/**
|
|
2481
|
+
* Deletes an existing instance of the RetiReader smart contract using a bare call.
|
|
2482
|
+
*
|
|
2483
|
+
* @param params The params for the bare (raw) call
|
|
2484
|
+
* @returns The delete result
|
|
2485
|
+
*/
|
|
2486
|
+
bare: (params?: Expand<AppClientBareCallParams>) => Promise<Transaction>;
|
|
2487
|
+
};
|
|
2488
|
+
/**
|
|
2489
|
+
* Makes a clear_state call to an existing instance of the RetiReader smart contract.
|
|
2490
|
+
*
|
|
2491
|
+
* @param params The params for the bare (raw) call
|
|
2492
|
+
* @returns The clearState result
|
|
2493
|
+
*/
|
|
2494
|
+
clearState: (params?: Expand<AppClientBareCallParams>) => Promise<Transaction>;
|
|
2495
|
+
/**
|
|
2496
|
+
* Makes a call to the RetiReader smart contract using the `getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))` ABI method.
|
|
2497
|
+
*
|
|
2498
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2499
|
+
*
|
|
2500
|
+
* @param params The params for the smart contract call
|
|
2501
|
+
* @returns The call transaction
|
|
2502
|
+
*/
|
|
2503
|
+
getMbrAmountsAndProtocolConstraints: (params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & {
|
|
2504
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2505
|
+
}) => Promise<{
|
|
2506
|
+
transactions: Transaction[];
|
|
2507
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2508
|
+
signers: Map<number, TransactionSigner>;
|
|
2509
|
+
}>;
|
|
2510
|
+
/**
|
|
2511
|
+
* 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.
|
|
2512
|
+
*
|
|
2513
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2514
|
+
*
|
|
2515
|
+
* @param params The params for the smart contract call
|
|
2516
|
+
* @returns The call transaction
|
|
2517
|
+
*/
|
|
2518
|
+
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)']> & {
|
|
2519
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2520
|
+
}) => Promise<{
|
|
2521
|
+
transactions: Transaction[];
|
|
2522
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2523
|
+
signers: Map<number, TransactionSigner>;
|
|
2524
|
+
}>;
|
|
2525
|
+
/**
|
|
2526
|
+
* Makes a call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
|
|
2527
|
+
*
|
|
2528
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2529
|
+
*
|
|
2530
|
+
* @param params The params for the smart contract call
|
|
2531
|
+
* @returns The call transaction
|
|
2532
|
+
*/
|
|
2533
|
+
getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & {
|
|
2534
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2535
|
+
}) => Promise<{
|
|
2536
|
+
transactions: Transaction[];
|
|
2537
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2538
|
+
signers: Map<number, TransactionSigner>;
|
|
2539
|
+
}>;
|
|
2540
|
+
/**
|
|
2541
|
+
* Makes a call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
|
|
2542
|
+
*
|
|
2543
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2544
|
+
*
|
|
2545
|
+
* @param params The params for the smart contract call
|
|
2546
|
+
* @returns The call transaction
|
|
2547
|
+
*/
|
|
2548
|
+
getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & {
|
|
2549
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2550
|
+
}) => Promise<{
|
|
2551
|
+
transactions: Transaction[];
|
|
2552
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2553
|
+
signers: Map<number, TransactionSigner>;
|
|
2554
|
+
}>;
|
|
2555
|
+
/**
|
|
2556
|
+
* Makes a call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
|
|
2557
|
+
*
|
|
2558
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2559
|
+
*
|
|
2560
|
+
* @param params The params for the smart contract call
|
|
2561
|
+
* @returns The call transaction
|
|
2562
|
+
*/
|
|
2563
|
+
getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & {
|
|
2564
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2565
|
+
}) => Promise<{
|
|
2566
|
+
transactions: Transaction[];
|
|
2567
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2568
|
+
signers: Map<number, TransactionSigner>;
|
|
2569
|
+
}>;
|
|
2570
|
+
/**
|
|
2571
|
+
* Makes a call to the RetiReader smart contract using the `getValidators(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.
|
|
2572
|
+
*
|
|
2573
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2574
|
+
*
|
|
2575
|
+
* @param params The params for the smart contract call
|
|
2576
|
+
* @returns The call transaction
|
|
2577
|
+
*/
|
|
2578
|
+
getValidators: (params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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]))']> & {
|
|
2579
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2580
|
+
}) => Promise<{
|
|
2581
|
+
transactions: Transaction[];
|
|
2582
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2583
|
+
signers: Map<number, TransactionSigner>;
|
|
2584
|
+
}>;
|
|
2585
|
+
/**
|
|
2586
|
+
* Makes a call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
|
|
2587
|
+
*
|
|
2588
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2589
|
+
*
|
|
2590
|
+
* @param params The params for the smart contract call
|
|
2591
|
+
* @returns The call transaction
|
|
2592
|
+
*/
|
|
2593
|
+
getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & {
|
|
2594
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2595
|
+
}) => Promise<{
|
|
2596
|
+
transactions: Transaction[];
|
|
2597
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2598
|
+
signers: Map<number, TransactionSigner>;
|
|
2599
|
+
}>;
|
|
2600
|
+
/**
|
|
2601
|
+
* Makes a call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
|
|
2602
|
+
*
|
|
2603
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2604
|
+
*
|
|
2605
|
+
* @param params The params for the smart contract call
|
|
2606
|
+
* @returns The call transaction
|
|
2607
|
+
*/
|
|
2608
|
+
getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & {
|
|
2609
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2610
|
+
}) => Promise<{
|
|
2611
|
+
transactions: Transaction[];
|
|
2612
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2613
|
+
signers: Map<number, TransactionSigner>;
|
|
2614
|
+
}>;
|
|
2615
|
+
/**
|
|
2616
|
+
* Makes a call to the RetiReader smart contract using the `getAssets(uint64[])(uint64,address,uint64,uint8,string,string)` ABI method.
|
|
2617
|
+
*
|
|
2618
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2619
|
+
*
|
|
2620
|
+
* @param params The params for the smart contract call
|
|
2621
|
+
* @returns The call transaction
|
|
2622
|
+
*/
|
|
2623
|
+
getAssets: (params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & {
|
|
2624
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2625
|
+
}) => Promise<{
|
|
2626
|
+
transactions: Transaction[];
|
|
2627
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2628
|
+
signers: Map<number, TransactionSigner>;
|
|
2629
|
+
}>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Makes a call to the RetiReader smart contract using the `getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)` ABI method.
|
|
2632
|
+
*
|
|
2633
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2634
|
+
*
|
|
2635
|
+
* @param params The params for the smart contract call
|
|
2636
|
+
* @returns The call transaction
|
|
2637
|
+
*/
|
|
2638
|
+
getPoolBalancesAndLastPayouts: (params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & {
|
|
2639
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2640
|
+
}) => Promise<{
|
|
2641
|
+
transactions: Transaction[];
|
|
2642
|
+
methodCalls: Map<number, import("algosdk").ABIMethod>;
|
|
2643
|
+
signers: Map<number, TransactionSigner>;
|
|
2644
|
+
}>;
|
|
2645
|
+
};
|
|
2646
|
+
/**
|
|
2647
|
+
* Send calls to the current app
|
|
2648
|
+
*/
|
|
2649
|
+
readonly send: {
|
|
2650
|
+
/**
|
|
2651
|
+
* Gets available update methods
|
|
2652
|
+
*/
|
|
2653
|
+
update: {
|
|
2654
|
+
/**
|
|
2655
|
+
* Updates an existing instance of the RetiReader smart contract using a bare call.
|
|
2656
|
+
*
|
|
2657
|
+
* @param params The params for the bare (raw) call
|
|
2658
|
+
* @returns The update result
|
|
2659
|
+
*/
|
|
2660
|
+
bare: (params?: Expand<AppClientBareCallParams & AppClientCompilationParams & SendParams>) => Promise<{
|
|
2661
|
+
compiledApproval?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2662
|
+
compiledClear?: import("@algorandfoundation/algokit-utils/types/app").CompiledTeal | undefined;
|
|
2663
|
+
groupId: string;
|
|
2664
|
+
txIds: string[];
|
|
2665
|
+
returns?: ABIReturn[] | undefined;
|
|
2666
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2667
|
+
transactions: Transaction[];
|
|
2668
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2669
|
+
transaction: Transaction;
|
|
2670
|
+
return?: ABIReturn | undefined;
|
|
2671
|
+
}>;
|
|
2672
|
+
};
|
|
2673
|
+
/**
|
|
2674
|
+
* Gets available delete methods
|
|
2675
|
+
*/
|
|
2676
|
+
delete: {
|
|
2677
|
+
/**
|
|
2678
|
+
* Deletes an existing instance of the RetiReader smart contract using a bare call.
|
|
2679
|
+
*
|
|
2680
|
+
* @param params The params for the bare (raw) call
|
|
2681
|
+
* @returns The delete result
|
|
2682
|
+
*/
|
|
2683
|
+
bare: (params?: Expand<AppClientBareCallParams & SendParams>) => Promise<{
|
|
2684
|
+
groupId: string;
|
|
2685
|
+
txIds: string[];
|
|
2686
|
+
returns?: ABIReturn[] | undefined;
|
|
2687
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2688
|
+
transactions: Transaction[];
|
|
2689
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2690
|
+
transaction: Transaction;
|
|
2691
|
+
return?: ABIReturn | undefined;
|
|
2692
|
+
}>;
|
|
2693
|
+
};
|
|
2694
|
+
/**
|
|
2695
|
+
* Makes a clear_state call to an existing instance of the RetiReader smart contract.
|
|
2696
|
+
*
|
|
2697
|
+
* @param params The params for the bare (raw) call
|
|
2698
|
+
* @returns The clearState result
|
|
2699
|
+
*/
|
|
2700
|
+
clearState: (params?: Expand<AppClientBareCallParams & SendParams>) => Promise<{
|
|
2701
|
+
groupId: string;
|
|
2702
|
+
txIds: string[];
|
|
2703
|
+
returns?: ABIReturn[] | undefined;
|
|
2704
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2705
|
+
transactions: Transaction[];
|
|
2706
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2707
|
+
transaction: Transaction;
|
|
2708
|
+
return?: ABIReturn | undefined;
|
|
2709
|
+
}>;
|
|
2710
|
+
/**
|
|
2711
|
+
* Makes a call to the RetiReader smart contract using the `getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))` ABI method.
|
|
2712
|
+
*
|
|
2713
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2714
|
+
*
|
|
2715
|
+
* @param params The params for the smart contract call
|
|
2716
|
+
* @returns The call result
|
|
2717
|
+
*/
|
|
2718
|
+
getMbrAmountsAndProtocolConstraints: (params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']> & SendParams & {
|
|
2719
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2720
|
+
}) => Promise<{
|
|
2721
|
+
return: MbrAmountsAndProtocolConstraints | undefined;
|
|
2722
|
+
returns?: ABIReturn[] | undefined;
|
|
2723
|
+
groupId: string;
|
|
2724
|
+
txIds: string[];
|
|
2725
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2726
|
+
transactions: Transaction[];
|
|
2727
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2728
|
+
transaction: Transaction;
|
|
2729
|
+
}>;
|
|
2730
|
+
/**
|
|
2731
|
+
* 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.
|
|
2732
|
+
*
|
|
2733
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2734
|
+
*
|
|
2735
|
+
* @param params The params for the smart contract call
|
|
2736
|
+
* @returns The call result
|
|
2737
|
+
*/
|
|
2738
|
+
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 & {
|
|
2739
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2740
|
+
}) => Promise<{
|
|
2741
|
+
return: ValidatorConfig | undefined;
|
|
2742
|
+
returns?: ABIReturn[] | undefined;
|
|
2743
|
+
groupId: string;
|
|
2744
|
+
txIds: string[];
|
|
2745
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2746
|
+
transactions: Transaction[];
|
|
2747
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2748
|
+
transaction: Transaction;
|
|
2749
|
+
}>;
|
|
2750
|
+
/**
|
|
2751
|
+
* Makes a call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
|
|
2752
|
+
*
|
|
2753
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2754
|
+
*
|
|
2755
|
+
* @param params The params for the smart contract call
|
|
2756
|
+
* @returns The call result
|
|
2757
|
+
*/
|
|
2758
|
+
getValidatorStates: (params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']> & SendParams & {
|
|
2759
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2760
|
+
}) => Promise<{
|
|
2761
|
+
return: ValidatorCurState | undefined;
|
|
2762
|
+
returns?: ABIReturn[] | undefined;
|
|
2763
|
+
groupId: string;
|
|
2764
|
+
txIds: string[];
|
|
2765
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2766
|
+
transactions: Transaction[];
|
|
2767
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2768
|
+
transaction: Transaction;
|
|
2769
|
+
}>;
|
|
2770
|
+
/**
|
|
2771
|
+
* Makes a call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
|
|
2772
|
+
*
|
|
2773
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2774
|
+
*
|
|
2775
|
+
* @param params The params for the smart contract call
|
|
2776
|
+
* @returns The call result
|
|
2777
|
+
*/
|
|
2778
|
+
getPools: (params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']> & SendParams & {
|
|
2779
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2780
|
+
}) => Promise<{
|
|
2781
|
+
return: ValidatorPoolInfo | undefined;
|
|
2782
|
+
returns?: ABIReturn[] | undefined;
|
|
2783
|
+
groupId: string;
|
|
2784
|
+
txIds: string[];
|
|
2785
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2786
|
+
transactions: Transaction[];
|
|
2787
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2788
|
+
transaction: Transaction;
|
|
2789
|
+
}>;
|
|
2790
|
+
/**
|
|
2791
|
+
* Makes a call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
|
|
2792
|
+
*
|
|
2793
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2794
|
+
*
|
|
2795
|
+
* @param params The params for the smart contract call
|
|
2796
|
+
* @returns The call result
|
|
2797
|
+
*/
|
|
2798
|
+
getNodePoolAssignments: (params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']> & SendParams & {
|
|
2799
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2800
|
+
}) => Promise<{
|
|
2801
|
+
return: NodePoolAssignmentConfig | undefined;
|
|
2802
|
+
returns?: ABIReturn[] | undefined;
|
|
2803
|
+
groupId: string;
|
|
2804
|
+
txIds: string[];
|
|
2805
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2806
|
+
transactions: Transaction[];
|
|
2807
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2808
|
+
transaction: Transaction;
|
|
2809
|
+
}>;
|
|
2810
|
+
/**
|
|
2811
|
+
* Makes a call to the RetiReader smart contract using the `getValidators(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.
|
|
2812
|
+
*
|
|
2813
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2814
|
+
*
|
|
2815
|
+
* @param params The params for the smart contract call
|
|
2816
|
+
* @returns The call result
|
|
2817
|
+
*/
|
|
2818
|
+
getValidators: (params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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 & {
|
|
2819
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2820
|
+
}) => Promise<{
|
|
2821
|
+
return: Validator | undefined;
|
|
2822
|
+
returns?: ABIReturn[] | undefined;
|
|
2823
|
+
groupId: string;
|
|
2824
|
+
txIds: string[];
|
|
2825
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2826
|
+
transactions: Transaction[];
|
|
2827
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2828
|
+
transaction: Transaction;
|
|
2829
|
+
}>;
|
|
2830
|
+
/**
|
|
2831
|
+
* Makes a call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
|
|
2832
|
+
*
|
|
2833
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2834
|
+
*
|
|
2835
|
+
* @param params The params for the smart contract call
|
|
2836
|
+
* @returns The call result
|
|
2837
|
+
*/
|
|
2838
|
+
getBlockTimestamps: (params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']> & SendParams & {
|
|
2839
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2840
|
+
}) => Promise<{
|
|
2841
|
+
return: bigint | undefined;
|
|
2842
|
+
returns?: ABIReturn[] | undefined;
|
|
2843
|
+
groupId: string;
|
|
2844
|
+
txIds: string[];
|
|
2845
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2846
|
+
transactions: Transaction[];
|
|
2847
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2848
|
+
transaction: Transaction;
|
|
2849
|
+
}>;
|
|
2850
|
+
/**
|
|
2851
|
+
* Makes a call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
|
|
2852
|
+
*
|
|
2853
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2854
|
+
*
|
|
2855
|
+
* @param params The params for the smart contract call
|
|
2856
|
+
* @returns The call result
|
|
2857
|
+
*/
|
|
2858
|
+
getAlgodVersion: (params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']> & SendParams & {
|
|
2859
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2860
|
+
}) => Promise<{
|
|
2861
|
+
return: string | undefined;
|
|
2862
|
+
returns?: ABIReturn[] | undefined;
|
|
2863
|
+
groupId: string;
|
|
2864
|
+
txIds: string[];
|
|
2865
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2866
|
+
transactions: Transaction[];
|
|
2867
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2868
|
+
transaction: Transaction;
|
|
2869
|
+
}>;
|
|
2870
|
+
/**
|
|
2871
|
+
* Makes a call to the RetiReader smart contract using the `getAssets(uint64[])(uint64,address,uint64,uint8,string,string)` ABI method.
|
|
2872
|
+
*
|
|
2873
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2874
|
+
*
|
|
2875
|
+
* @param params The params for the smart contract call
|
|
2876
|
+
* @returns The call result
|
|
2877
|
+
*/
|
|
2878
|
+
getAssets: (params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']> & SendParams & {
|
|
2879
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2880
|
+
}) => Promise<{
|
|
2881
|
+
return: AssetInfo | undefined;
|
|
2882
|
+
returns?: ABIReturn[] | undefined;
|
|
2883
|
+
groupId: string;
|
|
2884
|
+
txIds: string[];
|
|
2885
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2886
|
+
transactions: Transaction[];
|
|
2887
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2888
|
+
transaction: Transaction;
|
|
2889
|
+
}>;
|
|
2890
|
+
/**
|
|
2891
|
+
* Makes a call to the RetiReader smart contract using the `getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)` ABI method.
|
|
2892
|
+
*
|
|
2893
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2894
|
+
*
|
|
2895
|
+
* @param params The params for the smart contract call
|
|
2896
|
+
* @returns The call result
|
|
2897
|
+
*/
|
|
2898
|
+
getPoolBalancesAndLastPayouts: (params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']> & SendParams & {
|
|
2899
|
+
onComplete?: OnApplicationComplete.NoOpOC;
|
|
2900
|
+
}) => Promise<{
|
|
2901
|
+
return: [bigint, bigint] | undefined;
|
|
2902
|
+
returns?: ABIReturn[] | undefined;
|
|
2903
|
+
groupId: string;
|
|
2904
|
+
txIds: string[];
|
|
2905
|
+
confirmations: modelsv2.PendingTransactionResponse[];
|
|
2906
|
+
transactions: Transaction[];
|
|
2907
|
+
confirmation: modelsv2.PendingTransactionResponse;
|
|
2908
|
+
transaction: Transaction;
|
|
2909
|
+
}>;
|
|
2910
|
+
};
|
|
2911
|
+
/**
|
|
2912
|
+
* Clone this app client with different params
|
|
2913
|
+
*
|
|
2914
|
+
* @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.
|
|
2915
|
+
* @returns A new app client with the altered params
|
|
2916
|
+
*/
|
|
2917
|
+
clone(params: CloneAppClientParams): RetiReaderClient;
|
|
2918
|
+
/**
|
|
2919
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))` ABI method.
|
|
2920
|
+
*
|
|
2921
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2922
|
+
*
|
|
2923
|
+
* @param params The params for the smart contract call
|
|
2924
|
+
* @returns The call result
|
|
2925
|
+
*/
|
|
2926
|
+
getMbrAmountsAndProtocolConstraints(params: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']>): Promise<MbrAmountsAndProtocolConstraints>;
|
|
2927
|
+
/**
|
|
2928
|
+
* 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.
|
|
2929
|
+
*
|
|
2930
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2931
|
+
*
|
|
2932
|
+
* @param params The params for the smart contract call
|
|
2933
|
+
* @returns The call result
|
|
2934
|
+
*/
|
|
2935
|
+
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>;
|
|
2936
|
+
/**
|
|
2937
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)` ABI method.
|
|
2938
|
+
*
|
|
2939
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2940
|
+
*
|
|
2941
|
+
* @param params The params for the smart contract call
|
|
2942
|
+
* @returns The call result
|
|
2943
|
+
*/
|
|
2944
|
+
getValidatorStates(params: CallParams<RetiReaderArgs['obj']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)'] | RetiReaderArgs['tuple']['getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64)']>): Promise<ValidatorCurState>;
|
|
2945
|
+
/**
|
|
2946
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))` ABI method.
|
|
2947
|
+
*
|
|
2948
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2949
|
+
*
|
|
2950
|
+
* @param params The params for the smart contract call
|
|
2951
|
+
* @returns The call result
|
|
2952
|
+
*/
|
|
2953
|
+
getPools(params: CallParams<RetiReaderArgs['obj']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))'] | RetiReaderArgs['tuple']['getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64))']>): Promise<ValidatorPoolInfo>;
|
|
2954
|
+
/**
|
|
2955
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])` ABI method.
|
|
2956
|
+
*
|
|
2957
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2958
|
+
*
|
|
2959
|
+
* @param params The params for the smart contract call
|
|
2960
|
+
* @returns The call result
|
|
2961
|
+
*/
|
|
2962
|
+
getNodePoolAssignments(params: CallParams<RetiReaderArgs['obj']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])'] | RetiReaderArgs['tuple']['getNodePoolAssignments(uint64,uint64[])((uint64[3])[8])']>): Promise<NodePoolAssignmentConfig>;
|
|
2963
|
+
/**
|
|
2964
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getValidators(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.
|
|
2965
|
+
*
|
|
2966
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2967
|
+
*
|
|
2968
|
+
* @param params The params for the smart contract call
|
|
2969
|
+
* @returns The call result
|
|
2970
|
+
*/
|
|
2971
|
+
getValidators(params: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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<Validator>;
|
|
2972
|
+
/**
|
|
2973
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getBlockTimestamps(uint64)uint64` ABI method.
|
|
2974
|
+
*
|
|
2975
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2976
|
+
*
|
|
2977
|
+
* @param params The params for the smart contract call
|
|
2978
|
+
* @returns The call result
|
|
2979
|
+
*/
|
|
2980
|
+
getBlockTimestamps(params: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']>): Promise<bigint>;
|
|
2981
|
+
/**
|
|
2982
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getAlgodVersion(uint64[])string` ABI method.
|
|
2983
|
+
*
|
|
2984
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2985
|
+
*
|
|
2986
|
+
* @param params The params for the smart contract call
|
|
2987
|
+
* @returns The call result
|
|
2988
|
+
*/
|
|
2989
|
+
getAlgodVersion(params: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']>): Promise<string>;
|
|
2990
|
+
/**
|
|
2991
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getAssets(uint64[])(uint64,address,uint64,uint8,string,string)` ABI method.
|
|
2992
|
+
*
|
|
2993
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
2994
|
+
*
|
|
2995
|
+
* @param params The params for the smart contract call
|
|
2996
|
+
* @returns The call result
|
|
2997
|
+
*/
|
|
2998
|
+
getAssets(params: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']>): Promise<AssetInfo>;
|
|
2999
|
+
/**
|
|
3000
|
+
* Makes a readonly (simulated) call to the RetiReader smart contract using the `getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)` ABI method.
|
|
3001
|
+
*
|
|
3002
|
+
* This method is a readonly method; calling it with onComplete of NoOp will result in a simulated transaction rather than a real transaction.
|
|
3003
|
+
*
|
|
3004
|
+
* @param params The params for the smart contract call
|
|
3005
|
+
* @returns The call result
|
|
3006
|
+
*/
|
|
3007
|
+
getPoolBalancesAndLastPayouts(params: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']>): Promise<[bigint, bigint]>;
|
|
3008
|
+
/**
|
|
3009
|
+
* Methods to access state for the current RetiReader app
|
|
3010
|
+
*/
|
|
3011
|
+
state: {};
|
|
3012
|
+
newGroup(): RetiReaderComposer;
|
|
3013
|
+
}
|
|
3014
|
+
export type RetiReaderComposer<TReturns extends [...any[]] = []> = {
|
|
3015
|
+
/**
|
|
3016
|
+
* Calls the getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64)) ABI method.
|
|
3017
|
+
*
|
|
3018
|
+
* @param args The arguments for the contract call
|
|
3019
|
+
* @param params Any additional parameters for the call
|
|
3020
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3021
|
+
*/
|
|
3022
|
+
getMbrAmountsAndProtocolConstraints(params?: CallParams<RetiReaderArgs['obj']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | RetiReaderArgs['tuple']['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getMbrAmountsAndProtocolConstraints(uint64)((uint64,uint64,uint64,uint64),(uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64,uint64))'] | undefined]>;
|
|
3023
|
+
/**
|
|
3024
|
+
* 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.
|
|
3025
|
+
*
|
|
3026
|
+
* @param args The arguments for the contract call
|
|
3027
|
+
* @param params Any additional parameters for the call
|
|
3028
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3029
|
+
*/
|
|
3030
|
+
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]>;
|
|
3031
|
+
/**
|
|
3032
|
+
* Calls the getValidatorStates(uint64,uint64[])(uint16,uint64,uint64,uint64) ABI method.
|
|
3033
|
+
*
|
|
3034
|
+
* @param args The arguments for the contract call
|
|
3035
|
+
* @param params Any additional parameters for the call
|
|
3036
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3037
|
+
*/
|
|
3038
|
+
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]>;
|
|
3039
|
+
/**
|
|
3040
|
+
* Calls the getPools(uint64,uint64[])(uint64,(uint64,uint16,uint64)) ABI method.
|
|
3041
|
+
*
|
|
3042
|
+
* @param args The arguments for the contract call
|
|
3043
|
+
* @param params Any additional parameters for the call
|
|
3044
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3045
|
+
*/
|
|
3046
|
+
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]>;
|
|
3047
|
+
/**
|
|
3048
|
+
* Calls the getNodePoolAssignments(uint64,uint64[])((uint64[3])[8]) ABI method.
|
|
3049
|
+
*
|
|
3050
|
+
* @param args The arguments for the contract call
|
|
3051
|
+
* @param params Any additional parameters for the call
|
|
3052
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3053
|
+
*/
|
|
3054
|
+
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]>;
|
|
3055
|
+
/**
|
|
3056
|
+
* Calls the getValidators(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.
|
|
3057
|
+
*
|
|
3058
|
+
* @param args The arguments for the contract call
|
|
3059
|
+
* @param params Any additional parameters for the call
|
|
3060
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3061
|
+
*/
|
|
3062
|
+
getValidators(params?: CallParams<RetiReaderArgs['obj']['getValidators(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']['getValidators(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['getValidators(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]>;
|
|
3063
|
+
/**
|
|
3064
|
+
* Calls the getBlockTimestamps(uint64)uint64 ABI method.
|
|
3065
|
+
*
|
|
3066
|
+
* @param args The arguments for the contract call
|
|
3067
|
+
* @param params Any additional parameters for the call
|
|
3068
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3069
|
+
*/
|
|
3070
|
+
getBlockTimestamps(params?: CallParams<RetiReaderArgs['obj']['getBlockTimestamps(uint64)uint64'] | RetiReaderArgs['tuple']['getBlockTimestamps(uint64)uint64']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getBlockTimestamps(uint64)uint64'] | undefined]>;
|
|
3071
|
+
/**
|
|
3072
|
+
* Calls the getAlgodVersion(uint64[])string ABI method.
|
|
3073
|
+
*
|
|
3074
|
+
* @param args The arguments for the contract call
|
|
3075
|
+
* @param params Any additional parameters for the call
|
|
3076
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3077
|
+
*/
|
|
3078
|
+
getAlgodVersion(params?: CallParams<RetiReaderArgs['obj']['getAlgodVersion(uint64[])string'] | RetiReaderArgs['tuple']['getAlgodVersion(uint64[])string']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getAlgodVersion(uint64[])string'] | undefined]>;
|
|
3079
|
+
/**
|
|
3080
|
+
* Calls the getAssets(uint64[])(uint64,address,uint64,uint8,string,string) ABI method.
|
|
3081
|
+
*
|
|
3082
|
+
* @param args The arguments for the contract call
|
|
3083
|
+
* @param params Any additional parameters for the call
|
|
3084
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3085
|
+
*/
|
|
3086
|
+
getAssets(params?: CallParams<RetiReaderArgs['obj']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | RetiReaderArgs['tuple']['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getAssets(uint64[])(uint64,address,uint64,uint8,string,string)'] | undefined]>;
|
|
3087
|
+
/**
|
|
3088
|
+
* Calls the getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64) ABI method.
|
|
3089
|
+
*
|
|
3090
|
+
* @param args The arguments for the contract call
|
|
3091
|
+
* @param params Any additional parameters for the call
|
|
3092
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3093
|
+
*/
|
|
3094
|
+
getPoolBalancesAndLastPayouts(params?: CallParams<RetiReaderArgs['obj']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | RetiReaderArgs['tuple']['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)']>): RetiReaderComposer<[...TReturns, RetiReaderReturns['getPoolBalancesAndLastPayouts(uint64[])(uint64,uint64)'] | undefined]>;
|
|
3095
|
+
/**
|
|
3096
|
+
* Gets available update methods
|
|
3097
|
+
*/
|
|
3098
|
+
readonly update: {
|
|
3099
|
+
/**
|
|
3100
|
+
* Updates an existing instance of the RetiReader smart contract using a bare call.
|
|
3101
|
+
*
|
|
3102
|
+
* @param args The arguments for the bare call
|
|
3103
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3104
|
+
*/
|
|
3105
|
+
bare(params?: AppClientBareCallParams): RetiReaderComposer<[...TReturns, undefined]>;
|
|
3106
|
+
};
|
|
3107
|
+
/**
|
|
3108
|
+
* Gets available delete methods
|
|
3109
|
+
*/
|
|
3110
|
+
readonly delete: {
|
|
3111
|
+
/**
|
|
3112
|
+
* Deletes an existing instance of the RetiReader smart contract using a bare call.
|
|
3113
|
+
*
|
|
3114
|
+
* @param args The arguments for the bare call
|
|
3115
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3116
|
+
*/
|
|
3117
|
+
bare(params?: AppClientBareCallParams): RetiReaderComposer<[...TReturns, undefined]>;
|
|
3118
|
+
};
|
|
3119
|
+
/**
|
|
3120
|
+
* Makes a clear_state call to an existing instance of the RetiReader smart contract.
|
|
3121
|
+
*
|
|
3122
|
+
* @param args The arguments for the bare call
|
|
3123
|
+
* @returns The typed transaction composer so you can fluently chain multiple calls or call execute to execute all queued up transactions
|
|
3124
|
+
*/
|
|
3125
|
+
clearState(params?: AppClientBareCallParams): RetiReaderComposer<[...TReturns, undefined]>;
|
|
3126
|
+
/**
|
|
3127
|
+
* Adds a transaction to the composer
|
|
3128
|
+
*
|
|
3129
|
+
* @param txn A transaction to add to the transaction group
|
|
3130
|
+
* @param signer The optional signer to use when signing this transaction.
|
|
3131
|
+
*/
|
|
3132
|
+
addTransaction(txn: Transaction, signer?: TransactionSigner): RetiReaderComposer<TReturns>;
|
|
3133
|
+
/**
|
|
3134
|
+
* Returns the underlying AtomicTransactionComposer instance
|
|
3135
|
+
*/
|
|
3136
|
+
composer(): Promise<TransactionComposer>;
|
|
3137
|
+
/**
|
|
3138
|
+
* Simulates the transaction group and returns the result
|
|
3139
|
+
*/
|
|
3140
|
+
simulate(): Promise<RetiReaderComposerResults<TReturns> & {
|
|
3141
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
3142
|
+
}>;
|
|
3143
|
+
simulate(options: SkipSignaturesSimulateOptions): Promise<RetiReaderComposerResults<TReturns> & {
|
|
3144
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
3145
|
+
}>;
|
|
3146
|
+
simulate(options: RawSimulateOptions): Promise<RetiReaderComposerResults<TReturns> & {
|
|
3147
|
+
simulateResponse: modelsv2.SimulateResponse;
|
|
3148
|
+
}>;
|
|
3149
|
+
/**
|
|
3150
|
+
* Sends the transaction group to the network and returns the results
|
|
3151
|
+
*/
|
|
3152
|
+
send(params?: SendParams): Promise<RetiReaderComposerResults<TReturns>>;
|
|
3153
|
+
};
|
|
3154
|
+
export type RetiReaderComposerResults<TReturns extends [...any[]]> = Expand<SendAtomicTransactionComposerResults & {
|
|
3155
|
+
returns: TReturns;
|
|
3156
|
+
}>;
|
|
3157
|
+
import { CommonAppCallParams } from '@algorandfoundation/algokit-utils/types/composer';
|
|
3158
|
+
type ExtraMethodCallArgs = Omit<CommonAppCallParams, 'appId' | 'sender' | 'method' | 'args' | 'onComplete'>;
|
|
3159
|
+
type Methods = RetiReaderTypes['methods'];
|
|
3160
|
+
declare class GhostBase {
|
|
3161
|
+
static factory: typeof RetiReaderFactory;
|
|
3162
|
+
static client: typeof RetiReaderClient;
|
|
3163
|
+
algorand: AlgorandClient;
|
|
3164
|
+
readerAccount: string;
|
|
3165
|
+
ghostAppId?: bigint;
|
|
3166
|
+
factory: RetiReaderFactory;
|
|
3167
|
+
protected client: RetiReaderClient;
|
|
3168
|
+
cacheParamsTimeout: number;
|
|
3169
|
+
constructor({ algorand, readerAccount, ghostAppId, }: {
|
|
3170
|
+
algorand: AlgorandClient;
|
|
3171
|
+
readerAccount?: string;
|
|
3172
|
+
ghostAppId?: bigint;
|
|
3173
|
+
});
|
|
3174
|
+
protected getAndCacheSuggestedParams(): Promise<import("algosdk").SuggestedParams>;
|
|
3175
|
+
protected execute<T>({ signature, txnBuilder, methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3176
|
+
signature: string;
|
|
3177
|
+
txnBuilder: (builder: RetiReaderComposer<any>, args: any) => RetiReaderComposer<any>;
|
|
3178
|
+
methodArgsOrArgsArray: any;
|
|
3179
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3180
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3181
|
+
}): Promise<T[]>;
|
|
3182
|
+
}
|
|
3183
|
+
export declare class RetiReaderSDK extends GhostBase {
|
|
3184
|
+
constructor(args: ConstructorParameters<typeof GhostBase>[0]);
|
|
3185
|
+
getMbrAmountsAndProtocolConstraints({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3186
|
+
methodArgsOrArgsArray: Methods['getMbrAmountsAndProtocolConstraints']['argsObj'] | Methods['getMbrAmountsAndProtocolConstraints']['argsObj'][];
|
|
3187
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3188
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3189
|
+
}): Promise<Methods['getMbrAmountsAndProtocolConstraints']['returns'][]>;
|
|
3190
|
+
getValidatorConfig({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3191
|
+
methodArgsOrArgsArray: Methods['getValidatorConfig']['argsObj'] | Methods['getValidatorConfig']['argsObj'][];
|
|
3192
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3193
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3194
|
+
}): Promise<Methods['getValidatorConfig']['returns'][]>;
|
|
3195
|
+
getValidatorStates({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3196
|
+
methodArgsOrArgsArray: Methods['getValidatorStates']['argsObj'] | Methods['getValidatorStates']['argsObj'][];
|
|
3197
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3198
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3199
|
+
}): Promise<Methods['getValidatorStates']['returns'][]>;
|
|
3200
|
+
getPools({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3201
|
+
methodArgsOrArgsArray: Methods['getPools']['argsObj'] | Methods['getPools']['argsObj'][];
|
|
3202
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3203
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3204
|
+
}): Promise<Methods['getPools']['returns'][]>;
|
|
3205
|
+
getNodePoolAssignments({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3206
|
+
methodArgsOrArgsArray: Methods['getNodePoolAssignments']['argsObj'] | Methods['getNodePoolAssignments']['argsObj'][];
|
|
3207
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3208
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3209
|
+
}): Promise<Methods['getNodePoolAssignments']['returns'][]>;
|
|
3210
|
+
getValidators({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3211
|
+
methodArgsOrArgsArray: Methods['getValidators']['argsObj'] | Methods['getValidators']['argsObj'][];
|
|
3212
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3213
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3214
|
+
}): Promise<Methods['getValidators']['returns'][]>;
|
|
3215
|
+
getBlockTimestamps({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3216
|
+
methodArgsOrArgsArray: Methods['getBlockTimestamps']['argsObj'] | Methods['getBlockTimestamps']['argsObj'][];
|
|
3217
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3218
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3219
|
+
}): Promise<Methods['getBlockTimestamps']['returns'][]>;
|
|
3220
|
+
getAlgodVersion({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3221
|
+
methodArgsOrArgsArray: Methods['getAlgodVersion']['argsObj'] | Methods['getAlgodVersion']['argsObj'][];
|
|
3222
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3223
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3224
|
+
}): Promise<Methods['getAlgodVersion']['returns'][]>;
|
|
3225
|
+
getAssets({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3226
|
+
methodArgsOrArgsArray: Methods['getAssets']['argsObj'] | Methods['getAssets']['argsObj'][];
|
|
3227
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3228
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3229
|
+
}): Promise<Methods['getAssets']['returns'][]>;
|
|
3230
|
+
getPoolBalancesAndLastPayouts({ methodArgsOrArgsArray, extraMethodCallArgs, extraSimulateArgs, }: {
|
|
3231
|
+
methodArgsOrArgsArray: Methods['getPoolBalancesAndLastPayouts']['argsObj'] | Methods['getPoolBalancesAndLastPayouts']['argsObj'][];
|
|
3232
|
+
extraMethodCallArgs?: ExtraMethodCallArgs | ExtraMethodCallArgs[];
|
|
3233
|
+
extraSimulateArgs?: RawSimulateOptions;
|
|
3234
|
+
}): Promise<Methods['getPoolBalancesAndLastPayouts']['returns'][]>;
|
|
3235
|
+
}
|
|
3236
|
+
export {};
|