@algorandfoundation/algokit-utils 10.0.0-alpha.12 → 10.0.0-alpha.14
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/algod-client/index.d.ts +2 -3
- package/algod-client/index.js +2 -5
- package/algod-client/index.mjs +2 -2
- package/indexer-client/index.d.ts +1 -2
- package/indexer-client/index.js +0 -5
- package/indexer-client/index.mjs +1 -2
- package/kmd-client/index.d.ts +1 -2
- package/kmd-client/index.js +0 -5
- package/kmd-client/index.mjs +1 -2
- package/package.json +1 -1
- package/packages/algod_client/src/apis/api-service.js +2 -2
- package/packages/algod_client/src/apis/api-service.mjs +2 -2
- package/packages/algod_client/src/core/model-runtime.js +2 -2
- package/packages/algod_client/src/core/model-runtime.js.map +1 -1
- package/packages/algod_client/src/core/model-runtime.mjs +2 -2
- package/packages/algod_client/src/core/model-runtime.mjs.map +1 -1
- package/packages/algod_client/src/models/simulate-request.js +1 -1
- package/packages/algod_client/src/models/simulate-request.mjs +1 -1
- package/packages/algod_client/src/models/simulate-response.d.ts +2 -1
- package/packages/algod_client/src/models/simulate-response.js +6 -1
- package/packages/algod_client/src/models/simulate-response.js.map +1 -1
- package/packages/algod_client/src/models/simulate-response.mjs +6 -2
- package/packages/algod_client/src/models/simulate-response.mjs.map +1 -1
- package/packages/indexer_client/src/core/model-runtime.js +0 -15
- package/packages/indexer_client/src/core/model-runtime.js.map +1 -1
- package/packages/indexer_client/src/core/model-runtime.mjs +1 -13
- package/packages/indexer_client/src/core/model-runtime.mjs.map +1 -1
- package/packages/kmd_client/src/core/model-runtime.js +2 -12
- package/packages/kmd_client/src/core/model-runtime.js.map +1 -1
- package/packages/kmd_client/src/core/model-runtime.mjs +3 -11
- package/packages/kmd_client/src/core/model-runtime.mjs.map +1 -1
- package/packages/transact/src/transactions/app-call.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.d.ts +1 -6
- package/packages/transact/src/transactions/asset-config.js.map +1 -1
- package/packages/transact/src/transactions/asset-config.mjs.map +1 -1
- package/packages/transact/src/transactions/asset-freeze.d.ts +1 -6
- package/packages/transact/src/transactions/asset-transfer.d.ts +1 -6
- package/packages/transact/src/transactions/key-registration.d.ts +1 -8
- package/packages/transact/src/transactions/signed-transaction.d.ts +5 -1
- package/packages/transact/src/transactions/signed-transaction.js +1 -1
- package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
- package/packages/transact/src/transactions/signed-transaction.mjs +1 -2
- package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
- package/packages/transact/src/transactions/transaction.d.ts +5 -1
- package/packages/transact/src/transactions/transaction.js +0 -1
- package/packages/transact/src/transactions/transaction.js.map +1 -1
- package/packages/transact/src/transactions/transaction.mjs +0 -1
- package/packages/transact/src/transactions/transaction.mjs.map +1 -1
- package/transact/index.d.ts +9 -9
- package/transact/index.js +3 -10
- package/transact/index.mjs +5 -9
- package/transactions/app-call.d.ts +1 -1
- package/transactions/app-call.js.map +1 -1
- package/transactions/app-call.mjs.map +1 -1
- package/transactions/key-registration.d.ts +1 -1
- package/transactions/key-registration.js.map +1 -1
- package/transactions/key-registration.mjs.map +1 -1
- package/transactions/method-call.d.ts +1 -1
- package/transactions/method-call.js.map +1 -1
- package/transactions/method-call.mjs.map +1 -1
- package/types/account-manager.js +1 -1
- package/types/account-manager.mjs +1 -1
- package/types/algorand-client-transaction-creator.d.ts +94 -94
- package/types/algorand-client-transaction-creator.js.map +1 -1
- package/types/algorand-client-transaction-creator.mjs.map +1 -1
- package/types/algorand-client-transaction-sender.d.ts +96 -96
- package/types/app-client.d.ts +192 -192
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs.map +1 -1
- package/types/app-deployer.d.ts +1 -1
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +97 -97
- package/types/app-factory.js.map +1 -1
- package/types/app-factory.mjs.map +1 -1
- package/types/app.d.ts +1 -1
- package/types/app.js.map +1 -1
- package/types/app.mjs.map +1 -1
- package/types/async-event-emitter.d.ts +3 -6
- package/types/async-event-emitter.js.map +1 -1
- package/types/async-event-emitter.mjs.map +1 -1
- package/types/client-manager.d.ts +1 -1
- package/types/client-manager.js.map +1 -1
- package/types/client-manager.mjs.map +1 -1
- package/types/composer.d.ts +1 -1
- package/types/composer.js +12 -5
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +14 -7
- package/types/composer.mjs.map +1 -1
- package/types/debugging.d.ts +13 -9
- package/types/debugging.js.map +1 -1
- package/types/debugging.mjs.map +1 -1
- package/types/lifecycle-events.d.ts +0 -1
- package/types/lifecycle-events.js.map +1 -1
- package/types/lifecycle-events.mjs.map +1 -1
- package/types/transaction.d.ts +1 -1
- package/packages/algod_client/src/core/model-runtime.d.ts +0 -10
- package/packages/indexer_client/src/core/model-runtime.d.ts +0 -10
- package/packages/kmd_client/src/core/model-runtime.d.ts +0 -10
- package/packages/transact/src/transactions/common.d.ts +0 -37
- package/types/expand.d.ts +0 -9
- package/types/expand.js +0 -0
- package/types/expand.mjs +0 -0
package/types/app-client.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Address, ReadableAddress } from "../packages/common/src/address.js";
|
|
2
|
+
import { Expand } from "../packages/common/src/expand.js";
|
|
2
3
|
import { ABIValue } from "../packages/abi/src/abi-value.js";
|
|
3
4
|
import { Arc56Contract, ProgramSourceInfo } from "../packages/abi/src/arc56-contract.js";
|
|
4
5
|
import { ABIType } from "../packages/abi/src/abi-type.js";
|
|
@@ -11,7 +12,6 @@ import { SuggestedParams } from "../packages/algod_client/src/models/suggested-p
|
|
|
11
12
|
import { AlgoAmount } from "./amount.js";
|
|
12
13
|
import { ProgramSourceMap } from "../packages/sdk/src/logic/sourcemap.js";
|
|
13
14
|
import { AppManager, BoxIdentifier, BoxReference } from "./app-manager.js";
|
|
14
|
-
import { Expand } from "./expand.js";
|
|
15
15
|
import { AppCallParams, AppDeleteParams, AppMethodCallParams, CommonAppCallParams } from "../transactions/app-call.js";
|
|
16
16
|
import { AppMethodCall, AppMethodCallTransactionArgument } from "../transactions/method-call.js";
|
|
17
17
|
import { PaymentParams } from "../transactions/payment.js";
|
|
@@ -386,7 +386,7 @@ declare class AppClient {
|
|
|
386
386
|
* @returns The parameters which can be used to create a fund app account payment transaction
|
|
387
387
|
*/
|
|
388
388
|
fundAppAccount: (params: {
|
|
389
|
-
signer?:
|
|
389
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
390
390
|
amount: AlgoAmount;
|
|
391
391
|
rekeyTo?: ReadableAddress | undefined;
|
|
392
392
|
note?: string | Uint8Array | undefined;
|
|
@@ -405,7 +405,7 @@ declare class AppClient {
|
|
|
405
405
|
sender?: ReadableAddress | undefined;
|
|
406
406
|
}) => {
|
|
407
407
|
sender: Address;
|
|
408
|
-
signer:
|
|
408
|
+
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
409
409
|
receiver: Address;
|
|
410
410
|
amount: AlgoAmount;
|
|
411
411
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -429,7 +429,7 @@ declare class AppClient {
|
|
|
429
429
|
* @returns The parameters which can be used to create an update ABI method call
|
|
430
430
|
*/
|
|
431
431
|
update: (params: {
|
|
432
|
-
signer?:
|
|
432
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
433
433
|
rekeyTo?: ReadableAddress | undefined;
|
|
434
434
|
note?: string | Uint8Array | undefined;
|
|
435
435
|
lease?: string | Uint8Array | undefined;
|
|
@@ -443,7 +443,7 @@ declare class AppClient {
|
|
|
443
443
|
accountReferences?: ReadableAddress[] | undefined;
|
|
444
444
|
appReferences?: bigint[] | undefined;
|
|
445
445
|
assetReferences?: bigint[] | undefined;
|
|
446
|
-
boxReferences?: (
|
|
446
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
447
447
|
accessReferences?: ResourceReference[] | undefined;
|
|
448
448
|
rejectVersion?: number | undefined;
|
|
449
449
|
sender?: ReadableAddress | undefined;
|
|
@@ -456,7 +456,7 @@ declare class AppClient {
|
|
|
456
456
|
clearStateProgram: Uint8Array;
|
|
457
457
|
compiledApproval?: CompiledTeal | undefined;
|
|
458
458
|
compiledClear?: CompiledTeal | undefined;
|
|
459
|
-
signer?:
|
|
459
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
460
460
|
rekeyTo?: ReadableAddress | undefined;
|
|
461
461
|
note?: string | Uint8Array | undefined;
|
|
462
462
|
lease?: string | Uint8Array | undefined;
|
|
@@ -470,7 +470,7 @@ declare class AppClient {
|
|
|
470
470
|
accountReferences?: ReadableAddress[] | undefined;
|
|
471
471
|
appReferences?: bigint[] | undefined;
|
|
472
472
|
assetReferences?: bigint[] | undefined;
|
|
473
|
-
boxReferences?: (
|
|
473
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
474
474
|
accessReferences?: ResourceReference[] | undefined;
|
|
475
475
|
rejectVersion?: number | undefined;
|
|
476
476
|
sender?: ReadableAddress | undefined;
|
|
@@ -485,12 +485,12 @@ declare class AppClient {
|
|
|
485
485
|
} & {
|
|
486
486
|
appId: bigint;
|
|
487
487
|
sender: Address;
|
|
488
|
-
signer:
|
|
488
|
+
signer: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
489
489
|
method: ABIMethod;
|
|
490
490
|
onComplete: OnApplicationComplete.UpdateApplication;
|
|
491
|
-
args: (
|
|
492
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
491
|
+
args: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
493
492
|
sender: SendingAddress;
|
|
493
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
494
494
|
rekeyTo?: ReadableAddress | undefined;
|
|
495
495
|
note?: string | Uint8Array | undefined;
|
|
496
496
|
lease?: string | Uint8Array | undefined;
|
|
@@ -500,27 +500,21 @@ declare class AppClient {
|
|
|
500
500
|
validityWindow?: number | bigint | undefined;
|
|
501
501
|
firstValidRound?: bigint | undefined;
|
|
502
502
|
lastValidRound?: bigint | undefined;
|
|
503
|
-
|
|
503
|
+
appId: bigint;
|
|
504
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
504
505
|
args?: Uint8Array[] | undefined;
|
|
505
506
|
accountReferences?: ReadableAddress[] | undefined;
|
|
506
507
|
appReferences?: bigint[] | undefined;
|
|
507
508
|
assetReferences?: bigint[] | undefined;
|
|
508
|
-
boxReferences?: (
|
|
509
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
509
510
|
accessReferences?: ResourceReference[] | undefined;
|
|
510
511
|
rejectVersion?: number | undefined;
|
|
511
|
-
appId?: 0 | undefined;
|
|
512
512
|
approvalProgram: string | Uint8Array;
|
|
513
513
|
clearStateProgram: string | Uint8Array;
|
|
514
|
-
schema?: {
|
|
515
|
-
globalInts: number;
|
|
516
|
-
globalByteSlices: number;
|
|
517
|
-
localInts: number;
|
|
518
|
-
localByteSlices: number;
|
|
519
|
-
} | undefined;
|
|
520
|
-
extraProgramPages?: number | undefined;
|
|
521
514
|
}> | AppMethodCall<{
|
|
515
|
+
args?: Uint8Array[] | undefined;
|
|
516
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
522
517
|
sender: SendingAddress;
|
|
523
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
524
518
|
rekeyTo?: ReadableAddress | undefined;
|
|
525
519
|
note?: string | Uint8Array | undefined;
|
|
526
520
|
lease?: string | Uint8Array | undefined;
|
|
@@ -530,18 +524,24 @@ declare class AppClient {
|
|
|
530
524
|
validityWindow?: number | bigint | undefined;
|
|
531
525
|
firstValidRound?: bigint | undefined;
|
|
532
526
|
lastValidRound?: bigint | undefined;
|
|
533
|
-
|
|
534
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
535
|
-
args?: Uint8Array[] | undefined;
|
|
527
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
536
528
|
accountReferences?: ReadableAddress[] | undefined;
|
|
537
529
|
appReferences?: bigint[] | undefined;
|
|
538
530
|
assetReferences?: bigint[] | undefined;
|
|
539
|
-
boxReferences?: (
|
|
531
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
540
532
|
accessReferences?: ResourceReference[] | undefined;
|
|
541
533
|
rejectVersion?: number | undefined;
|
|
534
|
+
appId?: 0 | undefined;
|
|
542
535
|
approvalProgram: string | Uint8Array;
|
|
543
536
|
clearStateProgram: string | Uint8Array;
|
|
544
|
-
|
|
537
|
+
schema?: {
|
|
538
|
+
globalInts: number;
|
|
539
|
+
globalByteSlices: number;
|
|
540
|
+
localInts: number;
|
|
541
|
+
localByteSlices: number;
|
|
542
|
+
} | undefined;
|
|
543
|
+
extraProgramPages?: number | undefined;
|
|
544
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
/**
|
|
547
547
|
* Return params for an opt-in ABI call
|
|
@@ -549,7 +549,7 @@ declare class AppClient {
|
|
|
549
549
|
* @returns The parameters which can be used to create an opt-in ABI method call
|
|
550
550
|
*/
|
|
551
551
|
optIn: (params: {
|
|
552
|
-
signer?:
|
|
552
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
553
553
|
rekeyTo?: ReadableAddress | undefined;
|
|
554
554
|
note?: string | Uint8Array | undefined;
|
|
555
555
|
lease?: string | Uint8Array | undefined;
|
|
@@ -563,14 +563,14 @@ declare class AppClient {
|
|
|
563
563
|
accountReferences?: ReadableAddress[] | undefined;
|
|
564
564
|
appReferences?: bigint[] | undefined;
|
|
565
565
|
assetReferences?: bigint[] | undefined;
|
|
566
|
-
boxReferences?: (
|
|
566
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
567
567
|
accessReferences?: ResourceReference[] | undefined;
|
|
568
568
|
rejectVersion?: number | undefined;
|
|
569
569
|
sender?: ReadableAddress | undefined;
|
|
570
570
|
method: string;
|
|
571
571
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
572
572
|
}) => Promise<{
|
|
573
|
-
signer?:
|
|
573
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
574
574
|
sender: SendingAddress;
|
|
575
575
|
rekeyTo?: ReadableAddress | undefined;
|
|
576
576
|
note?: string | Uint8Array | undefined;
|
|
@@ -586,13 +586,13 @@ declare class AppClient {
|
|
|
586
586
|
accountReferences?: ReadableAddress[] | undefined;
|
|
587
587
|
appReferences?: bigint[] | undefined;
|
|
588
588
|
assetReferences?: bigint[] | undefined;
|
|
589
|
-
boxReferences?: (
|
|
589
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
590
590
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
591
|
rejectVersion?: number | undefined;
|
|
592
592
|
method: ABIMethod;
|
|
593
|
-
args?: (
|
|
594
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
593
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
595
594
|
sender: SendingAddress;
|
|
595
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
596
596
|
rekeyTo?: ReadableAddress | undefined;
|
|
597
597
|
note?: string | Uint8Array | undefined;
|
|
598
598
|
lease?: string | Uint8Array | undefined;
|
|
@@ -602,27 +602,21 @@ declare class AppClient {
|
|
|
602
602
|
validityWindow?: number | bigint | undefined;
|
|
603
603
|
firstValidRound?: bigint | undefined;
|
|
604
604
|
lastValidRound?: bigint | undefined;
|
|
605
|
-
|
|
605
|
+
appId: bigint;
|
|
606
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
606
607
|
args?: Uint8Array[] | undefined;
|
|
607
608
|
accountReferences?: ReadableAddress[] | undefined;
|
|
608
609
|
appReferences?: bigint[] | undefined;
|
|
609
610
|
assetReferences?: bigint[] | undefined;
|
|
610
|
-
boxReferences?: (
|
|
611
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
611
612
|
accessReferences?: ResourceReference[] | undefined;
|
|
612
613
|
rejectVersion?: number | undefined;
|
|
613
|
-
appId?: 0 | undefined;
|
|
614
614
|
approvalProgram: string | Uint8Array;
|
|
615
615
|
clearStateProgram: string | Uint8Array;
|
|
616
|
-
schema?: {
|
|
617
|
-
globalInts: number;
|
|
618
|
-
globalByteSlices: number;
|
|
619
|
-
localInts: number;
|
|
620
|
-
localByteSlices: number;
|
|
621
|
-
} | undefined;
|
|
622
|
-
extraProgramPages?: number | undefined;
|
|
623
616
|
}> | AppMethodCall<{
|
|
617
|
+
args?: Uint8Array[] | undefined;
|
|
618
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
624
619
|
sender: SendingAddress;
|
|
625
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
626
620
|
rekeyTo?: ReadableAddress | undefined;
|
|
627
621
|
note?: string | Uint8Array | undefined;
|
|
628
622
|
lease?: string | Uint8Array | undefined;
|
|
@@ -632,18 +626,24 @@ declare class AppClient {
|
|
|
632
626
|
validityWindow?: number | bigint | undefined;
|
|
633
627
|
firstValidRound?: bigint | undefined;
|
|
634
628
|
lastValidRound?: bigint | undefined;
|
|
635
|
-
|
|
636
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
637
|
-
args?: Uint8Array[] | undefined;
|
|
629
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
638
630
|
accountReferences?: ReadableAddress[] | undefined;
|
|
639
631
|
appReferences?: bigint[] | undefined;
|
|
640
632
|
assetReferences?: bigint[] | undefined;
|
|
641
|
-
boxReferences?: (
|
|
633
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
642
634
|
accessReferences?: ResourceReference[] | undefined;
|
|
643
635
|
rejectVersion?: number | undefined;
|
|
636
|
+
appId?: 0 | undefined;
|
|
644
637
|
approvalProgram: string | Uint8Array;
|
|
645
638
|
clearStateProgram: string | Uint8Array;
|
|
646
|
-
|
|
639
|
+
schema?: {
|
|
640
|
+
globalInts: number;
|
|
641
|
+
globalByteSlices: number;
|
|
642
|
+
localInts: number;
|
|
643
|
+
localByteSlices: number;
|
|
644
|
+
} | undefined;
|
|
645
|
+
extraProgramPages?: number | undefined;
|
|
646
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
647
647
|
}>;
|
|
648
648
|
/**
|
|
649
649
|
* Return params for an delete ABI call
|
|
@@ -651,7 +651,7 @@ declare class AppClient {
|
|
|
651
651
|
* @returns The parameters which can be used to create a delete ABI method call
|
|
652
652
|
*/
|
|
653
653
|
delete: (params: {
|
|
654
|
-
signer?:
|
|
654
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
655
655
|
rekeyTo?: ReadableAddress | undefined;
|
|
656
656
|
note?: string | Uint8Array | undefined;
|
|
657
657
|
lease?: string | Uint8Array | undefined;
|
|
@@ -665,14 +665,14 @@ declare class AppClient {
|
|
|
665
665
|
accountReferences?: ReadableAddress[] | undefined;
|
|
666
666
|
appReferences?: bigint[] | undefined;
|
|
667
667
|
assetReferences?: bigint[] | undefined;
|
|
668
|
-
boxReferences?: (
|
|
668
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
669
669
|
accessReferences?: ResourceReference[] | undefined;
|
|
670
670
|
rejectVersion?: number | undefined;
|
|
671
671
|
sender?: ReadableAddress | undefined;
|
|
672
672
|
method: string;
|
|
673
673
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
674
674
|
}) => Promise<{
|
|
675
|
-
signer?:
|
|
675
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
676
676
|
sender: SendingAddress;
|
|
677
677
|
rekeyTo?: ReadableAddress | undefined;
|
|
678
678
|
note?: string | Uint8Array | undefined;
|
|
@@ -688,13 +688,13 @@ declare class AppClient {
|
|
|
688
688
|
accountReferences?: ReadableAddress[] | undefined;
|
|
689
689
|
appReferences?: bigint[] | undefined;
|
|
690
690
|
assetReferences?: bigint[] | undefined;
|
|
691
|
-
boxReferences?: (
|
|
691
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
692
692
|
accessReferences?: ResourceReference[] | undefined;
|
|
693
693
|
rejectVersion?: number | undefined;
|
|
694
694
|
method: ABIMethod;
|
|
695
|
-
args?: (
|
|
696
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
695
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
697
696
|
sender: SendingAddress;
|
|
697
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
698
698
|
rekeyTo?: ReadableAddress | undefined;
|
|
699
699
|
note?: string | Uint8Array | undefined;
|
|
700
700
|
lease?: string | Uint8Array | undefined;
|
|
@@ -704,27 +704,21 @@ declare class AppClient {
|
|
|
704
704
|
validityWindow?: number | bigint | undefined;
|
|
705
705
|
firstValidRound?: bigint | undefined;
|
|
706
706
|
lastValidRound?: bigint | undefined;
|
|
707
|
-
|
|
707
|
+
appId: bigint;
|
|
708
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
708
709
|
args?: Uint8Array[] | undefined;
|
|
709
710
|
accountReferences?: ReadableAddress[] | undefined;
|
|
710
711
|
appReferences?: bigint[] | undefined;
|
|
711
712
|
assetReferences?: bigint[] | undefined;
|
|
712
|
-
boxReferences?: (
|
|
713
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
713
714
|
accessReferences?: ResourceReference[] | undefined;
|
|
714
715
|
rejectVersion?: number | undefined;
|
|
715
|
-
appId?: 0 | undefined;
|
|
716
716
|
approvalProgram: string | Uint8Array;
|
|
717
717
|
clearStateProgram: string | Uint8Array;
|
|
718
|
-
schema?: {
|
|
719
|
-
globalInts: number;
|
|
720
|
-
globalByteSlices: number;
|
|
721
|
-
localInts: number;
|
|
722
|
-
localByteSlices: number;
|
|
723
|
-
} | undefined;
|
|
724
|
-
extraProgramPages?: number | undefined;
|
|
725
718
|
}> | AppMethodCall<{
|
|
719
|
+
args?: Uint8Array[] | undefined;
|
|
720
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
726
721
|
sender: SendingAddress;
|
|
727
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
728
722
|
rekeyTo?: ReadableAddress | undefined;
|
|
729
723
|
note?: string | Uint8Array | undefined;
|
|
730
724
|
lease?: string | Uint8Array | undefined;
|
|
@@ -734,25 +728,31 @@ declare class AppClient {
|
|
|
734
728
|
validityWindow?: number | bigint | undefined;
|
|
735
729
|
firstValidRound?: bigint | undefined;
|
|
736
730
|
lastValidRound?: bigint | undefined;
|
|
737
|
-
|
|
738
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
739
|
-
args?: Uint8Array[] | undefined;
|
|
731
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
740
732
|
accountReferences?: ReadableAddress[] | undefined;
|
|
741
733
|
appReferences?: bigint[] | undefined;
|
|
742
734
|
assetReferences?: bigint[] | undefined;
|
|
743
|
-
boxReferences?: (
|
|
735
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
744
736
|
accessReferences?: ResourceReference[] | undefined;
|
|
745
737
|
rejectVersion?: number | undefined;
|
|
738
|
+
appId?: 0 | undefined;
|
|
746
739
|
approvalProgram: string | Uint8Array;
|
|
747
740
|
clearStateProgram: string | Uint8Array;
|
|
748
|
-
|
|
741
|
+
schema?: {
|
|
742
|
+
globalInts: number;
|
|
743
|
+
globalByteSlices: number;
|
|
744
|
+
localInts: number;
|
|
745
|
+
localByteSlices: number;
|
|
746
|
+
} | undefined;
|
|
747
|
+
extraProgramPages?: number | undefined;
|
|
748
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
749
749
|
}>;
|
|
750
750
|
/** Return params for an close out ABI call
|
|
751
751
|
* @param params The parameters for the close out ABI method call
|
|
752
752
|
* @returns The parameters which can be used to create a close out ABI method call
|
|
753
753
|
*/
|
|
754
754
|
closeOut: (params: {
|
|
755
|
-
signer?:
|
|
755
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
756
756
|
rekeyTo?: ReadableAddress | undefined;
|
|
757
757
|
note?: string | Uint8Array | undefined;
|
|
758
758
|
lease?: string | Uint8Array | undefined;
|
|
@@ -766,14 +766,14 @@ declare class AppClient {
|
|
|
766
766
|
accountReferences?: ReadableAddress[] | undefined;
|
|
767
767
|
appReferences?: bigint[] | undefined;
|
|
768
768
|
assetReferences?: bigint[] | undefined;
|
|
769
|
-
boxReferences?: (
|
|
769
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
770
770
|
accessReferences?: ResourceReference[] | undefined;
|
|
771
771
|
rejectVersion?: number | undefined;
|
|
772
772
|
sender?: ReadableAddress | undefined;
|
|
773
773
|
method: string;
|
|
774
774
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
775
775
|
}) => Promise<{
|
|
776
|
-
signer?:
|
|
776
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
777
777
|
sender: SendingAddress;
|
|
778
778
|
rekeyTo?: ReadableAddress | undefined;
|
|
779
779
|
note?: string | Uint8Array | undefined;
|
|
@@ -789,13 +789,13 @@ declare class AppClient {
|
|
|
789
789
|
accountReferences?: ReadableAddress[] | undefined;
|
|
790
790
|
appReferences?: bigint[] | undefined;
|
|
791
791
|
assetReferences?: bigint[] | undefined;
|
|
792
|
-
boxReferences?: (
|
|
792
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
793
793
|
accessReferences?: ResourceReference[] | undefined;
|
|
794
794
|
rejectVersion?: number | undefined;
|
|
795
795
|
method: ABIMethod;
|
|
796
|
-
args?: (
|
|
797
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
796
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
798
797
|
sender: SendingAddress;
|
|
798
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
799
799
|
rekeyTo?: ReadableAddress | undefined;
|
|
800
800
|
note?: string | Uint8Array | undefined;
|
|
801
801
|
lease?: string | Uint8Array | undefined;
|
|
@@ -805,27 +805,21 @@ declare class AppClient {
|
|
|
805
805
|
validityWindow?: number | bigint | undefined;
|
|
806
806
|
firstValidRound?: bigint | undefined;
|
|
807
807
|
lastValidRound?: bigint | undefined;
|
|
808
|
-
|
|
808
|
+
appId: bigint;
|
|
809
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
809
810
|
args?: Uint8Array[] | undefined;
|
|
810
811
|
accountReferences?: ReadableAddress[] | undefined;
|
|
811
812
|
appReferences?: bigint[] | undefined;
|
|
812
813
|
assetReferences?: bigint[] | undefined;
|
|
813
|
-
boxReferences?: (
|
|
814
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
814
815
|
accessReferences?: ResourceReference[] | undefined;
|
|
815
816
|
rejectVersion?: number | undefined;
|
|
816
|
-
appId?: 0 | undefined;
|
|
817
817
|
approvalProgram: string | Uint8Array;
|
|
818
818
|
clearStateProgram: string | Uint8Array;
|
|
819
|
-
schema?: {
|
|
820
|
-
globalInts: number;
|
|
821
|
-
globalByteSlices: number;
|
|
822
|
-
localInts: number;
|
|
823
|
-
localByteSlices: number;
|
|
824
|
-
} | undefined;
|
|
825
|
-
extraProgramPages?: number | undefined;
|
|
826
819
|
}> | AppMethodCall<{
|
|
820
|
+
args?: Uint8Array[] | undefined;
|
|
821
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
827
822
|
sender: SendingAddress;
|
|
828
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
829
823
|
rekeyTo?: ReadableAddress | undefined;
|
|
830
824
|
note?: string | Uint8Array | undefined;
|
|
831
825
|
lease?: string | Uint8Array | undefined;
|
|
@@ -835,25 +829,31 @@ declare class AppClient {
|
|
|
835
829
|
validityWindow?: number | bigint | undefined;
|
|
836
830
|
firstValidRound?: bigint | undefined;
|
|
837
831
|
lastValidRound?: bigint | undefined;
|
|
838
|
-
|
|
839
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
840
|
-
args?: Uint8Array[] | undefined;
|
|
832
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
841
833
|
accountReferences?: ReadableAddress[] | undefined;
|
|
842
834
|
appReferences?: bigint[] | undefined;
|
|
843
835
|
assetReferences?: bigint[] | undefined;
|
|
844
|
-
boxReferences?: (
|
|
836
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
845
837
|
accessReferences?: ResourceReference[] | undefined;
|
|
846
838
|
rejectVersion?: number | undefined;
|
|
839
|
+
appId?: 0 | undefined;
|
|
847
840
|
approvalProgram: string | Uint8Array;
|
|
848
841
|
clearStateProgram: string | Uint8Array;
|
|
849
|
-
|
|
842
|
+
schema?: {
|
|
843
|
+
globalInts: number;
|
|
844
|
+
globalByteSlices: number;
|
|
845
|
+
localInts: number;
|
|
846
|
+
localByteSlices: number;
|
|
847
|
+
} | undefined;
|
|
848
|
+
extraProgramPages?: number | undefined;
|
|
849
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
850
850
|
}>;
|
|
851
851
|
/** Return params for an ABI call
|
|
852
852
|
* @param params The parameters for the ABI method call
|
|
853
853
|
* @returns The parameters which can be used to create an ABI method call
|
|
854
854
|
*/
|
|
855
855
|
call: (params: {
|
|
856
|
-
signer?:
|
|
856
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
857
857
|
rekeyTo?: ReadableAddress | undefined;
|
|
858
858
|
note?: string | Uint8Array | undefined;
|
|
859
859
|
lease?: string | Uint8Array | undefined;
|
|
@@ -867,14 +867,14 @@ declare class AppClient {
|
|
|
867
867
|
accountReferences?: ReadableAddress[] | undefined;
|
|
868
868
|
appReferences?: bigint[] | undefined;
|
|
869
869
|
assetReferences?: bigint[] | undefined;
|
|
870
|
-
boxReferences?: (
|
|
870
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
871
871
|
accessReferences?: ResourceReference[] | undefined;
|
|
872
872
|
rejectVersion?: number | undefined;
|
|
873
873
|
sender?: ReadableAddress | undefined;
|
|
874
874
|
method: string;
|
|
875
875
|
args?: (ABIValue | AppMethodCallTransactionArgument | undefined)[] | undefined;
|
|
876
876
|
} & CallOnComplete) => Promise<{
|
|
877
|
-
signer?:
|
|
877
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
878
878
|
sender: SendingAddress;
|
|
879
879
|
rekeyTo?: ReadableAddress | undefined;
|
|
880
880
|
note?: string | Uint8Array | undefined;
|
|
@@ -890,13 +890,13 @@ declare class AppClient {
|
|
|
890
890
|
accountReferences?: ReadableAddress[] | undefined;
|
|
891
891
|
appReferences?: bigint[] | undefined;
|
|
892
892
|
assetReferences?: bigint[] | undefined;
|
|
893
|
-
boxReferences?: (
|
|
893
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
894
894
|
accessReferences?: ResourceReference[] | undefined;
|
|
895
895
|
rejectVersion?: number | undefined;
|
|
896
896
|
method: ABIMethod;
|
|
897
|
-
args?: (
|
|
898
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
897
|
+
args?: (ABIValue | Transaction | TransactionWithSigner | AppMethodCall<{
|
|
899
898
|
sender: SendingAddress;
|
|
899
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
900
900
|
rekeyTo?: ReadableAddress | undefined;
|
|
901
901
|
note?: string | Uint8Array | undefined;
|
|
902
902
|
lease?: string | Uint8Array | undefined;
|
|
@@ -906,27 +906,21 @@ declare class AppClient {
|
|
|
906
906
|
validityWindow?: number | bigint | undefined;
|
|
907
907
|
firstValidRound?: bigint | undefined;
|
|
908
908
|
lastValidRound?: bigint | undefined;
|
|
909
|
-
|
|
909
|
+
appId: bigint;
|
|
910
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
910
911
|
args?: Uint8Array[] | undefined;
|
|
911
912
|
accountReferences?: ReadableAddress[] | undefined;
|
|
912
913
|
appReferences?: bigint[] | undefined;
|
|
913
914
|
assetReferences?: bigint[] | undefined;
|
|
914
|
-
boxReferences?: (
|
|
915
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
915
916
|
accessReferences?: ResourceReference[] | undefined;
|
|
916
917
|
rejectVersion?: number | undefined;
|
|
917
|
-
appId?: 0 | undefined;
|
|
918
918
|
approvalProgram: string | Uint8Array;
|
|
919
919
|
clearStateProgram: string | Uint8Array;
|
|
920
|
-
schema?: {
|
|
921
|
-
globalInts: number;
|
|
922
|
-
globalByteSlices: number;
|
|
923
|
-
localInts: number;
|
|
924
|
-
localByteSlices: number;
|
|
925
|
-
} | undefined;
|
|
926
|
-
extraProgramPages?: number | undefined;
|
|
927
920
|
}> | AppMethodCall<{
|
|
921
|
+
args?: Uint8Array[] | undefined;
|
|
922
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
928
923
|
sender: SendingAddress;
|
|
929
|
-
signer?: TransactionSigner | AddressWithTransactionSigner | undefined;
|
|
930
924
|
rekeyTo?: ReadableAddress | undefined;
|
|
931
925
|
note?: string | Uint8Array | undefined;
|
|
932
926
|
lease?: string | Uint8Array | undefined;
|
|
@@ -936,24 +930,31 @@ declare class AppClient {
|
|
|
936
930
|
validityWindow?: number | bigint | undefined;
|
|
937
931
|
firstValidRound?: bigint | undefined;
|
|
938
932
|
lastValidRound?: bigint | undefined;
|
|
939
|
-
|
|
940
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
941
|
-
args?: Uint8Array[] | undefined;
|
|
933
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
942
934
|
accountReferences?: ReadableAddress[] | undefined;
|
|
943
935
|
appReferences?: bigint[] | undefined;
|
|
944
936
|
assetReferences?: bigint[] | undefined;
|
|
945
|
-
boxReferences?: (
|
|
937
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
946
938
|
accessReferences?: ResourceReference[] | undefined;
|
|
947
939
|
rejectVersion?: number | undefined;
|
|
940
|
+
appId?: 0 | undefined;
|
|
948
941
|
approvalProgram: string | Uint8Array;
|
|
949
942
|
clearStateProgram: string | Uint8Array;
|
|
950
|
-
|
|
943
|
+
schema?: {
|
|
944
|
+
globalInts: number;
|
|
945
|
+
globalByteSlices: number;
|
|
946
|
+
localInts: number;
|
|
947
|
+
localByteSlices: number;
|
|
948
|
+
} | undefined;
|
|
949
|
+
extraProgramPages?: number | undefined;
|
|
950
|
+
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
951
951
|
}>;
|
|
952
952
|
} & {
|
|
953
953
|
/** Interact with bare (raw) call parameters */bare: {
|
|
954
954
|
/** Return params for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
955
955
|
update: (params?: ({
|
|
956
|
-
|
|
956
|
+
args?: Uint8Array[] | undefined;
|
|
957
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
957
958
|
rekeyTo?: ReadableAddress | undefined;
|
|
958
959
|
note?: string | Uint8Array | undefined;
|
|
959
960
|
lease?: string | Uint8Array | undefined;
|
|
@@ -963,17 +964,16 @@ declare class AppClient {
|
|
|
963
964
|
validityWindow?: number | bigint | undefined;
|
|
964
965
|
firstValidRound?: bigint | undefined;
|
|
965
966
|
lastValidRound?: bigint | undefined;
|
|
966
|
-
args?: Uint8Array[] | undefined;
|
|
967
967
|
accountReferences?: ReadableAddress[] | undefined;
|
|
968
968
|
appReferences?: bigint[] | undefined;
|
|
969
969
|
assetReferences?: bigint[] | undefined;
|
|
970
|
-
boxReferences?: (
|
|
970
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
971
971
|
accessReferences?: ResourceReference[] | undefined;
|
|
972
972
|
rejectVersion?: number | undefined;
|
|
973
973
|
sender?: ReadableAddress | undefined;
|
|
974
974
|
} & AppClientCompilationParams) | undefined) => Promise<{
|
|
975
975
|
sender: SendingAddress;
|
|
976
|
-
signer?:
|
|
976
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
977
977
|
rekeyTo?: ReadableAddress | undefined;
|
|
978
978
|
note?: string | Uint8Array | undefined;
|
|
979
979
|
lease?: string | Uint8Array | undefined;
|
|
@@ -989,7 +989,7 @@ declare class AppClient {
|
|
|
989
989
|
accountReferences?: ReadableAddress[] | undefined;
|
|
990
990
|
appReferences?: bigint[] | undefined;
|
|
991
991
|
assetReferences?: bigint[] | undefined;
|
|
992
|
-
boxReferences?: (
|
|
992
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
993
993
|
accessReferences?: ResourceReference[] | undefined;
|
|
994
994
|
rejectVersion?: number | undefined;
|
|
995
995
|
approvalProgram: string | Uint8Array;
|
|
@@ -997,7 +997,8 @@ declare class AppClient {
|
|
|
997
997
|
}>;
|
|
998
998
|
/** Return params for an opt-in call */
|
|
999
999
|
optIn: (params?: {
|
|
1000
|
-
|
|
1000
|
+
args?: Uint8Array[] | undefined;
|
|
1001
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1001
1002
|
rekeyTo?: ReadableAddress | undefined;
|
|
1002
1003
|
note?: string | Uint8Array | undefined;
|
|
1003
1004
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1007,18 +1008,18 @@ declare class AppClient {
|
|
|
1007
1008
|
validityWindow?: number | bigint | undefined;
|
|
1008
1009
|
firstValidRound?: bigint | undefined;
|
|
1009
1010
|
lastValidRound?: bigint | undefined;
|
|
1010
|
-
args?: Uint8Array[] | undefined;
|
|
1011
1011
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1012
1012
|
appReferences?: bigint[] | undefined;
|
|
1013
1013
|
assetReferences?: bigint[] | undefined;
|
|
1014
|
-
boxReferences?: (
|
|
1014
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1015
1015
|
accessReferences?: ResourceReference[] | undefined;
|
|
1016
1016
|
rejectVersion?: number | undefined;
|
|
1017
1017
|
sender?: ReadableAddress | undefined;
|
|
1018
1018
|
} | undefined) => AppCallParams;
|
|
1019
1019
|
/** Return params for a delete call */
|
|
1020
1020
|
delete: (params?: {
|
|
1021
|
-
|
|
1021
|
+
args?: Uint8Array[] | undefined;
|
|
1022
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1022
1023
|
rekeyTo?: ReadableAddress | undefined;
|
|
1023
1024
|
note?: string | Uint8Array | undefined;
|
|
1024
1025
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1028,18 +1029,18 @@ declare class AppClient {
|
|
|
1028
1029
|
validityWindow?: number | bigint | undefined;
|
|
1029
1030
|
firstValidRound?: bigint | undefined;
|
|
1030
1031
|
lastValidRound?: bigint | undefined;
|
|
1031
|
-
args?: Uint8Array[] | undefined;
|
|
1032
1032
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1033
1033
|
appReferences?: bigint[] | undefined;
|
|
1034
1034
|
assetReferences?: bigint[] | undefined;
|
|
1035
|
-
boxReferences?: (
|
|
1035
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1036
1036
|
accessReferences?: ResourceReference[] | undefined;
|
|
1037
1037
|
rejectVersion?: number | undefined;
|
|
1038
1038
|
sender?: ReadableAddress | undefined;
|
|
1039
1039
|
} | undefined) => AppDeleteParams;
|
|
1040
1040
|
/** Return params for a clear state call */
|
|
1041
1041
|
clearState: (params?: {
|
|
1042
|
-
|
|
1042
|
+
args?: Uint8Array[] | undefined;
|
|
1043
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1043
1044
|
rekeyTo?: ReadableAddress | undefined;
|
|
1044
1045
|
note?: string | Uint8Array | undefined;
|
|
1045
1046
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1049,18 +1050,18 @@ declare class AppClient {
|
|
|
1049
1050
|
validityWindow?: number | bigint | undefined;
|
|
1050
1051
|
firstValidRound?: bigint | undefined;
|
|
1051
1052
|
lastValidRound?: bigint | undefined;
|
|
1052
|
-
args?: Uint8Array[] | undefined;
|
|
1053
1053
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1054
1054
|
appReferences?: bigint[] | undefined;
|
|
1055
1055
|
assetReferences?: bigint[] | undefined;
|
|
1056
|
-
boxReferences?: (
|
|
1056
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1057
1057
|
accessReferences?: ResourceReference[] | undefined;
|
|
1058
1058
|
rejectVersion?: number | undefined;
|
|
1059
1059
|
sender?: ReadableAddress | undefined;
|
|
1060
1060
|
} | undefined) => AppCallParams;
|
|
1061
1061
|
/** Return params for a close out call */
|
|
1062
1062
|
closeOut: (params?: {
|
|
1063
|
-
|
|
1063
|
+
args?: Uint8Array[] | undefined;
|
|
1064
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1064
1065
|
rekeyTo?: ReadableAddress | undefined;
|
|
1065
1066
|
note?: string | Uint8Array | undefined;
|
|
1066
1067
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1070,18 +1071,18 @@ declare class AppClient {
|
|
|
1070
1071
|
validityWindow?: number | bigint | undefined;
|
|
1071
1072
|
firstValidRound?: bigint | undefined;
|
|
1072
1073
|
lastValidRound?: bigint | undefined;
|
|
1073
|
-
args?: Uint8Array[] | undefined;
|
|
1074
1074
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1075
1075
|
appReferences?: bigint[] | undefined;
|
|
1076
1076
|
assetReferences?: bigint[] | undefined;
|
|
1077
|
-
boxReferences?: (
|
|
1077
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1078
1078
|
accessReferences?: ResourceReference[] | undefined;
|
|
1079
1079
|
rejectVersion?: number | undefined;
|
|
1080
1080
|
sender?: ReadableAddress | undefined;
|
|
1081
1081
|
} | undefined) => AppCallParams;
|
|
1082
1082
|
/** Return params for a call (defaults to no-op) */
|
|
1083
1083
|
call: (params?: ({
|
|
1084
|
-
|
|
1084
|
+
args?: Uint8Array[] | undefined;
|
|
1085
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1085
1086
|
rekeyTo?: ReadableAddress | undefined;
|
|
1086
1087
|
note?: string | Uint8Array | undefined;
|
|
1087
1088
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1091,11 +1092,10 @@ declare class AppClient {
|
|
|
1091
1092
|
validityWindow?: number | bigint | undefined;
|
|
1092
1093
|
firstValidRound?: bigint | undefined;
|
|
1093
1094
|
lastValidRound?: bigint | undefined;
|
|
1094
|
-
args?: Uint8Array[] | undefined;
|
|
1095
1095
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1096
1096
|
appReferences?: bigint[] | undefined;
|
|
1097
1097
|
assetReferences?: bigint[] | undefined;
|
|
1098
|
-
boxReferences?: (
|
|
1098
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1099
1099
|
accessReferences?: ResourceReference[] | undefined;
|
|
1100
1100
|
rejectVersion?: number | undefined;
|
|
1101
1101
|
sender?: ReadableAddress | undefined;
|
|
@@ -1109,7 +1109,7 @@ declare class AppClient {
|
|
|
1109
1109
|
* @returns A transaction which can be used to fund the app account
|
|
1110
1110
|
*/
|
|
1111
1111
|
fundAppAccount: (params: {
|
|
1112
|
-
signer?:
|
|
1112
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1113
1113
|
amount: AlgoAmount;
|
|
1114
1114
|
rekeyTo?: ReadableAddress | undefined;
|
|
1115
1115
|
note?: string | Uint8Array | undefined;
|
|
@@ -1133,7 +1133,7 @@ declare class AppClient {
|
|
|
1133
1133
|
* @returns The transactions which can be used to create an update ABI method call
|
|
1134
1134
|
*/
|
|
1135
1135
|
update: (params: {
|
|
1136
|
-
signer?:
|
|
1136
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1137
1137
|
rekeyTo?: ReadableAddress | undefined;
|
|
1138
1138
|
note?: string | Uint8Array | undefined;
|
|
1139
1139
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1147,7 +1147,7 @@ declare class AppClient {
|
|
|
1147
1147
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1148
1148
|
appReferences?: bigint[] | undefined;
|
|
1149
1149
|
assetReferences?: bigint[] | undefined;
|
|
1150
|
-
boxReferences?: (
|
|
1150
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1151
1151
|
accessReferences?: ResourceReference[] | undefined;
|
|
1152
1152
|
rejectVersion?: number | undefined;
|
|
1153
1153
|
sender?: ReadableAddress | undefined;
|
|
@@ -1164,7 +1164,7 @@ declare class AppClient {
|
|
|
1164
1164
|
* @returns The transactions which can be used to create an opt-in ABI method call
|
|
1165
1165
|
*/
|
|
1166
1166
|
optIn: (params: {
|
|
1167
|
-
signer?:
|
|
1167
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1168
1168
|
rekeyTo?: ReadableAddress | undefined;
|
|
1169
1169
|
note?: string | Uint8Array | undefined;
|
|
1170
1170
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1178,7 +1178,7 @@ declare class AppClient {
|
|
|
1178
1178
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1179
1179
|
appReferences?: bigint[] | undefined;
|
|
1180
1180
|
assetReferences?: bigint[] | undefined;
|
|
1181
|
-
boxReferences?: (
|
|
1181
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1182
1182
|
accessReferences?: ResourceReference[] | undefined;
|
|
1183
1183
|
rejectVersion?: number | undefined;
|
|
1184
1184
|
sender?: ReadableAddress | undefined;
|
|
@@ -1195,7 +1195,7 @@ declare class AppClient {
|
|
|
1195
1195
|
* @returns The transactions which can be used to create a delete ABI method call
|
|
1196
1196
|
*/
|
|
1197
1197
|
delete: (params: {
|
|
1198
|
-
signer?:
|
|
1198
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1199
1199
|
rekeyTo?: ReadableAddress | undefined;
|
|
1200
1200
|
note?: string | Uint8Array | undefined;
|
|
1201
1201
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1209,7 +1209,7 @@ declare class AppClient {
|
|
|
1209
1209
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1210
1210
|
appReferences?: bigint[] | undefined;
|
|
1211
1211
|
assetReferences?: bigint[] | undefined;
|
|
1212
|
-
boxReferences?: (
|
|
1212
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1213
1213
|
accessReferences?: ResourceReference[] | undefined;
|
|
1214
1214
|
rejectVersion?: number | undefined;
|
|
1215
1215
|
sender?: ReadableAddress | undefined;
|
|
@@ -1226,7 +1226,7 @@ declare class AppClient {
|
|
|
1226
1226
|
* @returns The transactions which can be used to create a close out ABI method call
|
|
1227
1227
|
*/
|
|
1228
1228
|
closeOut: (params: {
|
|
1229
|
-
signer?:
|
|
1229
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1230
1230
|
rekeyTo?: ReadableAddress | undefined;
|
|
1231
1231
|
note?: string | Uint8Array | undefined;
|
|
1232
1232
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1240,7 +1240,7 @@ declare class AppClient {
|
|
|
1240
1240
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1241
1241
|
appReferences?: bigint[] | undefined;
|
|
1242
1242
|
assetReferences?: bigint[] | undefined;
|
|
1243
|
-
boxReferences?: (
|
|
1243
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1244
1244
|
accessReferences?: ResourceReference[] | undefined;
|
|
1245
1245
|
rejectVersion?: number | undefined;
|
|
1246
1246
|
sender?: ReadableAddress | undefined;
|
|
@@ -1257,7 +1257,7 @@ declare class AppClient {
|
|
|
1257
1257
|
* @returns The transactions which can be used to create an ABI method call
|
|
1258
1258
|
*/
|
|
1259
1259
|
call: (params: {
|
|
1260
|
-
signer?:
|
|
1260
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1261
1261
|
rekeyTo?: ReadableAddress | undefined;
|
|
1262
1262
|
note?: string | Uint8Array | undefined;
|
|
1263
1263
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1271,7 +1271,7 @@ declare class AppClient {
|
|
|
1271
1271
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1272
1272
|
appReferences?: bigint[] | undefined;
|
|
1273
1273
|
assetReferences?: bigint[] | undefined;
|
|
1274
|
-
boxReferences?: (
|
|
1274
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1275
1275
|
accessReferences?: ResourceReference[] | undefined;
|
|
1276
1276
|
rejectVersion?: number | undefined;
|
|
1277
1277
|
sender?: ReadableAddress | undefined;
|
|
@@ -1286,7 +1286,8 @@ declare class AppClient {
|
|
|
1286
1286
|
/** Interact with bare (raw) call transactions */bare: {
|
|
1287
1287
|
/** Returns a transaction for an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1288
1288
|
update: (params?: ({
|
|
1289
|
-
|
|
1289
|
+
args?: Uint8Array[] | undefined;
|
|
1290
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1290
1291
|
rekeyTo?: ReadableAddress | undefined;
|
|
1291
1292
|
note?: string | Uint8Array | undefined;
|
|
1292
1293
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1296,18 +1297,18 @@ declare class AppClient {
|
|
|
1296
1297
|
validityWindow?: number | bigint | undefined;
|
|
1297
1298
|
firstValidRound?: bigint | undefined;
|
|
1298
1299
|
lastValidRound?: bigint | undefined;
|
|
1299
|
-
args?: Uint8Array[] | undefined;
|
|
1300
1300
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1301
1301
|
appReferences?: bigint[] | undefined;
|
|
1302
1302
|
assetReferences?: bigint[] | undefined;
|
|
1303
|
-
boxReferences?: (
|
|
1303
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1304
1304
|
accessReferences?: ResourceReference[] | undefined;
|
|
1305
1305
|
rejectVersion?: number | undefined;
|
|
1306
1306
|
sender?: ReadableAddress | undefined;
|
|
1307
1307
|
} & AppClientCompilationParams) | undefined) => Promise<Transaction>;
|
|
1308
1308
|
/** Returns a transaction for an opt-in call */
|
|
1309
1309
|
optIn: (params?: {
|
|
1310
|
-
|
|
1310
|
+
args?: Uint8Array[] | undefined;
|
|
1311
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1311
1312
|
rekeyTo?: ReadableAddress | undefined;
|
|
1312
1313
|
note?: string | Uint8Array | undefined;
|
|
1313
1314
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1317,18 +1318,18 @@ declare class AppClient {
|
|
|
1317
1318
|
validityWindow?: number | bigint | undefined;
|
|
1318
1319
|
firstValidRound?: bigint | undefined;
|
|
1319
1320
|
lastValidRound?: bigint | undefined;
|
|
1320
|
-
args?: Uint8Array[] | undefined;
|
|
1321
1321
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1322
1322
|
appReferences?: bigint[] | undefined;
|
|
1323
1323
|
assetReferences?: bigint[] | undefined;
|
|
1324
|
-
boxReferences?: (
|
|
1324
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1325
1325
|
accessReferences?: ResourceReference[] | undefined;
|
|
1326
1326
|
rejectVersion?: number | undefined;
|
|
1327
1327
|
sender?: ReadableAddress | undefined;
|
|
1328
1328
|
} | undefined) => Promise<Transaction>;
|
|
1329
1329
|
/** Returns a transaction for a delete call */
|
|
1330
1330
|
delete: (params?: {
|
|
1331
|
-
|
|
1331
|
+
args?: Uint8Array[] | undefined;
|
|
1332
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1332
1333
|
rekeyTo?: ReadableAddress | undefined;
|
|
1333
1334
|
note?: string | Uint8Array | undefined;
|
|
1334
1335
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1338,18 +1339,18 @@ declare class AppClient {
|
|
|
1338
1339
|
validityWindow?: number | bigint | undefined;
|
|
1339
1340
|
firstValidRound?: bigint | undefined;
|
|
1340
1341
|
lastValidRound?: bigint | undefined;
|
|
1341
|
-
args?: Uint8Array[] | undefined;
|
|
1342
1342
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1343
1343
|
appReferences?: bigint[] | undefined;
|
|
1344
1344
|
assetReferences?: bigint[] | undefined;
|
|
1345
|
-
boxReferences?: (
|
|
1345
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1346
1346
|
accessReferences?: ResourceReference[] | undefined;
|
|
1347
1347
|
rejectVersion?: number | undefined;
|
|
1348
1348
|
sender?: ReadableAddress | undefined;
|
|
1349
1349
|
} | undefined) => Promise<Transaction>;
|
|
1350
1350
|
/** Returns a transaction for a clear state call */
|
|
1351
1351
|
clearState: (params?: {
|
|
1352
|
-
|
|
1352
|
+
args?: Uint8Array[] | undefined;
|
|
1353
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1353
1354
|
rekeyTo?: ReadableAddress | undefined;
|
|
1354
1355
|
note?: string | Uint8Array | undefined;
|
|
1355
1356
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1359,18 +1360,18 @@ declare class AppClient {
|
|
|
1359
1360
|
validityWindow?: number | bigint | undefined;
|
|
1360
1361
|
firstValidRound?: bigint | undefined;
|
|
1361
1362
|
lastValidRound?: bigint | undefined;
|
|
1362
|
-
args?: Uint8Array[] | undefined;
|
|
1363
1363
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1364
1364
|
appReferences?: bigint[] | undefined;
|
|
1365
1365
|
assetReferences?: bigint[] | undefined;
|
|
1366
|
-
boxReferences?: (
|
|
1366
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1367
1367
|
accessReferences?: ResourceReference[] | undefined;
|
|
1368
1368
|
rejectVersion?: number | undefined;
|
|
1369
1369
|
sender?: ReadableAddress | undefined;
|
|
1370
1370
|
} | undefined) => Promise<Transaction>;
|
|
1371
1371
|
/** Returns a transaction for a close out call */
|
|
1372
1372
|
closeOut: (params?: {
|
|
1373
|
-
|
|
1373
|
+
args?: Uint8Array[] | undefined;
|
|
1374
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1374
1375
|
rekeyTo?: ReadableAddress | undefined;
|
|
1375
1376
|
note?: string | Uint8Array | undefined;
|
|
1376
1377
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1380,18 +1381,18 @@ declare class AppClient {
|
|
|
1380
1381
|
validityWindow?: number | bigint | undefined;
|
|
1381
1382
|
firstValidRound?: bigint | undefined;
|
|
1382
1383
|
lastValidRound?: bigint | undefined;
|
|
1383
|
-
args?: Uint8Array[] | undefined;
|
|
1384
1384
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1385
1385
|
appReferences?: bigint[] | undefined;
|
|
1386
1386
|
assetReferences?: bigint[] | undefined;
|
|
1387
|
-
boxReferences?: (
|
|
1387
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1388
1388
|
accessReferences?: ResourceReference[] | undefined;
|
|
1389
1389
|
rejectVersion?: number | undefined;
|
|
1390
1390
|
sender?: ReadableAddress | undefined;
|
|
1391
1391
|
} | undefined) => Promise<Transaction>;
|
|
1392
1392
|
/** Returns a transaction for a call (defaults to no-op) */
|
|
1393
1393
|
call: (params?: ({
|
|
1394
|
-
|
|
1394
|
+
args?: Uint8Array[] | undefined;
|
|
1395
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1395
1396
|
rekeyTo?: ReadableAddress | undefined;
|
|
1396
1397
|
note?: string | Uint8Array | undefined;
|
|
1397
1398
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1401,11 +1402,10 @@ declare class AppClient {
|
|
|
1401
1402
|
validityWindow?: number | bigint | undefined;
|
|
1402
1403
|
firstValidRound?: bigint | undefined;
|
|
1403
1404
|
lastValidRound?: bigint | undefined;
|
|
1404
|
-
args?: Uint8Array[] | undefined;
|
|
1405
1405
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1406
1406
|
appReferences?: bigint[] | undefined;
|
|
1407
1407
|
assetReferences?: bigint[] | undefined;
|
|
1408
|
-
boxReferences?: (
|
|
1408
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1409
1409
|
accessReferences?: ResourceReference[] | undefined;
|
|
1410
1410
|
rejectVersion?: number | undefined;
|
|
1411
1411
|
sender?: ReadableAddress | undefined;
|
|
@@ -1419,7 +1419,7 @@ declare class AppClient {
|
|
|
1419
1419
|
* @returns The result of send the fund app account payment transaction
|
|
1420
1420
|
*/
|
|
1421
1421
|
fundAppAccount: (params: {
|
|
1422
|
-
signer?:
|
|
1422
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1423
1423
|
amount: AlgoAmount;
|
|
1424
1424
|
rekeyTo?: ReadableAddress | undefined;
|
|
1425
1425
|
note?: string | Uint8Array | undefined;
|
|
@@ -1451,7 +1451,7 @@ declare class AppClient {
|
|
|
1451
1451
|
* @returns The result of sending the update ABI method call
|
|
1452
1452
|
*/
|
|
1453
1453
|
update: (params: {
|
|
1454
|
-
signer?:
|
|
1454
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1455
1455
|
rekeyTo?: ReadableAddress | undefined;
|
|
1456
1456
|
note?: string | Uint8Array | undefined;
|
|
1457
1457
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1465,7 +1465,7 @@ declare class AppClient {
|
|
|
1465
1465
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1466
1466
|
appReferences?: bigint[] | undefined;
|
|
1467
1467
|
assetReferences?: bigint[] | undefined;
|
|
1468
|
-
boxReferences?: (
|
|
1468
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1469
1469
|
accessReferences?: ResourceReference[] | undefined;
|
|
1470
1470
|
rejectVersion?: number | undefined;
|
|
1471
1471
|
sender?: ReadableAddress | undefined;
|
|
@@ -1489,7 +1489,7 @@ declare class AppClient {
|
|
|
1489
1489
|
* @returns The result of sending the opt-in ABI method call
|
|
1490
1490
|
*/
|
|
1491
1491
|
optIn: (params: {
|
|
1492
|
-
signer?:
|
|
1492
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1493
1493
|
rekeyTo?: ReadableAddress | undefined;
|
|
1494
1494
|
note?: string | Uint8Array | undefined;
|
|
1495
1495
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1503,7 +1503,7 @@ declare class AppClient {
|
|
|
1503
1503
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1504
1504
|
appReferences?: bigint[] | undefined;
|
|
1505
1505
|
assetReferences?: bigint[] | undefined;
|
|
1506
|
-
boxReferences?: (
|
|
1506
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1507
1507
|
accessReferences?: ResourceReference[] | undefined;
|
|
1508
1508
|
rejectVersion?: number | undefined;
|
|
1509
1509
|
sender?: ReadableAddress | undefined;
|
|
@@ -1525,7 +1525,7 @@ declare class AppClient {
|
|
|
1525
1525
|
* @returns The result of sending the delete ABI method call
|
|
1526
1526
|
*/
|
|
1527
1527
|
delete: (params: {
|
|
1528
|
-
signer?:
|
|
1528
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1529
1529
|
rekeyTo?: ReadableAddress | undefined;
|
|
1530
1530
|
note?: string | Uint8Array | undefined;
|
|
1531
1531
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1539,7 +1539,7 @@ declare class AppClient {
|
|
|
1539
1539
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1540
1540
|
appReferences?: bigint[] | undefined;
|
|
1541
1541
|
assetReferences?: bigint[] | undefined;
|
|
1542
|
-
boxReferences?: (
|
|
1542
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1543
1543
|
accessReferences?: ResourceReference[] | undefined;
|
|
1544
1544
|
rejectVersion?: number | undefined;
|
|
1545
1545
|
sender?: ReadableAddress | undefined;
|
|
@@ -1561,7 +1561,7 @@ declare class AppClient {
|
|
|
1561
1561
|
* @returns The result of sending the close out ABI method call
|
|
1562
1562
|
*/
|
|
1563
1563
|
closeOut: (params: {
|
|
1564
|
-
signer?:
|
|
1564
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1565
1565
|
rekeyTo?: ReadableAddress | undefined;
|
|
1566
1566
|
note?: string | Uint8Array | undefined;
|
|
1567
1567
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1575,7 +1575,7 @@ declare class AppClient {
|
|
|
1575
1575
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1576
1576
|
appReferences?: bigint[] | undefined;
|
|
1577
1577
|
assetReferences?: bigint[] | undefined;
|
|
1578
|
-
boxReferences?: (
|
|
1578
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1579
1579
|
accessReferences?: ResourceReference[] | undefined;
|
|
1580
1580
|
rejectVersion?: number | undefined;
|
|
1581
1581
|
sender?: ReadableAddress | undefined;
|
|
@@ -1597,7 +1597,7 @@ declare class AppClient {
|
|
|
1597
1597
|
* @returns The result of sending the ABI method call
|
|
1598
1598
|
*/
|
|
1599
1599
|
call: (params: {
|
|
1600
|
-
signer?:
|
|
1600
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1601
1601
|
rekeyTo?: ReadableAddress | undefined;
|
|
1602
1602
|
note?: string | Uint8Array | undefined;
|
|
1603
1603
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1611,7 +1611,7 @@ declare class AppClient {
|
|
|
1611
1611
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1612
1612
|
appReferences?: bigint[] | undefined;
|
|
1613
1613
|
assetReferences?: bigint[] | undefined;
|
|
1614
|
-
boxReferences?: (
|
|
1614
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1615
1615
|
accessReferences?: ResourceReference[] | undefined;
|
|
1616
1616
|
rejectVersion?: number | undefined;
|
|
1617
1617
|
sender?: ReadableAddress | undefined;
|
|
@@ -1631,7 +1631,8 @@ declare class AppClient {
|
|
|
1631
1631
|
/** Interact with bare (raw) calls */bare: {
|
|
1632
1632
|
/** Signs and sends an update call, including deploy-time TEAL template replacements and compilation if provided */
|
|
1633
1633
|
update: (params?: ({
|
|
1634
|
-
|
|
1634
|
+
args?: Uint8Array[] | undefined;
|
|
1635
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1635
1636
|
rekeyTo?: ReadableAddress | undefined;
|
|
1636
1637
|
note?: string | Uint8Array | undefined;
|
|
1637
1638
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1641,11 +1642,10 @@ declare class AppClient {
|
|
|
1641
1642
|
validityWindow?: number | bigint | undefined;
|
|
1642
1643
|
firstValidRound?: bigint | undefined;
|
|
1643
1644
|
lastValidRound?: bigint | undefined;
|
|
1644
|
-
args?: Uint8Array[] | undefined;
|
|
1645
1645
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1646
1646
|
appReferences?: bigint[] | undefined;
|
|
1647
1647
|
assetReferences?: bigint[] | undefined;
|
|
1648
|
-
boxReferences?: (
|
|
1648
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1649
1649
|
accessReferences?: ResourceReference[] | undefined;
|
|
1650
1650
|
rejectVersion?: number | undefined;
|
|
1651
1651
|
sender?: ReadableAddress | undefined;
|
|
@@ -1663,7 +1663,8 @@ declare class AppClient {
|
|
|
1663
1663
|
}>;
|
|
1664
1664
|
/** Signs and sends an opt-in call */
|
|
1665
1665
|
optIn: (params?: ({
|
|
1666
|
-
|
|
1666
|
+
args?: Uint8Array[] | undefined;
|
|
1667
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1667
1668
|
rekeyTo?: ReadableAddress | undefined;
|
|
1668
1669
|
note?: string | Uint8Array | undefined;
|
|
1669
1670
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1673,11 +1674,10 @@ declare class AppClient {
|
|
|
1673
1674
|
validityWindow?: number | bigint | undefined;
|
|
1674
1675
|
firstValidRound?: bigint | undefined;
|
|
1675
1676
|
lastValidRound?: bigint | undefined;
|
|
1676
|
-
args?: Uint8Array[] | undefined;
|
|
1677
1677
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1678
1678
|
appReferences?: bigint[] | undefined;
|
|
1679
1679
|
assetReferences?: bigint[] | undefined;
|
|
1680
|
-
boxReferences?: (
|
|
1680
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1681
1681
|
accessReferences?: ResourceReference[] | undefined;
|
|
1682
1682
|
rejectVersion?: number | undefined;
|
|
1683
1683
|
sender?: ReadableAddress | undefined;
|
|
@@ -1693,7 +1693,8 @@ declare class AppClient {
|
|
|
1693
1693
|
}>;
|
|
1694
1694
|
/** Signs and sends a delete call */
|
|
1695
1695
|
delete: (params?: ({
|
|
1696
|
-
|
|
1696
|
+
args?: Uint8Array[] | undefined;
|
|
1697
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1697
1698
|
rekeyTo?: ReadableAddress | undefined;
|
|
1698
1699
|
note?: string | Uint8Array | undefined;
|
|
1699
1700
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1703,11 +1704,10 @@ declare class AppClient {
|
|
|
1703
1704
|
validityWindow?: number | bigint | undefined;
|
|
1704
1705
|
firstValidRound?: bigint | undefined;
|
|
1705
1706
|
lastValidRound?: bigint | undefined;
|
|
1706
|
-
args?: Uint8Array[] | undefined;
|
|
1707
1707
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1708
1708
|
appReferences?: bigint[] | undefined;
|
|
1709
1709
|
assetReferences?: bigint[] | undefined;
|
|
1710
|
-
boxReferences?: (
|
|
1710
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1711
1711
|
accessReferences?: ResourceReference[] | undefined;
|
|
1712
1712
|
rejectVersion?: number | undefined;
|
|
1713
1713
|
sender?: ReadableAddress | undefined;
|
|
@@ -1723,7 +1723,8 @@ declare class AppClient {
|
|
|
1723
1723
|
}>;
|
|
1724
1724
|
/** Signs and sends a clear state call */
|
|
1725
1725
|
clearState: (params?: ({
|
|
1726
|
-
|
|
1726
|
+
args?: Uint8Array[] | undefined;
|
|
1727
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1727
1728
|
rekeyTo?: ReadableAddress | undefined;
|
|
1728
1729
|
note?: string | Uint8Array | undefined;
|
|
1729
1730
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1733,11 +1734,10 @@ declare class AppClient {
|
|
|
1733
1734
|
validityWindow?: number | bigint | undefined;
|
|
1734
1735
|
firstValidRound?: bigint | undefined;
|
|
1735
1736
|
lastValidRound?: bigint | undefined;
|
|
1736
|
-
args?: Uint8Array[] | undefined;
|
|
1737
1737
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1738
1738
|
appReferences?: bigint[] | undefined;
|
|
1739
1739
|
assetReferences?: bigint[] | undefined;
|
|
1740
|
-
boxReferences?: (
|
|
1740
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1741
1741
|
accessReferences?: ResourceReference[] | undefined;
|
|
1742
1742
|
rejectVersion?: number | undefined;
|
|
1743
1743
|
sender?: ReadableAddress | undefined;
|
|
@@ -1753,7 +1753,8 @@ declare class AppClient {
|
|
|
1753
1753
|
}>;
|
|
1754
1754
|
/** Signs and sends a close out call */
|
|
1755
1755
|
closeOut: (params?: ({
|
|
1756
|
-
|
|
1756
|
+
args?: Uint8Array[] | undefined;
|
|
1757
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1757
1758
|
rekeyTo?: ReadableAddress | undefined;
|
|
1758
1759
|
note?: string | Uint8Array | undefined;
|
|
1759
1760
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1763,11 +1764,10 @@ declare class AppClient {
|
|
|
1763
1764
|
validityWindow?: number | bigint | undefined;
|
|
1764
1765
|
firstValidRound?: bigint | undefined;
|
|
1765
1766
|
lastValidRound?: bigint | undefined;
|
|
1766
|
-
args?: Uint8Array[] | undefined;
|
|
1767
1767
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1768
1768
|
appReferences?: bigint[] | undefined;
|
|
1769
1769
|
assetReferences?: bigint[] | undefined;
|
|
1770
|
-
boxReferences?: (
|
|
1770
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1771
1771
|
accessReferences?: ResourceReference[] | undefined;
|
|
1772
1772
|
rejectVersion?: number | undefined;
|
|
1773
1773
|
sender?: ReadableAddress | undefined;
|
|
@@ -1783,7 +1783,8 @@ declare class AppClient {
|
|
|
1783
1783
|
}>;
|
|
1784
1784
|
/** Signs and sends a call (defaults to no-op) */
|
|
1785
1785
|
call: (params?: ({
|
|
1786
|
-
|
|
1786
|
+
args?: Uint8Array[] | undefined;
|
|
1787
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
1787
1788
|
rekeyTo?: ReadableAddress | undefined;
|
|
1788
1789
|
note?: string | Uint8Array | undefined;
|
|
1789
1790
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1793,11 +1794,10 @@ declare class AppClient {
|
|
|
1793
1794
|
validityWindow?: number | bigint | undefined;
|
|
1794
1795
|
firstValidRound?: bigint | undefined;
|
|
1795
1796
|
lastValidRound?: bigint | undefined;
|
|
1796
|
-
args?: Uint8Array[] | undefined;
|
|
1797
1797
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1798
1798
|
appReferences?: bigint[] | undefined;
|
|
1799
1799
|
assetReferences?: bigint[] | undefined;
|
|
1800
|
-
boxReferences?: (
|
|
1800
|
+
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1801
1801
|
accessReferences?: ResourceReference[] | undefined;
|
|
1802
1802
|
rejectVersion?: number | undefined;
|
|
1803
1803
|
sender?: ReadableAddress | undefined;
|