@algorandfoundation/algokit-utils 7.0.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -3
- package/account/account.d.ts +4 -1
- package/account/account.js +4 -3
- package/account/account.js.map +1 -1
- package/account/account.mjs +5 -4
- package/account/account.mjs.map +1 -1
- package/account/get-dispenser-account.d.ts +1 -1
- package/amount.d.ts +1 -0
- package/amount.js +3 -2
- package/amount.js.map +1 -1
- package/amount.mjs +3 -3
- package/amount.mjs.map +1 -1
- package/app-client.d.ts +4 -4
- package/app-client.js +4 -4
- package/app-client.js.map +1 -1
- package/app-client.mjs +4 -4
- package/app-client.mjs.map +1 -1
- package/app-deploy.js +23 -5
- package/app-deploy.js.map +1 -1
- package/app-deploy.mjs +24 -6
- package/app-deploy.mjs.map +1 -1
- package/app.js +7 -4
- package/app.js.map +1 -1
- package/app.mjs +7 -4
- package/app.mjs.map +1 -1
- package/index.js +1 -1
- package/index.mjs +2 -2
- package/indexer-lookup.d.ts +10 -8
- package/indexer-lookup.js +14 -10
- package/indexer-lookup.js.map +1 -1
- package/indexer-lookup.mjs +14 -10
- package/indexer-lookup.mjs.map +1 -1
- package/network-client.d.ts +1 -7
- package/network-client.js +2 -9
- package/network-client.js.map +1 -1
- package/network-client.mjs +2 -9
- package/network-client.mjs.map +1 -1
- package/package.json +2 -2
- package/testing/_asset.d.ts +2 -1
- package/testing/account.d.ts +4 -3
- package/testing/account.js +8 -2
- package/testing/account.js.map +1 -1
- package/testing/account.mjs +9 -3
- package/testing/account.mjs.map +1 -1
- package/testing/fixtures/algorand-fixture.js +5 -6
- package/testing/fixtures/algorand-fixture.js.map +1 -1
- package/testing/fixtures/algorand-fixture.mjs +5 -6
- package/testing/fixtures/algorand-fixture.mjs.map +1 -1
- package/testing/test-logger.js +7 -1
- package/testing/test-logger.js.map +1 -1
- package/testing/test-logger.mjs +7 -1
- package/testing/test-logger.mjs.map +1 -1
- package/transaction/perform-atomic-transaction-composer-simulate.d.ts +4 -1
- package/transaction/perform-atomic-transaction-composer-simulate.js +14 -10
- package/transaction/perform-atomic-transaction-composer-simulate.js.map +1 -1
- package/transaction/perform-atomic-transaction-composer-simulate.mjs +15 -11
- package/transaction/perform-atomic-transaction-composer-simulate.mjs.map +1 -1
- package/transaction/transaction.d.ts +1 -17
- package/transaction/transaction.js +110 -82
- package/transaction/transaction.js.map +1 -1
- package/transaction/transaction.mjs +112 -83
- package/transaction/transaction.mjs.map +1 -1
- package/transfer/transfer.js +3 -1
- package/transfer/transfer.js.map +1 -1
- package/transfer/transfer.mjs +3 -1
- package/transfer/transfer.mjs.map +1 -1
- package/types/account-manager.d.ts +20 -20
- package/types/account-manager.js +27 -20
- package/types/account-manager.js.map +1 -1
- package/types/account-manager.mjs +28 -21
- package/types/account-manager.mjs.map +1 -1
- package/types/account.d.ts +8 -8
- package/types/account.js +2 -2
- package/types/account.js.map +1 -1
- package/types/account.mjs +3 -3
- package/types/account.mjs.map +1 -1
- package/types/algo-http-client-with-retry.d.ts +1 -2
- package/types/algo-http-client-with-retry.js +33 -3
- package/types/algo-http-client-with-retry.js.map +1 -1
- package/types/algo-http-client-with-retry.mjs +32 -2
- package/types/algo-http-client-with-retry.mjs.map +1 -1
- package/types/algorand-client-transaction-creator.d.ts +11 -11
- package/types/algorand-client-transaction-sender.d.ts +97 -97
- package/types/algorand-client-transaction-sender.js.map +1 -1
- package/types/algorand-client-transaction-sender.mjs.map +1 -1
- package/types/algorand-client.d.ts +3 -3
- package/types/algorand-client.js +1 -1
- package/types/algorand-client.js.map +1 -1
- package/types/algorand-client.mjs +1 -1
- package/types/algorand-client.mjs.map +1 -1
- package/types/app-client.d.ts +280 -279
- package/types/app-client.js +10 -10
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs +11 -11
- package/types/app-client.mjs.map +1 -1
- package/types/app-deployer.d.ts +4 -4
- package/types/app-deployer.js +22 -23
- package/types/app-deployer.js.map +1 -1
- package/types/app-deployer.mjs +23 -24
- package/types/app-deployer.mjs.map +1 -1
- package/types/app-factory.d.ts +128 -138
- package/types/app-factory.js +4 -3
- package/types/app-factory.js.map +1 -1
- package/types/app-factory.mjs +5 -4
- package/types/app-factory.mjs.map +1 -1
- package/types/app-manager.d.ts +5 -5
- package/types/app-manager.js +11 -15
- package/types/app-manager.js.map +1 -1
- package/types/app-manager.mjs +12 -16
- package/types/app-manager.mjs.map +1 -1
- package/types/app.d.ts +4 -4
- package/types/app.js.map +1 -1
- package/types/app.mjs.map +1 -1
- package/types/asset-manager.d.ts +5 -5
- package/types/asset-manager.js +8 -11
- package/types/asset-manager.js.map +1 -1
- package/types/asset-manager.mjs +8 -11
- package/types/asset-manager.mjs.map +1 -1
- package/types/client-manager.d.ts +2 -9
- package/types/client-manager.js +9 -19
- package/types/client-manager.js.map +1 -1
- package/types/client-manager.mjs +9 -19
- package/types/client-manager.mjs.map +1 -1
- package/types/composer.d.ts +22 -22
- package/types/composer.js +73 -83
- package/types/composer.js.map +1 -1
- package/types/composer.mjs +74 -84
- package/types/composer.mjs.map +1 -1
- package/types/dispenser-client.d.ts +2 -1
- package/types/dispenser-client.js +5 -1
- package/types/dispenser-client.js.map +1 -1
- package/types/dispenser-client.mjs +5 -1
- package/types/dispenser-client.mjs.map +1 -1
- package/types/indexer.d.ts +74 -755
- package/types/indexer.js.map +1 -1
- package/types/indexer.mjs.map +1 -1
- package/types/kmd-account-manager.d.ts +2 -2
- package/types/kmd-account-manager.js.map +1 -1
- package/types/kmd-account-manager.mjs.map +1 -1
- package/types/network-client.d.ts +1 -1
- package/types/network-client.js.map +1 -1
- package/types/network-client.mjs.map +1 -1
- package/types/testing.d.ts +5 -6
- package/types/urlTokenBaseHTTPClient.d.ts +0 -40
- package/types/urlTokenBaseHTTPClient.js +0 -153
- package/types/urlTokenBaseHTTPClient.js.map +0 -1
- package/types/urlTokenBaseHTTPClient.mjs +0 -151
- package/types/urlTokenBaseHTTPClient.mjs.map +0 -1
|
@@ -330,20 +330,20 @@ export declare class AlgorandClientTransactionCreator {
|
|
|
330
330
|
* ```
|
|
331
331
|
*/
|
|
332
332
|
appCreate: (params: {
|
|
333
|
-
|
|
334
|
-
note?: string | Uint8Array | undefined;
|
|
333
|
+
sender: string | algosdk.Address;
|
|
335
334
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
335
|
+
note?: string | Uint8Array | undefined;
|
|
336
336
|
args?: Uint8Array[] | undefined;
|
|
337
337
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
339
|
+
lease?: string | Uint8Array | undefined;
|
|
340
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
340
341
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
341
342
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
342
|
-
validityWindow?: number | undefined;
|
|
343
|
+
validityWindow?: number | bigint | undefined;
|
|
343
344
|
firstValidRound?: bigint | undefined;
|
|
344
345
|
lastValidRound?: bigint | undefined;
|
|
345
|
-
|
|
346
|
-
accountReferences?: string[] | undefined;
|
|
346
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
347
347
|
appReferences?: bigint[] | undefined;
|
|
348
348
|
assetReferences?: bigint[] | undefined;
|
|
349
349
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -398,21 +398,21 @@ export declare class AlgorandClientTransactionCreator {
|
|
|
398
398
|
* ```
|
|
399
399
|
*/
|
|
400
400
|
appUpdate: (params: {
|
|
401
|
-
sender: string;
|
|
401
|
+
sender: string | algosdk.Address;
|
|
402
402
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
403
|
-
rekeyTo?: string | undefined;
|
|
403
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
404
404
|
note?: string | Uint8Array | undefined;
|
|
405
405
|
lease?: string | Uint8Array | undefined;
|
|
406
406
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
407
407
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
408
408
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
409
|
-
validityWindow?: number | undefined;
|
|
409
|
+
validityWindow?: number | bigint | undefined;
|
|
410
410
|
firstValidRound?: bigint | undefined;
|
|
411
411
|
lastValidRound?: bigint | undefined;
|
|
412
412
|
appId: bigint;
|
|
413
413
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
414
414
|
args?: Uint8Array[] | undefined;
|
|
415
|
-
accountReferences?: string[] | undefined;
|
|
415
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
416
416
|
appReferences?: bigint[] | undefined;
|
|
417
417
|
assetReferences?: bigint[] | undefined;
|
|
418
418
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import algosdk from 'algosdk';
|
|
1
|
+
import algosdk, { Address } from 'algosdk';
|
|
2
2
|
import { SendAppCreateTransactionResult, SendAppTransactionResult, SendAppUpdateTransactionResult } from './app';
|
|
3
3
|
import { AppManager } from './app-manager';
|
|
4
4
|
import { AssetManager } from './asset-manager';
|
|
@@ -62,9 +62,9 @@ export declare class AlgorandClientTransactionSender {
|
|
|
62
62
|
* @returns The result of the transaction and the transaction that was sent
|
|
63
63
|
*/
|
|
64
64
|
payment: (params: import("./composer").CommonTransactionParams & {
|
|
65
|
-
receiver: string;
|
|
65
|
+
receiver: string | algosdk.Address;
|
|
66
66
|
amount: import("./amount").AlgoAmount;
|
|
67
|
-
closeRemainderTo?: string | undefined;
|
|
67
|
+
closeRemainderTo?: string | algosdk.Address | undefined;
|
|
68
68
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
69
69
|
/**
|
|
70
70
|
* Create a new Algorand Standard Asset.
|
|
@@ -167,10 +167,10 @@ export declare class AlgorandClientTransactionSender {
|
|
|
167
167
|
*/
|
|
168
168
|
assetConfig: (params: import("./composer").CommonTransactionParams & {
|
|
169
169
|
assetId: bigint;
|
|
170
|
-
manager: string | undefined;
|
|
171
|
-
reserve?: string | undefined;
|
|
172
|
-
freeze?: string | undefined;
|
|
173
|
-
clawback?: string | undefined;
|
|
170
|
+
manager: string | algosdk.Address | undefined;
|
|
171
|
+
reserve?: string | algosdk.Address | undefined;
|
|
172
|
+
freeze?: string | algosdk.Address | undefined;
|
|
173
|
+
clawback?: string | algosdk.Address | undefined;
|
|
174
174
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
175
175
|
/**
|
|
176
176
|
* Freeze or unfreeze an Algorand Standard Asset for an account.
|
|
@@ -210,7 +210,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
210
210
|
*/
|
|
211
211
|
assetFreeze: (params: import("./composer").CommonTransactionParams & {
|
|
212
212
|
assetId: bigint;
|
|
213
|
-
account: string;
|
|
213
|
+
account: string | algosdk.Address;
|
|
214
214
|
frozen: boolean;
|
|
215
215
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
216
216
|
/**
|
|
@@ -296,9 +296,9 @@ export declare class AlgorandClientTransactionSender {
|
|
|
296
296
|
assetTransfer: (params: import("./composer").CommonTransactionParams & {
|
|
297
297
|
assetId: bigint;
|
|
298
298
|
amount: bigint;
|
|
299
|
-
receiver: string;
|
|
300
|
-
clawbackTarget?: string | undefined;
|
|
301
|
-
closeAssetTo?: string | undefined;
|
|
299
|
+
receiver: string | algosdk.Address;
|
|
300
|
+
clawbackTarget?: string | algosdk.Address | undefined;
|
|
301
|
+
closeAssetTo?: string | algosdk.Address | undefined;
|
|
302
302
|
} & SendParams) => Promise<SendSingleTransactionResult>;
|
|
303
303
|
/**
|
|
304
304
|
* Opt an account into an Algorand Standard Asset.
|
|
@@ -383,7 +383,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
383
383
|
*/
|
|
384
384
|
assetOptOut: (params: Omit<AssetOptOutParams, 'creator'> & {
|
|
385
385
|
/** Optional asset creator account address; if not specified it will be retrieved from algod */
|
|
386
|
-
creator?: string;
|
|
386
|
+
creator?: string | Address;
|
|
387
387
|
/** Whether or not to check if the account has a zero balance first or not.
|
|
388
388
|
*
|
|
389
389
|
* If this is set to `true` and the account has an asset balance it will throw an error.
|
|
@@ -450,20 +450,20 @@ export declare class AlgorandClientTransactionSender {
|
|
|
450
450
|
* ```
|
|
451
451
|
*/
|
|
452
452
|
appCreate: (params: {
|
|
453
|
-
|
|
454
|
-
note?: string | Uint8Array | undefined;
|
|
453
|
+
sender: string | algosdk.Address;
|
|
455
454
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
455
|
+
note?: string | Uint8Array | undefined;
|
|
456
456
|
args?: Uint8Array[] | undefined;
|
|
457
457
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
458
|
-
|
|
459
|
-
|
|
458
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
459
|
+
lease?: string | Uint8Array | undefined;
|
|
460
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
460
461
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
461
462
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
462
|
-
validityWindow?: number | undefined;
|
|
463
|
+
validityWindow?: number | bigint | undefined;
|
|
463
464
|
firstValidRound?: bigint | undefined;
|
|
464
465
|
lastValidRound?: bigint | undefined;
|
|
465
|
-
|
|
466
|
-
accountReferences?: string[] | undefined;
|
|
466
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
467
467
|
appReferences?: bigint[] | undefined;
|
|
468
468
|
assetReferences?: bigint[] | undefined;
|
|
469
469
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -519,21 +519,21 @@ export declare class AlgorandClientTransactionSender {
|
|
|
519
519
|
* ```
|
|
520
520
|
*/
|
|
521
521
|
appUpdate: (params: {
|
|
522
|
-
sender: string;
|
|
522
|
+
sender: string | algosdk.Address;
|
|
523
523
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
524
|
-
rekeyTo?: string | undefined;
|
|
524
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
525
525
|
note?: string | Uint8Array | undefined;
|
|
526
526
|
lease?: string | Uint8Array | undefined;
|
|
527
527
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
528
528
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
529
529
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
530
|
-
validityWindow?: number | undefined;
|
|
530
|
+
validityWindow?: number | bigint | undefined;
|
|
531
531
|
firstValidRound?: bigint | undefined;
|
|
532
532
|
lastValidRound?: bigint | undefined;
|
|
533
533
|
appId: bigint;
|
|
534
534
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
535
535
|
args?: Uint8Array[] | undefined;
|
|
536
|
-
accountReferences?: string[] | undefined;
|
|
536
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
537
537
|
appReferences?: bigint[] | undefined;
|
|
538
538
|
assetReferences?: bigint[] | undefined;
|
|
539
539
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -583,7 +583,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
583
583
|
appId: bigint;
|
|
584
584
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
585
585
|
args?: Uint8Array[] | undefined;
|
|
586
|
-
accountReferences?: string[] | undefined;
|
|
586
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
587
587
|
appReferences?: bigint[] | undefined;
|
|
588
588
|
assetReferences?: bigint[] | undefined;
|
|
589
589
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -633,7 +633,7 @@ export declare class AlgorandClientTransactionSender {
|
|
|
633
633
|
appId: bigint;
|
|
634
634
|
onComplete?: algosdk.OnApplicationComplete | undefined;
|
|
635
635
|
args?: Uint8Array[] | undefined;
|
|
636
|
-
accountReferences?: string[] | undefined;
|
|
636
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
637
637
|
appReferences?: bigint[] | undefined;
|
|
638
638
|
assetReferences?: bigint[] | undefined;
|
|
639
639
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -702,11 +702,11 @@ export declare class AlgorandClientTransactionSender {
|
|
|
702
702
|
* ```
|
|
703
703
|
*/
|
|
704
704
|
appCreateMethodCall: (params: {
|
|
705
|
-
|
|
706
|
-
note?: string | Uint8Array | undefined;
|
|
705
|
+
sender: string | algosdk.Address;
|
|
707
706
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
708
707
|
approvalProgram: string | Uint8Array;
|
|
709
708
|
clearStateProgram: string | Uint8Array;
|
|
709
|
+
note?: string | Uint8Array | undefined;
|
|
710
710
|
schema?: {
|
|
711
711
|
globalInts: number;
|
|
712
712
|
globalByteSlices: number;
|
|
@@ -714,36 +714,36 @@ export declare class AlgorandClientTransactionSender {
|
|
|
714
714
|
localByteSlices: number;
|
|
715
715
|
} | undefined;
|
|
716
716
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
717
|
-
|
|
717
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
718
|
+
lease?: string | Uint8Array | undefined;
|
|
719
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
718
720
|
extraProgramPages?: number | undefined;
|
|
719
|
-
rekeyTo?: string | undefined;
|
|
720
721
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
721
722
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
722
|
-
validityWindow?: number | undefined;
|
|
723
|
+
validityWindow?: number | bigint | undefined;
|
|
723
724
|
firstValidRound?: bigint | undefined;
|
|
724
725
|
lastValidRound?: bigint | undefined;
|
|
725
|
-
|
|
726
|
-
accountReferences?: string[] | undefined;
|
|
726
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
727
727
|
appReferences?: bigint[] | undefined;
|
|
728
728
|
assetReferences?: bigint[] | undefined;
|
|
729
729
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
730
730
|
} & {
|
|
731
731
|
method: algosdk.ABIMethod;
|
|
732
732
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
733
|
-
|
|
734
|
-
note?: string | Uint8Array | undefined;
|
|
733
|
+
sender: string | algosdk.Address;
|
|
735
734
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
735
|
+
note?: string | Uint8Array | undefined;
|
|
736
736
|
args?: Uint8Array[] | undefined;
|
|
737
737
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
738
|
-
|
|
739
|
-
|
|
738
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
739
|
+
lease?: string | Uint8Array | undefined;
|
|
740
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
740
741
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
741
742
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
742
|
-
validityWindow?: number | undefined;
|
|
743
|
+
validityWindow?: number | bigint | undefined;
|
|
743
744
|
firstValidRound?: bigint | undefined;
|
|
744
745
|
lastValidRound?: bigint | undefined;
|
|
745
|
-
|
|
746
|
-
accountReferences?: string[] | undefined;
|
|
746
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
747
747
|
appReferences?: bigint[] | undefined;
|
|
748
748
|
assetReferences?: bigint[] | undefined;
|
|
749
749
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -757,21 +757,21 @@ export declare class AlgorandClientTransactionSender {
|
|
|
757
757
|
} | undefined;
|
|
758
758
|
extraProgramPages?: number | undefined;
|
|
759
759
|
}> | import("./composer").AppMethodCall<{
|
|
760
|
-
sender: string;
|
|
760
|
+
sender: string | algosdk.Address;
|
|
761
761
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
762
|
-
rekeyTo?: string | undefined;
|
|
762
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
763
763
|
note?: string | Uint8Array | undefined;
|
|
764
764
|
lease?: string | Uint8Array | undefined;
|
|
765
765
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
766
766
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
767
767
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
768
|
-
validityWindow?: number | undefined;
|
|
768
|
+
validityWindow?: number | bigint | undefined;
|
|
769
769
|
firstValidRound?: bigint | undefined;
|
|
770
770
|
lastValidRound?: bigint | undefined;
|
|
771
771
|
appId: bigint;
|
|
772
772
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
773
773
|
args?: Uint8Array[] | undefined;
|
|
774
|
-
accountReferences?: string[] | undefined;
|
|
774
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
775
775
|
appReferences?: bigint[] | undefined;
|
|
776
776
|
assetReferences?: bigint[] | undefined;
|
|
777
777
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -833,42 +833,42 @@ export declare class AlgorandClientTransactionSender {
|
|
|
833
833
|
* ```
|
|
834
834
|
*/
|
|
835
835
|
appUpdateMethodCall: (params: {
|
|
836
|
-
|
|
837
|
-
note?: string | Uint8Array | undefined;
|
|
836
|
+
sender: string | algosdk.Address;
|
|
838
837
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
839
838
|
approvalProgram: string | Uint8Array;
|
|
840
839
|
clearStateProgram: string | Uint8Array;
|
|
840
|
+
note?: string | Uint8Array | undefined;
|
|
841
841
|
appId: bigint;
|
|
842
842
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
843
|
-
|
|
844
|
-
|
|
843
|
+
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
844
|
+
lease?: string | Uint8Array | undefined;
|
|
845
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
845
846
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
846
847
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
847
|
-
validityWindow?: number | undefined;
|
|
848
|
+
validityWindow?: number | bigint | undefined;
|
|
848
849
|
firstValidRound?: bigint | undefined;
|
|
849
850
|
lastValidRound?: bigint | undefined;
|
|
850
|
-
|
|
851
|
-
accountReferences?: string[] | undefined;
|
|
851
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
852
852
|
appReferences?: bigint[] | undefined;
|
|
853
853
|
assetReferences?: bigint[] | undefined;
|
|
854
854
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
855
855
|
} & {
|
|
856
856
|
method: algosdk.ABIMethod;
|
|
857
857
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
858
|
-
|
|
859
|
-
note?: string | Uint8Array | undefined;
|
|
858
|
+
sender: string | algosdk.Address;
|
|
860
859
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
860
|
+
note?: string | Uint8Array | undefined;
|
|
861
861
|
args?: Uint8Array[] | undefined;
|
|
862
862
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
863
|
-
|
|
864
|
-
|
|
863
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
864
|
+
lease?: string | Uint8Array | undefined;
|
|
865
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
865
866
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
866
867
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
867
|
-
validityWindow?: number | undefined;
|
|
868
|
+
validityWindow?: number | bigint | undefined;
|
|
868
869
|
firstValidRound?: bigint | undefined;
|
|
869
870
|
lastValidRound?: bigint | undefined;
|
|
870
|
-
|
|
871
|
-
accountReferences?: string[] | undefined;
|
|
871
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
872
872
|
appReferences?: bigint[] | undefined;
|
|
873
873
|
assetReferences?: bigint[] | undefined;
|
|
874
874
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -882,21 +882,21 @@ export declare class AlgorandClientTransactionSender {
|
|
|
882
882
|
} | undefined;
|
|
883
883
|
extraProgramPages?: number | undefined;
|
|
884
884
|
}> | import("./composer").AppMethodCall<{
|
|
885
|
-
sender: string;
|
|
885
|
+
sender: string | algosdk.Address;
|
|
886
886
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
887
|
-
rekeyTo?: string | undefined;
|
|
887
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
888
888
|
note?: string | Uint8Array | undefined;
|
|
889
889
|
lease?: string | Uint8Array | undefined;
|
|
890
890
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
891
891
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
892
892
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
893
|
-
validityWindow?: number | undefined;
|
|
893
|
+
validityWindow?: number | bigint | undefined;
|
|
894
894
|
firstValidRound?: bigint | undefined;
|
|
895
895
|
lastValidRound?: bigint | undefined;
|
|
896
896
|
appId: bigint;
|
|
897
897
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
898
898
|
args?: Uint8Array[] | undefined;
|
|
899
|
-
accountReferences?: string[] | undefined;
|
|
899
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
900
900
|
appReferences?: bigint[] | undefined;
|
|
901
901
|
assetReferences?: bigint[] | undefined;
|
|
902
902
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -956,40 +956,40 @@ export declare class AlgorandClientTransactionSender {
|
|
|
956
956
|
* ```
|
|
957
957
|
*/
|
|
958
958
|
appDeleteMethodCall: (params: {
|
|
959
|
-
|
|
960
|
-
note?: string | Uint8Array | undefined;
|
|
959
|
+
sender: string | algosdk.Address;
|
|
961
960
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
961
|
+
note?: string | Uint8Array | undefined;
|
|
962
962
|
appId: bigint;
|
|
963
963
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
964
|
-
|
|
965
|
-
|
|
964
|
+
onComplete?: algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
965
|
+
lease?: string | Uint8Array | undefined;
|
|
966
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
966
967
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
967
968
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
968
|
-
validityWindow?: number | undefined;
|
|
969
|
+
validityWindow?: number | bigint | undefined;
|
|
969
970
|
firstValidRound?: bigint | undefined;
|
|
970
971
|
lastValidRound?: bigint | undefined;
|
|
971
|
-
|
|
972
|
-
accountReferences?: string[] | undefined;
|
|
972
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
973
973
|
appReferences?: bigint[] | undefined;
|
|
974
974
|
assetReferences?: bigint[] | undefined;
|
|
975
975
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
976
976
|
} & {
|
|
977
977
|
method: algosdk.ABIMethod;
|
|
978
978
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
979
|
-
|
|
980
|
-
note?: string | Uint8Array | undefined;
|
|
979
|
+
sender: string | algosdk.Address;
|
|
981
980
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
981
|
+
note?: string | Uint8Array | undefined;
|
|
982
982
|
args?: Uint8Array[] | undefined;
|
|
983
983
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
984
|
-
|
|
985
|
-
|
|
984
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
985
|
+
lease?: string | Uint8Array | undefined;
|
|
986
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
986
987
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
987
988
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
988
|
-
validityWindow?: number | undefined;
|
|
989
|
+
validityWindow?: number | bigint | undefined;
|
|
989
990
|
firstValidRound?: bigint | undefined;
|
|
990
991
|
lastValidRound?: bigint | undefined;
|
|
991
|
-
|
|
992
|
-
accountReferences?: string[] | undefined;
|
|
992
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
993
993
|
appReferences?: bigint[] | undefined;
|
|
994
994
|
assetReferences?: bigint[] | undefined;
|
|
995
995
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -1003,21 +1003,21 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1003
1003
|
} | undefined;
|
|
1004
1004
|
extraProgramPages?: number | undefined;
|
|
1005
1005
|
}> | import("./composer").AppMethodCall<{
|
|
1006
|
-
sender: string;
|
|
1006
|
+
sender: string | algosdk.Address;
|
|
1007
1007
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
1008
|
-
rekeyTo?: string | undefined;
|
|
1008
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
1009
1009
|
note?: string | Uint8Array | undefined;
|
|
1010
1010
|
lease?: string | Uint8Array | undefined;
|
|
1011
1011
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
1012
1012
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
1013
1013
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
1014
|
-
validityWindow?: number | undefined;
|
|
1014
|
+
validityWindow?: number | bigint | undefined;
|
|
1015
1015
|
firstValidRound?: bigint | undefined;
|
|
1016
1016
|
lastValidRound?: bigint | undefined;
|
|
1017
1017
|
appId: bigint;
|
|
1018
1018
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1019
1019
|
args?: Uint8Array[] | undefined;
|
|
1020
|
-
accountReferences?: string[] | undefined;
|
|
1020
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
1021
1021
|
appReferences?: bigint[] | undefined;
|
|
1022
1022
|
assetReferences?: bigint[] | undefined;
|
|
1023
1023
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -1077,40 +1077,40 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1077
1077
|
* ```
|
|
1078
1078
|
*/
|
|
1079
1079
|
appCallMethodCall: (params: {
|
|
1080
|
-
|
|
1081
|
-
note?: string | Uint8Array | undefined;
|
|
1080
|
+
sender: string | algosdk.Address;
|
|
1082
1081
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
1082
|
+
note?: string | Uint8Array | undefined;
|
|
1083
1083
|
appId: bigint;
|
|
1084
1084
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
1085
|
-
|
|
1086
|
-
|
|
1085
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1086
|
+
lease?: string | Uint8Array | undefined;
|
|
1087
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
1087
1088
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
1088
1089
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
1089
|
-
validityWindow?: number | undefined;
|
|
1090
|
+
validityWindow?: number | bigint | undefined;
|
|
1090
1091
|
firstValidRound?: bigint | undefined;
|
|
1091
1092
|
lastValidRound?: bigint | undefined;
|
|
1092
|
-
|
|
1093
|
-
accountReferences?: string[] | undefined;
|
|
1093
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
1094
1094
|
appReferences?: bigint[] | undefined;
|
|
1095
1095
|
assetReferences?: bigint[] | undefined;
|
|
1096
1096
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
1097
1097
|
} & {
|
|
1098
1098
|
method: algosdk.ABIMethod;
|
|
1099
1099
|
args?: (algosdk.Transaction | algosdk.ABIValue | algosdk.TransactionWithSigner | Promise<algosdk.Transaction> | import("./composer").AppMethodCall<{
|
|
1100
|
-
|
|
1101
|
-
note?: string | Uint8Array | undefined;
|
|
1100
|
+
sender: string | algosdk.Address;
|
|
1102
1101
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
1102
|
+
note?: string | Uint8Array | undefined;
|
|
1103
1103
|
args?: Uint8Array[] | undefined;
|
|
1104
1104
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
1105
|
-
|
|
1106
|
-
|
|
1105
|
+
onComplete?: algosdk.OnApplicationComplete.NoOpOC | algosdk.OnApplicationComplete.OptInOC | algosdk.OnApplicationComplete.CloseOutOC | algosdk.OnApplicationComplete.UpdateApplicationOC | algosdk.OnApplicationComplete.DeleteApplicationOC | undefined;
|
|
1106
|
+
lease?: string | Uint8Array | undefined;
|
|
1107
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
1107
1108
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
1108
1109
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
1109
|
-
validityWindow?: number | undefined;
|
|
1110
|
+
validityWindow?: number | bigint | undefined;
|
|
1110
1111
|
firstValidRound?: bigint | undefined;
|
|
1111
1112
|
lastValidRound?: bigint | undefined;
|
|
1112
|
-
|
|
1113
|
-
accountReferences?: string[] | undefined;
|
|
1113
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
1114
1114
|
appReferences?: bigint[] | undefined;
|
|
1115
1115
|
assetReferences?: bigint[] | undefined;
|
|
1116
1116
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|
|
@@ -1124,21 +1124,21 @@ export declare class AlgorandClientTransactionSender {
|
|
|
1124
1124
|
} | undefined;
|
|
1125
1125
|
extraProgramPages?: number | undefined;
|
|
1126
1126
|
}> | import("./composer").AppMethodCall<{
|
|
1127
|
-
sender: string;
|
|
1127
|
+
sender: string | algosdk.Address;
|
|
1128
1128
|
signer?: algosdk.TransactionSigner | import("./account").TransactionSignerAccount | undefined;
|
|
1129
|
-
rekeyTo?: string | undefined;
|
|
1129
|
+
rekeyTo?: string | algosdk.Address | undefined;
|
|
1130
1130
|
note?: string | Uint8Array | undefined;
|
|
1131
1131
|
lease?: string | Uint8Array | undefined;
|
|
1132
1132
|
staticFee?: import("./amount").AlgoAmount | undefined;
|
|
1133
1133
|
extraFee?: import("./amount").AlgoAmount | undefined;
|
|
1134
1134
|
maxFee?: import("./amount").AlgoAmount | undefined;
|
|
1135
|
-
validityWindow?: number | undefined;
|
|
1135
|
+
validityWindow?: number | bigint | undefined;
|
|
1136
1136
|
firstValidRound?: bigint | undefined;
|
|
1137
1137
|
lastValidRound?: bigint | undefined;
|
|
1138
1138
|
appId: bigint;
|
|
1139
1139
|
onComplete?: algosdk.OnApplicationComplete.UpdateApplicationOC | undefined;
|
|
1140
1140
|
args?: Uint8Array[] | undefined;
|
|
1141
|
-
accountReferences?: string[] | undefined;
|
|
1141
|
+
accountReferences?: (string | algosdk.Address)[] | undefined;
|
|
1142
1142
|
appReferences?: bigint[] | undefined;
|
|
1143
1143
|
assetReferences?: bigint[] | undefined;
|
|
1144
1144
|
boxReferences?: (import("./app-manager").BoxIdentifier | import("./app-manager").BoxReference)[] | undefined;
|