@algorandfoundation/algokit-utils 10.0.0-alpha.14 → 10.0.0-alpha.16
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/package.json +1 -1
- package/packages/algod_client/src/models/block.d.ts +1 -1
- package/packages/algod_client/src/models/block.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +121 -121
- package/types/algorand-client-transaction-sender.d.ts +123 -123
- package/types/app-client.d.ts +311 -311
- package/types/app-factory.d.ts +126 -126
package/types/app-factory.d.ts
CHANGED
|
@@ -171,21 +171,21 @@ declare class AppFactory {
|
|
|
171
171
|
get params(): {
|
|
172
172
|
/** Return params for a create ABI call, including deploy-time TEAL template replacements and compilation if provided */
|
|
173
173
|
create: (params: {
|
|
174
|
-
|
|
174
|
+
maxFee?: AlgoAmount | undefined;
|
|
175
|
+
lease?: string | Uint8Array | undefined;
|
|
175
176
|
rekeyTo?: ReadableAddress | undefined;
|
|
177
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
178
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
176
179
|
note?: string | Uint8Array | undefined;
|
|
177
|
-
lease?: string | Uint8Array | undefined;
|
|
178
180
|
staticFee?: AlgoAmount | undefined;
|
|
179
181
|
extraFee?: AlgoAmount | undefined;
|
|
180
|
-
maxFee?: AlgoAmount | undefined;
|
|
181
182
|
validityWindow?: number | bigint | undefined;
|
|
182
183
|
firstValidRound?: bigint | undefined;
|
|
183
184
|
lastValidRound?: bigint | undefined;
|
|
184
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
185
185
|
accountReferences?: ReadableAddress[] | undefined;
|
|
186
186
|
appReferences?: bigint[] | undefined;
|
|
187
187
|
assetReferences?: bigint[] | undefined;
|
|
188
|
-
boxReferences?: (
|
|
188
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
189
189
|
accessReferences?: ResourceReference[] | undefined;
|
|
190
190
|
rejectVersion?: number | undefined;
|
|
191
191
|
sender?: ReadableAddress | undefined;
|
|
@@ -219,21 +219,21 @@ declare class AppFactory {
|
|
|
219
219
|
};
|
|
220
220
|
approvalProgram: Uint8Array;
|
|
221
221
|
clearStateProgram: Uint8Array;
|
|
222
|
-
|
|
222
|
+
maxFee?: AlgoAmount | undefined;
|
|
223
|
+
lease?: string | Uint8Array | undefined;
|
|
223
224
|
rekeyTo?: ReadableAddress | undefined;
|
|
225
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
226
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
224
227
|
note?: string | Uint8Array | undefined;
|
|
225
|
-
lease?: string | Uint8Array | undefined;
|
|
226
228
|
staticFee?: AlgoAmount | undefined;
|
|
227
229
|
extraFee?: AlgoAmount | undefined;
|
|
228
|
-
maxFee?: AlgoAmount | undefined;
|
|
229
230
|
validityWindow?: number | bigint | undefined;
|
|
230
231
|
firstValidRound?: bigint | undefined;
|
|
231
232
|
lastValidRound?: bigint | undefined;
|
|
232
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
233
233
|
accountReferences?: ReadableAddress[] | undefined;
|
|
234
234
|
appReferences?: bigint[] | undefined;
|
|
235
235
|
assetReferences?: bigint[] | undefined;
|
|
236
|
-
boxReferences?: (
|
|
236
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
237
237
|
accessReferences?: ResourceReference[] | undefined;
|
|
238
238
|
rejectVersion?: number | undefined;
|
|
239
239
|
sender?: ReadableAddress | undefined;
|
|
@@ -246,33 +246,39 @@ declare class AppFactory {
|
|
|
246
246
|
sender: Address;
|
|
247
247
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
248
248
|
method: ABIMethod;
|
|
249
|
-
args: (ABIValue | Transaction |
|
|
249
|
+
args: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
250
|
+
maxFee?: AlgoAmount | undefined;
|
|
250
251
|
sender: SendingAddress;
|
|
251
|
-
|
|
252
|
+
lease?: string | Uint8Array | undefined;
|
|
252
253
|
rekeyTo?: ReadableAddress | undefined;
|
|
254
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
255
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
253
256
|
note?: string | Uint8Array | undefined;
|
|
254
|
-
lease?: string | Uint8Array | undefined;
|
|
255
257
|
staticFee?: AlgoAmount | undefined;
|
|
256
258
|
extraFee?: AlgoAmount | undefined;
|
|
257
|
-
maxFee?: AlgoAmount | undefined;
|
|
258
259
|
validityWindow?: number | bigint | undefined;
|
|
259
260
|
firstValidRound?: bigint | undefined;
|
|
260
261
|
lastValidRound?: bigint | undefined;
|
|
261
|
-
appId: bigint;
|
|
262
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
263
262
|
args?: Uint8Array[] | undefined;
|
|
264
263
|
accountReferences?: ReadableAddress[] | undefined;
|
|
265
264
|
appReferences?: bigint[] | undefined;
|
|
266
265
|
assetReferences?: bigint[] | undefined;
|
|
267
|
-
boxReferences?: (
|
|
266
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
268
267
|
accessReferences?: ResourceReference[] | undefined;
|
|
269
268
|
rejectVersion?: number | undefined;
|
|
269
|
+
appId?: 0 | undefined;
|
|
270
270
|
approvalProgram: string | Uint8Array;
|
|
271
271
|
clearStateProgram: string | Uint8Array;
|
|
272
|
+
schema?: {
|
|
273
|
+
globalInts: number;
|
|
274
|
+
globalByteSlices: number;
|
|
275
|
+
localInts: number;
|
|
276
|
+
localByteSlices: number;
|
|
277
|
+
} | undefined;
|
|
278
|
+
extraProgramPages?: number | undefined;
|
|
272
279
|
}> | AppMethodCall<{
|
|
273
|
-
args?: Uint8Array[] | undefined;
|
|
274
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
275
280
|
sender: SendingAddress;
|
|
281
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
276
282
|
rekeyTo?: ReadableAddress | undefined;
|
|
277
283
|
note?: string | Uint8Array | undefined;
|
|
278
284
|
lease?: string | Uint8Array | undefined;
|
|
@@ -282,64 +288,58 @@ declare class AppFactory {
|
|
|
282
288
|
validityWindow?: number | bigint | undefined;
|
|
283
289
|
firstValidRound?: bigint | undefined;
|
|
284
290
|
lastValidRound?: bigint | undefined;
|
|
285
|
-
|
|
291
|
+
appId: bigint;
|
|
292
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
293
|
+
args?: Uint8Array[] | undefined;
|
|
286
294
|
accountReferences?: ReadableAddress[] | undefined;
|
|
287
295
|
appReferences?: bigint[] | undefined;
|
|
288
296
|
assetReferences?: bigint[] | undefined;
|
|
289
|
-
boxReferences?: (
|
|
297
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
290
298
|
accessReferences?: ResourceReference[] | undefined;
|
|
291
299
|
rejectVersion?: number | undefined;
|
|
292
|
-
appId?: 0 | undefined;
|
|
293
300
|
approvalProgram: string | Uint8Array;
|
|
294
301
|
clearStateProgram: string | Uint8Array;
|
|
295
|
-
|
|
296
|
-
globalInts: number;
|
|
297
|
-
globalByteSlices: number;
|
|
298
|
-
localInts: number;
|
|
299
|
-
localByteSlices: number;
|
|
300
|
-
} | undefined;
|
|
301
|
-
extraProgramPages?: number | undefined;
|
|
302
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
302
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
303
303
|
onComplete: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication;
|
|
304
304
|
}>;
|
|
305
305
|
/** Return params for a deployment update ABI call */
|
|
306
306
|
deployUpdate: (params: {
|
|
307
|
-
|
|
307
|
+
maxFee?: AlgoAmount | undefined;
|
|
308
|
+
lease?: string | Uint8Array | undefined;
|
|
308
309
|
rekeyTo?: ReadableAddress | undefined;
|
|
310
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
311
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
309
312
|
note?: string | Uint8Array | undefined;
|
|
310
|
-
lease?: string | Uint8Array | undefined;
|
|
311
313
|
staticFee?: AlgoAmount | undefined;
|
|
312
314
|
extraFee?: AlgoAmount | undefined;
|
|
313
|
-
maxFee?: AlgoAmount | undefined;
|
|
314
315
|
validityWindow?: number | bigint | undefined;
|
|
315
316
|
firstValidRound?: bigint | undefined;
|
|
316
317
|
lastValidRound?: bigint | undefined;
|
|
317
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
318
318
|
accountReferences?: ReadableAddress[] | undefined;
|
|
319
319
|
appReferences?: bigint[] | undefined;
|
|
320
320
|
assetReferences?: bigint[] | undefined;
|
|
321
|
-
boxReferences?: (
|
|
321
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
322
322
|
accessReferences?: ResourceReference[] | undefined;
|
|
323
323
|
rejectVersion?: number | undefined;
|
|
324
324
|
sender?: ReadableAddress | undefined;
|
|
325
325
|
method: string;
|
|
326
326
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
327
327
|
}) => {
|
|
328
|
-
|
|
328
|
+
maxFee?: AlgoAmount | undefined;
|
|
329
|
+
lease?: string | Uint8Array | undefined;
|
|
329
330
|
rekeyTo?: ReadableAddress | undefined;
|
|
331
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
332
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
330
333
|
note?: string | Uint8Array | undefined;
|
|
331
|
-
lease?: string | Uint8Array | undefined;
|
|
332
334
|
staticFee?: AlgoAmount | undefined;
|
|
333
335
|
extraFee?: AlgoAmount | undefined;
|
|
334
|
-
maxFee?: AlgoAmount | undefined;
|
|
335
336
|
validityWindow?: number | bigint | undefined;
|
|
336
337
|
firstValidRound?: bigint | undefined;
|
|
337
338
|
lastValidRound?: bigint | undefined;
|
|
338
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
339
339
|
accountReferences?: ReadableAddress[] | undefined;
|
|
340
340
|
appReferences?: bigint[] | undefined;
|
|
341
341
|
assetReferences?: bigint[] | undefined;
|
|
342
|
-
boxReferences?: (
|
|
342
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
343
343
|
accessReferences?: ResourceReference[] | undefined;
|
|
344
344
|
rejectVersion?: number | undefined;
|
|
345
345
|
sender?: ReadableAddress | undefined;
|
|
@@ -349,33 +349,39 @@ declare class AppFactory {
|
|
|
349
349
|
sender: Address;
|
|
350
350
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
351
351
|
method: ABIMethod;
|
|
352
|
-
args: (ABIValue | Transaction |
|
|
352
|
+
args: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
353
|
+
maxFee?: AlgoAmount | undefined;
|
|
353
354
|
sender: SendingAddress;
|
|
354
|
-
|
|
355
|
+
lease?: string | Uint8Array | undefined;
|
|
355
356
|
rekeyTo?: ReadableAddress | undefined;
|
|
357
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
358
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
356
359
|
note?: string | Uint8Array | undefined;
|
|
357
|
-
lease?: string | Uint8Array | undefined;
|
|
358
360
|
staticFee?: AlgoAmount | undefined;
|
|
359
361
|
extraFee?: AlgoAmount | undefined;
|
|
360
|
-
maxFee?: AlgoAmount | undefined;
|
|
361
362
|
validityWindow?: number | bigint | undefined;
|
|
362
363
|
firstValidRound?: bigint | undefined;
|
|
363
364
|
lastValidRound?: bigint | undefined;
|
|
364
|
-
appId: bigint;
|
|
365
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
366
365
|
args?: Uint8Array[] | undefined;
|
|
367
366
|
accountReferences?: ReadableAddress[] | undefined;
|
|
368
367
|
appReferences?: bigint[] | undefined;
|
|
369
368
|
assetReferences?: bigint[] | undefined;
|
|
370
|
-
boxReferences?: (
|
|
369
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
371
370
|
accessReferences?: ResourceReference[] | undefined;
|
|
372
371
|
rejectVersion?: number | undefined;
|
|
372
|
+
appId?: 0 | undefined;
|
|
373
373
|
approvalProgram: string | Uint8Array;
|
|
374
374
|
clearStateProgram: string | Uint8Array;
|
|
375
|
+
schema?: {
|
|
376
|
+
globalInts: number;
|
|
377
|
+
globalByteSlices: number;
|
|
378
|
+
localInts: number;
|
|
379
|
+
localByteSlices: number;
|
|
380
|
+
} | undefined;
|
|
381
|
+
extraProgramPages?: number | undefined;
|
|
375
382
|
}> | AppMethodCall<{
|
|
376
|
-
args?: Uint8Array[] | undefined;
|
|
377
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
378
383
|
sender: SendingAddress;
|
|
384
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
379
385
|
rekeyTo?: ReadableAddress | undefined;
|
|
380
386
|
note?: string | Uint8Array | undefined;
|
|
381
387
|
lease?: string | Uint8Array | undefined;
|
|
@@ -385,64 +391,58 @@ declare class AppFactory {
|
|
|
385
391
|
validityWindow?: number | bigint | undefined;
|
|
386
392
|
firstValidRound?: bigint | undefined;
|
|
387
393
|
lastValidRound?: bigint | undefined;
|
|
388
|
-
|
|
394
|
+
appId: bigint;
|
|
395
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
396
|
+
args?: Uint8Array[] | undefined;
|
|
389
397
|
accountReferences?: ReadableAddress[] | undefined;
|
|
390
398
|
appReferences?: bigint[] | undefined;
|
|
391
399
|
assetReferences?: bigint[] | undefined;
|
|
392
|
-
boxReferences?: (
|
|
400
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
393
401
|
accessReferences?: ResourceReference[] | undefined;
|
|
394
402
|
rejectVersion?: number | undefined;
|
|
395
|
-
appId?: 0 | undefined;
|
|
396
403
|
approvalProgram: string | Uint8Array;
|
|
397
404
|
clearStateProgram: string | Uint8Array;
|
|
398
|
-
|
|
399
|
-
globalInts: number;
|
|
400
|
-
globalByteSlices: number;
|
|
401
|
-
localInts: number;
|
|
402
|
-
localByteSlices: number;
|
|
403
|
-
} | undefined;
|
|
404
|
-
extraProgramPages?: number | undefined;
|
|
405
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
405
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
406
406
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
407
407
|
};
|
|
408
408
|
/** Return params for a deployment delete ABI call */
|
|
409
409
|
deployDelete: (params: {
|
|
410
|
-
|
|
410
|
+
maxFee?: AlgoAmount | undefined;
|
|
411
|
+
lease?: string | Uint8Array | undefined;
|
|
411
412
|
rekeyTo?: ReadableAddress | undefined;
|
|
413
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
414
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
412
415
|
note?: string | Uint8Array | undefined;
|
|
413
|
-
lease?: string | Uint8Array | undefined;
|
|
414
416
|
staticFee?: AlgoAmount | undefined;
|
|
415
417
|
extraFee?: AlgoAmount | undefined;
|
|
416
|
-
maxFee?: AlgoAmount | undefined;
|
|
417
418
|
validityWindow?: number | bigint | undefined;
|
|
418
419
|
firstValidRound?: bigint | undefined;
|
|
419
420
|
lastValidRound?: bigint | undefined;
|
|
420
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
421
421
|
accountReferences?: ReadableAddress[] | undefined;
|
|
422
422
|
appReferences?: bigint[] | undefined;
|
|
423
423
|
assetReferences?: bigint[] | undefined;
|
|
424
|
-
boxReferences?: (
|
|
424
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
425
425
|
accessReferences?: ResourceReference[] | undefined;
|
|
426
426
|
rejectVersion?: number | undefined;
|
|
427
427
|
sender?: ReadableAddress | undefined;
|
|
428
428
|
method: string;
|
|
429
429
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
430
430
|
}) => {
|
|
431
|
-
|
|
431
|
+
maxFee?: AlgoAmount | undefined;
|
|
432
|
+
lease?: string | Uint8Array | undefined;
|
|
432
433
|
rekeyTo?: ReadableAddress | undefined;
|
|
434
|
+
onComplete?: OnApplicationComplete | undefined;
|
|
435
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
433
436
|
note?: string | Uint8Array | undefined;
|
|
434
|
-
lease?: string | Uint8Array | undefined;
|
|
435
437
|
staticFee?: AlgoAmount | undefined;
|
|
436
438
|
extraFee?: AlgoAmount | undefined;
|
|
437
|
-
maxFee?: AlgoAmount | undefined;
|
|
438
439
|
validityWindow?: number | bigint | undefined;
|
|
439
440
|
firstValidRound?: bigint | undefined;
|
|
440
441
|
lastValidRound?: bigint | undefined;
|
|
441
|
-
onComplete?: OnApplicationComplete | undefined;
|
|
442
442
|
accountReferences?: ReadableAddress[] | undefined;
|
|
443
443
|
appReferences?: bigint[] | undefined;
|
|
444
444
|
assetReferences?: bigint[] | undefined;
|
|
445
|
-
boxReferences?: (
|
|
445
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
446
446
|
accessReferences?: ResourceReference[] | undefined;
|
|
447
447
|
rejectVersion?: number | undefined;
|
|
448
448
|
sender?: ReadableAddress | undefined;
|
|
@@ -452,33 +452,39 @@ declare class AppFactory {
|
|
|
452
452
|
sender: Address;
|
|
453
453
|
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
454
454
|
method: ABIMethod;
|
|
455
|
-
args: (ABIValue | Transaction |
|
|
455
|
+
args: (ABIValue | TransactionWithSigner | Transaction | Promise<Transaction> | AppMethodCall<{
|
|
456
|
+
maxFee?: AlgoAmount | undefined;
|
|
456
457
|
sender: SendingAddress;
|
|
457
|
-
|
|
458
|
+
lease?: string | Uint8Array | undefined;
|
|
458
459
|
rekeyTo?: ReadableAddress | undefined;
|
|
460
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
461
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
459
462
|
note?: string | Uint8Array | undefined;
|
|
460
|
-
lease?: string | Uint8Array | undefined;
|
|
461
463
|
staticFee?: AlgoAmount | undefined;
|
|
462
464
|
extraFee?: AlgoAmount | undefined;
|
|
463
|
-
maxFee?: AlgoAmount | undefined;
|
|
464
465
|
validityWindow?: number | bigint | undefined;
|
|
465
466
|
firstValidRound?: bigint | undefined;
|
|
466
467
|
lastValidRound?: bigint | undefined;
|
|
467
|
-
appId: bigint;
|
|
468
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
469
468
|
args?: Uint8Array[] | undefined;
|
|
470
469
|
accountReferences?: ReadableAddress[] | undefined;
|
|
471
470
|
appReferences?: bigint[] | undefined;
|
|
472
471
|
assetReferences?: bigint[] | undefined;
|
|
473
|
-
boxReferences?: (
|
|
472
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
474
473
|
accessReferences?: ResourceReference[] | undefined;
|
|
475
474
|
rejectVersion?: number | undefined;
|
|
475
|
+
appId?: 0 | undefined;
|
|
476
476
|
approvalProgram: string | Uint8Array;
|
|
477
477
|
clearStateProgram: string | Uint8Array;
|
|
478
|
+
schema?: {
|
|
479
|
+
globalInts: number;
|
|
480
|
+
globalByteSlices: number;
|
|
481
|
+
localInts: number;
|
|
482
|
+
localByteSlices: number;
|
|
483
|
+
} | undefined;
|
|
484
|
+
extraProgramPages?: number | undefined;
|
|
478
485
|
}> | AppMethodCall<{
|
|
479
|
-
args?: Uint8Array[] | undefined;
|
|
480
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
481
486
|
sender: SendingAddress;
|
|
487
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
482
488
|
rekeyTo?: ReadableAddress | undefined;
|
|
483
489
|
note?: string | Uint8Array | undefined;
|
|
484
490
|
lease?: string | Uint8Array | undefined;
|
|
@@ -488,44 +494,38 @@ declare class AppFactory {
|
|
|
488
494
|
validityWindow?: number | bigint | undefined;
|
|
489
495
|
firstValidRound?: bigint | undefined;
|
|
490
496
|
lastValidRound?: bigint | undefined;
|
|
491
|
-
|
|
497
|
+
appId: bigint;
|
|
498
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
499
|
+
args?: Uint8Array[] | undefined;
|
|
492
500
|
accountReferences?: ReadableAddress[] | undefined;
|
|
493
501
|
appReferences?: bigint[] | undefined;
|
|
494
502
|
assetReferences?: bigint[] | undefined;
|
|
495
|
-
boxReferences?: (
|
|
503
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
496
504
|
accessReferences?: ResourceReference[] | undefined;
|
|
497
505
|
rejectVersion?: number | undefined;
|
|
498
|
-
appId?: 0 | undefined;
|
|
499
506
|
approvalProgram: string | Uint8Array;
|
|
500
507
|
clearStateProgram: string | Uint8Array;
|
|
501
|
-
|
|
502
|
-
globalInts: number;
|
|
503
|
-
globalByteSlices: number;
|
|
504
|
-
localInts: number;
|
|
505
|
-
localByteSlices: number;
|
|
506
|
-
} | undefined;
|
|
507
|
-
extraProgramPages?: number | undefined;
|
|
508
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
508
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
509
509
|
onComplete: OnApplicationComplete.DeleteApplication;
|
|
510
510
|
};
|
|
511
511
|
bare: {
|
|
512
512
|
/** Return params for a create bare call, including deploy-time TEAL template replacements and compilation if provided */
|
|
513
513
|
create: (params?: {
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
maxFee?: AlgoAmount | undefined;
|
|
515
|
+
lease?: string | Uint8Array | undefined;
|
|
516
516
|
rekeyTo?: ReadableAddress | undefined;
|
|
517
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
517
518
|
note?: string | Uint8Array | undefined;
|
|
518
|
-
lease?: string | Uint8Array | undefined;
|
|
519
519
|
staticFee?: AlgoAmount | undefined;
|
|
520
520
|
extraFee?: AlgoAmount | undefined;
|
|
521
|
-
maxFee?: AlgoAmount | undefined;
|
|
522
521
|
validityWindow?: number | bigint | undefined;
|
|
523
522
|
firstValidRound?: bigint | undefined;
|
|
524
523
|
lastValidRound?: bigint | undefined;
|
|
524
|
+
args?: Uint8Array[] | undefined;
|
|
525
525
|
accountReferences?: ReadableAddress[] | undefined;
|
|
526
526
|
appReferences?: bigint[] | undefined;
|
|
527
527
|
assetReferences?: bigint[] | undefined;
|
|
528
|
-
boxReferences?: (
|
|
528
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
529
529
|
accessReferences?: ResourceReference[] | undefined;
|
|
530
530
|
rejectVersion?: number | undefined;
|
|
531
531
|
sender?: ReadableAddress | undefined;
|
|
@@ -560,21 +560,21 @@ declare class AppFactory {
|
|
|
560
560
|
/** The number of byte slices saved in local state. */
|
|
561
561
|
localByteSlices: number;
|
|
562
562
|
};
|
|
563
|
-
|
|
564
|
-
|
|
563
|
+
maxFee?: AlgoAmount | undefined;
|
|
564
|
+
lease?: string | Uint8Array | undefined;
|
|
565
565
|
rekeyTo?: ReadableAddress | undefined;
|
|
566
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
566
567
|
note?: string | Uint8Array | undefined;
|
|
567
|
-
lease?: string | Uint8Array | undefined;
|
|
568
568
|
staticFee?: AlgoAmount | undefined;
|
|
569
569
|
extraFee?: AlgoAmount | undefined;
|
|
570
|
-
maxFee?: AlgoAmount | undefined;
|
|
571
570
|
validityWindow?: number | bigint | undefined;
|
|
572
571
|
firstValidRound?: bigint | undefined;
|
|
573
572
|
lastValidRound?: bigint | undefined;
|
|
573
|
+
args?: Uint8Array[] | undefined;
|
|
574
574
|
accountReferences?: ReadableAddress[] | undefined;
|
|
575
575
|
appReferences?: bigint[] | undefined;
|
|
576
576
|
assetReferences?: bigint[] | undefined;
|
|
577
|
-
boxReferences?: (
|
|
577
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
578
578
|
accessReferences?: ResourceReference[] | undefined;
|
|
579
579
|
rejectVersion?: number | undefined;
|
|
580
580
|
sender?: ReadableAddress | undefined;
|
|
@@ -589,40 +589,40 @@ declare class AppFactory {
|
|
|
589
589
|
}>;
|
|
590
590
|
/** Return params for a deployment update bare call */
|
|
591
591
|
deployUpdate: (params?: {
|
|
592
|
-
|
|
593
|
-
|
|
592
|
+
maxFee?: AlgoAmount | undefined;
|
|
593
|
+
lease?: string | Uint8Array | undefined;
|
|
594
594
|
rekeyTo?: ReadableAddress | undefined;
|
|
595
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
595
596
|
note?: string | Uint8Array | undefined;
|
|
596
|
-
lease?: string | Uint8Array | undefined;
|
|
597
597
|
staticFee?: AlgoAmount | undefined;
|
|
598
598
|
extraFee?: AlgoAmount | undefined;
|
|
599
|
-
maxFee?: AlgoAmount | undefined;
|
|
600
599
|
validityWindow?: number | bigint | undefined;
|
|
601
600
|
firstValidRound?: bigint | undefined;
|
|
602
601
|
lastValidRound?: bigint | undefined;
|
|
602
|
+
args?: Uint8Array[] | undefined;
|
|
603
603
|
accountReferences?: ReadableAddress[] | undefined;
|
|
604
604
|
appReferences?: bigint[] | undefined;
|
|
605
605
|
assetReferences?: bigint[] | undefined;
|
|
606
|
-
boxReferences?: (
|
|
606
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
607
607
|
accessReferences?: ResourceReference[] | undefined;
|
|
608
608
|
rejectVersion?: number | undefined;
|
|
609
609
|
sender?: ReadableAddress | undefined;
|
|
610
610
|
} | undefined) => {
|
|
611
|
-
|
|
612
|
-
|
|
611
|
+
maxFee?: AlgoAmount | undefined;
|
|
612
|
+
lease?: string | Uint8Array | undefined;
|
|
613
613
|
rekeyTo?: ReadableAddress | undefined;
|
|
614
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
614
615
|
note?: string | Uint8Array | undefined;
|
|
615
|
-
lease?: string | Uint8Array | undefined;
|
|
616
616
|
staticFee?: AlgoAmount | undefined;
|
|
617
617
|
extraFee?: AlgoAmount | undefined;
|
|
618
|
-
maxFee?: AlgoAmount | undefined;
|
|
619
618
|
validityWindow?: number | bigint | undefined;
|
|
620
619
|
firstValidRound?: bigint | undefined;
|
|
621
620
|
lastValidRound?: bigint | undefined;
|
|
621
|
+
args?: Uint8Array[] | undefined;
|
|
622
622
|
accountReferences?: ReadableAddress[] | undefined;
|
|
623
623
|
appReferences?: bigint[] | undefined;
|
|
624
624
|
assetReferences?: bigint[] | undefined;
|
|
625
|
-
boxReferences?: (
|
|
625
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
626
626
|
accessReferences?: ResourceReference[] | undefined;
|
|
627
627
|
rejectVersion?: number | undefined;
|
|
628
628
|
sender?: ReadableAddress | undefined;
|
|
@@ -633,40 +633,40 @@ declare class AppFactory {
|
|
|
633
633
|
};
|
|
634
634
|
/** Return params for a deployment delete bare call */
|
|
635
635
|
deployDelete: (params?: {
|
|
636
|
-
|
|
637
|
-
|
|
636
|
+
maxFee?: AlgoAmount | undefined;
|
|
637
|
+
lease?: string | Uint8Array | undefined;
|
|
638
638
|
rekeyTo?: ReadableAddress | undefined;
|
|
639
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
639
640
|
note?: string | Uint8Array | undefined;
|
|
640
|
-
lease?: string | Uint8Array | undefined;
|
|
641
641
|
staticFee?: AlgoAmount | undefined;
|
|
642
642
|
extraFee?: AlgoAmount | undefined;
|
|
643
|
-
maxFee?: AlgoAmount | undefined;
|
|
644
643
|
validityWindow?: number | bigint | undefined;
|
|
645
644
|
firstValidRound?: bigint | undefined;
|
|
646
645
|
lastValidRound?: bigint | undefined;
|
|
646
|
+
args?: Uint8Array[] | undefined;
|
|
647
647
|
accountReferences?: ReadableAddress[] | undefined;
|
|
648
648
|
appReferences?: bigint[] | undefined;
|
|
649
649
|
assetReferences?: bigint[] | undefined;
|
|
650
|
-
boxReferences?: (
|
|
650
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
651
651
|
accessReferences?: ResourceReference[] | undefined;
|
|
652
652
|
rejectVersion?: number | undefined;
|
|
653
653
|
sender?: ReadableAddress | undefined;
|
|
654
654
|
} | undefined) => {
|
|
655
|
-
|
|
656
|
-
|
|
655
|
+
maxFee?: AlgoAmount | undefined;
|
|
656
|
+
lease?: string | Uint8Array | undefined;
|
|
657
657
|
rekeyTo?: ReadableAddress | undefined;
|
|
658
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
658
659
|
note?: string | Uint8Array | undefined;
|
|
659
|
-
lease?: string | Uint8Array | undefined;
|
|
660
660
|
staticFee?: AlgoAmount | undefined;
|
|
661
661
|
extraFee?: AlgoAmount | undefined;
|
|
662
|
-
maxFee?: AlgoAmount | undefined;
|
|
663
662
|
validityWindow?: number | bigint | undefined;
|
|
664
663
|
firstValidRound?: bigint | undefined;
|
|
665
664
|
lastValidRound?: bigint | undefined;
|
|
665
|
+
args?: Uint8Array[] | undefined;
|
|
666
666
|
accountReferences?: ReadableAddress[] | undefined;
|
|
667
667
|
appReferences?: bigint[] | undefined;
|
|
668
668
|
assetReferences?: bigint[] | undefined;
|
|
669
|
-
boxReferences?: (
|
|
669
|
+
boxReferences?: (BoxIdentifier | BoxReference)[] | undefined;
|
|
670
670
|
accessReferences?: ResourceReference[] | undefined;
|
|
671
671
|
rejectVersion?: number | undefined;
|
|
672
672
|
sender?: ReadableAddress | undefined;
|
|
@@ -802,14 +802,14 @@ declare class AppFactory {
|
|
|
802
802
|
compiledApproval?: CompiledTeal | undefined;
|
|
803
803
|
compiledClear?: CompiledTeal | undefined;
|
|
804
804
|
operationPerformed: "create";
|
|
805
|
+
version: string;
|
|
806
|
+
updatable?: boolean | undefined;
|
|
807
|
+
deletable?: boolean | undefined;
|
|
805
808
|
createdRound: bigint;
|
|
806
809
|
updatedRound: bigint;
|
|
807
810
|
createdMetadata: AppDeployMetadata;
|
|
808
811
|
deleted: boolean;
|
|
809
812
|
name: string;
|
|
810
|
-
version: string;
|
|
811
|
-
deletable?: boolean | undefined;
|
|
812
|
-
updatable?: boolean | undefined;
|
|
813
813
|
groupId: string | undefined;
|
|
814
814
|
txIds: string[];
|
|
815
815
|
returns?: ABIReturn[] | undefined;
|
|
@@ -848,14 +848,14 @@ declare class AppFactory {
|
|
|
848
848
|
compiledApproval?: CompiledTeal | undefined;
|
|
849
849
|
compiledClear?: CompiledTeal | undefined;
|
|
850
850
|
operationPerformed: "replace";
|
|
851
|
+
version: string;
|
|
852
|
+
updatable?: boolean | undefined;
|
|
853
|
+
deletable?: boolean | undefined;
|
|
851
854
|
createdRound: bigint;
|
|
852
855
|
updatedRound: bigint;
|
|
853
856
|
createdMetadata: AppDeployMetadata;
|
|
854
857
|
deleted: boolean;
|
|
855
858
|
name: string;
|
|
856
|
-
version: string;
|
|
857
|
-
deletable?: boolean | undefined;
|
|
858
|
-
updatable?: boolean | undefined;
|
|
859
859
|
groupId: string | undefined;
|
|
860
860
|
txIds: string[];
|
|
861
861
|
returns?: ABIReturn[] | undefined;
|