@algorandfoundation/algokit-utils 7.0.0-alpha.2 → 7.0.0-alpha.3

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.
@@ -240,14 +240,13 @@ export type AppClientMethodCallParams = Expand<Omit<CommonAppCallParams, 'appId'
240
240
  /** Arguments to the ABI method, either:
241
241
  * * An ABI value
242
242
  * * An ARC-56 struct
243
- * * An Address
244
243
  * * A transaction with explicit signer
245
244
  * * A transaction (where the signer will be automatically assigned)
246
245
  * * An unawaited transaction (e.g. from algorand.createTransaction.transactionType())
247
246
  * * Another method call (via method call params object)
248
247
  * * undefined (this represents a placeholder for either a default argument or a transaction argument that is fulfilled by another method call argument)
249
248
  */
250
- args?: (ABIValue | ABIStruct | Address | AppMethodCallTransactionArgument | undefined)[];
249
+ args?: (ABIValue | ABIStruct | AppMethodCallTransactionArgument | undefined)[];
251
250
  }>;
252
251
  /** Parameters for funding an app account */
253
252
  export type FundAppParams = Expand<Omit<PaymentParams, 'receiver' | 'sender'> & SendParams & {
@@ -396,7 +395,7 @@ export declare class AppClient {
396
395
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
397
396
  sender?: string | algosdk.Address | undefined;
398
397
  method: string;
399
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
398
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
400
399
  } & AppClientCompilationParams) => Promise<{
401
400
  /** The compiled bytecode of the approval program, ready to deploy to algod */
402
401
  approvalProgram: Uint8Array;
@@ -421,7 +420,7 @@ export declare class AppClient {
421
420
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
422
421
  sender?: string | algosdk.Address | undefined;
423
422
  method: string;
424
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
423
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
425
424
  /** Any deploy-time parameters to replace in the TEAL code */
426
425
  deployTimeParams?: TealTemplateParams | undefined;
427
426
  /** Whether or not the contract should have deploy-time immutability control set, undefined = ignore */
@@ -434,7 +433,7 @@ export declare class AppClient {
434
433
  signer: algosdk.TransactionSigner | TransactionSignerAccount | undefined;
435
434
  method: Arc56Method;
436
435
  onComplete: algosdk.OnApplicationComplete.UpdateApplicationOC;
437
- args: (algosdk.Address | algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | AppMethodCall<{
436
+ args: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | AppMethodCall<{
438
437
  sender: string | algosdk.Address;
439
438
  maxFee?: AlgoAmount | undefined;
440
439
  note?: string | Uint8Array | undefined;
@@ -503,7 +502,7 @@ export declare class AppClient {
503
502
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
504
503
  sender?: string | algosdk.Address | undefined;
505
504
  method: string;
506
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
505
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
507
506
  }) => Promise<AppCallMethodCall>;
508
507
  /** Return params for an delete ABI call */
509
508
  delete: (params: {
@@ -524,7 +523,7 @@ export declare class AppClient {
524
523
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
525
524
  sender?: string | algosdk.Address | undefined;
526
525
  method: string;
527
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
526
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
528
527
  }) => Promise<AppDeleteMethodCall>;
529
528
  /** Return params for an close out ABI call */
530
529
  closeOut: (params: {
@@ -545,7 +544,7 @@ export declare class AppClient {
545
544
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
546
545
  sender?: string | algosdk.Address | undefined;
547
546
  method: string;
548
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
547
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
549
548
  }) => Promise<AppCallMethodCall>;
550
549
  /** Return params for an ABI call */
551
550
  call: (params: {
@@ -566,7 +565,7 @@ export declare class AppClient {
566
565
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
567
566
  sender?: string | algosdk.Address | undefined;
568
567
  method: string;
569
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
568
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
570
569
  } & CallOnComplete) => Promise<AppCallMethodCall>;
571
570
  } & {
572
571
  /** Interact with bare (raw) call parameters */ bare: {
@@ -749,7 +748,7 @@ export declare class AppClient {
749
748
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
750
749
  sender?: string | algosdk.Address | undefined;
751
750
  method: string;
752
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
751
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
753
752
  } & AppClientCompilationParams) => Promise<{
754
753
  transactions: algosdk.Transaction[];
755
754
  methodCalls: Map<number, algosdk.ABIMethod>;
@@ -776,7 +775,7 @@ export declare class AppClient {
776
775
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
777
776
  sender?: string | algosdk.Address | undefined;
778
777
  method: string;
779
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
778
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
780
779
  }) => Promise<{
781
780
  transactions: algosdk.Transaction[];
782
781
  methodCalls: Map<number, algosdk.ABIMethod>;
@@ -803,7 +802,7 @@ export declare class AppClient {
803
802
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
804
803
  sender?: string | algosdk.Address | undefined;
805
804
  method: string;
806
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
805
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
807
806
  }) => Promise<{
808
807
  transactions: algosdk.Transaction[];
809
808
  methodCalls: Map<number, algosdk.ABIMethod>;
@@ -830,7 +829,7 @@ export declare class AppClient {
830
829
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
831
830
  sender?: string | algosdk.Address | undefined;
832
831
  method: string;
833
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
832
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
834
833
  }) => Promise<{
835
834
  transactions: algosdk.Transaction[];
836
835
  methodCalls: Map<number, algosdk.ABIMethod>;
@@ -857,7 +856,7 @@ export declare class AppClient {
857
856
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
858
857
  sender?: string | algosdk.Address | undefined;
859
858
  method: string;
860
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
859
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
861
860
  } & CallOnComplete) => Promise<{
862
861
  transactions: algosdk.Transaction[];
863
862
  methodCalls: Map<number, algosdk.ABIMethod>;
@@ -1031,7 +1030,7 @@ export declare class AppClient {
1031
1030
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1032
1031
  sender?: string | algosdk.Address | undefined;
1033
1032
  method: string;
1034
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1033
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1035
1034
  } & AppClientCompilationParams & SendParams) => Promise<{
1036
1035
  compiledApproval?: import("./app").CompiledTeal | undefined;
1037
1036
  compiledClear?: import("./app").CompiledTeal | undefined;
@@ -1065,7 +1064,7 @@ export declare class AppClient {
1065
1064
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1066
1065
  sender?: string | algosdk.Address | undefined;
1067
1066
  method: string;
1068
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1067
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1069
1068
  } & SendParams) => Promise<Omit<{
1070
1069
  groupId: string;
1071
1070
  txIds: string[];
@@ -1097,7 +1096,7 @@ export declare class AppClient {
1097
1096
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1098
1097
  sender?: string | algosdk.Address | undefined;
1099
1098
  method: string;
1100
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1099
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1101
1100
  } & SendParams) => Promise<Omit<{
1102
1101
  groupId: string;
1103
1102
  txIds: string[];
@@ -1129,7 +1128,7 @@ export declare class AppClient {
1129
1128
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1130
1129
  sender?: string | algosdk.Address | undefined;
1131
1130
  method: string;
1132
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1131
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1133
1132
  } & SendParams) => Promise<Omit<{
1134
1133
  groupId: string;
1135
1134
  txIds: string[];
@@ -1161,7 +1160,7 @@ export declare class AppClient {
1161
1160
  boxReferences?: (BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
1162
1161
  sender?: string | algosdk.Address | undefined;
1163
1162
  method: string;
1164
- args?: (algosdk.Address | algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1163
+ args?: (algosdk.ABIValue | AppMethodCallTransactionArgument | ABIStruct | undefined)[] | undefined;
1165
1164
  } & CallOnComplete & SendParams) => Promise<Omit<{
1166
1165
  groupId: string;
1167
1166
  txIds: string[];