@algorandfoundation/algokit-utils 10.0.0-alpha.23 → 10.0.0-alpha.25
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.js.map +1 -1
- package/packages/algod_client/src/models/block.mjs.map +1 -1
- package/packages/algod_client/src/models/eval-delta-key-value.js +2 -2
- package/packages/algod_client/src/models/eval-delta-key-value.js.map +1 -1
- package/packages/algod_client/src/models/eval-delta-key-value.mjs +2 -2
- package/packages/algod_client/src/models/eval-delta-key-value.mjs.map +1 -1
- package/packages/algod_client/src/models/eval-delta.js +2 -2
- package/packages/algod_client/src/models/eval-delta.js.map +1 -1
- package/packages/algod_client/src/models/eval-delta.mjs +2 -2
- package/packages/algod_client/src/models/eval-delta.mjs.map +1 -1
- package/packages/common/src/codecs/primitives/bytes-base64.js +26 -0
- package/packages/common/src/codecs/primitives/bytes-base64.js.map +1 -0
- package/packages/common/src/codecs/primitives/bytes-base64.mjs +25 -0
- package/packages/common/src/codecs/primitives/bytes-base64.mjs.map +1 -0
- package/packages/transact/src/logicsig.d.ts +36 -22
- package/packages/transact/src/logicsig.js +69 -52
- package/packages/transact/src/logicsig.js.map +1 -1
- package/packages/transact/src/logicsig.mjs +70 -54
- package/packages/transact/src/logicsig.mjs.map +1 -1
- package/packages/transact/src/multisig.d.ts +4 -1
- package/packages/transact/src/multisig.js +17 -0
- package/packages/transact/src/multisig.js.map +1 -1
- package/packages/transact/src/multisig.mjs +17 -0
- package/packages/transact/src/multisig.mjs.map +1 -1
- package/packages/transact/src/signer.js +4 -1
- package/packages/transact/src/signer.js.map +1 -1
- package/packages/transact/src/signer.mjs +4 -1
- package/packages/transact/src/signer.mjs.map +1 -1
- package/packages/transact/src/transactions/signed-transaction-meta.js +6 -6
- package/packages/transact/src/transactions/signed-transaction-meta.js.map +1 -1
- package/packages/transact/src/transactions/signed-transaction-meta.mjs +6 -6
- package/packages/transact/src/transactions/signed-transaction-meta.mjs.map +1 -1
- package/packages/transact/src/transactions/signed-transaction.d.ts +4 -4
- package/packages/transact/src/transactions/signed-transaction.js.map +1 -1
- package/packages/transact/src/transactions/signed-transaction.mjs.map +1 -1
- package/testing/account.js +4 -2
- package/testing/account.js.map +1 -1
- package/testing/account.mjs +4 -2
- package/testing/account.mjs.map +1 -1
- package/transact/index.d.ts +3 -3
- package/transact/index.js +2 -1
- package/transact/index.mjs +2 -2
- package/types/account-manager.d.ts +6 -8
- package/types/account-manager.js +13 -3
- package/types/account-manager.js.map +1 -1
- package/types/account-manager.mjs +13 -3
- package/types/account-manager.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +70 -70
- package/types/algorand-client-transaction-sender.d.ts +70 -70
- package/types/app-client.d.ts +83 -83
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs.map +1 -1
- package/types/app-factory.d.ts +48 -48
- package/types/testing.d.ts +2 -2
|
@@ -348,8 +348,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
348
348
|
* @returns The application create transaction
|
|
349
349
|
*/
|
|
350
350
|
appCreate: (params: {
|
|
351
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
352
351
|
sender: SendingAddress;
|
|
352
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
353
353
|
rekeyTo?: ReadableAddress | undefined;
|
|
354
354
|
note?: string | Uint8Array | undefined;
|
|
355
355
|
lease?: string | Uint8Array | undefined;
|
|
@@ -359,8 +359,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
359
359
|
validityWindow?: number | bigint | undefined;
|
|
360
360
|
firstValidRound?: bigint | undefined;
|
|
361
361
|
lastValidRound?: bigint | undefined;
|
|
362
|
-
args?: Uint8Array[] | undefined;
|
|
363
362
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
363
|
+
args?: Uint8Array[] | undefined;
|
|
364
364
|
accountReferences?: ReadableAddress[] | undefined;
|
|
365
365
|
appReferences?: bigint[] | undefined;
|
|
366
366
|
assetReferences?: bigint[] | undefined;
|
|
@@ -568,8 +568,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
568
568
|
* @returns The application ABI method create transaction
|
|
569
569
|
*/
|
|
570
570
|
appCreateMethodCall: (params: {
|
|
571
|
-
|
|
571
|
+
appId?: 0 | undefined;
|
|
572
572
|
sender: SendingAddress;
|
|
573
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
573
574
|
rekeyTo?: ReadableAddress | undefined;
|
|
574
575
|
note?: string | Uint8Array | undefined;
|
|
575
576
|
lease?: string | Uint8Array | undefined;
|
|
@@ -579,9 +580,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
579
580
|
validityWindow?: number | bigint | undefined;
|
|
580
581
|
firstValidRound?: bigint | undefined;
|
|
581
582
|
lastValidRound?: bigint | undefined;
|
|
582
|
-
appId?: 0 | undefined;
|
|
583
|
-
approvalProgram: string | Uint8Array;
|
|
584
|
-
clearStateProgram: string | Uint8Array;
|
|
585
583
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
586
584
|
accountReferences?: ReadableAddress[] | undefined;
|
|
587
585
|
appReferences?: bigint[] | undefined;
|
|
@@ -589,6 +587,8 @@ declare class AlgorandClientTransactionCreator {
|
|
|
589
587
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
590
588
|
accessReferences?: ResourceReference[] | undefined;
|
|
591
589
|
rejectVersion?: number | undefined;
|
|
590
|
+
approvalProgram: string | Uint8Array;
|
|
591
|
+
clearStateProgram: string | Uint8Array;
|
|
592
592
|
schema?: {
|
|
593
593
|
globalInts: number;
|
|
594
594
|
globalByteSlices: number;
|
|
@@ -597,7 +597,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
597
597
|
} | undefined;
|
|
598
598
|
extraProgramPages?: number | undefined;
|
|
599
599
|
method: ABIMethod;
|
|
600
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
600
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
601
601
|
sender: SendingAddress;
|
|
602
602
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
603
603
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -609,8 +609,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
609
609
|
validityWindow?: number | bigint | undefined;
|
|
610
610
|
firstValidRound?: bigint | undefined;
|
|
611
611
|
lastValidRound?: bigint | undefined;
|
|
612
|
-
|
|
613
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
612
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
614
613
|
args?: Uint8Array[] | undefined;
|
|
615
614
|
accountReferences?: ReadableAddress[] | undefined;
|
|
616
615
|
appReferences?: bigint[] | undefined;
|
|
@@ -618,11 +617,19 @@ declare class AlgorandClientTransactionCreator {
|
|
|
618
617
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
619
618
|
accessReferences?: ResourceReference[] | undefined;
|
|
620
619
|
rejectVersion?: number | undefined;
|
|
620
|
+
appId?: 0 | undefined;
|
|
621
621
|
approvalProgram: string | Uint8Array;
|
|
622
622
|
clearStateProgram: string | Uint8Array;
|
|
623
|
+
schema?: {
|
|
624
|
+
globalInts: number;
|
|
625
|
+
globalByteSlices: number;
|
|
626
|
+
localInts: number;
|
|
627
|
+
localByteSlices: number;
|
|
628
|
+
} | undefined;
|
|
629
|
+
extraProgramPages?: number | undefined;
|
|
623
630
|
}> | AppMethodCall<{
|
|
624
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
625
631
|
sender: SendingAddress;
|
|
632
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
626
633
|
rekeyTo?: ReadableAddress | undefined;
|
|
627
634
|
note?: string | Uint8Array | undefined;
|
|
628
635
|
lease?: string | Uint8Array | undefined;
|
|
@@ -632,25 +639,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
632
639
|
validityWindow?: number | bigint | undefined;
|
|
633
640
|
firstValidRound?: bigint | undefined;
|
|
634
641
|
lastValidRound?: bigint | undefined;
|
|
642
|
+
appId: bigint;
|
|
643
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
635
644
|
args?: Uint8Array[] | undefined;
|
|
636
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
637
645
|
accountReferences?: ReadableAddress[] | undefined;
|
|
638
646
|
appReferences?: bigint[] | undefined;
|
|
639
647
|
assetReferences?: bigint[] | undefined;
|
|
640
648
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
641
649
|
accessReferences?: ResourceReference[] | undefined;
|
|
642
650
|
rejectVersion?: number | undefined;
|
|
643
|
-
appId?: 0 | undefined;
|
|
644
651
|
approvalProgram: string | Uint8Array;
|
|
645
652
|
clearStateProgram: string | Uint8Array;
|
|
646
|
-
|
|
647
|
-
globalInts: number;
|
|
648
|
-
globalByteSlices: number;
|
|
649
|
-
localInts: number;
|
|
650
|
-
localByteSlices: number;
|
|
651
|
-
} | undefined;
|
|
652
|
-
extraProgramPages?: number | undefined;
|
|
653
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
653
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
654
654
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
655
655
|
/** Create an application update call with ABI method call transaction.
|
|
656
656
|
*
|
|
@@ -702,8 +702,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
702
702
|
* @returns The application ABI method update transaction
|
|
703
703
|
*/
|
|
704
704
|
appUpdateMethodCall: (params: {
|
|
705
|
-
|
|
705
|
+
appId: bigint;
|
|
706
706
|
sender: SendingAddress;
|
|
707
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
707
708
|
rekeyTo?: ReadableAddress | undefined;
|
|
708
709
|
note?: string | Uint8Array | undefined;
|
|
709
710
|
lease?: string | Uint8Array | undefined;
|
|
@@ -713,9 +714,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
713
714
|
validityWindow?: number | bigint | undefined;
|
|
714
715
|
firstValidRound?: bigint | undefined;
|
|
715
716
|
lastValidRound?: bigint | undefined;
|
|
716
|
-
appId: bigint;
|
|
717
|
-
approvalProgram: string | Uint8Array;
|
|
718
|
-
clearStateProgram: string | Uint8Array;
|
|
719
717
|
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
720
718
|
accountReferences?: ReadableAddress[] | undefined;
|
|
721
719
|
appReferences?: bigint[] | undefined;
|
|
@@ -723,8 +721,10 @@ declare class AlgorandClientTransactionCreator {
|
|
|
723
721
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
724
722
|
accessReferences?: ResourceReference[] | undefined;
|
|
725
723
|
rejectVersion?: number | undefined;
|
|
724
|
+
approvalProgram: string | Uint8Array;
|
|
725
|
+
clearStateProgram: string | Uint8Array;
|
|
726
726
|
method: ABIMethod;
|
|
727
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
727
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
728
728
|
sender: SendingAddress;
|
|
729
729
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
730
730
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -736,8 +736,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
736
736
|
validityWindow?: number | bigint | undefined;
|
|
737
737
|
firstValidRound?: bigint | undefined;
|
|
738
738
|
lastValidRound?: bigint | undefined;
|
|
739
|
-
|
|
740
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
739
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
741
740
|
args?: Uint8Array[] | undefined;
|
|
742
741
|
accountReferences?: ReadableAddress[] | undefined;
|
|
743
742
|
appReferences?: bigint[] | undefined;
|
|
@@ -745,11 +744,19 @@ declare class AlgorandClientTransactionCreator {
|
|
|
745
744
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
746
745
|
accessReferences?: ResourceReference[] | undefined;
|
|
747
746
|
rejectVersion?: number | undefined;
|
|
747
|
+
appId?: 0 | undefined;
|
|
748
748
|
approvalProgram: string | Uint8Array;
|
|
749
749
|
clearStateProgram: string | Uint8Array;
|
|
750
|
+
schema?: {
|
|
751
|
+
globalInts: number;
|
|
752
|
+
globalByteSlices: number;
|
|
753
|
+
localInts: number;
|
|
754
|
+
localByteSlices: number;
|
|
755
|
+
} | undefined;
|
|
756
|
+
extraProgramPages?: number | undefined;
|
|
750
757
|
}> | AppMethodCall<{
|
|
751
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
752
758
|
sender: SendingAddress;
|
|
759
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
753
760
|
rekeyTo?: ReadableAddress | undefined;
|
|
754
761
|
note?: string | Uint8Array | undefined;
|
|
755
762
|
lease?: string | Uint8Array | undefined;
|
|
@@ -759,25 +766,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
759
766
|
validityWindow?: number | bigint | undefined;
|
|
760
767
|
firstValidRound?: bigint | undefined;
|
|
761
768
|
lastValidRound?: bigint | undefined;
|
|
769
|
+
appId: bigint;
|
|
770
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
762
771
|
args?: Uint8Array[] | undefined;
|
|
763
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
764
772
|
accountReferences?: ReadableAddress[] | undefined;
|
|
765
773
|
appReferences?: bigint[] | undefined;
|
|
766
774
|
assetReferences?: bigint[] | undefined;
|
|
767
775
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
768
776
|
accessReferences?: ResourceReference[] | undefined;
|
|
769
777
|
rejectVersion?: number | undefined;
|
|
770
|
-
appId?: 0 | undefined;
|
|
771
778
|
approvalProgram: string | Uint8Array;
|
|
772
779
|
clearStateProgram: string | Uint8Array;
|
|
773
|
-
|
|
774
|
-
globalInts: number;
|
|
775
|
-
globalByteSlices: number;
|
|
776
|
-
localInts: number;
|
|
777
|
-
localByteSlices: number;
|
|
778
|
-
} | undefined;
|
|
779
|
-
extraProgramPages?: number | undefined;
|
|
780
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
780
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
781
781
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
782
782
|
/** Create an application delete call with ABI method call transaction.
|
|
783
783
|
*
|
|
@@ -827,8 +827,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
827
827
|
* @returns The application ABI method delete transaction
|
|
828
828
|
*/
|
|
829
829
|
appDeleteMethodCall: (params: {
|
|
830
|
-
|
|
830
|
+
appId: bigint;
|
|
831
831
|
sender: SendingAddress;
|
|
832
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
832
833
|
rekeyTo?: ReadableAddress | undefined;
|
|
833
834
|
note?: string | Uint8Array | undefined;
|
|
834
835
|
lease?: string | Uint8Array | undefined;
|
|
@@ -838,7 +839,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
838
839
|
validityWindow?: number | bigint | undefined;
|
|
839
840
|
firstValidRound?: bigint | undefined;
|
|
840
841
|
lastValidRound?: bigint | undefined;
|
|
841
|
-
appId: bigint;
|
|
842
842
|
onComplete?: OnApplicationComplete.DeleteApplication | undefined;
|
|
843
843
|
accountReferences?: ReadableAddress[] | undefined;
|
|
844
844
|
appReferences?: bigint[] | undefined;
|
|
@@ -847,7 +847,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
847
847
|
accessReferences?: ResourceReference[] | undefined;
|
|
848
848
|
rejectVersion?: number | undefined;
|
|
849
849
|
method: ABIMethod;
|
|
850
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
850
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
851
851
|
sender: SendingAddress;
|
|
852
852
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
853
853
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -859,8 +859,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
859
859
|
validityWindow?: number | bigint | undefined;
|
|
860
860
|
firstValidRound?: bigint | undefined;
|
|
861
861
|
lastValidRound?: bigint | undefined;
|
|
862
|
-
|
|
863
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
862
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
864
863
|
args?: Uint8Array[] | undefined;
|
|
865
864
|
accountReferences?: ReadableAddress[] | undefined;
|
|
866
865
|
appReferences?: bigint[] | undefined;
|
|
@@ -868,11 +867,19 @@ declare class AlgorandClientTransactionCreator {
|
|
|
868
867
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
869
868
|
accessReferences?: ResourceReference[] | undefined;
|
|
870
869
|
rejectVersion?: number | undefined;
|
|
870
|
+
appId?: 0 | undefined;
|
|
871
871
|
approvalProgram: string | Uint8Array;
|
|
872
872
|
clearStateProgram: string | Uint8Array;
|
|
873
|
+
schema?: {
|
|
874
|
+
globalInts: number;
|
|
875
|
+
globalByteSlices: number;
|
|
876
|
+
localInts: number;
|
|
877
|
+
localByteSlices: number;
|
|
878
|
+
} | undefined;
|
|
879
|
+
extraProgramPages?: number | undefined;
|
|
873
880
|
}> | AppMethodCall<{
|
|
874
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
875
881
|
sender: SendingAddress;
|
|
882
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
876
883
|
rekeyTo?: ReadableAddress | undefined;
|
|
877
884
|
note?: string | Uint8Array | undefined;
|
|
878
885
|
lease?: string | Uint8Array | undefined;
|
|
@@ -882,25 +889,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
882
889
|
validityWindow?: number | bigint | undefined;
|
|
883
890
|
firstValidRound?: bigint | undefined;
|
|
884
891
|
lastValidRound?: bigint | undefined;
|
|
892
|
+
appId: bigint;
|
|
893
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
885
894
|
args?: Uint8Array[] | undefined;
|
|
886
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
887
895
|
accountReferences?: ReadableAddress[] | undefined;
|
|
888
896
|
appReferences?: bigint[] | undefined;
|
|
889
897
|
assetReferences?: bigint[] | undefined;
|
|
890
898
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
891
899
|
accessReferences?: ResourceReference[] | undefined;
|
|
892
900
|
rejectVersion?: number | undefined;
|
|
893
|
-
appId?: 0 | undefined;
|
|
894
901
|
approvalProgram: string | Uint8Array;
|
|
895
902
|
clearStateProgram: string | Uint8Array;
|
|
896
|
-
|
|
897
|
-
globalInts: number;
|
|
898
|
-
globalByteSlices: number;
|
|
899
|
-
localInts: number;
|
|
900
|
-
localByteSlices: number;
|
|
901
|
-
} | undefined;
|
|
902
|
-
extraProgramPages?: number | undefined;
|
|
903
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
903
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
904
904
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
905
905
|
/** Create an application call with ABI method call transaction.
|
|
906
906
|
*
|
|
@@ -950,8 +950,9 @@ declare class AlgorandClientTransactionCreator {
|
|
|
950
950
|
* @returns The application ABI method call transaction
|
|
951
951
|
*/
|
|
952
952
|
appCallMethodCall: (params: {
|
|
953
|
-
|
|
953
|
+
appId: bigint;
|
|
954
954
|
sender: SendingAddress;
|
|
955
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
955
956
|
rekeyTo?: ReadableAddress | undefined;
|
|
956
957
|
note?: string | Uint8Array | undefined;
|
|
957
958
|
lease?: string | Uint8Array | undefined;
|
|
@@ -961,7 +962,6 @@ declare class AlgorandClientTransactionCreator {
|
|
|
961
962
|
validityWindow?: number | bigint | undefined;
|
|
962
963
|
firstValidRound?: bigint | undefined;
|
|
963
964
|
lastValidRound?: bigint | undefined;
|
|
964
|
-
appId: bigint;
|
|
965
965
|
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.DeleteApplication | undefined;
|
|
966
966
|
accountReferences?: ReadableAddress[] | undefined;
|
|
967
967
|
appReferences?: bigint[] | undefined;
|
|
@@ -970,7 +970,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
970
970
|
accessReferences?: ResourceReference[] | undefined;
|
|
971
971
|
rejectVersion?: number | undefined;
|
|
972
972
|
method: ABIMethod;
|
|
973
|
-
args?: (Transaction | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
973
|
+
args?: (Transaction | Promise<Transaction> | ABIValue | TransactionWithSigner | AppMethodCall<{
|
|
974
974
|
sender: SendingAddress;
|
|
975
975
|
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
976
976
|
rekeyTo?: ReadableAddress | undefined;
|
|
@@ -982,8 +982,7 @@ declare class AlgorandClientTransactionCreator {
|
|
|
982
982
|
validityWindow?: number | bigint | undefined;
|
|
983
983
|
firstValidRound?: bigint | undefined;
|
|
984
984
|
lastValidRound?: bigint | undefined;
|
|
985
|
-
|
|
986
|
-
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
985
|
+
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
987
986
|
args?: Uint8Array[] | undefined;
|
|
988
987
|
accountReferences?: ReadableAddress[] | undefined;
|
|
989
988
|
appReferences?: bigint[] | undefined;
|
|
@@ -991,11 +990,19 @@ declare class AlgorandClientTransactionCreator {
|
|
|
991
990
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
992
991
|
accessReferences?: ResourceReference[] | undefined;
|
|
993
992
|
rejectVersion?: number | undefined;
|
|
993
|
+
appId?: 0 | undefined;
|
|
994
994
|
approvalProgram: string | Uint8Array;
|
|
995
995
|
clearStateProgram: string | Uint8Array;
|
|
996
|
+
schema?: {
|
|
997
|
+
globalInts: number;
|
|
998
|
+
globalByteSlices: number;
|
|
999
|
+
localInts: number;
|
|
1000
|
+
localByteSlices: number;
|
|
1001
|
+
} | undefined;
|
|
1002
|
+
extraProgramPages?: number | undefined;
|
|
996
1003
|
}> | AppMethodCall<{
|
|
997
|
-
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
998
1004
|
sender: SendingAddress;
|
|
1005
|
+
signer?: AddressWithTransactionSigner | TransactionSigner | undefined;
|
|
999
1006
|
rekeyTo?: ReadableAddress | undefined;
|
|
1000
1007
|
note?: string | Uint8Array | undefined;
|
|
1001
1008
|
lease?: string | Uint8Array | undefined;
|
|
@@ -1005,25 +1012,18 @@ declare class AlgorandClientTransactionCreator {
|
|
|
1005
1012
|
validityWindow?: number | bigint | undefined;
|
|
1006
1013
|
firstValidRound?: bigint | undefined;
|
|
1007
1014
|
lastValidRound?: bigint | undefined;
|
|
1015
|
+
appId: bigint;
|
|
1016
|
+
onComplete?: OnApplicationComplete.UpdateApplication | undefined;
|
|
1008
1017
|
args?: Uint8Array[] | undefined;
|
|
1009
|
-
onComplete?: OnApplicationComplete.NoOp | OnApplicationComplete.OptIn | OnApplicationComplete.CloseOut | OnApplicationComplete.UpdateApplication | OnApplicationComplete.DeleteApplication | undefined;
|
|
1010
1018
|
accountReferences?: ReadableAddress[] | undefined;
|
|
1011
1019
|
appReferences?: bigint[] | undefined;
|
|
1012
1020
|
assetReferences?: bigint[] | undefined;
|
|
1013
1021
|
boxReferences?: (BoxReference | BoxIdentifier)[] | undefined;
|
|
1014
1022
|
accessReferences?: ResourceReference[] | undefined;
|
|
1015
1023
|
rejectVersion?: number | undefined;
|
|
1016
|
-
appId?: 0 | undefined;
|
|
1017
1024
|
approvalProgram: string | Uint8Array;
|
|
1018
1025
|
clearStateProgram: string | Uint8Array;
|
|
1019
|
-
|
|
1020
|
-
globalInts: number;
|
|
1021
|
-
globalByteSlices: number;
|
|
1022
|
-
localInts: number;
|
|
1023
|
-
localByteSlices: number;
|
|
1024
|
-
} | undefined;
|
|
1025
|
-
extraProgramPages?: number | undefined;
|
|
1026
|
-
}> | Promise<Transaction> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1026
|
+
}> | AppMethodCall<AppMethodCallParams> | undefined)[] | undefined;
|
|
1027
1027
|
}) => Promise<Expand<BuiltTransactions>>;
|
|
1028
1028
|
/**
|
|
1029
1029
|
* Create an online key registration transaction.
|